Skip to content

Latest commit

 

History

History
33 lines (27 loc) · 1.03 KB

README.md

File metadata and controls

33 lines (27 loc) · 1.03 KB

Image Detector

Overview

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.

Key Features:

Image Detector:

  • Extracts image URLs from various file types
  • Updates the list of image URLs in the security scanner config file

Usage

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
  --github-token-path
    path to github token for fetching inrepo config (default: "/etc/github/token")