-
Notifications
You must be signed in to change notification settings - Fork 36
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Better handling of overrides after all fr.Behaviors are added (#487)
* Better handling of overrides after all fr.Behaviors are added Signed-off-by: egibs <20933572+egibs@users.noreply.github.com> * Appease the linter Signed-off-by: egibs <20933572+egibs@users.noreply.github.com> * Fix scan override behavior, use original rule's name + ID Signed-off-by: egibs <20933572+egibs@users.noreply.github.com> * Fix overall risk score after downgrading Signed-off-by: egibs <20933572+egibs@users.noreply.github.com> * Retain original rule, drop override, remove test rules Signed-off-by: egibs <20933572+egibs@users.noreply.github.com> * Allow for severity upgrades as well Signed-off-by: egibs <20933572+egibs@users.noreply.github.com> * Comments Signed-off-by: egibs <20933572+egibs@users.noreply.github.com> * Address PR comments Signed-off-by: egibs <20933572+egibs@users.noreply.github.com> * Appease the linter Signed-off-by: egibs <20933572+egibs@users.noreply.github.com> * Remove unused struct Signed-off-by: egibs <20933572+egibs@users.noreply.github.com> * Only pass in the behavior slices Signed-off-by: egibs <20933572+egibs@users.noreply.github.com> * Fix rule that was causing the archive scan test to break Signed-off-by: egibs <20933572+egibs@users.noreply.github.com> --------- Signed-off-by: egibs <20933572+egibs@users.noreply.github.com>
- Loading branch information
Showing
3 changed files
with
86 additions
and
33 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
rule go_dns_refs { | ||
rule go_dns_refs_local { | ||
meta: | ||
description = "Examines local DNS servers" | ||
strings: | ||
|