policy_get_decisions
Fetch a paginated list of policy decisions with filters for project, policy type, and search terms, and check dry-run completion status when a dryRunId is supplied.
Instructions
Fetch a list of policy decisions. Returns a paginated list of policy decisions. If a dryRunId is provided, the return value has a field indicating whether the dry run is complete. GET /policy/api/policyDecisions
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| top | No | Number of records you want | |
| page | No | Zero-based page index (0..N) | |
| size | No | The size of the page to be returned | |
| skip | No | Number of records you want to skip | |
| sort | No | Sorting criteria in the format: property,(asc|desc). Default sort order is ascending. Multiple sort criteria are supported. | |
| search | No | Matches will start with this string in their policy name or target name or have this string somewhere in their description. | |
| orderby | No | Sorting criteria in the format: property (asc|desc). Default sort order is ascending. Multiple sort criteria are supported. | |
| dryRunId | No | ||
| projectId | No | Matches will only include decisions with this project ID | |
| policyTypeId | No | Matches will only include policies of this type |