anchore / anchore/scan-action

An unset severity-cutoff should default to the value of fail-on-severity if there is a configuration

Open
#674 1 comment 0 reactions 0 assignees View on GitHub
enhancement good first issue
Dominant language
JavaScript
Stars
287
Forks
95
Avg merge
13h 23m
Merged PRs (30d)
13

Description

It appears to me that not setting it causes the CLI invocation to pass in `--fail-on medium` which takes precedence over the value in our config file.

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the CLI invocation with an unset severity-cutoff and a configured fail-on-severity, then trace the configuration handling that supplies --fail-on medium. Done means an unset severity-cutoff inherits the configured fail-on-severity value without overriding it, while an explicitly set cutoff remains effective.

Written by the indexing model from the issue text.

Assessment

Tech stack
github-actions, javascript
Domain
ci-cd, devops
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
55/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.