Wrapper for all trivy scans.
TRIVY_SCAN_TYPE: Type of scan to perform. Allowed values are:sast,cs,container,image, andrepo.
make trivy-scan- Container image with trivy installed.
Trivy container image scanning.
TRIVY_IMAGE_SCAN_IMAGE_URL: Full image name and tag for sccanning. You can also instead use--input <TAR_FILE>if you want to scan a tar file.TRIVY_IMAGE_SCAN_OUTPUT_FORMAT: Output format for Trivy. Allowed values are:table,json,template,sarif,cyclonedx,spdx,spdx-json,github, andcosign-vuln.TRIVY_IMAGE_SCAN_EXIT_CODE: Exit code for trivy scan (1for vulnerabilities detected,0for none).TRIVY_IMAGE_SCAN_OUTPUT_FILE: Output file for trivy scan.
# Via docker compose wrapper
make trivy-image-scan
# Job Call
make _trivy-image-scan- Container image with trivy installed.
Trivy filesystem scanning.
TRIVY_FS_SCAN_PATH: Path where trivy will start scanning.TRIVY_FS_SCAN_OUTPUT_FORMAT: Output format for Trivy. Allowed values are:table,json,template,sarif,cyclonedx,spdx,spdx-json,github, andcosign-vuln.TRIVY_FS_SCAN_EXIT_CODE: Exit code for trivy scan (1for vulnerabilities detected,0for none).TRIVY_FS_SCAN_OUTPUT_FILE: Output file for trivy scan.TRIVY_FS_SCAN_ADDITIONAL_PARAMETERS: Any additional trivy scan parameters.
# Via docker compose wrapper
make trivy-fs-scan
# Job Call
make _trivy-fs-scan- Container image with trivy installed.
Trivy repository scanning.
TRIVY_REPO_SCAN_URL: Repository URL to scan (can be remote or local repo).TRIVY_REPO_SCAN_OUTPUT_FORMAT: Output format for Trivy. Allowed values are:table,json,template,sarif,cyclonedx,spdx,spdx-json,github, andcosign-vuln.TRIVY_REPO_SCAN_EXIT_CODE: Exit code for trivy scan (1for vulnerabilities detected,0for none).TRIVY_REPO_SCAN_OUTPUT_FILE: Output file for trivy scan.TRIVY_REPO_SCAN_ADDITIONAL_PARAMETERS: Any additional trivy scan parameters.
# Via docker compose wrapper
make trivy-repo-scan
# Job Call
make _trivy-repo-scan- Container image with trivy installed.
Wrapper for all gitleaks scans.
GITLEAKS_SCAN_TYPE: Type of scan to perform. Allowed values are:repo,git,dir,file,directory, orfolder.
make gitleaks-scan- Container image with gitleaks installed.
Gitleaks directory scanning.
GITLEAKS_DIR_SCAN_PATH: Path where Gitleaks will scan for exposed secrets.GITLEAKS_DIR_SCAN_OUTPUT_FORMAT: Output format for Gitleaks. Allowed values are:json,csv,junit,sarif,template.GITLEAKS_DIR_SCAN_OUTPUT_FILE: Path and file name for report output.GITLEAKS_DIR_SCAN_EXIT_CODE: Exit code for gitleaks scan (1for vulnerabilities detected,0for none).GITLEAKS_DIR_SCAN_ADDITIONAL_PARAMETERS: Any additional gitleaks scan parameters.
# Via docker compose wrapper
make gitleaks-dir-scan
# Job Call
make _gitleaks-dir-scan- Container image with gitleaks installed.
Gitleaks git repository scanning.
GITLEAKS_REPO_SCAN_PATH: Path where Gitleaks will scan for exposed secrets.GITLEAKS_REPO_SCAN_OUTPUT_FORMAT: Output format for Gitleaks. Allowed values are:json,csv,junit,sarif,template.GITLEAKS_REPO_SCAN_OUTPUT_FILE: Path and file name for report output.GITLEAKS_REPO_SCAN_EXIT_CODE: Exit code for gitleaks scan (1for vulnerabilities detected,0for none).GITLEAKS_REPO_SCAN_ADDITIONAL_PARAMETERS: Any additional gitleaks scan parameters.
# Via docker compose wrapper
make gitleaks-repo-scan
# Job Call
make _gitleaks-repo-scan- Container image with gitleaks installed.
Wrapper for kubesec scanning.
KUBESEC_SCAN_TYPE: Type of scanning to be done. Valid values aremanifestandhelm.
make kubesec-scan- Container image with kubesec installed.
Kubernetes SAST manifest scanning.
KUBESEC_MANIFEST_SCAN_PATH: Path to scan YAML manifest files.KUBESEC_MANIFEST_SCAN_ADDITIONAL_PARAMETERS: Additional parameters for kubesec.
# Via docker compose wrapper
make kubesec-manifest-scan
# Job Call
make _kubesec-manifest-scan- Container image with kubesec installed.
Kubernetes SAST helm scanning.
KUBESEC_HELM_SCAN_PATH: Path to scan helm chart.KUBESEC_HELM_VALUES_SCAN_PATH: Path to scan helm chart values.KUBESEC_HELM_SCAN_ADDITIONAL_PARAMETERS: Additional parameters for kubesec.
# Via docker compose wrapper
make kubesec-helm-scan
# Job Call
make _kubesec-helm-scan- Container image with kubesec installed.
SAST scanning through Horusec.
HORUSEC_SCAN_CONFIG_FILE_PATH: Path where horusec configuration can be found.HORUSEC_SCAN_PATH: Path where horusec will start scanning.HORUSEC_SCAN_LOG_FILE_PATH: Path and filename of the log file.HORUSEC_SCAN_LOG_LEVEL: Log level of horusec. Valid values are:panic,fatal,error,warn,info,debug, andtrace.HORUSEC_SCAN_ADDITIONAL_PARAMETERS: Additional parameters for horusec.
# Via docker compose wrapper
make horusec-scan
# Job Call
make _horusec-scan- Container image with horusec installed.
Container signing for container images in tar format.
COSIGN_CONTAINER_SIGNING_KEY_PATH: Path where the key can be found.COSIGN_CONTAINER_IMAGE_PATH: Path to the container image tar file.COSIGN_CONTAINER_SIGNING_ADDITIONAL_PARAMETERS: Additional parameters for cosign command.
# Via docker compose wrapper
make cosign-container-image-tar-signing
# Job Call
make _cosign-container-image-tar-signing- Container image with cosign installed.
- Security key to be used by cosign.
Job for blob signing through cosign.
COSIGN_BLOB_SIGNING_KEY_PATH: Path where the key can be found.COSIGN_BLOB_FILE: Full path and file to the blob.COSIGN_BLOB_ADDITIONAL_PARAMETERS: Additional parameters for cosign command.
# Via docker compose wrapper
make cosign-blob-signing
# Job Call
make _cosign-blob-signing- Container image with cosign installed.
- Security key to be used by cosign.
Wrapper job for OSV scans.
OSV_SCAN_TYPE: Scan type for OSV. Valid values arecontainer_image,container_tar,source, andlicense.
# Via docker compose wrapper
make osv-scan
# Job Call
make _osv-scan- Container image with OSV scanner installed.
Job for OSV conatiner image scan.
OSV_CONTAINER_IMAGE_SCAN_IMAGE_NAME: Container image name to be scanned.OSV_CONTAINER_IMAGE_SCAN_ADDITIONAL_PARAMETERS: Container image tag to be scanned.COSIGN_BLOB_ADDITIONAL_PARAMETERS: Additional parameters for OSV container image scan.
# Via docker compose wrapper
make osv-container-image-scan
# Job Call
make _osv-container-image-scan- Container image with OSV scanner installed.
Job for OSV conatiner tar scan.
OSV_CONTAINER_TAR_SCAN_PATH: Full path and file name of the container image tar.OSV_CONTAINER_TAR_SCAN_ADDITIONAL_PARAMETERS: Additional parameters for OSV container tar scan.
# Via docker compose wrapper
make osv-container-tar-scan
# Job Call
make _osv-container-tar-scan- Container image with OSV scanner installed.
Job for OSV scan for source code repository.
OSV_SOURCE_SCAN_PATH: Path of the source code repository to recursively scan.OSV_SOURCE_SCAN_ADDITIONAL_PARAMETERS: Additional parameters for OSV source scan.
# Via docker compose wrapper
make osv-source-scan
# Job Call
make _osv-source-scan- Container image with OSV scanner installed.
Job for OSV scan for source code repository licenses.
OSV_LICENSE_SCAN_PATH: Path of the source code repository to scan licenses.OSV_LICENSE_SCAN_ADDITIONAL_PARAMETERS: Additional parameters for OSV license scan.
# Via docker compose wrapper
make osv-license-scan
# Job Call
make _osv-license-scan- Container image with OSV scanner installed.
Job for OSV scan for source code repository licenses.
OSV_LICENSE_SCAN_PATH: Path of the source code repository to scan licenses.OSV_LICENSE_SCAN_ADDITIONAL_PARAMETERS: Additional parameters for OSV license scan.
# Via docker compose wrapper
make osv-license-scan
# Job Call
make _osv-license-scan- Container image with OSV scanner installed.