Skip to content

Commit

Permalink
Enable remediation tests for branch_protection_enabled
Browse files Browse the repository at this point in the history
Signed-off-by: Radoslav Dimitrov <[email protected]>
  • Loading branch information
rdimitrov committed Aug 21, 2024
1 parent 60f12c5 commit 69adb75
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions rule-types/github/branch_protection_enabled.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,12 @@ def:
allow if {
input.ingested.url != ""
}
# Defines the configuration for remediating the rule
remediate:
type: gh_branch_protection
gh_branch_protection:
patch: |
{}
# Defines the configuration for alerting on the rule
alert:
type: security_advisory
Expand Down

0 comments on commit 69adb75

Please sign in to comment.