The Supply Chain Security Tools - Store Command Line Interface (CLI), called
insight, allows you to query the store. You can query for information about images, packages, and vulnerabilities that have been submitted to the store.
To install the CLI:
Note: MacOS is a Darwin-based platform.
PATHenvironment variable, or add the location of the CLI to your
mv insight-1.0.0-alpha_darwin insight.
To allow your computer to run the binary, perform the following steps:
A pop-up appears to notify you that the program is not trusted.
To set up the CLI:
Make sure you have the prerequisites from Using Supply Chain Security Tools - Store before you set up the CLI. To set up the CLI, do the following:
See Using Supply Chain Security Tools - Store for different ways to incorporate the CLI into a workflow.
After the setup, you should be able to run use the CLI and get information that is stored in the database. Use
--help option to get the available commands.
For examples, see the files in the docs folder, starting with the