Get All CI/CD Risks Summary
POST/code/code/api/v1/pipeline-risks
Get All CI/CD Risks Summary
Request
- application/json
Body
required
categories string[]
CI/CD Risks categories: [ppe
, identifyAccessManagement
, thirdPartyServices
, dependencyChains
, credentialHygiene
, pipelineBasedAccessControls
, artifactIntegrityValidation
, dataProtection
, flowControlMechanism
, systemConfiguration
, loggingAndVisibility
]
endDate string
levels string[]
CI/CD Risk priority level: [1
, 2
, 3
, 4
]
names string[]
CI/CD Risk name
repositoryIds string[]
severities string[]
CI/CD Risk severity: [info
, low
, medium
, high
, critical
]
startDate string
status string
systems string[]
CI/CD Systems [crosssystem
, github
, gitlab
, githubActions
, gitlabCICD
, bitbucket
, jenkins
, circleCI
]
Responses
- 200
- 422
Get pipeline risks
- application/json
- Schema
- Example (from schema)
Schema
- Array [
- ]
data object[]required
category stringrequired
CI/CD Risk category
fixedAlerts doublerequired
Number of fixed events
lastAlertOn stringrequired
Date and time of last alert
name stringrequired
CI/CD Risk name
openAlerts doublerequired
Number of opened events
policyId stringrequired
CI/CD Risk policy ID
severity stringrequired
CI/CD Risk severity
status stringrequired
CI/CD Risk status
system stringrequired
CI/CD Risk system
totalAlerts doublerequired
Number of total events
hasNext booleanrequired
{
"data": [
{
"category": "string",
"fixedAlerts": 0,
"lastAlertOn": "string",
"name": "string",
"openAlerts": 0,
"policyId": "string",
"severity": "string",
"status": "string",
"system": "string",
"totalAlerts": 0
}
],
"hasNext": true
}
Request arguments validation error
Loading...