Policies
REST API operations for policies
Last updated
Was this helpful?
REST API operations for policies
Last updated
Was this helpful?
The /policies
REST API operations are in open beta starting with Panther version 1.98, and is available to all customers. Please share any bug reports and feature requests with your Panther support team.
Use these API operations to interact with policies in Panther.
To call the API, see the How to use the Panther REST API instructions—including directions for how to invoke it directly from this documentation page.
For GET
operations, your API token must have the View Policies
permission.
For POST
, PUT
, and DELETE
operations, your API token must have the Manage Policies
permission.
/policies
set this field to false to exclude running tests prior to saving
set this field to true if you want to run tests without saving
The python body of the policy
The description of the policy
The display name of the policy
Determines whether or not the policy is active
The id of the policy
Determines if the policy is managed by panther
INFO
, LOW
, MEDIUM
, HIGH
, CRITICAL
Resource types
Resources to ignore via a pattern that matches the resource id
["aws::s3::*"]
The tags for the policy
Unit tests for the Policy. Best practice is to include a positive and negative case
Reports
put creates or updates a policy
/policies/{id}
the id of the policy
set this field to false to exclude running tests prior to saving
set this field to true if you want to run tests without saving
The python body of the policy
The description of the policy
The display name of the policy
Determines whether or not the policy is active
The id of the policy
Determines if the policy is managed by panther
INFO
, LOW
, MEDIUM
, HIGH
, CRITICAL
Resource types
Resources to ignore via a pattern that matches the resource id
["aws::s3::*"]
The tags for the policy
Unit tests for the Policy. Best practice is to include a positive and negative case
Reports