Get CI/CD Risk Events
POST/code/code/api/v1/pipeline-risks/:policyId/alerts
Get CI/CD risk events by status (open, suppressed, fixed)
Request
Path Parameters
- CI/CD Risk policy ID
policyId stringrequired
Query Parameters
limit int32
Possible values: >= 1
and <= 100
offset int32
- application/json
Body
required
endDate string
repositoryIds string[]
startDate string
status stringrequired
CI/CD Riks status: [open
, suppressed
, fixed
]
Responses
- 200
- 422
Ok
- application/json
- Schema
- Example (from schema)
Schema
- Array [
- ]
data object[]required
details stringrequired
CI/CD Risk event details
detectedOn stringrequired
id stringrequired
CI/CD Risk event ID
instanceId string
CI/CD Risk instance ID
lastCalculatedOn stringrequired
Last calculation time
repositoryId string
VCS repository ID
title stringrequired
CI/CD Risk event title
hasNext booleanrequired
{
"data": [
{
"details": "string",
"detectedOn": "string",
"id": "string",
"instanceId": "string",
"lastCalculatedOn": "string",
"repositoryId": "string",
"title": "string"
}
],
"hasNext": true
}
Request arguments validation error
Loading...