Skip to content

Commit

Permalink
Merge pull request ComplianceAsCode#10848 from rhmdnd/check-profiling…
Browse files Browse the repository at this point in the history
…-is-protected-by-rbac

Add rule to verify protection of profiling data
  • Loading branch information
yuumasato authored Jul 14, 2023
2 parents eb1f81a + 82e0d55 commit 56af40d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ description: |-
rationale: |-
Profiling allows for the identification of specific performance bottlenecks.
It generates a significant amount of program data that could potentially be
exploited to uncover system and program details.
exploited to uncover system and program details.
To ensure the collected data is not exploited, profiling endpoints are secured
via RBAC (see cluster-debugger role). By default, the profiling endpoints are
accessible only by users bound to cluster-admin or cluster-debugger role.
Expand All @@ -20,7 +20,7 @@ identifiers:
cce@ocp4: CCE-84212-0

references:
cis@ocp4: 1.2.21
cis@ocp4: 1.2.19
nerc-cip: CIP-003-8 R6,CIP-004-6 R3,CIP-007-3 R6.1
nist: CM-6,CM-6(1)
pcidss: Req-2.2
Expand Down
5 changes: 3 additions & 2 deletions controls/cis_ocp_1_4_0/section-1.yml
Original file line number Diff line number Diff line change
Expand Up @@ -234,8 +234,9 @@ controls:
levels: level_1
- id: 1.2.19
title: Ensure that the healthz endpoint is protected by RBAC
status: pending
rules: []
status: automated
rules:
- api_server_profiling_protected_by_rbac
levels: level_1
- id: 1.2.20
title: Ensure that the --audit-log-path argument is set
Expand Down

0 comments on commit 56af40d

Please sign in to comment.