post
https://jf.example.com/xray/api/v1/artifact/contextualAnalysis/scan
Triggers a contextual analysis (applicability) scan. This endpoint supports two modes of operation:
Artifact mode - scan a specific artifact by providing repo and path (and optionally componentId). The artifact must already be scanned by Xray SCA.
Aggregate mode - scan all artifacts in a build or release bundle by providing the corresponding key pair instead:
- For builds:
build_name+build_number - For Release Bundles V1:
release_bundle_name+release_bundle_version - For Release Bundles V2:
release_bundle_v2_name+release_bundle_v2_version
The two modes are mutually exclusive. If repo, path, or componentId is provided, the request is treated as artifact mode and aggregate keys are ignored. If none of those are set, the request is treated as aggregate mode.
Optionally, project can be provided to scope the request to a specific project.
Requires the MANAGE_DATA permission. Since Xray 3.73.
Recent Requests
Log in to see full request history
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
Loading…
