Policy Preview

Bridgecrew supports policy-as-code capabilities using YAML-based policy definition files to enable attribute and connection checks (composite checks).
Visit Prisma Cloud’s documentation to define YAML based policies -
based on our sample files - https://docs.paloaltonetworks.com/prisma/prisma-cloud/prisma-cloud-admin-code-security/get-started/code-repositories-policy-management/custom-build-policy-examples.

To use the API request, add your token to the header. API supports both YAML and JSON configuration of Bridgecrew custom policy schema)

This API gets up to 30 results (by default) of non-compliant resources for a specific policy. The input is the policy to test and the output is an array of resources results.
Use the first example to configure the API to test a policy, and use the second example as a reference of the expected output.

Click Try It! to start a request and see the response here!