Image Detector is a tool for updating the security scanner config with the list of images in the Prow cluster. To achieve that, it receives paths to files used to deploy Prow or its components.
Image Detector:
- Extracts image URLs from various file types
- Updates the list of image URLs in the security scanner config file
Usage of image-detector:
--prow-config string
path to the Prow config file
--prow-jobs-dir string
path to the directory which contains Prow job files
--terraform-dir string
path to the directory containing Terraform files
--sec-scanner-config
path to the security scanner config field (Required)
--kubernetes-dir string
path to the directory containing Kubernetes deployments
--tekton-catalog string
path to the Tekton catalog directory
--autobump-config
path to the config for autobumper for security scanner config
--inrepo-config
path to the configuration of repositories with Prow inrepo config enabled
--github-token-path
path to github token for fetching inrepo config (default: "/etc/github/token")