FimBaseline¶
-
class
cloudpassage.
FimBaseline
(session, **kwargs)¶ Initializing the FimBaseline 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
(fim_policy_id, server_id, **kwargs)¶ Creates a FIM baseline
Parameters: Keyword Arguments: Returns: ID of new baseline
Return type:
-
delete
(fim_policy_id, fim_baseline_id)¶ Delete a FIM baseline by ID
Parameters: Returns: None if successful, exceptions throw otherwise.
-
describe
(fim_policy_id, baseline_id)¶ Returns the body of the baseline indicated by fim_baseline_id.
- Args
- fim_policy_id (str): ID of FIM policy fim_baseline_id (str): ID of baseline
Returns: Dictionary describing FIM baseline Return type: dict
-
endpoint
(policy_id)¶ Return endpoint for API requests.
-
list_all
(fim_policy_id)¶ Returns a list of all baselines for the indicated FIM policy
Parameters: fim_policy_id (str) – ID of fim policy Returns: List of all baselines for the given policy Return type: list
-
update
(fim_policy_id, fim_baseline_id, server_id)¶ Update a FIM policy baseline.
Parameters: Returns: None if successful, exceptions throw otherwise.
-