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

Jfrog Xray step configuration

Scan container images with Jfrog Xray.

You can ingest scan results for your container images from JFrog Xray.

Workflow descriptions

Required settings

YAML step example
- 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

Custom Scan step settings for JFrog XRay

Scanner settings

These settings are required.

Product name

Key

Value

Scan type

Key

Value

Policy type

Key

Value

Product config

Key

Value

Target and variant

Ingestion file

Fail on severity

YAML pipeline example

The following pipeline example shows a simple ingestion workflow. The Run step downloads a results file to /shared/scan_results/xray2.json. The Custom Scan step then ingests the file.

For information about running scans using XRay, go to the JFrog documentation.

Last updated

Was this helpful?