Submit a report.
True, then the report will be submitted to the enclaves identified by
report.enclaves; if that field is
None, then the enclave IDs registered with this TruStar object will be used.
None, then the current time will be used.
Parameters: report – The Report object that was submitted, with the
idfield updated based on values from the response.
>>> report = Report(title="Suspicious Activity", >>> body="We have been receiving suspicious requests from 18.104.22.168.", >>> enclave_ids=["602d4795-31cd-44f9-a85d-f33cb869145a"]) >>> report = ts.submit_report(report) >>> print((report.id)) ac6a0d17-7350-4410-bc57-9699521db992 >>> print((report.title)) Suspicious Activity