Get Phishing Submissions (Page)¶
-
TruStar.
get_phishing_submissions_page
(from_time=None, to_time=None, priority_event_score=None, enclave_ids=None, status=None, cursor=None, page_size=None)¶ Get a page of phishing submissions that match the given criteria.
Parameters: - from_time (int) – Start of time window in milliseconds since epoch (optional).
- to_time (int) – End of time window in milliseconds since epoch (optional).
- priority_event_score (list(int)) – List of desired scores of phishing submission on a scale of 0-3 (default: [3]).
- enclave_ids (list(string)) – A list of enclave IDs to filter by. (defaults to all of a user’s enclaves)
- status (list(string)) – List of statuses to filter submissions by. Options are ‘UNRESOLVED’, ‘CONFIRMED’, and ‘IGNORED’. (default: [‘UNRESOLVED’]).
- page_size (int) – Size of the page to be returned. Max value possible is 1000. Default is 25.
- cursor (string) – A Base64-encoded string that contains information on how to retrieve the next page. If a cursor isn’t passed, it will default to pageSize: 25, pageNumber: 0
Returns: CursorPage - An object representing a single page of PhishingSubmission objects.