For the complete documentation index, see llms.txt. This page is also available as Markdown.

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

Workflow descriptions

Orchestration/extraction workflows

Ingestion workflows

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 configuration in a Custom Scan step

- step: type: Security name: custom_scan_xray identifier: custom_scan_xray spec: privileged: true settings: policy_type: ingestionOnly scan_type: containerImage product_name: xray product_config_name: default target_name: YOUR_REPO/YOUR_IMAGE target_variant: YOUR_TAG ingestion_file: /shared/scan_results/xray2.json

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?