Replies: 1 comment
-
Hello @rstaylor You can see all found packages using For Regards, Dmitriy |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Question
I ran a scan of a java jar file using the following command:
trivy rootfs -d --scanners vuln pdfbox-app-1_7_1.jar
I cannot tell if this even ran successfully or if there were just no vulnerabilities. Here is the output generated from the command:
2025-02-19T14:52:02-05:00 DEBUG No plugins loaded
2025-02-19T14:52:02-05:00 DEBUG Default config file "file_path=trivy.yaml" not found, using built in values
2025-02-19T14:52:02-05:00 DEBUG Cache dir dir="/home/xxxx/.cache/trivy"
2025-02-19T14:52:02-05:00 DEBUG Cache dir dir="/home/xxxx/.cache/trivy"
2025-02-19T14:52:02-05:00 DEBUG Parsed severities severities=[UNKNOWN LOW MEDIUM HIGH CRITICAL]
2025-02-19T14:52:02-05:00 DEBUG Ignore statuses statuses=[]
2025-02-19T14:52:02-05:00 DEBUG DB update was skipped because the local DB is the latest
2025-02-19T14:52:02-05:00 DEBUG DB info schema=2 updated_at=2025-02-19T18:16:45.973719789Z next_update=2025-02-20T18:16:45.973718878Z downloaded_at=2025-02-19T19:32:16.42234678Z
2025-02-19T14:52:02-05:00 DEBUG [pkg] Package types types=[os library]
2025-02-19T14:52:02-05:00 DEBUG [pkg] Package relationships relationships=[unknown root workspace direct indirect]
2025-02-19T14:52:02-05:00 INFO [vuln] Vulnerability scanning is enabled
2025-02-19T14:52:02-05:00 DEBUG Initializing scan cache... type="memory"
2025-02-19T14:52:02-05:00 DEBUG [fs] Analyzing... root="pdfbox-app-1_7_1.jar"
2025-02-19T14:52:02-05:00 DEBUG [fs] Random cache key will be used err="failed to open git repository: stat /home/xxxx/yyyy/zzzz/pdfbox-app-1_7_1.jar/.git: not a directory"
2025-02-19T14:52:02-05:00 DEBUG [javadb] Java DB update was skipped because the local Java DB was downloaded during the last day
2025-02-19T14:52:02-05:00 DEBUG [jar] Parsing Java artifacts... file_path="pdfbox-app-1_7_1.jar"
2025-02-19T14:52:02-05:00 DEBUG [jar] No such POM in the central repositories file="pdfbox-app-1_7_1.jar"
2025-02-19T14:52:02-05:00 DEBUG OS is not detected.
2025-02-19T14:52:02-05:00 DEBUG Detected OS: unknown
2025-02-19T14:52:02-05:00 INFO Number of language-specific files num=1
2025-02-19T14:52:02-05:00 INFO [jar] Detecting vulnerabilities...
2025-02-19T14:52:02-05:00 DEBUG [jar] Scanning packages for vulnerabilities file_path=""
2025-02-19T14:52:02-05:00 DEBUG Specified ignore file does not exist file=".trivyignore"
2025-02-19T14:52:02-05:00 DEBUG [vex] VEX filtering is disabled
Target
Filesystem
Scanner
Vulnerability
Output Format
None
Mode
Standalone
Operating System
Ubuntu 24.04
Version
Beta Was this translation helpful? Give feedback.
All reactions