From b852809d1a6952d8236395e98eed323c70c146db Mon Sep 17 00:00:00 2001 From: orianelou <126462046+orianelou@users.noreply.github.com> Date: Wed, 19 Feb 2025 13:35:51 +0200 Subject: [PATCH] Update open-appsec-crd-v1beta2.yaml --- config/crds/open-appsec-crd-v1beta2.yaml | 43 ++++++++++++++++++++++++ 1 file changed, 43 insertions(+) diff --git a/config/crds/open-appsec-crd-v1beta2.yaml b/config/crds/open-appsec-crd-v1beta2.yaml index efdc4b7..b63c1a5 100644 --- a/config/crds/open-appsec-crd-v1beta2.yaml +++ b/config/crds/open-appsec-crd-v1beta2.yaml @@ -1173,3 +1173,46 @@ spec: kind: TrustedSource shortNames: - trustedsource + +--- +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata : + name: policyactivations.openappsec.io +spec: + group: openappsec.io + versions: + - name: v1beta2 + served: true + storage: true + schema: + openAPIV3Schema: + type: object + properties: + spec: + type: object + properties: + appsecClassName: + type: string + enabledPolicies: + type: array + items: + type: object + properties: + name: + type: string + hosts: + type: array + items: + type: string + required: + - hosts + required: + - enabledPolicies + scope: Cluster + names: + plural: policyactivations + singular: policyactivation + kind: PolicyActivation + shortNames: + - policyactivation