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

prisma-cloud prisma-cloud

Execute Prisma Clud image scan as build step

arguments

  • COMPLIANCE_THRESHOLD - Sets the the minimal severity compliance issue that returns a fail exit code
  • IMAGE_NAME - Docker Image Name
  • IMAGE_TAG - Docker Image Tag
  • PC_HOSTNAME - Prisma Cloud Hostname/IP
  • PC_PASSWORD - Prisma Cloud Password
  • PC_PORT - Prisma Cloud Port
  • PC_PROTOCOL - Prisma Cloud Host/IP Protocol
  • PC_USERNAME - username
  • REGISTRY - Docker Registry name from Prisma Cloud
  • VULNERABILITY_THRESHOLD - Sets the minimal severity vulnerability that returns a fail exit code
    PrismaCloudImageScan:
  type: prisma-cloud
  arguments:
    IMAGE_NAME: name
    IMAGE_TAG: tag
    PC_HOSTNAME: hostname
    PC_PORT: port
    PC_USERNAME: username
    PC_PASSWORD: password
    REGISTRY: registry
    COMPLIANCE_THRESHOLD: level
    VULNERABILITY_THRESHOLD: level

  
    PrismaCloudImageScan:
  type: prisma-cloud
  arguments:
    IMAGE_NAME: name
    IMAGE_TAG: tag
    PC_HOSTNAME: hostname
    PC_PORT: port
    PC_USERNAME: username
    PC_PASSWORD: password
    REGISTRY: registry

  
github.com
Dustin Van Buskirk
Aug 28, 2023