Enhancements: Kubernetes system components logs sanitization

Created on 8 May 2020  路  31Comments  路  Source: kubernetes/enhancements

Enhancement Description

  • One-line enhancement description: Introduce a logging filter which could be applied to all Kubernetes system components logs to prevent various types of sensitive information from leaking via logs
  • Kubernetes Enhancement Proposal: https://github.com/kubernetes/enhancements/blob/master/keps/sig-instrumentation/1753-logs-sanitization
  • Primary contact (assignee): @44past4
  • Responsible SIGs: sig-instrumentation
  • Enhancement target (which target equals to which milestone):

    • Alpha release target (1.20)

    • Beta release target (1.21)

    • Stable release target (1.22)

kinfeature kinkep siinstrumentation stagalpha trackeyes wsecurity-audit

Most helpful comment

@MorrisLaw For 1.20 we would like to have implementation of sanitization finished. PRs needed:

PRs mentioned in https://github.com/kubernetes/enhancements/issues/1753#issuecomment-718923925 are not part of core feature we are introducing, but part of the security improvements based on this effort. This work was started in 1.20, but will continue in 1.21. I split the list by milestone that they are planned to be finished. I will also remove milestones from PRs themselves

All 31 comments

/sig intrumentation

@44past4: The label(s) sig/intrumentation cannot be applied, because the repository doesn't have them

In response to this:

/sig intrumentation

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

/sig instrumentation

/kind kep
/kind feature

Hey there @44past4 -- 1.19 Enhancements Lead here. I wanted to check in and see if you think this Enhancement will be graduating to Alpha in 1.19?

In order to have this part of the release:

  1. The KEP PR must be merged in an implementable state
  2. The KEP must have test plans
  3. The KEP must have graduation criteria.

As an additional note, https://github.com/kubernetes/enhancements/pull/1620 merged recently, adding production readiness review questions to the KEP template. We are not making it mandatory for the 1.19 release cycle, but it would be great if the PRR questionnaire is filled since the KEP PR is in flight.

If you do, I'll add it to the 1.19 tracking sheet (http://bit.ly/k8s-1-19-enhancements). Once coding begins please list all relevant k/k PRs in this issue so they can be tracked properly. 馃憤

Thanks! :slightly_smiling_face:


The current release schedule is:

  • Monday, April 13: Week 1 - Release cycle begins
  • Tuesday, May 19: Week 6 - Enhancements Freeze
  • Thursday, June 25: Week 11 - Code Freeze
  • Thursday, July 9: Week 14 - Docs must be completed and reviewed
  • Tuesday, August 4: Week 17 - Kubernetes v1.19.0 released

Hi @44past4 ,

Tomorrow, Tuesday May 19 EOD Pacific Time is Enhancements Freeze

Will this enhancement be part of the 1.19 release cycle?

@44past4 -- Unfortunately, the deadline for the 1.19 Enhancement freeze has passed. For now, this is being removed from the milestone and 1.19 tracking sheet. If there is a need to get this in, please file an enhancement exception.

Issues go stale after 90d of inactivity.
Mark the issue as fresh with /remove-lifecycle stale.
Stale issues rot after an additional 30d of inactivity and eventually close.

If this issue is safe to close now please do so with /close.

Send feedback to sig-testing, kubernetes/test-infra and/or fejta.
/lifecycle stale

/remove-lifecycle stale

Hi @44past4

Enhancements Lead here. Any plans for this in 1.20?

Thanks!
Kirsten

Yes, we plan to work on this in 1.20.

/milestone v1.20

Thanks @44past4

Also, as a reminder to be included in a release:

I've also updated the description to link directly to the merged KEP.

Best,
Kirsten

/wg security-audit

Hey @44past4 - 1.20 Enhancements Shadow here 馃憢

Just a friendly reminder, Enhancements Freeze is October 6th and if this KEP is intended for the 1.20 release, it still needs the following:

@44past4 please ensure you have opened a PR to address the above so this can be reviewed and merged by the enhancements freeze deadline, Oct. 6.

As a reminder, Enhancements Freeze deadline is Tomorrow October 6th EOD PST.

The related PR has merged: #2052

@kikisdeliveryservice @MorrisLaw Can you confirm that this Enhancement fulfills all requirements needed to be tracked for 1.20 release?

@serathius yes it does and we are tracking the enhancement :smile:

Hi @serathius ,

Since your Enhancement is scheduled to be in 1.20, please keep in mind the important upcoming dates:
Friday, Nov 6th: Week 8 - Docs Placeholder PR deadline
Thursday, Nov 12th: Week 9 - Code Freeze

As a reminder, please link all of your k/k PR as well as docs PR to this issue so we can track them.

Regards,
Jeremy

Hello @44past4, 1.20 Docs shadow here 馃憢馃徑.
Does this enhancement work planned for 1.20 require any new docs or modification to existing docs?

If so, please follows the steps here to open a PR against dev-1.20 branch in the k/website repo. This PR can be just a placeholder at this time and must be created before Nov 6th

Also take a look at Documenting for a release to get yourself familiarize with the docs requirement for the release.
Thank you!

As part of Alpha we would like to start tagging fields storing sensitive data in Kubernetes structures. Goal for 1.20 is to do first scan and introduce as many tags as possible.

List of PRs addings tags finished for 1.20:

Some tags will require more discussion and will be continued during in 1.21 during Beta.

@SomtochiAma @MorrisLaw I will file a placeholder PR tommorow. Thanks for reminder.

Hi @serathius

The docs placeholder deadline is almost here. Please make sure to create a placeholder PR against the dev-1.20 branch in the k/website before the deadline

Also, please keep in mind the important upcoming dates:

Thank you!

Placeholder PR created https://github.com/kubernetes/website/pull/24845 , thanks for reminder.

Thank you @serathius 馃コ

Hi @serathius @44past4

The code freeze deadline is almost here. Are these the remaining PRs needed for the 1.20 milestone: https://github.com/kubernetes/enhancements/issues/1753#issuecomment-718923925 ? Will they be merged in by the code freeze deadline?

Also, please keep in mind the important upcoming dates:

  • Thursday, Nov 12th: Week 9 - Code Freeze
  • Monday, Nov 23rd: Week 11 - Docs PR Ready for Review

Thank you!

@MorrisLaw For 1.20 we would like to have implementation of sanitization finished. PRs needed:

PRs mentioned in https://github.com/kubernetes/enhancements/issues/1753#issuecomment-718923925 are not part of core feature we are introducing, but part of the security improvements based on this effort. This work was started in 1.20, but will continue in 1.21. I split the list by milestone that they are planned to be finished. I will also remove milestones from PRs themselves

Hey, @serathius thank you for your work on this!

Can you please make a PR to update the graduation criteria for Beta (1.21) to include a bullet point describing the planned work to finish adding the data-policy tags?

Hello

As I understand it, this change still needs documenting. There's a placeholder for the documentation update(s) at https://github.com/kubernetes/website/pull/24845.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

liggitt picture liggitt  路  7Comments

justaugustus picture justaugustus  路  3Comments

prameshj picture prameshj  路  9Comments

msau42 picture msau42  路  13Comments

AndiLi99 picture AndiLi99  路  13Comments