Skip to content

Commit

Permalink
Adding review path for the service
Browse files Browse the repository at this point in the history
Signed-off-by: Amit Schendel <[email protected]>
  • Loading branch information
amitschendel committed Jul 24, 2024
1 parent 36ec064 commit 400c3b8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion rules/unauthenticated-service/raw.rego
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,9 @@ deny contains msga if {
"packagename": "armo_builtins",
"alertObject": {"k8sApiObjects": [wl]},
"relatedObjects": [
{"object": service},
{"object": service,
"reviewPaths": ["spec"],
},
],
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
}
}
},
"reviewPaths": null
"reviewPaths": ["spec"]
}
],
"reviewPaths": ["spec"],
Expand Down

0 comments on commit 400c3b8

Please sign in to comment.