Skip to content

Validate rule threshold config#29

Merged
stacknil merged 1 commit into
mainfrom
stacknil/validate-rule-threshold-config
May 15, 2026
Merged

Validate rule threshold config#29
stacknil merged 1 commit into
mainfrom
stacknil/validate-rule-threshold-config

Conversation

@stacknil
Copy link
Copy Markdown
Owner

Summary

  • reject unknown primary rule config keys and unknown fields inside known rule sections
  • validate rule thresholds, multipliers, consecutive window counts, and severity values before running the pipeline
  • add regression tests for typo and threshold misconfiguration cases

Tests

  • pytest
  • python -m telemetry_window_demo.cli run --config configs/default.yaml

@stacknil stacknil merged commit 31af172 into main May 15, 2026
2 checks passed
@stacknil stacknil deleted the stacknil/validate-rule-threshold-config branch May 15, 2026 07:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant