Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove api version list #623

Merged
merged 3 commits into from
May 28, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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"
}
Loading