Skip to content

Expose include-excluded-vulnerabilities in container-image scan action#32

Open
yoavhermon wants to merge 1 commit into
tenable:mainfrom
yoavhermon:chore/include-excluded-vulnerabilities
Open

Expose include-excluded-vulnerabilities in container-image scan action#32
yoavhermon wants to merge 1 commit into
tenable:mainfrom
yoavhermon:chore/include-excluded-vulnerabilities

Conversation

@yoavhermon

Copy link
Copy Markdown

Summary

The container-image scan CLI gained a new flag, --include-excluded-vulnerabilities, which controls whether excluded (filtered-out) vulnerabilities are returned in the scan response. This wires that flag through the customer-facing GitHub Action.

Mirrors the analogous exclude-vulnerabilities / exclude-unresolvable changes (see PR #30).

Changes

  • action.yml — add the include-excluded-vulnerabilities input (default none) and forward it to the CLI via runs.args, using the same optional-flag pattern as the other inputs.
  • README.md — document the new input with its possible values and default.

Behavior

  • Values: comma-delimited list of none | all | min-severity | min-cvss-score | min-vpr-score | exclude-vulnerabilities | exclude-unresolvable.
  • Default: none — omitting the input yields today's behavior (excluded vulns not returned).

Add the include-excluded-vulnerabilities input to the container-image
scan action, forward it to the CLI's --include-excluded-vulnerabilities
flag, and document it in the README. Defaults to 'none', so existing
behavior is unchanged when the input is omitted.

Follow-up to TCS-10494. Ref TCS-11069.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant