Skip to content

Commit

Permalink
Merge pull request #140 from stacklok/add-remediation-branch-prot-ena…
Browse files Browse the repository at this point in the history
…bled

Enable remediation tests for branch_protection_enabled
  • Loading branch information
rdimitrov authored Aug 21, 2024
2 parents 60f12c5 + 69adb75 commit 0c8962b
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 0c8962b

Please sign in to comment.