Skip to content

feat(checks): Add checks to detect suspicious Kubernetes URL annotations #8672

@simar7

Description

@simar7

Annotations in Kubernetes are widely used across many different resources. As seen in aquasecurity/trivy-checks#374 they can be misused.

We can write a check that checks all resources and their annotations for suspicious and unexpected values. As a part of this check, we can also improve the regex (or take a different approach) as was done here.

Metadata

Metadata

Labels

kind/featureCategorizes issue or PR as related to a new feature.target/kubernetesIssues relating to kubernetes cluster scanning

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions