Skip to content

Commit

Permalink
fix(tests): fixed k8saudit list names after recent breaking change.
Browse files Browse the repository at this point in the history
Signed-off-by: Federico Di Pierro <[email protected]>
  • Loading branch information
FedeDP committed Apr 24, 2024
1 parent da055e7 commit 356097c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/data/rules/k8saudit.go
Original file line number Diff line number Diff line change
Expand Up @@ -508,15 +508,15 @@ var K8SAuditSingleRuleWithJsonPointer = run.NewStringFileAccessor(

var K8SAuditTrustNginxContainer = run.NewStringFileAccessor(
"trust_nginx_container.yaml",
`- list: falco_sensitive_mount_images
`- list: k8s_audit_sensitive_mount_images
items: [nginx]
append: true
- list: falco_privileged_images
- list: k8s_audit_privileged_images
items: [nginx]
append: true
- list: falco_hostnetwork_images
- list: k8s_audit_hostnetwork_images
items: [nginx]
append: true
`,
Expand Down

0 comments on commit 356097c

Please sign in to comment.