Skip to content

Commit

Permalink
Merge pull request #65 from nirmata/enforce-to-audit-mode
Browse files Browse the repository at this point in the history
fix: change enforce policies to audit
  • Loading branch information
anusha94 authored May 12, 2023
2 parents 555cabd + 84cb5d1 commit 9525d24
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ metadata:
in order to be valid. This policy ensures that there is a
hostname for each rule defined.
spec:
validationFailureAction: enforce
validationFailureAction: audit
background: false
rules:
- name: disallow-empty-ingress-host
Expand Down
2 changes: 1 addition & 1 deletion charts/best-practices-k8s/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ apiVersion: v2
name: kubernetes-best-practice-policies
description: Kubernetes Best Practice policy set
type: application
version: 0.1.1
version: 0.1.2
appVersion: 0.1.0
keywords:
- kubernetes
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ metadata:
in order to be valid. This policy ensures that there is a
hostname for each rule defined.
spec:
validationFailureAction: enforce
validationFailureAction: audit
background: false
rules:
- name: disallow-empty-ingress-host
Expand Down
2 changes: 1 addition & 1 deletion charts/best-practices-workload-security/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ apiVersion: v2
name: workload-security-best-practice-policies
description: Workload Security Best Practice policy set
type: application
version: 0.1.1
version: 0.1.2
appVersion: 0.1.0
keywords:
- kubernetes
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ metadata:
in order to be valid. This policy ensures that there is a
hostname for each rule defined.
spec:
validationFailureAction: enforce
validationFailureAction: audit
background: false
rules:
- name: disallow-empty-ingress-host
Expand Down
2 changes: 1 addition & 1 deletion pci-dss/restrict-basic-auth-secret.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ metadata:
Namespaces so Pods there have access. This policy will check for
the username and password present in a secret.
spec:
validationFailureAction: Enforce
validationFailureAction: audit
background: true
rules:
- name: check-secrets
Expand Down

0 comments on commit 9525d24

Please sign in to comment.