Issue

class cloudpassage.Issue(session, **kwargs)

Initializing the Issue 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(max_pages=20, **kwargs)

Returns a list of all issues.

This query is limited to 20 pages of 100 items, totalling 2000 issues.

Default filter returns only issues in the ‘active’ state.

Keyword arguments can be used to filter results. Some keyword arguments are listed below. An exhaustive list of filters for querying Halo issues can be found at https://api-doc.cloudpassage.com/help#issues .

Keyword Arguments:
 
  • agent_id (list or str) – A list or comma-separated string containing agent ids
  • status (list or str) – A list or comma-separated string containing any of these: active, resolved
  • since (str) – Returns issues created since date in iso8601 format such as: 2017-01-01
  • until (str) – Returns issues created until date in iso8601 format such as 2017-01-01
  • issue_type – (list or str): A list or comma-separated string containing any of these: sva, csm, fim, lids, sam, fw, or agent
  • group_id – (list or str): A list or comma-separated string containing group ids
  • critical – (list or str): A list or comma-separated string containing any of these: true, false
  • policy_id (list or str) – A list or comma-separated string containing policy ids
  • os_type – A list or comma-separated string containing any of these: Linux, Windows