-
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 <[email protected]> * Appease the linter Signed-off-by: egibs <[email protected]> * Fix scan override behavior, use original rule's name + ID Signed-off-by: egibs <[email protected]> * Fix overall risk score after downgrading Signed-off-by: egibs <[email protected]> * Retain original rule, drop override, remove test rules Signed-off-by: egibs <[email protected]> * Allow for severity upgrades as well Signed-off-by: egibs <[email protected]> * Comments Signed-off-by: egibs <[email protected]> * Address PR comments Signed-off-by: egibs <[email protected]> * Appease the linter Signed-off-by: egibs <[email protected]> * Remove unused struct Signed-off-by: egibs <[email protected]> * Only pass in the behavior slices Signed-off-by: egibs <[email protected]> * Fix rule that was causing the archive scan test to break Signed-off-by: egibs <[email protected]> --------- Signed-off-by: egibs <[email protected]>
- 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: | ||
|