diff --git a/config/samples/zora_v1alpha1_clusterscan.yaml b/config/samples/zora_v1alpha1_clusterscan_misconfig.yaml similarity index 70% rename from config/samples/zora_v1alpha1_clusterscan.yaml rename to config/samples/zora_v1alpha1_clusterscan_misconfig.yaml index a013728b..1f07258c 100644 --- a/config/samples/zora_v1alpha1_clusterscan.yaml +++ b/config/samples/zora_v1alpha1_clusterscan_misconfig.yaml @@ -3,12 +3,15 @@ kind: ClusterScan metadata: labels: app.kubernetes.io/name: clusterscan - app.kubernetes.io/instance: mycluster + app.kubernetes.io/instance: mycluster-misconfig app.kubernetes.io/part-of: zora app.kubernetes.io/managed-by: kustomize app.kubernetes.io/created-by: zora - name: mycluster + name: mycluster-misconfig spec: clusterRef: name: mycluster schedule: "*/2 * * * *" + plugins: + - name: marvin + - name: popeye diff --git a/config/samples/zora_v1alpha1_clusterscan_vuln.yaml b/config/samples/zora_v1alpha1_clusterscan_vuln.yaml new file mode 100644 index 00000000..615e2f4e --- /dev/null +++ b/config/samples/zora_v1alpha1_clusterscan_vuln.yaml @@ -0,0 +1,16 @@ +apiVersion: zora.undistro.io/v1alpha1 +kind: ClusterScan +metadata: + labels: + app.kubernetes.io/name: clusterscan + app.kubernetes.io/instance: mycluster-vuln + app.kubernetes.io/part-of: zora + app.kubernetes.io/managed-by: kustomize + app.kubernetes.io/created-by: zora + name: mycluster-vuln +spec: + clusterRef: + name: mycluster + schedule: "*/10 * * * *" + plugins: + - name: trivy