trivy was updated to fix the following issues:
Update to version 0.54.1:
--clear-cache [backport: release/v0.54] (#7285)SPDX and CycloneDX reports (#7257)--download-db-only and --download-java-db-only are specified (#7259)latest version for files yarn.lock + package.json (#7110)--pkg-relationships (#7237)nuget package dir not found log only when checking nuget packages (#7194)hugging-face-access-token (#7216)--vuln-type flag to --pkg-types flag (#7104)IsBinary check (#7123)go-mvn-version to remove Package duplicates (#7088)log.FilePath() function for logger (#7080)bytes.Index in emptyLineSplit to cut allocation (#7065)Update to version 0.53.0 (bsc#1227022, CVE-2024-6257):
* release: v0.53.0 [main] (#6855)
* feat(conda): add licenses support for environment.yml files (#6953)
* fix(sbom): fix panic when scanning SBOM file without root component into SBOM format (#7051)
* feat: add memory cache backend (#7048)
* fix(sbom): use package UIDs for uniqueness (#7042)
* feat(php): add installed.json file support (#4865)
* docs: ✨ Updated ecosystem docs with reference to new community app (#7041)
* fix: use embedded when command path not found (#7037)
* refactor: use google/wire for cache (#7024)
* fix(cli): show info message only when --scanners is available (#7032)
* chore: enable float-compare rule from testifylint (#6967)
* docs: Add sudo on commands, chmod before mv on install docs (#7009)
* fix(plugin): respect --insecure (#7022)
* feat(k8s)!: node-collector dynamic commands support (#6861)
* fix(sbom): take pkg name from purl for maven pkgs (#7008)
* feat!: add clean subcommand (#6993)
* chore: use ! for breaking changes (#6994)
* feat(aws)!: Remove aws subcommand (#6995)
* refactor: replace global cache directory with parameter passing (#6986)
* fix(sbom): use purl for bitnami pkg names (#6982)
* chore: bump Go toolchain version (#6984)
* refactor: unify cache implementations (#6977)
* docs: non-packaged and sbom clarifications (#6975)
* BREAKING(aws): Deprecate trivy aws as subcmd in favour of a plugin (#6819)
* docs: delete unknown URL (#6972)
* refactor: use version-specific URLs for documentation references (#6966)
* refactor: delete db mock (#6940)
* refactor: add warning if severity not from vendor (or NVD or GH) is used (#6726)
* feat: Add local ImageID to SARIF metadata (#6522)
* fix(suse): Add SLES 15.6 and Leap 15.6 (#6964)
* feat(java): add support for sbt projects using sbt-dependency-lock (#6882)
* feat(java): add support for maven-metadata.xml files for remote snapshot repositories. (#6950)
* fix(purl): add missed os types (#6955)
* fix(cyclonedx): trim non-URL info for advisory.url (#6952)
* fix(c): don't skip conan files from file-patterns and scan .conan2 cache dir (#6949)
* fix(image): parse image.inspect.Created field only for non-empty values (#6948)
* fix(misconf): handle source prefix to ignore (#6945)
* fix(misconf): fix parsing of engine links and frameworks (#6937)
* feat(misconf): support of selectors for all providers for Rego (#6905)
* fix(license): return license separation using separators ,, or, etc. (#6916)
* feat(misconf): add support for AWS::EC2::SecurityGroupIngress/Egress (#6755)
* BREAKING(misconf): flatten recursive types (#6862)
* test: bump docker API to 1.45 (#6914)
* feat(sbom): migrate to CycloneDX v1.6 (#6903)
* feat(image): Set User-Agent header for Trivy container registry requests (#6868)
* fix(debian): take installed files from the origin layer (#6849)
* fix(nodejs): fix infinite loop when package link from package-lock.json file is broken (#6858)
* feat(misconf): API Gateway V1 support for CloudFormation (#6874)
* feat(plugin): add support for nested archives (#6845)
* fix(sbom): don't overwrite srcEpoch when decoding SBOM files (#6866)
* fix(secret): Asymmetric Private Key shouldn't start with space (#6867)
* chore: auto label discussions (#5259)
* docs: explain how VEX is applied (#6864)
* fix(python): compare pkg names from poetry.lock and pyproject.toml in lowercase (#6852)
* fix(nodejs): fix infinity loops for pnpm with cyclic imports (#6857)
* feat(dart): use first version of constraint for dependencies using SDK version (#6239)
* fix(misconf): parsing numbers without fraction as int (#6834)
* fix(misconf): fix caching of modules in subdirectories (#6814)
* feat(misconf): add metadata to Cloud schema (#6831)
* test: replace embedded Git repository with dynamically created repository (#6824)
Update to version 0.52.2:
Update to version 0.52.1:
package-lock.json file is broken [backport: release/v0.52] (#6888)srcEpoch when decoding SBOM files [backport: release/v0.52] (#6881)poetry.lock and pyproject.toml in lowercase [backport: release/v0.52] (#6878)pnpm with cyclic imports (#6857)Update to version 0.52.0 (bsc#1224781, CVE-2024-35192):
requirement.txt files (#6782)convert mode when scanning json file derived from sbom file (#6808)requirements.txt files. (#6804)plugin section (#6799)ldflags (#6745)requirement.txt files (#6729).version|.ver (no prefixes) ldflags for gobinaries (#6705)gobinaries (#6710)Update to version 0.51.1:
generic link from trivy-repo (#6606)--skip-images scanning flag (#6334)disable-node-collector flag (#6311)environment.yaml files (#6569)kinds/namespaces and include kinds/namespaces (#6323)--show-suppressed is available in table (#6571)pom.xml file snapshot artifacts from remote repositories (#6412)DedicatedMasterEnabled parsing issue (#6439)fs/repo modes (#6381)workspaces from package.json as an object (#6231)0600 perms for tmp files for post analyzers (#6386)pom.xml files once (#6312)Packages in client/server mode (#6366)CreationInfo to nil when detecting SPDX created using Trivy (#6346).vulnerabilities[].identifiers[].url when gitlab.tpl is used (#6348)trivy-db and trivy-java-db registries by default (#6219)package.json (#6268)maven-invoker-plugin integration tests pom.xml files as Dev (#6213)source_location in github report when scanning an image (#5999)pom.properties files from jars (#6164)path to filter licenses using .trivyignore.yaml file (#6145)gradle files (#6083)user from Config.User (#6070)Update to version 0.49.1:
BomRef when matching PkgIdentifier (#6025)pnpm-lock.yaml files (#6034)TestDockerEngine (#6054)AWS_REGION env for secrets in asff template (#6011)--vex for all targets (#5992)metadata.tools struct for CycloneDX (#5981)amzn in src (#5951)group field for pom.xml and nodejs files for CycloneDX reports (#5922)jar files (#5630)AWS Secret Access Key must include only secrets with aws text. (#5901)Update to version 0.48.1:
pub from package-url (#5784)pip freeze for compatible releases (#5760)github template (#5783)Update to version 0.48.0:
--misconfig-scanners option (#5670)sec and space to secret prefix for aws-secret-access-key (#5647)alibaba-access-key-id (#5618)--debug option (#5550)--cf-params for CFT (#5507)--scanners config (#5587)scanners for k8s target (#5561)FilesAnalyzed and PackageVerificationCode fields for SPDX (#5533)Update to version 0.47.0:
BlobInfo message (#5382)relativePath field points to pom.xml being scanned (#5470)PyYAML for gh pages (#5462)--tf-exclude-downloaded-modules description (#5419)--ignore-policy in config scans (#5359)Use container image section (#5425)primaryURL and source severity for CycloneDX (#5399)InstalledFiles field to Package (#4706)requirements.txt files (#5375)Metadata into the k8s resource's scan report (#5322)github format (#5265)null value (#5041)1.20 (#5067)