FimPolicy

class cloudpassage.FimPolicy(session, **kwargs)

FimPolicy class:

The list_all() method allows filtering of results with keyword arguments. An exhaustive list of keyword arguments can be found here: https://api-doc.cloudpassage.com/help#file-integrity-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 fim.

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

Note

This method supports query parameters via keyword arguments.

update(object_body)

Update. Success returns None