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

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

Merged
merged 2 commits into from
Jun 7, 2024

Conversation

TommyE123
Copy link
Contributor

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

  • Add entry to the CHANGELOG listing the change and linking to the corresponding issue (if appropriate)

Reviewing Maintainer

  • Label as either automation, bug, documentation, enhancement, infrastructure, or performance

Copy link
Collaborator

@echoix echoix left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great! It's all good to go, all failures are the same that need to be fixed on main too.

The change for syft scan was merged 4 months ago in anchore/syft#2446.

So thanks, that's it for this PR!

@echoix echoix enabled auto-merge (squash) June 4, 2024 15:36
@echoix echoix disabled auto-merge June 4, 2024 15:37
@echoix echoix enabled auto-merge (squash) June 4, 2024 15:38
@echoix
Copy link
Collaborator

echoix commented Jun 4, 2024

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

@echoix echoix merged commit ac2ac48 into oxsecurity:main Jun 7, 2024
6 checks passed
@TommyE123 TommyE123 deleted the SYFT_Scan_Fix branch June 8, 2024 10:00
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.

2 participants