ConfigurationPolicy

class cloudpassage.ConfigurationPolicy(session, **kwargs)

ConfigurationPolicy class:

The list_all() method allows filtering by using keyword arguments. An exhaustive list of keyword arguments can be found at https://api-doc.cloudpassage.com/help#list-configuration-policies

Parameters:session (cloudpassage.HaloSession) – This will define how you interact with the Halo API, including proxy settings and API keys used for authentication.
Keyword Arguments:
 endpoint_version (int) – Endpoint version override.
create(object_body)

Create from JSON document.

Returns the ID of the new object

delete(object_id)

Delete by ID. Success returns None

describe(object_id)

Get the detailed configuration by ID

Parameters:object_id (str) – ID to retrieve detailed configuration information for
Returns:dictionary object representing the entire object.
Return type:dict
list_all(**kwargs)

Lists all policies of module csm.

Returns:List all policies of module csm (represented as dictionary-type objects)
Return type:list

Note

This method supports query parameters via keyword arguments.

update(object_body)

Update. Success returns None