1
0
Fork 0
mirror of https://github.com/kyverno/kyverno.git synced 2024-12-15 17:51:20 +00:00
kyverno/pkg/engine
shuting 34c6920129
Support PSa integration by controlName only (#4710)
* Remove "restrictedField" and "values" from podSecurity.exclude

Signed-off-by: ShutingZhao <shuting@nirmata.com>

* Remove commented code

Signed-off-by: ShutingZhao <shuting@nirmata.com>

* Add unit tests for restricted_runAsNonRoot

Signed-off-by: ShutingZhao <shuting@nirmata.com>

* Add baseline unit tests

Signed-off-by: ShutingZhao <shuting@nirmata.com>

* Add unit tests for restricted controls

Signed-off-by: ShutingZhao <shuting@nirmata.com>

* Removes PSa tests at the engine level

Signed-off-by: ShutingZhao <shuting@nirmata.com>

* - Update API docs; - Add unit tests for wildcard images

Signed-off-by: ShutingZhao <shuting@nirmata.com>

* Remove autogen conversion for PSa policies

Signed-off-by: ShutingZhao <shuting@nirmata.com>

* copy pod with DeepCopy()

Signed-off-by: ShutingZhao <shuting@nirmata.com>

Signed-off-by: ShutingZhao <shuting@nirmata.com>
Co-authored-by: Charles-Edouard Brétéché <charled.breteche@gmail.com>
2022-09-28 10:03:53 +00:00
..
anchor skip validate rules if conditional anchor key doesn't exist in the resource (#4451) 2022-08-31 05:09:53 +00:00
common refactor: introduce wildcard utils package (#4406) 2022-08-25 05:23:01 +00:00
context refactor: introduce wildcard utils package (#4406) 2022-08-25 05:23:01 +00:00
jmespath fix: jmespath random error handling (#4697) 2022-09-26 13:33:52 +00:00
jsonutils refactor: move common utils (#3553) 2022-04-05 13:02:43 +00:00
mutate refactor: introduce wildcard utils package (#4406) 2022-08-25 05:23:01 +00:00
operator chore: enable gofmt and gofumpt linters (#3931) 2022-05-17 06:19:03 +00:00
resources Yaml signing and verification (#4235) 2022-08-30 10:14:54 -07:00
response refactor: introduce wildcard utils package (#4406) 2022-08-25 05:23:01 +00:00
utils use failurePolicy to block or allow requests, on policy errors (#4183) 2022-08-02 20:24:02 +05:30
validate skip validate rules if conditional anchor key doesn't exist in the resource (#4451) 2022-08-31 05:09:53 +00:00
variables refactor: introduce wildcard utils package (#4406) 2022-08-25 05:23:01 +00:00
wildcards chore: add unit tests for pkg/utils/wildcard (#4510) 2022-09-06 08:02:41 +00:00
attestation_test.go add applyRules to control whether one or all rules are applied (#4196) 2022-07-29 15:02:26 +08:00
background.go chore: fix golangcilint timeout (#4388) 2022-08-24 21:08:24 +08:00
forceMutate.go chore: make kyverno api import aliases consistent (#3939) 2022-05-17 13:12:43 +02:00
forceMutate_test.go refactor: engine context (#3563) 2022-04-09 11:52:50 +00:00
generation.go chore: make kyverno api import aliases consistent (#3939) 2022-05-17 13:12:43 +02:00
imageVerify.go refactor: introduce wildcard utils package (#4406) 2022-08-25 05:23:01 +00:00
imageVerify_test.go fix: change key used in test (#4718) 2022-09-27 17:18:14 +00:00
imageVerifyMetadata.go chore: enable gofmt and gofumpt linters (#3931) 2022-05-17 06:19:03 +00:00
imageVerifyValidate.go Added appropriate logging levels to log.Info() calls wherever necessary (#4341) 2022-08-18 13:24:59 +00:00
jsonContext.go feat: remove context api call constraints (#4389) 2022-09-01 08:30:04 +00:00
k8smanifest.go Add the metric "kyverno_client_queries_total" (#4359) 2022-08-31 11:33:47 +05:30
k8smanifest_test.go Yaml signing and verification (#4235) 2022-08-30 10:14:54 -07:00
loadtargets.go fix: namespaced policy targets namespace validation and scoping them to the policy's namespace (#4671) 2022-09-26 14:54:13 +00:00
loadtargets_test.go Load mutate.targets via dclient (#3797) 2022-05-06 05:46:36 +00:00
mutation.go add applyRules to control whether one or all rules are applied (#4196) 2022-07-29 15:02:26 +08:00
mutation_test.go Add the metric "kyverno_client_queries_total" (#4359) 2022-08-31 11:33:47 +05:30
policyContext.go Add the metric "kyverno_client_queries_total" (#4359) 2022-08-31 11:33:47 +05:30
utils.go refactor: introduce wildcard utils package (#4406) 2022-08-25 05:23:01 +00:00
utils_test.go handle subresources (#3841) 2022-05-09 18:50:50 -07:00
validation.go Support PSa integration by controlName only (#4710) 2022-09-28 10:03:53 +00:00
validation_test.go Support PSa integration by controlName only (#4710) 2022-09-28 10:03:53 +00:00