Skip to content

Update Standard "Baseline K8s Cluster Security" - rename to "K8s cluster hardening" #475

Closed

Description

@cah-hbaum

The "Baseline K8s cluster security" was created previously. In the PR (#376) there were some discussions about the structure and overall usefulness of the standard.
This issue should adapt the standard (since it is still in the draft phase) in order to better adhere to the requirements brought forward.
Some things to consider (citations) can be found in the comments of this issue.

Definition of Done:

Activity

  1. added
    Container
    standards
    SCS is standardized
    SCS-VP10
    on Feb 14, 2024
  2. self-assigned this
    on Feb 14, 2024
  3. cah-hbaum commented on Feb 14, 2024

    @cah-hbaum
    ContributorAuthor

    Comment from @artificial-intelligence at #376 (comment)

    I find this very unspecific for a standards document.

    Especially with regards to security this allows for many possible implementations which usually leads to - inadvertently - insecure implementations because there is no clear mandatory way to configure things in a secure fashion.

    this is what opened many security holes in previous TLS standards, for example.

    See this RFC for recommendations on how to write security related standards documents:

    https://www.rfc-editor.org/rfc/rfc3552.html#page-26

    I want to particularly highlight something relevant to the above:

    If the technology involves authentication, particularly user-host
    authentication, the security of the authentication method MUST be
    clearly specified. That is, authors MUST document the assumptions
    that the security of this authentication method is predicated upon.
    

    So, to sum it up:

    If you don't enforce secure authentication and authorization by the standard it's a matter of time until someone implementing your standard will end up implementing it in an insecure manner.

    It is also not sufficient that the standard relies on third party security-by-accident schemes, made up example:

    "the supported authentication schemes in kubernetes are all secure, therefore we do not need to specify explicitly secure auth schemes".

    A standard should not rely on implementation specific behaviour, which might change in the future, or might be version specific.

    Be explicit what is secure and be strict, not liberal in what you accept, see this famous criticism of the robustness principle:

    https://datatracker.ietf.org/doc/html/draft-iab-protocol-maintenance

  4. moved this from Backlog to Doing in Sovereign Cloud Stackon Feb 16, 2024
  5. added
    security
    on Feb 16, 2024
  6. changed the title [-]Update Standard "Baseline K8s Cluster Security"[/-] [+]Update Standard "Baseline K8s Cluster Security" - rename to "K8s cluster hardening"[/+] on Apr 25, 2024
  7. 9 remaining items

  8. added a commit that references this issue on Jun 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

ContainerSCS is standardizedSCS-VP10securitystandards

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions