Get Report Details¶
-
TruStar.
get_report_details
(report_id, id_type=None)¶ Retrieves a report by its ID. Internal and external IDs are both allowed.
Parameters: - report_id (str) – The ID of the incident report.
- id_type (str) – Indicates whether ID is internal or external.
Returns: The retrieved Report object.
Example:
>>> report = ts.get_report_details("1a09f14b-ef8c-443f-b082-9643071c522a") >>> print(report) { "id": "1a09f14b-ef8c-443f-b082-9643071c522a", "created": 1515571633505, "updated": 1515620420062, "reportBody": "Employee reported suspect email. We had multiple reports of suspicious email overnight ...", "title": "Phishing Incident", "enclaveIds": [ "ac6a0d17-7350-4410-bc57-9699521db992" ], "distributionType": "ENCLAVE", "timeBegan": 1479941278000 }