grype/internal/stringutil
James Hebden 30f05c3759
Add --ignore-states flag for ignoring findings with specific fix states (#1473)
* Add --ignore-states flag for ignoring findings with by fix state

Signed-off-by: James Hebden <jhebden@gitlab.com>

* ignore options checked before scan, fail on invalid ignore states, ignore states comma-separated

Signed-off-by: James Hebden <jhebden@gitlab.com>

* Add CLI tests for new --ignore-states flag

Signed-off-by: Will Murphy <will.murphy@anchore.com>

---------

Signed-off-by: James Hebden <jhebden@gitlab.com>
Signed-off-by: Will Murphy <will.murphy@anchore.com>
Co-authored-by: Will Murphy <will.murphy@anchore.com>
2023-10-17 14:07:34 -04:00
..
color.go feat(outputs): allow to set multiple outputs (#648) (#1346) 2023-07-11 17:37:17 +00:00
parse.go feat(outputs): allow to set multiple outputs (#648) (#1346) 2023-07-11 17:37:17 +00:00
string_helpers.go Add --ignore-states flag for ignoring findings with specific fix states (#1473) 2023-10-17 14:07:34 -04:00
string_helpers_test.go Add --ignore-states flag for ignoring findings with specific fix states (#1473) 2023-10-17 14:07:34 -04:00
stringset.go feat(outputs): allow to set multiple outputs (#648) (#1346) 2023-07-11 17:37:17 +00:00
tprint.go feat(outputs): allow to set multiple outputs (#648) (#1346) 2023-07-11 17:37:17 +00:00