Codefresh Steps: Reusable Code for Common Operations
This page provides code you can use to perform common operations in the Codefresh CI/CD platform.
trivy-scan trivy-scan
The step scans the list of docker images and sends the report to a Slack webhook URL.
arguments
scan:
title: Scan images
type: trivy-scan
arguments:
GITHUB_TOKEN: '${{GITHUB_TOKEN}}'
SLACK_INCOMING_URL: 'https://my.slack.url'
IMAGES_LIST:
- 'image1:tag'
- 'image2:tag'