Skip to content

Commit

Permalink
PR fixes
Browse files Browse the repository at this point in the history
Signed-off-by: Amit Schendel <[email protected]>
  • Loading branch information
amitschendel committed Jul 25, 2024
1 parent 400c3b8 commit 86e5ebb
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions rules/unauthenticated-service/raw.rego
Original file line number Diff line number Diff line change
Expand Up @@ -17,14 +17,11 @@ deny contains msga if {
service_name := service.metadata.name
has_unauthenticated_service(service_name, service.metadata.namespace, service_scan_result)

# Path to the service object
path := "spec"

msga := {
"alertMessage": sprintf("Unauthenticated service %v exposes %v", [service_name, wl.metadata.name]),
"alertScore": 7,
"fixPaths": [],
"reviewPaths": [path],
"reviewPaths": ["spec"],
"failedPaths": [],
"packagename": "armo_builtins",
"alertObject": {"k8sApiObjects": [wl]},
Expand Down

0 comments on commit 86e5ebb

Please sign in to comment.