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

Allow append skipped rules #346

Merged
merged 2 commits into from
Apr 5, 2018
Merged

Allow append skipped rules #346

merged 2 commits into from
Apr 5, 2018

Conversation

mstemm
Copy link
Contributor

@mstemm mstemm commented Apr 5, 2018

If a rule has an append attribute but the original rule was skipped (due
to having lower priority than the configured priority), silently skip
the appending rule instead of returning an error.

This fixes #305.

If a rule has an append attribute but the original rule was skipped (due
to having lower priority than the configured priority), silently skip
the appending rule instead of returning an error.
@mstemm mstemm force-pushed the allow-append-skipped-rules branch from f761e3c to 8acfd6e Compare April 5, 2018 04:50
Unit test verifies fix for appending to skipped rules. One rules file
defines a rule with priority WARNING, a second rules file appends to
that rules file, and the configured priority is ERROR.

Ensures that falco rules without errors.
@mstemm mstemm force-pushed the allow-append-skipped-rules branch from 245936c to 856fda4 Compare April 5, 2018 04:55
@mstemm mstemm merged commit a5daf8b into dev Apr 5, 2018
@mstemm mstemm deleted the allow-append-skipped-rules branch April 5, 2018 17:28
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.

Can not append to a rule that was skipped (due to low priority, for example)
1 participant