Skip to content

grype: add page#21330

Open
TheRootDaemon wants to merge 3 commits intotldr-pages:mainfrom
TheRootDaemon:grype
Open

grype: add page#21330
TheRootDaemon wants to merge 3 commits intotldr-pages:mainfrom
TheRootDaemon:grype

Conversation

@TheRootDaemon
Copy link
Member

Checklist

  • The page(s) are in the correct platform directories: common, linux, osx, windows, sunos, android, etc.
  • The page description(s) have links to documentation or a homepage.
  • The page(s) follow the content guidelines.
  • The page(s) follow the style guide.
  • The PR contains at most 5 new pages.
  • The PR is authored by me, or has been human-reviewed if it was created with AI or machine translation software.
  • The PR title conforms to the recommended templates.
  • Version of the command being documented (if known):
  • Reference issue: #

@github-actions github-actions bot added new command Issues requesting creation of a new page or PRs adding a new page for a command. review needed Prioritized PRs marked for reviews from maintainers. labels Mar 2, 2026

- Scan an image and display results in a specific format:

`grype {{image:tag}} {{[-o|--output]}} {{json|table|cyclonedx|cylonedx-json|sarif|template}}`
Copy link
Collaborator

Choose a reason for hiding this comment

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

Suggested change
`grype {{image:tag}} {{[-o|--output]}} {{json|table|cyclonedx|cylonedx-json|sarif|template}}`
`grype {{image:tag}} {{[-o|--output]}} {{json|table|cyclonedx|cyclonedx-json|sarif|template}}`

Also please check if we should reduce the number of output options per the guide (for all examples)

Copy link
Member Author

Choose a reason for hiding this comment

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

I really found the output options listed out very helpful. So I thought that would be helpful for others too. Also since there were just six of them I added them in the example.

@SpikeTheDragon40k, @emmanuel-ferdman what do you people think about listing out the output options, rather than being generic like {{[-o|--output]}} {{format}}

TheRootDaemon and others added 2 commits March 4, 2026 10:03
Co-authored-by: Emmanuel Ferdman <emmanuelferdman@gmail.com>
Co-authored-by: Emmanuel Ferdman <emmanuelferdman@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

new command Issues requesting creation of a new page or PRs adding a new page for a command. review needed Prioritized PRs marked for reviews from maintainers.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants