You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Update Standard "Baseline K8s Cluster Security" - rename to "K8s cluster hardening" #475
ContainerIssues or pull requests relevant for Team 2: Container Infra and ToolingSCS is standardizedSCS is standardizedSCS-VP10Related to tender lot SCS-VP10securityIssues or pull requests that are security-relevantstandardsIssues / ADR / pull requests relevant for standardization & certification
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:
PR is reviewed and accepted by all people previously not content with the standard
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:
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:
changed the title [-]Update Standard "Baseline K8s Cluster Security"[/-][+]Update Standard "Baseline K8s Cluster Security" - rename to "K8s cluster hardening"[/+]on Apr 25, 2024
ContainerIssues or pull requests relevant for Team 2: Container Infra and ToolingSCS is standardizedSCS is standardizedSCS-VP10Related to tender lot SCS-VP10securityIssues or pull requests that are security-relevantstandardsIssues / ADR / pull requests relevant for standardization & certification
Activity
cah-hbaum commentedon Feb 14, 2024
Comment from @artificial-intelligence at #376 (comment)
cah-hbaum commentedon Mar 13, 2024
Started working on this issue and collected some sources again. I will update this comment with everything I found and read:
[-]Update Standard "Baseline K8s Cluster Security"[/-][+]Update Standard "Baseline K8s Cluster Security" - rename to "K8s cluster hardening"[/+]Update baseline cluster security (#475)
fixup! Update baseline cluster security (#475)
fixup! Update baseline cluster security (#475)
9 remaining items
Update baseline cluster security (#475)
PEP-8 changes (#475)
fixup! Update baseline cluster security (#475)
fixup! Update baseline cluster security (#475)
fixup! Update baseline cluster security (#475)
Update baseline cluster security (#475)
PEP-8 changes (#475)
PEP-8 changes (#475)
PEP-8 changes (#475)
Update baseline cluster security (#475)
PEP-8 changes (#475)
Update baseline cluster security (#475)
Kubernetes cluster hardening standard (previously "K8s cluster baseli…