Skip to content

Commit

Permalink
Merge pull request #623 from kubescape/gateway-networking
Browse files Browse the repository at this point in the history
Remove api version list
  • Loading branch information
YiscahLevySilas1 authored May 28, 2024
2 parents 821183d + aaaae05 commit f09f424
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions rules/exposure-to-internet-via-gateway-api/rule.metadata.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"name": "exposure-to-internet-via-gateway-api",
"attributes": {
"useFromKubescapeVersion": "v3.0.9"
},
"ruleLanguage": "Rego",
"match": [
Expand Down Expand Up @@ -47,7 +48,7 @@
"gateway.networking.k8s.io"
],
"apiVersions": [
"v1", "v1alpha2"
"*"
],
"resources": [
"HTTPRoute",
Expand All @@ -56,7 +57,7 @@
]
}
],
"description": "fails in case the running workload has binded Service and Gateway that are exposing it on Internet.",
"description": "fails if the running workload is bound to a Service that is exposed to the Internet through a Gateway.",
"remediation": "",
"ruleQuery": "armo_builtins"
}

0 comments on commit f09f424

Please sign in to comment.