Skip to content

Split "Container Security Context" #325

Closed
@zegl

Description

@zegl

As shown in #204, there's a need to being able to disable the UID and GID checks of the "Container Security Context" check without disabling the other checks that are made. I'm therefore proposing to split this check into three separate ones:

  • Container Security Context User/Group ID
  • Container Security Context Privileged
  • Container Security Context ReadOnlyRootFilesystem

Keeping all 3+1 versions around would not be desirable, and I'm proposing to use a three setup rollout plan:

  • v1.n: Add the three new checks, using opt-in, and deprecate the existing "Container Security Context" check.
  • v1.n+1: Enable the three new checks by default, mark "Container Security Context" as optional/opt-in.
  • v1.n+2: Remove "Container Security Context".

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions