Skip to main content

Get Policy Remediation

GET 

https://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

success

Schema
    value object[]
  • Array [
  • policyIdstring
    policyNamestring
    policyTypestring
    cloudTypestring

    Possible values: [all, aws, azure, gcp, alibaba_cloud, oci, other, ibm]

    findingTypesstring[]
    aiRemediation object
    manualRemediation object

    The manual remediation steps to be taken

    titlestring

    A title for the manual remediation steps

    descriptionstring

    A description of the remediation content

    instructionsstring

    Detailed instructions to manually remediate the issue

    impactstring

    The potential impact of applying the remediation

    cli object[]

    The suggested CLI-based remediation steps

  • Array [
  • titlestring

    A title for the remediation script to be executed

    descriptionstring

    A description of the remediation content

    codeBlockstring

    The suggested code block to be executed for remediation

    impactstring

    The potential impact of applying the remediation

    automatedboolean

    can be executed automatically without manual intervention

  • ]
  • tf object[]

    The suggested Terraform-based remediation steps

  • Array [
  • titlestring

    A title for the remediation script to be executed

    descriptionstring

    A description of the remediation content

    codeBlockstring

    The suggested code block to be executed for remediation

    impactstring

    The potential impact of applying the remediation

    automatedboolean

    can be executed automatically without manual intervention

  • ]
  • recommendationstring

    Recommended set of steps to remediate the issue.

    hasSearchExecutionSupportboolean

    (Internal Use) Indicates whether the policy is searchable on the RQL Investigate page.

    savedSearchIdstring
  • ]

Authorization: x-redlock-auth

name: x-redlock-authtype: apiKeydescription: The x-redlock-auth value is a JSON Web Token (JWT).in: header
curl -L 'https://pan.dev/policy/api/v1/fetch/remediation/:policyId' \
-H 'Accept: application/json' \
-H 'x-redlock-auth: <x-redlock-auth>'
Request Collapse all
Base URL
https://api.prismacloud.io
Auth
Parameters
— pathrequired
— queryrequired
— queryrequired
Copy contents of documentation as Markdown format for AI usage