CspFinding

class cloudpassage.CspFinding(session, **kwargs)

Initializing the CspAccount class:

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.
list_all(**kwargs)

Lists all CSP Findings.

Keyword Arguments:
 
  • csp_rule_id (str or list) – The user-readable ID of the rule. Example: CIS:1.1
  • rule_id (str or list) – The UUID number of the rule that was applied; for example, 280d33b6ef3411e88ad765862e629d59
  • csp_resource_type (str or list) – The type of cloud resource; for example, Policy, Role, User, and so on
  • csp_service_type (str or list) – The type of cloud service; for example, IAM, S3, EC2, and so on
  • policy_name (str or list) – The name of the policy that was applied; for example, CIS-Benchmark
  • rule_name (str or list) – The name of the rule that was applied; for example Ensure MFA is enabled for the “root” account
Returns:

List of CSP Findings represented as dictionary-type objects

Return type:

list