Skip to content

trivy k8s: new flags --include-kinds and --exclude-kinds #6196

@chen-keinan

Description

@chen-keinan

it is required to add two new flags --include-kinds and --exclude-kinds

when --include-kinds is specified, example --include-kinds node meaning that the scan result will resent finding only from node kind

when --exclude-kinds is specified, example --exclude-kinds node meaning the scan result will resent finding from all namespaces except of node kind

both flags --include-kinds and --exclude-kinds are not allowed to be specified in conjunction on same scan

Metadata

Metadata

Assignees

No one assigned

    Labels

    kind/featureCategorizes issue or PR as related to a new feature.priority/backlogHigher priority than priority/awaiting-more-evidence.target/kubernetesIssues relating to kubernetes cluster scanning

    Type

    No type

    Projects

    Status

    No status

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions