Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Security recommendation/hardening guide for applications that use Kubernetes client #121

Open
AnshumanTripathi opened this issue Jul 24, 2024 · 6 comments

Comments

@AnshumanTripathi
Copy link

Create a security recommendation/hardening guide for applications that use the Kubernetes client. This could include different use-cases like:

  1. Creating an application which runs kubectl commands.
  2. An application that uses the Kubernetes client
  3. A Kubernetes Operator
@chadmcrowell
Copy link

Hello, I'd like to contribute here. Just to be clear, the guide would focus on the security recommendations for applications interacting with the Kubernetes API? I can contribute in the following ways to recommend:

  • handling of sensitive data (e.g. config, secrets, user creds)
  • corruption of data or tampering
  • security controls for principle of least privilege
  • tightening up RBAC
  • dependency control and vulnerability management
  • enforcing network policy
  • security of apps to maximize availability
  • reduce attack vectors, and maintaining isolated workloads
  • compliance and audit requirements
  • supply chain attack prevention
  • establish zero-trust for apps interacting with Kubernetes

@k8s-triage-robot
Copy link

The Kubernetes project currently lacks enough contributors to adequately respond to all issues.

This bot triages un-triaged issues according to the following rules:

  • After 90d of inactivity, lifecycle/stale is applied
  • After 30d of inactivity since lifecycle/stale was applied, lifecycle/rotten is applied
  • After 30d of inactivity since lifecycle/rotten was applied, the issue is closed

You can:

  • Mark this issue as fresh with /remove-lifecycle stale
  • Close this issue with /close
  • Offer to help out with Issue Triage

Please send feedback to sig-contributor-experience at kubernetes/community.

/lifecycle stale

@k8s-ci-robot k8s-ci-robot added the lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. label Nov 23, 2024
@vaibhav2107
Copy link
Member

Is this issue resolved by PR, if yes then we can close this issue

@k8s-triage-robot
Copy link

The Kubernetes project currently lacks enough active contributors to adequately respond to all issues.

This bot triages un-triaged issues according to the following rules:

  • After 90d of inactivity, lifecycle/stale is applied
  • After 30d of inactivity since lifecycle/stale was applied, lifecycle/rotten is applied
  • After 30d of inactivity since lifecycle/rotten was applied, the issue is closed

You can:

  • Mark this issue as fresh with /remove-lifecycle rotten
  • Close this issue with /close
  • Offer to help out with Issue Triage

Please send feedback to sig-contributor-experience at kubernetes/community.

/lifecycle rotten

@k8s-ci-robot k8s-ci-robot added lifecycle/rotten Denotes an issue or PR that has aged beyond stale and will be auto-closed. and removed lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. labels Dec 31, 2024
@tabbysable
Copy link
Member

/remove-lifecycle rotten

@k8s-ci-robot k8s-ci-robot removed the lifecycle/rotten Denotes an issue or PR that has aged beyond stale and will be auto-closed. label Jan 3, 2025
@tabbysable
Copy link
Member

@chadmcrowell Yes, that sounds like exactly the sort of thing we were thinking of!

In general, there is a lot more security guidance for cluster administrators, but quite a bit less for folks who are writing an application to interact with their kubernetes cluster.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants