Grype Scanner Reference
You can set up a Security step with Grype to detect vulnerabilities and misconfigurations in your container images.
Important Notes
- STO supports Grype scans of containers and repositories.
- STO supports orchestrated scans and ingestionOnly scans scans with Grype.
Required Settings
product_name
=grype
scan_type
=orchestratedScan
product_config_name
=default
container_domain
— The image registry domain, for exampledocker.io
container_project
— The image owner and project, for exampleharness/delegate
container_tag
— The tag of the image to scan, for examplelatest
container_type
— Set tolocal_image
,docker_v2
,jfrog_artifactory
, oraws_ecr
The following settings are also required, depending on the container type:
- if
container_type
=docker_v2
container_access_id
: Usernamecontainer_access_token
: Password/token
- if
container_type
=aws_ecr
container_access_id
: Usernamecontainer_access_token
: Password/tokencontainer_region
: Image registry AWS region
- if
container_type
=jfrog_artifactory
container_access_id
: Usernamecontainer_access_token
: Password/token