content icon indicating copy to clipboard operation
content copied to clipboard

Defined notes and Rules for BSI APP.4.4.A6-7

Open sluetze opened this issue 1 year ago • 4 comments

Description:

Notes / Rules for BSI APP4.4.A6 - APP4.4.A7 added.

Rationale:

As we have multiple customers asking for a BSI profile to be included in the compliance-operator, we are contributing a profile. To provide a better review process, the individual controle are implemented as separate PRs.

This is still a draft, because we need to discuss on how to do the following:

Networks for the administration of nodes, the control plane, and the individual networks of application services SHOULD be separated.

@benruland

sluetze avatar Apr 05 '24 12:04 sluetze

Hi @sluetze. Thanks for your PR.

I'm waiting for a ComplianceAsCode member to verify that this patch is reasonable to test. If it is, they should reply with /ok-to-test on its own line. Until that is done, I will not automatically test new commits in this PR, but the usual testing commands by org members will still work. Regular contributors should join the org to skip this step.

Once the patch is verified, the new status will be reflected by the ok-to-test label.

I understand the commands that are listed here.

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

openshift-ci[bot] avatar Apr 05 '24 12:04 openshift-ci[bot]

Start a new ephemeral environment with changes proposed in this pull request:

ocp4 (from CTF) Environment (using Fedora as testing environment) Open in Gitpod

Fedora Testing Environment Open in Gitpod

Oracle Linux 8 Environment Open in Gitpod

github-actions[bot] avatar Apr 05 '24 12:04 github-actions[bot]

:robot: A k8s content image for this PR is available at: ghcr.io/complianceascode/k8scontent:11794 This image was built from commit: 42553b27f52cf7ed2127ab6e88b5a01307b99c68

Click here to see how to deploy it

If you alread have Compliance Operator deployed: utils/build_ds_container.py -i ghcr.io/complianceascode/k8scontent:11794

Otherwise deploy the content and operator together by checking out ComplianceAsCode/compliance-operator and: CONTENT_IMAGE=ghcr.io/complianceascode/k8scontent:11794 make deploy-local

github-actions[bot] avatar Apr 05 '24 12:04 github-actions[bot]

This datastream diff is auto generated by the check Compare DS/Generate Diff

Click here to see the full diff
New content has different text for rule 'xccdf_org.ssgproject.content_rule_general_namespace_separation'.
--- xccdf_org.ssgproject.content_rule_general_namespace_separation
+++ xccdf_org.ssgproject.content_rule_general_namespace_separation
@@ -13,3 +13,6 @@
 allows you to granularly control the access to this application on a kubernetes
 level. It also allows you control the network flow from and to other namespaces
 more easily.
+
+[ident]:
+CCE-90279-1

New content has different text for rule 'xccdf_org.ssgproject.content_rule_configure_network_policies'.
--- xccdf_org.ssgproject.content_rule_configure_network_policies
+++ xccdf_org.ssgproject.content_rule_configure_network_policies
@@ -17,6 +17,9 @@
     and persist it to the local
     /apis/operator.openshift.io/v1/networks/cluster#35e33d6dc1252a03495b35bd1751cac70041a511fa4d282c300a8b83b83e3498
     file.
+
+[reference]:
+APP.4.4.A7
 
 [reference]:
 CIP-003-8 R6

New content has different text for rule 'xccdf_org.ssgproject.content_rule_configure_network_policies_namespaces'.
--- xccdf_org.ssgproject.content_rule_configure_network_policies_namespaces
+++ xccdf_org.ssgproject.content_rule_configure_network_policies_namespaces
@@ -20,6 +20,9 @@
     and persist it to the local
     /api/v1/namespaces#34d4beecc95c65d815d9d48fd4fdcb0c521631852ad088ef74e36d012b0e1e0d
     file.
+
+[reference]:
+APP.4.4.A7
 
 [reference]:
 CIP-003-8 R4

New content has different text for rule 'xccdf_org.ssgproject.content_rule_project_config_and_template_network_policy'.
--- xccdf_org.ssgproject.content_rule_project_config_and_template_network_policy
+++ xccdf_org.ssgproject.content_rule_project_config_and_template_network_policy
@@ -32,6 +32,9 @@
     file.
 
 [reference]:
+APP.4.4.A7
+
+[reference]:
 SRG-APP-000039-CTR-000110
 
 [reference]:

New content has different text for rule 'xccdf_org.ssgproject.content_rule_rbac_least_privilege'.
--- xccdf_org.ssgproject.content_rule_rbac_least_privilege
+++ xccdf_org.ssgproject.content_rule_rbac_least_privilege
@@ -28,6 +28,9 @@
 
 [reference]:
 APP.4.4.A3
+
+[reference]:
+APP.4.4.A7
 
 [reference]:
 AC-3

github-actions[bot] avatar May 31 '24 13:05 github-actions[bot]

Code Climate has analyzed commit 42553b27 and detected 0 issues on this pull request.

The test coverage on the diff in this pull request is 100.0% (50% is the threshold).

This pull request will bring the total coverage in the repository to 59.4%.

View more on Code Climate.

qlty-cloud-legacy[bot] avatar Jun 01 '24 18:06 qlty-cloud-legacy[bot]

Skipping the Ansible hardening tests.

yuumasato avatar Jun 10 '24 13:06 yuumasato