k8s.io icon indicating copy to clipboard operation
k8s.io copied to clipboard

Best Practice on Security for AWS S3 buckets for registry.k8s.io

Open riaankleinhans opened this issue 2 years ago • 18 comments

  • [x] Ensure versioning is enabled for the production buckets: https://github.com/kubernetes/k8s.io/pull/4118 (@deobieta)
  • [ ] Ensure access logging is enabled for the production buckets: https://github.com/kubernetes/k8s.io/issues/3929
  • [ ] Monitor IAM permissions changes for the authentication account and the S3 buckets accounts
Conversation during k8s-infra meeting: These buckets will likely be around for 10 years. This doesn't seem to expressed. Arnaud would like to have Ted/Jay advise us about this.

Jay : We can setup cloud trail facilities. Ted already signed of on buckets+iam roles.

Arnaud: It's not about service, it's about the policy we need to put in place. For example, you can have access logs.

Lay out some security policy about those buckets. When Ben put out the design doc, there were some questions. What is the plan if there is an accident... wiping out the entire bucket...

Policy: Let's get some advice, best practices, not specifically to IAM roles.

Jay : these are all mirror, copies, and gcs storage. Worst case would be some malicious actor getting ability to push to write objects within that bucket and overwrite. We have image signatures and checksums are the current guards against that.

Ben: We talk about this in the doc, outside DOS attack, it's all content addressed.

We should talk about this at some point, and document. But let's also move forward with advice from Jay and Ted.

riaankleinhans avatar Apr 21 '22 23:04 riaankleinhans

/assign @jaypipes @BobyMCbobs /cc @sftim Converted draft into issue

riaankleinhans avatar Apr 21 '22 23:04 riaankleinhans

https://kubernetes.slack.com/archives/CCK68P2Q2/p1650579215464579

On the AWS side, I'm willing to try to make time to do security review for the infrastructure. I'm also happy to coach or support someone who wants to do that security review but isn't comfortable taking that responsibility on solo.

riaankleinhans avatar Apr 21 '22 23:04 riaankleinhans

Would anyone like to do a security review, and would also like some help?

sftim avatar Apr 22 '22 12:04 sftim

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

This bot triages issues and PRs 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 or PR as fresh with /remove-lifecycle stale
  • Mark this issue or PR as rotten with /lifecycle rotten
  • Close this issue or PR with /close
  • Offer to help out with Issue Triage

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

/lifecycle stale

k8s-triage-robot avatar Jul 21 '22 12:07 k8s-triage-robot

/remove-lifecycle stale

Buckets is created and ready. This issue need attendtion soon.

riaankleinhans avatar Jul 21 '22 18:07 riaankleinhans

/sig k8s-infra /area infra /priority important-longterm /milestone v1.26

ameukam avatar Aug 25 '22 19:08 ameukam

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

This bot triages issues and PRs 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 or PR as fresh with /remove-lifecycle stale
  • Mark this issue or PR as rotten with /lifecycle rotten
  • Close this issue or PR with /close
  • Offer to help out with Issue Triage

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

/lifecycle stale

k8s-triage-robot avatar Dec 25 '22 15:12 k8s-triage-robot

/remove-lifecycle stale

riaankleinhans avatar Jan 02 '23 19:01 riaankleinhans

/unassign @BobyMCbobs @jaypipes

/milestone v1.27

ameukam avatar Jan 19 '23 14:01 ameukam

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-triage-robot avatar Apr 19 '23 15:04 k8s-triage-robot

/remove-lifecycle stale

riaankleinhans avatar Apr 19 '23 18:04 riaankleinhans

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-triage-robot avatar Jul 18 '23 19:07 k8s-triage-robot

/remove-lifecycle stale

riaankleinhans avatar Jul 18 '23 21:07 riaankleinhans

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-triage-robot avatar Jan 24 '24 19:01 k8s-triage-robot

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-triage-robot avatar Feb 23 '24 19:02 k8s-triage-robot