Skip to content

Commit

Permalink
move bsi os checks into os profile
Browse files Browse the repository at this point in the history
  • Loading branch information
sluetze authored and benruland committed Dec 22, 2023
1 parent c6a1e6a commit 4321fcb
Show file tree
Hide file tree
Showing 4 changed files with 27 additions and 11 deletions.
11 changes: 2 additions & 9 deletions controls/bsi_app_4_4.yml
Original file line number Diff line number Diff line change
Expand Up @@ -81,16 +81,9 @@ controls:
minimum, this isolation MUST include process IDs, inter-process communication, user IDs,
the file system, and the network (including the hostname).
notes: >-
TBD
Since these are OS based requirements, they are included in the rhcos4 bsi profile
status: pending
rules:
- coreos_enable_selinux_kernel_argument
# the following var is in repo, but unknown to build scripts
# - var_selinux_policy_name=targeted
- selinux_policytype
# the following var is in repo, but unknown to build scripts
# - var_selinux_state=enforcing
- selinux_state
# rules:

- id: APP.4.4.A5
title: Backup in the Cluster
Expand Down
2 changes: 1 addition & 1 deletion products/ocp4/profiles/bsi-node.profile
Original file line number Diff line number Diff line change
Expand Up @@ -28,4 +28,4 @@ description: |-
filter_rules: '"ocp4-node" in platforms or "ocp4-master-node" in platforms or "ocp4-node-on-sdn" in platforms or "ocp4-node-on-ovn" in platforms'

selections:
- bsi_app_4_4:all
- bsi_app_4_4:all
2 changes: 1 addition & 1 deletion products/ocp4/profiles/bsi.profile
Original file line number Diff line number Diff line change
Expand Up @@ -32,4 +32,4 @@ selections:
### Helper Rules
### This is a helper rule to fetch the required api resource for detecting OCP version
- version_detect_in_ocp
- version_detect_in_hypershift
- version_detect_in_hypershift
23 changes: 23 additions & 0 deletions products/rhcos4/profiles/bsi.profile
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
documentation_complete: true

title: 'DRAFT - BSI APP.4.4. and SYS.1.6'

description: |-
This profile defines a baseline that aligns to the BSI (Federal Office for Security Information) IT-Grundschutz
Basic-Protection.

This baseline implements OS-Level configuration requirements from the following
sources:

- Building-Block SYS.1.6 Containerisation
- Building-Block APP.4.4 Kubernetes

THIS DOES NOT INCLUDE REQUIREMENTS FOR A HARDENED LINUX FROM SYS.1.3 LINUX

selections:
# BSI APP.4.4.A4
- coreos_enable_selinux_kernel_argument
- var_selinux_policy_name=targeted
- selinux_policytype
- var_selinux_state=enforcing
- selinux_state

0 comments on commit 4321fcb

Please sign in to comment.