kubernetes-sigs / metrics-server

Scalable and efficient source of container resource metrics for Kubernetes built-in autoscaling pipelines.
https://kubernetes.io/docs/tasks/debug-application-cluster/resource-metrics-pipeline/
Apache License 2.0
5.72k stars 1.86k forks source link

Improve security hygiene and documentation #1437

Open ricardoapl opened 6 months ago

ricardoapl commented 6 months ago

What would you like to be added:

Similar to what was proposed in https://github.com/kubernetes-sigs/prometheus-adapter/issues/638 for prometheus-adapter, I suggest we implement the following for metrics-server:

  • Generating an SBOM automatically when a new release is tagged, so that users have a better understanding of whether or not they're affected by a particular vulnerability
  • Generating SLSA/provenance attestation automatically for each new release, so that users can verify the authenticity and trustworthiness of the build process
  • Initializing VEX feed and generating OpenVEX data on each release, so that users have a better understanding of which vulnerabilities present a genuine risk

We should probably also follow up on CLOMonitor security checks previously configured in https://github.com/cncf/clomonitor/pull/1407:

Why is this needed:

I believe this relates to https://github.com/kubernetes/sig-release/blob/193a3cdf8d73e0888c7f6829eea3716918a5af4a/roadmap.md

/kind feature

dgrisonnet commented 5 months ago

@ricardoapl you mentioned over on Slack that Manuel had done the CLOMonitor integration. Is there anything more to do?

ricardoapl commented 5 months ago

Yes, I suggest the following based on Security Slam: Kubernetes Lightning Round

Release to Community Infrastructure

Automate Security Documentation

CLOMonitor: Secure Development Practices

k8s-triage-robot commented 2 months ago

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

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

You can:

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

/lifecycle stale

ricardoapl commented 2 months ago

/remove-lifecycle stale

dashpole commented 1 day ago

/assign @ricardoapl /triage accepted