- Access exclusive content
- Connect with peers
- Share your expertise
- Find support resources
08-24-2022 11:06 AM - edited 08-25-2022 10:33 AM
Hi,
Can you please help me better understand the context by confirming the below?
Are you looking to erase the remediation portion of every default policy using the API?
Or, are you looking to use the API to return a list of the remediation suggestions that are attached to our default policies?
Let us know if the below helps.
There is a subset of our CSPM policies that have a CLI command associated to them which can be used to execute guided/automated remediation for that particular policy.
If you are looking to get all of the CLI commands associated with our policies, the easiest way would be to use the /policy endpoint.
Please find below link for reference.
https://prisma.pan.dev/api/cloud/cspm/policy#operation/get-policies-v2
Click Accept as Solution to acknowledge that the answer to your question has been provided.
The button appears next to the replies on topics you’ve started. The member who gave the solution and all future visitors to this topic will appreciate it!
These simple actions take just seconds of your time, but go a long way in showing appreciation for community members and the LIVEcommunity as a whole!
The LIVEcommunity thanks you for your participation!