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

BREAKING: disable JAR detection in fs/repo scanning #1512

Merged
merged 4 commits into from
Dec 24, 2021
Merged

Conversation

knqyf263
Copy link
Collaborator

@knqyf263 knqyf263 commented Dec 24, 2021

Description

Trivy looks for JAR files even in filesystem and repository scanning, though it should be only in container image scanning. It is no longer necessary as pom.xml is supported now.

Before:

  • JAR scanning
    • image
    • filesystem
    • root filesystem
    • repository

After

  • JAR scanning
    • image
    • root filesystem
  • pom.xml scanning
    • filesystem
    • repository

Blockers

Notes

JAR scanning is disabled here.

@knqyf263 knqyf263 self-assigned this Dec 24, 2021
modify language specific Packages to include pom.xml
@knqyf263 knqyf263 merged commit 76249bd into main Dec 24, 2021
@knqyf263 knqyf263 deleted the disable_jar branch December 24, 2021 14:15
liamg pushed a commit that referenced this pull request Jun 7, 2022
Co-authored-by: Andrey Levchenko <levchenko.andrey@gmail.com>
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.

None yet

2 participants