Palo Alto Networks CI-CD Risks API
The CI-CD Risks API from Palo Alto Networks — 5 operation(s) for ci-cd risks.
Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay
Add selected operations to Stack
Ask an LLM “What CI/CD risks exist across my repositories and pipeline systems?”
“Can I filter pipeline risks by severity and date range?”
Tell an agent Summarize CI/CD risks with severities {severities}.
List CI/CD risks for repositories {repositoryIds} between {startDate} and {endDate}.
Ask an LLM “Which open events are raised under a specific CI/CD risk policy?”
“Can I see the suppressed or fixed events for one pipeline risk?”
Tell an agent List {status} events for CI/CD risk policy {policyId}.
Show {status} events for policy {policyId} in repositories {repositoryIds}.
Ask an LLM “What does a given CI/CD risk policy check for?”
“Where can I read the full description of a pipeline risk?”
Tell an agent Get the details of CI/CD risk policy {policyId}.
Explain the pipeline risk behind policy {policyId}.
Ask an LLM “How do I silence CI/CD risk events I've accepted?”
“Can I suppress several pipeline risk events at once?”
Tell an agent Suppress CI/CD risk events {ids}.
Mark pipeline risk events {ids} as suppressed.
Ask an LLM “Can I bring back CI/CD risk events I suppressed earlier?”
“What reopens a suppressed pipeline risk event?”
Tell an agent Unsuppress CI/CD risk events {ids}.
Restore suppressed pipeline risk events {ids}.
Every API here is available over the APIs.io API and to AI agents over MCP.
MCP server
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
Tools for apis
7 MCP tools reach this
find_apisBrowse and filter every API in the catalog.
get_api_artifactsOne API's artifacts, grouped by type.
get_openapiThe primary OpenAPI for this API.
find_similar_apisAPIs that look like this one.
apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
resolveTurn a domain, URL or GitHub org into the provider it belongs to.
find_cohortsEvery scored population of providers in the catalog.
All 92 tools →
Call it yourself
curl for this page
This API
curl "https://apis.io/api/v1/apis/palo-alto-networks:palo-alto-networks-ci-cd-risks-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key .
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we
store it to create your key and to recognise you if you sign in with another
provider. By signing up you are subscribing to the APIs.io and API Evangelist
newsletters — you can unsubscribe from any issue. See our
Privacy Policy and Terms .
A second provider on the same verified email joins the account you already have.
openapi: 3.2.0
info:
contact: {}
description: The CI/CD endpoints are listed below.
title: Prisma Cloud CI/CD API Overview CI-CD Risks API
version: Latest
servers: null
tags:
- name: CI-CD Risks
paths:
/code/code/api/v1/pipeline-risks:
post:
operationId: pipelineRisksGetAll
parameters: []
requestBody:
content:
application/json:
schema:
properties:
categories:
description: 'CI/CD Risks categories: [`ppe`, `identifyAccessManagement`, `thirdPartyServices`, `dependencyChains`, `credentialHygiene`, `pipelineBasedAccessControls`, `artifactIntegrityValidation`, `dataProtection`, `flowControlMechanism`, `systemConfiguration`, `loggingAndVisibility`]'
items:
type: string
type: array
endDate:
type: string
levels:
description: 'CI/CD Risk priority level: [`1`, `2`, `3`, `4`]'
items:
type: string
type: array
names:
description: CI/CD Risk name
items:
type: string
type: array
repositoryIds:
items:
type: string
type: array
severities:
description: 'CI/CD Risk severity: [`info`, `low`, `medium`, `high`, `critical`]'
items:
type: string
type: array
startDate:
type: string
status:
type: string
systems:
description: CI/CD Systems [`crosssystem`, `github`, `gitlab`, `githubActions`, `gitlabCICD`, `bitbucket`, `jenkins`, `circleCI`]
items:
type: string
type: array
type: object
required: true
responses:
'200':
content:
application/json:
schema:
$ref: '#/components/schemas/GetRisksDataResponse'
description: Get pipeline risks
'422':
description: Request arguments validation error
security:
- CustomAuthorizer: []
summary: Get All CI/CD Risks Summary
tags:
- CI-CD Risks
x-codeSamples:
- lang: Python + Requests
source: "import requests\n\nurl = \"http://undefinedundefined/code/code/api/v1/pipeline-risks\"\n\npayload = {\n \"categories\": [\"string\"],\n \"endDate\": \"string\",\n \"levels\": [\"string\"],\n \"names\": [\"string\"],\n \"repositoryIds\": [\"string\"],\n \"severities\": [\"string\"],\n \"startDate\": \"string\",\n \"status\": \"string\",\n \"systems\": [\"string\"]\n}\nheaders = {\n \"content-type\": \"application/json\",\n \"authorization\": \"REPLACE_KEY_VALUE\"\n}\n\nresponse = requests.request(\"POST\", url, json=payload, headers=headers)\n\nprint(response.text)"
- lang: Shell + Curl
source: "curl --request POST \\\n --url http://undefinedundefined/code/code/api/v1/pipeline-risks \\\n --header 'authorization: REPLACE_KEY_VALUE' \\\n --header 'content-type: application/json' \\\n --data '{\"categories\":[\"string\"],\"endDate\":\"string\",\"levels\":[\"string\"],\"names\":[\"string\"],\"repositoryIds\":[\"string\"],\"severities\":[\"string\"],\"startDate\":\"string\",\"status\":\"string\",\"systems\":[\"string\"]}'"
/code/code/api/v1/pipeline-risks/{policyId}/alerts:
post:
description: Get CI/CD risk events by status (open, suppressed, fixed)
operationId: pipelineRisksGetAlertsByPolicy
parameters:
- description: '- CI/CD Risk policy ID'
in: path
name: policyId
required: true
schema:
type: string
- in: query
name: limit
required: false
schema:
format: int32
maximum: 100
minimum: 1
type: integer
- in: query
name: offset
required: false
schema:
format: int32
minimum: 0
type: integer
requestBody:
content:
application/json:
schema:
properties:
endDate:
type: string
repositoryIds:
items:
type: string
type: array
startDate:
type: string
status:
description: 'CI/CD Riks status: [`open`, `suppressed`, `fixed`]'
type: string
required:
- status
type: object
required: true
responses:
'200':
content:
application/json:
schema:
$ref: '#/components/schemas/GetAlertsDataResponse'
description: Ok
'422':
description: Request arguments validation error
security:
- CustomAuthorizer: []
summary: Get CI/CD Risk Events
tags:
- CI-CD Risks
x-codeSamples:
- lang: Python + Requests
source: "import requests\n\nurl = \"http://undefinedundefined/code/code/api/v1/pipeline-risks/{policyId}/alerts\"\n\nquerystring = {\"limit\":\"SOME_INTEGER_VALUE\",\"offset\":\"SOME_INTEGER_VALUE\"}\n\npayload = {\n \"endDate\": \"string\",\n \"repositoryIds\": [\"string\"],\n \"startDate\": \"string\",\n \"status\": \"string\"\n}\nheaders = {\n \"content-type\": \"application/json\",\n \"authorization\": \"REPLACE_KEY_VALUE\"\n}\n\nresponse = requests.request(\"POST\", url, json=payload, headers=headers, params=querystring)\n\nprint(response.text)"
- lang: Shell + Curl
source: "curl --request POST \\\n --url 'http://undefinedundefined/code/code/api/v1/pipeline-risks/{policyId}/alerts?limit=SOME_INTEGER_VALUE&offset=SOME_INTEGER_VALUE' \\\n --header 'authorization: REPLACE_KEY_VALUE' \\\n --header 'content-type: application/json' \\\n --data '{\"endDate\":\"string\",\"repositoryIds\":[\"string\"],\"startDate\":\"string\",\"status\":\"string\"}'"
/code/code/api/v1/pipeline-risks/{policyId}/details:
get:
description: Get CI/CD risk details by policy ID
operationId: pipelineRisksGetDetailsByPolicyGet
parameters:
- description: '- CI/CD Risk policy ID'
in: path
name: policyId
required: true
schema:
type: string
responses:
'200':
content:
application/json:
schema:
$ref: '#/components/schemas/GetRiskDetailsDataResponse'
description: Ok
'422':
description: Request arguments validation error
security:
- CustomAuthorizer: []
summary: Get CI/CD Risk Details
tags:
- CI-CD Risks
x-codeSamples:
- lang: Python + Requests
source: 'import requests
url = "http://undefinedundefined/code/code/api/v1/pipeline-risks/{policyId}/details"
headers = {"authorization": "REPLACE_KEY_VALUE"}
response = requests.request("GET", url, headers=headers)
print(response.text)'
- lang: Shell + Curl
source: "curl --request GET \\\n --url http://undefinedundefined/code/code/api/v1/pipeline-risks/{policyId}/details \\\n --header 'authorization: REPLACE_KEY_VALUE'"
/code/code/api/v1/pipeline-risks/suppress:
put:
description: Suppress CI/CD risk events by event ID
operationId: pipelineRisksSuppressEvents
parameters: []
requestBody:
content:
application/json:
schema:
properties:
ids:
description: CI/CD risk event ID
items:
type: string
type: array
required:
- ids
type: object
required: true
responses:
'204':
description: No content
'422':
description: Request arguments validation error
security:
- CustomAuthorizer: []
summary: Suppress CI/CD Risk Events
tags:
- CI-CD Risks
x-codeSamples:
- lang: Python + Requests
source: "import requests\n\nurl = \"http://undefinedundefined/code/code/api/v1/pipeline-risks/suppress\"\n\npayload = {\"ids\": [\"string\"]}\nheaders = {\n \"content-type\": \"application/json\",\n \"authorization\": \"REPLACE_KEY_VALUE\"\n}\n\nresponse = requests.request(\"PUT\", url, json=payload, headers=headers)\n\nprint(response.text)"
- lang: Shell + Curl
source: "curl --request PUT \\\n --url http://undefinedundefined/code/code/api/v1/pipeline-risks/suppress \\\n --header 'authorization: REPLACE_KEY_VALUE' \\\n --header 'content-type: application/json' \\\n --data '{\"ids\":[\"string\"]}'"
/code/code/api/v1/pipeline-risks/unsuppress:
put:
description: Unsuppress CI/CD risk events by event ID
operationId: pipelineRisksUnsuppressEvents
parameters: []
requestBody:
content:
application/json:
schema:
properties:
ids:
description: CI/CD risk event ID
items:
type: string
type: array
required:
- ids
type: object
required: true
responses:
'204':
description: No content
'422':
description: Request arguments validation error
security:
- CustomAuthorizer: []
summary: Unsuppress CI/CD Risk Events
tags:
- CI-CD Risks
x-codeSamples:
- lang: Python + Requests
source: "import requests\n\nurl = \"http://undefinedundefined/code/code/api/v1/pipeline-risks/unsuppress\"\n\npayload = {\"ids\": [\"string\"]}\nheaders = {\n \"content-type\": \"application/json\",\n \"authorization\": \"REPLACE_KEY_VALUE\"\n}\n\nresponse = requests.request(\"PUT\", url, json=payload, headers=headers)\n\nprint(response.text)"
- lang: Shell + Curl
source: "curl --request PUT \\\n --url http://undefinedundefined/code/code/api/v1/pipeline-risks/unsuppress \\\n --header 'authorization: REPLACE_KEY_VALUE' \\\n --header 'content-type: application/json' \\\n --data '{\"ids\":[\"string\"]}'"
components:
schemas:
RiskData:
additionalProperties: false
properties:
category:
description: CI/CD Risk category
type: string
fixedAlerts:
description: Number of fixed events
format: double
type: number
lastAlertOn:
description: Date and time of last alert
type: string
name:
description: CI/CD Risk name
type: string
openAlerts:
description: Number of opened events
format: double
type: number
policyId:
description: CI/CD Risk policy ID
type: string
severity:
description: CI/CD Risk severity
type: string
status:
description: CI/CD Risk status
type: string
system:
description: CI/CD Risk system
type: string
totalAlerts:
description: Number of total events
format: double
type: number
required:
- policyId
- name
- status
- category
- severity
- system
- openAlerts
- fixedAlerts
- totalAlerts
- lastAlertOn
type: object
AlertData:
additionalProperties: false
properties:
details:
description: CI/CD Risk event details
type: string
detectedOn:
type: string
id:
description: CI/CD Risk event ID
type: string
instanceId:
description: CI/CD Risk instance ID
type: string
lastCalculatedOn:
description: Last calculation time
type: string
repositoryId:
description: VCS repository ID
type: string
title:
description: CI/CD Risk event title
type: string
required:
- id
- title
- details
- detectedOn
- lastCalculatedOn
type: object
GetAlertsDataResponse:
additionalProperties: false
properties:
data:
items:
$ref: '#/components/schemas/AlertData'
type: array
hasNext:
type: boolean
required:
- data
- hasNext
type: object
GetRisksDataResponse:
additionalProperties: false
properties:
data:
items:
$ref: '#/components/schemas/RiskData'
type: array
hasNext:
type: boolean
required:
- data
- hasNext
type: object
GetRiskDetailsDataResponse:
additionalProperties: false
properties:
data:
$ref: '#/components/schemas/RiskDetails'
required:
- data
type: object
RiskDetails:
additionalProperties: false
properties:
category:
description: CI/CD Risk category
type: string
description:
description: CI/CD Risk description
type: string
fixedAlerts:
description: Number of fixed events
format: double
type: number
lastCalculatedOn:
description: Last calculation time
type: string
locationInDeliveryChain:
description: Location in delivery chain
type: string
name:
description: CI/CD Risk name
type: string
openAlerts:
description: Number of open events
format: double
type: number
policyId:
description: CI/CD Risk policy ID
type: string
severity:
description: CI/CD Risk severity
type: string
stepsToSolve:
description: Description of steps to solve the risk
type: string
suppressedAlerts:
description: Number of suppressed events
format: double
type: number
system:
description: CI/CD Risk system
type: string
required:
- policyId
- name
- description
- stepsToSolve
- category
- severity
- system
- openAlerts
- suppressedAlerts
- fixedAlerts
- locationInDeliveryChain
- lastCalculatedOn
type: object
securitySchemes:
CustomAuthorizer:
in: header
name: authorization
type: apiKey
x-amazon-apigateway-authorizer:
authorizerResultTtlInSeconds: 0
authorizerUri: arn:aws:apigateway:{Region}:lambda:path/2015-03-31/functions/arn:aws:lambda:{Region}:{AccountId}:function:bc-authorization-v2-authorizer-{UniqueTag}{Alias}/invocations
identitySource: method.request.header.authorization
type: request
x-amazon-apigateway-authtype: custom