mirror of
https://github.com/aquasecurity/trivy.git
synced 2025-12-23 07:29:00 -08:00
feat: support config (fanal#166)
Co-authored-by: aprp <doelaudi@gmail.com> Co-authored-by: rahul2393 <rahulyadavsep92@gmail.com>
This commit is contained in:
8
policy/testdata/namespace_exception/exceptions.rego
vendored
Normal file
8
policy/testdata/namespace_exception/exceptions.rego
vendored
Normal file
@@ -0,0 +1,8 @@
|
||||
package namespace.exceptions
|
||||
|
||||
import data.namespaces
|
||||
|
||||
exception[ns] {
|
||||
ns := data.namespaces[_]
|
||||
ns == "testdata.kubernetes.xyz_100"
|
||||
}
|
||||
Reference in New Issue
Block a user