anchore

Analyze Docker images and generate a detailed manifest using Anchore

Arguments

  • ANCHORE_CLI_IMAGE - Name of the image to scan with Anchore
  • ANCHORE_CLI_PASS - Anchore account password
  • ANCHORE_CLI_URL - The address of the Anchore server
  • ANCHORE_CLI_USER - Anchore account name
  • ANCHORE_FAIL_ON_POLICY - Fail build if policy evaluation fails
    version: '1.0'
steps:
  ScanMyImage:
    title: Scanning Docker Image
    type: anchore
    arguments:
      ANCHORE_CLI_URL: 'http://anchore-engine::8228/v1'
      ANCHORE_CLI_IMAGE: alpine
      ANCHORE_CLI_FAIL_ON_POLICY: 'true'

  
github.com
Jeremy Valance
Sep 18, 2019