Skip to content

Commit

Permalink
restore validation thresholds
Browse files Browse the repository at this point in the history
Signed-off-by: Alex Goodman <[email protected]>
  • Loading branch information
wagoodman committed Jul 31, 2023
1 parent 7da36c3 commit 41984b0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion publish/src/publisher/utils/grype.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
# +/- ratio for matching packages and vulnerabilities
# we know that there could be slight differences in grype output between versions
# and if new vulnerability data is used.
TOLERANCE = 0.4
TOLERANCE = 0.1


class Grype:
Expand Down
2 changes: 1 addition & 1 deletion test/acceptance/grype-ingest.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
# filter results to only consider years before and at this year (inclusive)
MAX_YEAR = 2021
MAX_ALLOWED_DROPPED_UNIQUE_MATCHES = 10
MAX_ALLOWED_UNIQUE_MATCHES = 70
MAX_ALLOWED_UNIQUE_MATCHES = 15
RESULT_SET_NAME = "acceptance-test"

TEST_IMAGES = [
Expand Down

0 comments on commit 41984b0

Please sign in to comment.