Custom Scan step for supported scanners
Set up scanners using key-value pairs.
The Custom Scan step enables you to configure supported scanners that don't yet have their own dedicated step in the Harness Step Library.
Important notes for Custom Scan steps
To configure a Custom Scan step, you add a set of key-value pairs in the Settings field. The key and value strings you need to specify, such as
product_nameandorchestratedScan, are case-sensitive.You need to add a Docker-in-Docker background step if you're running an
orchestratedScanordataLoadscan in a Kubernetes or Docker build infrastructure.You need to run the Custom Scan step with root access if you need to run a Docker-in-Docker step, or if you need to add trusted certificates to your scan images at runtime.
The following topics contain useful information for setting up scanner integrations in STO:
Workflow descriptions
Custom Scan settings reference
To set up a scanner, you add key-value pairs under Settings. The following sections describe the different settings and requirements.
Scanner settings
These settings are required for most scanners. For more information, go to the reference for the scanner integration you're setting up.
Product name
The scanner name. This is required for all Custom Scan steps.
Key
Value
Go to the relevant step configuration.
Scan type
The target type to scan.
Key
Value
Must be one of the following. For supported values, go to the relevant step configuration.
Policy type
The scan mode to use.
Key
Value
Must be one of the following. For supported values, go to the relevant step configuration.
Product config name
Required for most scanner integrations.
Key
Value
For supported values, go to the relevant step configuration.
Target and variant
Code repositories
Container image
Application instances
Configurations
Ingestion file
Fail on Severity
Additional Configuration
Advanced settings
Last updated
Was this helpful?