list

Retrieve vulnerabilities

Usage

ionosctl container-registry vulnerabilities list [flags]

Aliases

For container-registry command:

[cr contreg cont-reg]

For vulnerabilities command:

[v vuln vulnerability]

Description

Retrieve all vulnerabilities from an artifact

Options

  -u, --api-url string       Override default host URL. Preferred over the config file override 'containerregistry' and env var 'IONOS_API_URL' (default "https://api.ionos.com/containerregistries")
      --artifact-id string   ID/digest of the artifact
      --cols strings         Set of columns to be printed on output 
                             Available columns: [Id DataSource Score Severity Fixable PublishedAt UpdatedAt Affects Description Recommendations References Href]
  -c, --config string        Configuration file used for authentication (default "$XDG_CONFIG_HOME/ionosctl/config.yaml")
  -F, --filters strings      Limits results to those containing a matching value for a specific property. Use the following format to set filters: --filters KEY1=VALUE1,KEY2=VALUE2
  -f, --force                Force command to execute without user input
  -h, --help                 Print usage
      --limit int            Pagination limit: Maximum number of items to return per request (default 50)
      --no-headers           Don't print table headers when table output is used
      --offset int           Pagination offset: Number of items to skip before starting to collect the results
      --order-by string      Limits results to those containing a matching value for a specific property. Can be one of: -score, -severity, -publishedAt, -updatedAt, -fixable, score, severity, publishedAt, updatedAt, fixable (default "-score")
  -o, --output string        Desired output format [text|json|api-json] (default "text")
  -q, --quiet                Quiet output
  -r, --registry-id string   Registry ID
      --repository string    Name of the repository to retrieve artifact from
  -v, --verbose count        Increase verbosity level [-v, -vv, -vvv]

Examples

ionosctl container-registry vulnerabilities list

Last updated