Get CI/CD Risk Details
GET/code/code/api/v1/pipeline-risks/:policyId/details
Get CI/CD risk details by policy ID
Request
Path Parameters
- CI/CD Risk policy ID
policyId stringrequired
Responses
- 200
- 422
Ok
- application/json
- Schema
- Example (from schema)
Schema
data objectrequired
category stringrequired
CI/CD Risk category
description stringrequired
CI/CD Risk description
fixedAlerts doublerequired
Number of fixed events
lastCalculatedOn stringrequired
Last calculation time
locationInDeliveryChain stringrequired
Location in delivery chain
name stringrequired
CI/CD Risk name
openAlerts doublerequired
Number of open events
policyId stringrequired
CI/CD Risk policy ID
severity stringrequired
CI/CD Risk severity
stepsToSolve stringrequired
Description of steps to solve the risk
suppressedAlerts doublerequired
Number of suppressed events
system stringrequired
CI/CD Risk system
{
"data": {
"category": "string",
"description": "string",
"fixedAlerts": 0,
"lastCalculatedOn": "string",
"locationInDeliveryChain": "string",
"name": "string",
"openAlerts": 0,
"policyId": "string",
"severity": "string",
"stepsToSolve": "string",
"suppressedAlerts": 0,
"system": "string"
}
}
Request arguments validation error
Loading...