LidsPolicy

class cloudpassage.LidsPolicy(session)

Initializing the LidsPolicy class:

Parameters:session (cloudpassage.HaloSession) – This will define how you interact with the Halo API, including proxy settings and API keys used for authentication.
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 objects of this type.

Returns:List of objects (represented as dictionary-type objects)
Return type:list

Note

This method supports query parameters via keyword arguments.

update(object_body)

Update. Success returns None