Get Policy Remediation
GEThttps://api.prismacloud.io/policy/api/v1/fetch/remediation/:policyId
Fetch AI-Assisted remediation and recommendation content for a given policy. If AI-Assisted Remediation is not available, fetch the recommendation content instead. The remediation typically includes actionable steps to mitigate or remediate the identified alert on the asset.
Request
Path Parameters
policyId stringrequired
Query Parameters
unifiedAssetId stringrequired
alertId stringrequired
Responses
- 200
- 400
- 401
- 403
- 429
success
- application/json
- Schema
- Example (auto)
Schema
value object[]
{
"value": [
{
"policyId": "string",
"policyName": "string",
"policyType": "string",
"cloudType": "all",
"findingTypes": [
"string"
],
"aiRemediation": {
"manualRemediation": {
"title": "string",
"description": "string",
"instructions": "string",
"impact": "string"
},
"cli": [
{
"title": "string",
"description": "string",
"codeBlock": "string",
"impact": "string",
"automated": true
}
],
"tf": [
{
"title": "string",
"description": "string",
"codeBlock": "string",
"impact": "string",
"automated": true
}
]
},
"recommendation": "string",
"hasSearchExecutionSupport": true,
"savedSearchId": "string"
}
]
}
bad_request
unauthorized_access
permission_error
too_many_requests
Authorization: x-redlock-auth
name: x-redlock-authtype: apiKeydescription: The x-redlock-auth value is a JSON Web Token (JWT).in: header
- curl
- python
- go
- nodejs
- csharp
- php
- CURL
curl -L 'https://pan.dev/policy/api/v1/fetch/remediation/:policyId' \
-H 'Accept: application/json' \
-H 'x-redlock-auth: <x-redlock-auth>'