Get Compliance Reports By Batch
get_compliance_reports_by_batchRetrieve per-device compliance report summaries for a specific compliance plan batch run. Use the batch ID from a plan run to inspect results and get report IDs for full details.
Instructions
Retrieve compliance reports produced by a specific compliance plan batch run.
Compliance reports are generated per-device when a compliance plan is executed. All reports produced by a single plan run share the same batch identifier. This tool closes the chain from running a plan to inspecting its results: run_compliance_plan returns instance.batchId, which is passed here to list per-device report summaries, and each report's id can then be passed to describe_compliance_report for full detail.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| batch_id | Yes | The batch ID from a compliance plan run (CompliancePlanInstance.batchId) to fetch reports for |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| reports | Yes | List of compliance report brief objects |