Skip to content

Commit

Permalink
appsec: update ruleset to v1.7.1 (#6)
Browse files Browse the repository at this point in the history
  • Loading branch information
Julio-Guerra authored Jul 23, 2023
1 parent db22ef7 commit 7cb513f
Show file tree
Hide file tree
Showing 3 changed files with 577 additions and 224 deletions.
2 changes: 1 addition & 1 deletion _tools/rules-updater/update.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
# Example: ./update.sh 1.2.5
#

set -e
set -eux

[ $# -ne 1 ] && echo "Usage: $0 \"version\"" >&2 && exit 1

Expand Down
6 changes: 3 additions & 3 deletions appsec/rules.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@

package appsec

import _ "embed" // Blank import comment for golint compliance
import _ "embed"

// StaticRecommendedRules holds the recommended AppSec security rules (v1.5.1)
// Source: https://github.com/DataDog/appsec-event-rules/blob/1.5.1/build/recommended.json
// StaticRecommendedRules holds the recommended AppSec security rules (v1.7.1)
// Source: https://github.com/DataDog/appsec-event-rules/blob/1.7.1/build/recommended.json
//
//go:embed rules.json
var StaticRecommendedRules string
Loading

0 comments on commit 7cb513f

Please sign in to comment.