ComplianceAsCode / content

Security automation content in SCAP, Bash, Ansible, and other formats
https://complianceascode.readthedocs.io/en/latest/
Other
2.22k stars 698 forks source link

Defined notes for BSI SYS.1.6.A15 #12528

Open lichtblaugue opened 1 month ago

lichtblaugue commented 1 month ago

Description:

Adding serveral existing rules and one manual rule for checking this requirement.

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.

openshift-ci[bot] commented 1 month ago

Hi @lichtblaugue. 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](https://git.k8s.io/community/contributors/guide/pull-requests.md). If you have questions or suggestions related to my behavior, please file an issue against the [kubernetes-sigs/prow](https://github.com/kubernetes-sigs/prow/issues/new?title=Prow%20issue:) repository.
github-actions[bot] commented 1 month ago

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] commented 1 month ago

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

Click here to see the full diff ```diff New content has different text for rule 'xccdf_org.ssgproject.content_rule_project_config_and_template_resource_quota'. --- xccdf_org.ssgproject.content_rule_project_config_and_template_resource_quota +++ xccdf_org.ssgproject.content_rule_project_config_and_template_resource_quota @@ -47,6 +47,9 @@ SRG-APP-000435-CTR-001070 [reference]: +SYS.1.6.A15 + +[reference]: CNTR-OS-000620 [reference]: New content has different text for rule 'xccdf_org.ssgproject.content_rule_project_template_resource_quota'. --- xccdf_org.ssgproject.content_rule_project_template_resource_quota +++ xccdf_org.ssgproject.content_rule_project_template_resource_quota @@ -32,6 +32,9 @@ [reference]: SRG-APP-000246-CTR-000605 +[reference]: +SYS.1.6.A15 + [rationale]: Running different applications on the same Kubernetes cluster creates a risk of a "noisy neighbor" when one application monopolizes cluster resources. New content has different text for rule 'xccdf_org.ssgproject.content_rule_resource_requests_limits_in_daemonset'. --- xccdf_org.ssgproject.content_rule_resource_requests_limits_in_daemonset +++ xccdf_org.ssgproject.content_rule_resource_requests_limits_in_daemonset @@ -26,6 +26,9 @@ [reference]: SC-6 +[reference]: +SYS.1.6.A15 + [rationale]: Resource requests/limits provide constraints that limit aggregate resource consumption per container. This helps prevent resource starvation. When deploying your New content has different text for rule 'xccdf_org.ssgproject.content_rule_resource_requests_limits_in_deployment'. --- xccdf_org.ssgproject.content_rule_resource_requests_limits_in_deployment +++ xccdf_org.ssgproject.content_rule_resource_requests_limits_in_deployment @@ -26,6 +26,9 @@ [reference]: SC-6 +[reference]: +SYS.1.6.A15 + [rationale]: Resource requests/limits provide constraints that limit aggregate resource consumption per container. This helps prevent resource starvation. When deploying your New content has different text for rule 'xccdf_org.ssgproject.content_rule_resource_requests_limits_in_statefulset'. --- xccdf_org.ssgproject.content_rule_resource_requests_limits_in_statefulset +++ xccdf_org.ssgproject.content_rule_resource_requests_limits_in_statefulset @@ -26,6 +26,9 @@ [reference]: SC-6 +[reference]: +SYS.1.6.A15 + [rationale]: Resource requests/limits provide constraints that limit aggregate resource consumption per container. This helps prevent resource starvation. When deploying your New content has different text for rule 'xccdf_org.ssgproject.content_rule_resource_requests_quota'. --- xccdf_org.ssgproject.content_rule_resource_requests_quota +++ xccdf_org.ssgproject.content_rule_resource_requests_quota @@ -57,6 +57,9 @@ [reference]: SC-5(2) +[reference]: +SYS.1.6.A15 + [rationale]: Resource quotas provide constraints that limit aggregate resource consumption per project. This helps prevent resource starvation. When deploying your New content has different text for rule 'xccdf_org.ssgproject.content_rule_resource_requests_quota_cluster'. --- xccdf_org.ssgproject.content_rule_resource_requests_quota_cluster +++ xccdf_org.ssgproject.content_rule_resource_requests_quota_cluster @@ -45,6 +45,9 @@ [reference]: SC-5(2) +[reference]: +SYS.1.6.A15 + [rationale]: Resource quotas provide constraints that limit aggregate resource consumption per project. This helps prevent resource starvation. When deploying your New content has different text for rule 'xccdf_org.ssgproject.content_rule_resource_requests_quota_per_project'. --- xccdf_org.ssgproject.content_rule_resource_requests_quota_per_project +++ xccdf_org.ssgproject.content_rule_resource_requests_quota_per_project @@ -64,6 +64,9 @@ SRG-APP-000450-CTR-001105 [reference]: +SYS.1.6.A15 + +[reference]: CNTR-OS-000620 [reference]: ```
codeclimate[bot] commented 2 weeks ago

Code Climate has analyzed commit 22df150d 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 60.9% (0.0% change).

View more on Code Climate.