Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Show short summary of findings #120

Merged
merged 1 commit into from
Aug 29, 2024

Conversation

lread
Copy link
Contributor

@lread lread commented Aug 26, 2024

Include a 2-line summary of findings that reports the number of dependencies scanned, vulnerabilities found, and vulnerabilities broken down by severity.

The break down by severity makes no effort to distinguish between CVSS2, CVSS3 and CVSS4 scores. For example, CVSS2 has no Critical severity, so a High CVSS2 could be classified as a Critical CVSS3/CVSS4. For a summary, I think this is fine.

Accounts for possibility that data might have unspecified or unrecognized severity values. I think this is less likely for dependency-check (at least today as I've looked at the downloaded db), but have less of an idea of what values github-advisory might return.

Some minor cleanups in touched code:

  • de-duplicated shared scan logic in entrypoint ns
  • moved logging setup to logging-config ns
  • change kaocha test reporter to show tests being run

Closes #87

Include a 2-line summary of findings that reports the number of
dependencies scanned, vulnerabilities found, and vulnerabilities
broken down by severity.

The break down by severity makes no effort to distinguish between CVSS2,
CVSS3 and CVSS4 scores. For example, CVSS2 has no Critical severity, so
a High CVSS2 could be classified as a Critical CVSS3/CVSS4. For a summary,
I think this is fine.

Accounts for possibility that data might have unspecified or
unrecognized severity values. I think this is less likely for
dependency-check (at least today as I've looked at the downloaded db),
but have less of an idea of what values github-advisory might return.

Some minor cleanups in touched code:
- de-duplicated shared scan logic in entrypoint ns
- moved logging setup to logging-config ns
- change kaocha test reporter to show tests being run

Closes clj-holmes#87
@lread
Copy link
Contributor Author

lread commented Aug 26, 2024

Hiya @seancorfield! When you find some time and interest, lemme know what you think.

@seancorfield
Copy link
Contributor

I'm dedicating a few days in the second half of this week to OSS so I'll take a look in a few days.

@seancorfield
Copy link
Contributor

Very nice refactorings there -- thank you!

@seancorfield seancorfield merged commit 3ec17a2 into clj-holmes:main Aug 29, 2024
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

Consider clearly reporting the number of findings
2 participants