Skip to content

Commit

Permalink
Update assertions for 4.14 cni conf permissions
Browse files Browse the repository at this point in the history
Update assertions for `file-permissions-cni-conf`.
This follows a backport to change file permissions owned by the cluster
network operator.
  • Loading branch information
yuumasato committed Sep 9, 2024
1 parent 97bf29d commit 279dc69
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 12 deletions.
4 changes: 2 additions & 2 deletions tests/assertions/ocp4/ocp4-cis-node-4.14.yml
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ rule_results:
e2e-cis-node-master-file-owner-worker-service:
default_result: PASS
e2e-cis-node-master-file-permissions-cni-conf:
default_result: FAIL
default_result: PASS
e2e-cis-node-master-file-permissions-controller-manager-kubeconfig:
default_result: PASS
e2e-cis-node-master-file-permissions-etcd-data-dir:
Expand Down Expand Up @@ -316,7 +316,7 @@ rule_results:
e2e-cis-node-worker-file-owner-worker-service:
default_result: PASS
e2e-cis-node-worker-file-permissions-cni-conf:
default_result: FAIL
default_result: PASS
e2e-cis-node-worker-file-permissions-controller-manager-kubeconfig:
default_result: NOT-APPLICABLE
e2e-cis-node-worker-file-permissions-etcd-data-dir:
Expand Down
4 changes: 2 additions & 2 deletions tests/assertions/ocp4/ocp4-high-node-4.14.yml
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,7 @@ rule_results:
default_result: PASS
result_after_remediation: PASS
e2e-high-node-master-file-permissions-cni-conf:
default_result: FAIL
default_result: PASS
e2e-high-node-master-file-permissions-controller-manager-kubeconfig:
default_result: PASS
result_after_remediation: PASS
Expand Down Expand Up @@ -548,7 +548,7 @@ rule_results:
default_result: NOT-APPLICABLE
result_after_remediation: NOT-APPLICABLE
e2e-high-node-worker-file-permissions-cni-conf:
default_result: FAIL
default_result: PASS
e2e-high-node-worker-file-permissions-controller-manager-kubeconfig:
default_result: NOT-APPLICABLE
result_after_remediation: NOT-APPLICABLE
Expand Down
4 changes: 2 additions & 2 deletions tests/assertions/ocp4/ocp4-moderate-node-4.14.yml
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,7 @@ rule_results:
default_result: PASS
result_after_remediation: PASS
e2e-moderate-node-master-file-permissions-cni-conf:
default_result: FAIL
default_result: PASS
e2e-moderate-node-master-file-permissions-controller-manager-kubeconfig:
default_result: PASS
result_after_remediation: PASS
Expand Down Expand Up @@ -548,7 +548,7 @@ rule_results:
default_result: NOT-APPLICABLE
result_after_remediation: NOT-APPLICABLE
e2e-moderate-node-worker-file-permissions-cni-conf:
default_result: FAIL
default_result: PASS
e2e-moderate-node-worker-file-permissions-controller-manager-kubeconfig:
default_result: NOT-APPLICABLE
result_after_remediation: NOT-APPLICABLE
Expand Down
4 changes: 2 additions & 2 deletions tests/assertions/ocp4/ocp4-pci-dss-node-4-0-4.14.yml
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,7 @@ rule_results:
default_result: PASS
result_after_remediation: PASS
e2e-pci-dss-node-4-0-master-file-permissions-cni-conf:
default_result: FAIL
default_result: PASS
result_after_remediation: FAIL
e2e-pci-dss-node-4-0-master-file-permissions-controller-manager-kubeconfig:
default_result: PASS
Expand Down Expand Up @@ -543,7 +543,7 @@ rule_results:
default_result: NOT-APPLICABLE
result_after_remediation: NOT-APPLICABLE
e2e-pci-dss-node-4-0-worker-file-permissions-cni-conf:
default_result: FAIL
default_result: PASS
result_after_remediation: FAIL
e2e-pci-dss-node-4-0-worker-file-permissions-controller-manager-kubeconfig:
default_result: NOT-APPLICABLE
Expand Down
4 changes: 2 additions & 2 deletions tests/assertions/ocp4/ocp4-pci-dss-node-4.14.yml
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ rule_results:
e2e-pci-dss-node-master-file-ownership-var-log-ocp-audit:
default_result: PASS
e2e-pci-dss-node-master-file-permissions-cni-conf:
default_result: FAIL
default_result: PASS
e2e-pci-dss-node-master-file-permissions-controller-manager-kubeconfig:
default_result: PASS
e2e-pci-dss-node-master-file-permissions-etcd-data-dir:
Expand Down Expand Up @@ -355,7 +355,7 @@ rule_results:
e2e-pci-dss-node-worker-file-ownership-var-log-ocp-audit:
default_result: NOT-APPLICABLE
e2e-pci-dss-node-worker-file-permissions-cni-conf:
default_result: FAIL
default_result: PASS
e2e-pci-dss-node-worker-file-permissions-controller-manager-kubeconfig:
default_result: NOT-APPLICABLE
e2e-pci-dss-node-worker-file-permissions-etcd-data-dir:
Expand Down
4 changes: 2 additions & 2 deletions tests/assertions/ocp4/ocp4-stig-node-4.14.yml
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ rule_results:
default_result: PASS
result_after_remediation: PASS
e2e-stig-node-master-file-permissions-cni-conf:
default_result: FAIL
default_result: PASS
e2e-stig-node-master-file-permissions-controller-manager-kubeconfig:
default_result: PASS
result_after_remediation: PASS
Expand Down Expand Up @@ -484,7 +484,7 @@ rule_results:
default_result: PASS
result_after_remediation: PASS
e2e-stig-node-worker-file-permissions-cni-conf:
default_result: FAIL
default_result: PASS
e2e-stig-node-worker-file-permissions-controller-manager-kubeconfig:
default_result: NOT-APPLICABLE
result_after_remediation: NOT-APPLICABLE
Expand Down

0 comments on commit 279dc69

Please sign in to comment.