Initializing the ConfigurationPolicy class:
Parameters: session (
cloudpassage.HaloSession) – This will define how you interact with the Halo API, including proxy settings and API keys used for authentication.
Creates a policy from JSON document.
Returns the ID of the new policy
Delete a policy by ID. Success returns None
Get the detailed configuration of a policy
Parameters: policy_id (str) – ID of the policy to retrieve detailed configuration information for Returns: dictionary object representing the entire, detailed, policy Return type: dict
Lists all policies of this type.
Returns: List of policies (represented as dictionary-type objects) Return type: list
This query is limited to 30 pages.
Update a policy. Success returns None