Skip to content

Commit

Permalink
OCP4: Fix e2e ci assertions
Browse files Browse the repository at this point in the history
Fixing expected assertion result for rule file-permissions-cni-conf and file-groupowner-ovn-db-files, file-permissions-cni-conf should pass on ocp version >= 4.15, align file-groupowner-ovn-db-files with #11861
  • Loading branch information
Vincent056 committed May 7, 2024
1 parent ac1089e commit 28c07e5
Show file tree
Hide file tree
Showing 14 changed files with 36 additions and 36 deletions.
4 changes: 2 additions & 2 deletions tests/assertions/ocp4/ocp4-cis-node-4.13.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ rule_results:
e2e-cis-node-master-file-groupowner-ovn-cni-server-sock:
default_result: PASS
e2e-cis-node-master-file-groupowner-ovn-db-files:
default_result: NOT-APPLICABLE
default_result: PASS
e2e-cis-node-master-file-groupowner-ovs-conf-db:
default_result: PASS
e2e-cis-node-master-file-groupowner-ovs-conf-db-lock:
Expand Down Expand Up @@ -236,7 +236,7 @@ rule_results:
e2e-cis-node-worker-file-groupowner-ovn-cni-server-sock:
default_result: PASS
e2e-cis-node-worker-file-groupowner-ovn-db-files:
default_result: NOT-APPLICABLE
default_result: PASS
e2e-cis-node-worker-file-groupowner-ovs-conf-db:
default_result: PASS
e2e-cis-node-worker-file-groupowner-ovs-conf-db-lock:
Expand Down
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 @@ -36,7 +36,7 @@ rule_results:
e2e-cis-node-master-file-groupowner-ovn-cni-server-sock:
default_result: PASS
e2e-cis-node-master-file-groupowner-ovn-db-files:
default_result: NOT-APPLICABLE
default_result: PASS
e2e-cis-node-master-file-groupowner-ovs-conf-db:
default_result: PASS
e2e-cis-node-master-file-groupowner-ovs-conf-db-lock:
Expand Down Expand Up @@ -236,7 +236,7 @@ rule_results:
e2e-cis-node-worker-file-groupowner-ovn-cni-server-sock:
default_result: PASS
e2e-cis-node-worker-file-groupowner-ovn-db-files:
default_result: NOT-APPLICABLE
default_result: PASS
e2e-cis-node-worker-file-groupowner-ovs-conf-db:
default_result: PASS
e2e-cis-node-worker-file-groupowner-ovs-conf-db-lock:
Expand Down
8 changes: 4 additions & 4 deletions tests/assertions/ocp4/ocp4-cis-node-4.15.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ rule_results:
e2e-cis-node-master-file-groupowner-ovn-cni-server-sock:
default_result: PASS
e2e-cis-node-master-file-groupowner-ovn-db-files:
default_result: NOT-APPLICABLE
default_result: PASS
e2e-cis-node-master-file-groupowner-ovs-conf-db:
default_result: PASS
e2e-cis-node-master-file-groupowner-ovs-conf-db-lock:
Expand Down 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 @@ -236,7 +236,7 @@ rule_results:
e2e-cis-node-worker-file-groupowner-ovn-cni-server-sock:
default_result: PASS
e2e-cis-node-worker-file-groupowner-ovn-db-files:
default_result: NOT-APPLICABLE
default_result: PASS
e2e-cis-node-worker-file-groupowner-ovs-conf-db:
default_result: PASS
e2e-cis-node-worker-file-groupowner-ovs-conf-db-lock:
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
8 changes: 4 additions & 4 deletions tests/assertions/ocp4/ocp4-cis-node-4.16.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ rule_results:
e2e-cis-node-master-file-groupowner-ovn-cni-server-sock:
default_result: PASS
e2e-cis-node-master-file-groupowner-ovn-db-files:
default_result: NOT-APPLICABLE
default_result: PASS
e2e-cis-node-master-file-groupowner-ovs-conf-db:
default_result: PASS
e2e-cis-node-master-file-groupowner-ovs-conf-db-lock:
Expand Down 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 @@ -236,7 +236,7 @@ rule_results:
e2e-cis-node-worker-file-groupowner-ovn-cni-server-sock:
default_result: PASS
e2e-cis-node-worker-file-groupowner-ovn-db-files:
default_result: NOT-APPLICABLE
default_result: PASS
e2e-cis-node-worker-file-groupowner-ovs-conf-db:
default_result: PASS
e2e-cis-node-worker-file-groupowner-ovs-conf-db-lock:
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.15.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 @@ -547,7 +547,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-high-node-4.16.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 @@ -547,7 +547,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.15.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 @@ -547,7 +547,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-moderate-node-4.16.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 @@ -547,7 +547,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.13.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ rule_results:
e2e-pci-dss-node-master-file-groupowner-ovn-cni-server-sock:
default_result: PASS
e2e-pci-dss-node-master-file-groupowner-ovn-db-files:
default_result: NOT-APPLICABLE
default_result: PASS
e2e-pci-dss-node-master-file-groupowner-ovs-conf-db:
default_result: PASS
e2e-pci-dss-node-master-file-groupowner-ovs-conf-db-lock:
Expand Down Expand Up @@ -268,7 +268,7 @@ rule_results:
e2e-pci-dss-node-worker-file-groupowner-ovn-cni-server-sock:
default_result: PASS
e2e-pci-dss-node-worker-file-groupowner-ovn-db-files:
default_result: NOT-APPLICABLE
default_result: PASS
e2e-pci-dss-node-worker-file-groupowner-ovs-conf-db:
default_result: PASS
e2e-pci-dss-node-worker-file-groupowner-ovs-conf-db-lock:
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 @@ -42,7 +42,7 @@ rule_results:
e2e-pci-dss-node-master-file-groupowner-ovn-cni-server-sock:
default_result: PASS
e2e-pci-dss-node-master-file-groupowner-ovn-db-files:
default_result: NOT-APPLICABLE
default_result: PASS
e2e-pci-dss-node-master-file-groupowner-ovs-conf-db:
default_result: PASS
e2e-pci-dss-node-master-file-groupowner-ovs-conf-db-lock:
Expand Down Expand Up @@ -268,7 +268,7 @@ rule_results:
e2e-pci-dss-node-worker-file-groupowner-ovn-cni-server-sock:
default_result: PASS
e2e-pci-dss-node-worker-file-groupowner-ovn-db-files:
default_result: NOT-APPLICABLE
default_result: PASS
e2e-pci-dss-node-worker-file-groupowner-ovs-conf-db:
default_result: PASS
e2e-pci-dss-node-worker-file-groupowner-ovs-conf-db-lock:
Expand Down
8 changes: 4 additions & 4 deletions tests/assertions/ocp4/ocp4-pci-dss-node-4.15.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ rule_results:
e2e-pci-dss-node-master-file-groupowner-ovn-cni-server-sock:
default_result: PASS
e2e-pci-dss-node-master-file-groupowner-ovn-db-files:
default_result: NOT-APPLICABLE
default_result: PASS
e2e-pci-dss-node-master-file-groupowner-ovs-conf-db:
default_result: PASS
e2e-pci-dss-node-master-file-groupowner-ovs-conf-db-lock:
Expand Down 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 @@ -268,7 +268,7 @@ rule_results:
e2e-pci-dss-node-worker-file-groupowner-ovn-cni-server-sock:
default_result: PASS
e2e-pci-dss-node-worker-file-groupowner-ovn-db-files:
default_result: NOT-APPLICABLE
default_result: PASS
e2e-pci-dss-node-worker-file-groupowner-ovs-conf-db:
default_result: PASS
e2e-pci-dss-node-worker-file-groupowner-ovs-conf-db-lock:
Expand Down Expand Up @@ -354,7 +354,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
8 changes: 4 additions & 4 deletions tests/assertions/ocp4/ocp4-pci-dss-node-4.16.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ rule_results:
e2e-pci-dss-node-master-file-groupowner-ovn-cni-server-sock:
default_result: PASS
e2e-pci-dss-node-master-file-groupowner-ovn-db-files:
default_result: NOT-APPLICABLE
default_result: PASS
e2e-pci-dss-node-master-file-groupowner-ovs-conf-db:
default_result: PASS
e2e-pci-dss-node-master-file-groupowner-ovs-conf-db-lock:
Expand Down 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 @@ -268,7 +268,7 @@ rule_results:
e2e-pci-dss-node-worker-file-groupowner-ovn-cni-server-sock:
default_result: PASS
e2e-pci-dss-node-worker-file-groupowner-ovn-db-files:
default_result: NOT-APPLICABLE
default_result: PASS
e2e-pci-dss-node-worker-file-groupowner-ovs-conf-db:
default_result: PASS
e2e-pci-dss-node-worker-file-groupowner-ovs-conf-db-lock:
Expand Down Expand Up @@ -354,7 +354,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.15.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
4 changes: 2 additions & 2 deletions tests/assertions/ocp4/ocp4-stig-node-4.16.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 28c07e5

Please sign in to comment.