Skip to main content

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

    policyId stringrequired
    • CI/CD Risk policy ID

Query Parameters

    limit int32

    Possible values: >= 1 and <= 100

    offset int32

Body

required
    endDate string
    repositoryIds string[]
    startDate string
    status stringrequired

    CI/CD Riks status: [open, suppressed, fixed]

Responses

Ok

Schema
    data object[]required
  • Array [
  • 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
Loading...