Files
trivy/docs/mkdocs/vuln-detection/library.md
2021-02-27 14:20:04 +07:00

507 B

Trivy automatically detects the following files in the container and scans vulnerabilities in the application dependencies.

Ruby

  • Gemfile.lock

Python

  • Pipfile.lock
  • poetry.lock

PHP

  • composer.lock

Node.js

  • package-lock.json
  • yarn.lock

Rust

  • Cargo.lock

.NET

  • packages.lock.json

Java

  • JAR/WAR/EAR files (*.jar, *.war, and *.ear)

The path of these files does not matter.

Example