Skip to content

Latest commit

 

History

History
13 lines (9 loc) · 590 Bytes

README.md

File metadata and controls

13 lines (9 loc) · 590 Bytes

checkov-scan

This repository demonstrates how to leverage the checkov-action to scan container images inside a cicd pipeline.

Setup

Configure the secrets PC_ACCESS_KEY, PC_SECRET_KEY in Github as well as PRISMA_API_URL as a variable ( e.g. 'https://api.eu.prismacloud.io' )

CLI Way

Instead of the github action the checkov cli can be leveraged

checkov --branch main --repo-id BusinessAsUsualEnterprise/checkov-scan --docker-image demo:latest --dockerfile-path Dockerfile  --output cli --output sarif --output-file-path console,results.sarif --use-enforcement-rules