Codefresh Steps: Reusable Code for Common Operations
This page provides code you can use to perform common operations in the Codefresh CI/CD platform.
35

Run an Aqua Security Scan aqua

Execute an Aqua container security scan.

arguments

  • AQUA_HOST - Aqua Host URI including protocol ex. https://aqua.mydomain.com
  • AQUA_PASSWORD - Aqua Password
  • AQUA_USERNAME - Aqua Username
  • CF_ACCOUNT - Auto pulled from pipeline also replaces REGISTRY if not provided
  • IMAGE - Docker Image Name
  • REGISTRY - Name of Codefresh Registry setup in Aqua
  • TAG - Docker Image Tag
    AquaSecurityScan:
  type: aqua
  arguments:
    AQUA_HOST: '${{AQUA_HOST}}'
    AQUA_PASSWORD: '${{AQUA_PASSWORD}}'
    AQUA_USERNAME: '${{AQUA_USERNAME}}'
    IMAGE: '${{IMAGE}}'
    TAG: '${{TAG}}'

  
github.com
Dustin Van Buskirk
Jul 4, 2021