Codefresh Steps: Reusable Code for Common Operations
This page provides code you can use to perform common operations in the Codefresh CI/CD platform.
Run a Twistlock security scan twistlock
Scan a docker image with the Twistlock security service.
arguments
TwistlockScanImage:
type: twistlock
arguments:
TEST_IMAGE: '${{TEST_IMAGE}}'
CODEFRESH_CLI_KEY: '${{CODEFRESH_CLI_KEY}}'
CONSOLE_HOSTNAME: '${{CONSOLE_HOSTNAME}}'
CONSOLE_PORT: '${{CONSOLE_PORT}}'
CONSOLE_USERNAME: '${{CONSOLE_USERNAME}}'
CONSOLE_PASSWORD: '${{CONSOLE_PASSWORD}}'
COMPLIANCE_THRESHOLD: '${{COMPLIANCE_THRESHOLD}}'
VULNERABILITY_THRESHOLD: '${{VULNERABILITY_THRESHOLD}}'