Description: Returns security, license, and operational risk violations that found in a Release Bundle V2.
Since: 3.82.x
Security: Requires an Admin user.
Usage: GET /xray/api/v1/details/release_bundle_v2/{release_bundle_name}/{release_bundle_version}
Parameters:
Parameter | Type | Mandatory/Optional | Description |
|---|---|---|---|
include_violations | boolean | Optional (default is true) | This parameter allows you to export the specific violations of the block promotion or block distribution |
operation | string | Mandatory | Defines which RBV2 violation details you want to get. Allowed values:
|
projectKey | string | Optional | The project key |
Response Codes:
Status Code | Description |
|---|---|
200 | OK (allowed/blocked) |
400 | Bad request |
500 | Internal server error |
404 | Not found (not_indexed / not_found_in_artifactory) |
409 | Conflict (not_marked_for_index) |
202 | Accepted (in_progress) |
Successful Response:
Example for 200 for blocked
{
name: rbv2
version: v1.1
operation: “promotion”/”distribution”
status: "blocked"
ui_violations_url: <url>
violations: {
license: [{...}],
security: [{...}],
op_risk: [{...}]
}
}
Example for 200 for allowed
{
name: rbv2
version: v1.2
operation: “promotion”/”distribution”
status: "allowed"
}