Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added an ignore list for bad rules. #31

Merged
merged 1 commit into from
Apr 28, 2024
Merged

Added an ignore list for bad rules. #31

merged 1 commit into from
Apr 28, 2024

Conversation

scudette
Copy link
Contributor

Previously broken rules (those who referenced invalid fields) where rejected with a warning. But there were so many rejected rules that it was difficult to see when new rules were accidentally rejected when syncing new rule sets.

This PR:

  1. Adds an ignore list to the rules so bad rules which are already known are not emitting errors any more.
  2. Uses a data dump from provider manifests to add trivial field mappings (where the field mapping is simply the EventData field). This helps with maintaining the field mapping for rules using this trivial field mapping.

This should make it easier to sync new rules.

Previously broken rules (those who referenced invalid fields) where
rejected with a warning. But there were so many rejected rules that it
was difficult to see when new rules were accidentally rejected when
syncing new rule sets.

This PR:

1. Adds an ignore list to the rules so bad rules which are already
   known are not emitting errors any more.
2. Uses a data dump from provider manifests to add trivial field
   mappings (where the field mapping is simply the EventData
   field). This helps with maintaining the field mapping for rules
   using this trivial field mapping.

This should make it easier to sync new rules.
@scudette scudette merged commit b22f5c2 into master Apr 28, 2024
4 checks passed
@scudette scudette deleted the eventdata branch April 28, 2024 15:45
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