oxsecurity / megalinter

🦙 MegaLinter analyzes 50 languages, 22 formats, 21 tooling formats, excessive copy-pastes, spelling mistakes and security issues in your repository sources with a GitHub Action, other CI tools or locally.
https://megalinter.io
GNU Affero General Public License v3.0
1.81k stars 215 forks source link

bug: SYFT - Command "packages" is deprecated, use "syft scan" instead #3613

Closed TommyE123 closed 4 weeks ago

TommyE123 commented 1 month ago

Fixes

When syft runs an error is displayed and no output is performed. Command "packages" is deprecated, use "syft scan" instead

image

Proposed Changes

Change the command to use scan instead of packages.

Testing

No packages present image

Packages present image

Readiness Checklist

Author/Contributor

Reviewing Maintainer

echoix commented 1 month ago

@nvuillam I will need your magic here for the trivy failures just like what blocks the other PRs too.