fetch_evidence_records
Retrieve evidence records by ID with optional compliance status filtering to audit resources, track violations, and review detailed configuration data for governance.
Instructions
Get evidence records for a given evidence ID with optional compliance status filtering. Returns max 50 records but counts all records for the summary.
Args: - id (str): Evidence ID - compliantStatus Optional[(str)]: Compliance status to filter "COMPLIANT", "NON_COMPLIANT", "NOT_DETERMINED" (optional).
Returns:
- totalRecords (int): Total records.
- compliantRecords (int): Number of complian records.
- nonCompliantRecords (int): Number of non compliant records.
- notDeterminedRecords (int): Number of not determined records.
- records (List[RecordListVO]): List of evidence records.
- id (str): Record id.
- name (str): System name.
- source (str): Record source.
- resourceId (str): Resource id.
- resourceName (str): Resource name.
- resourceType (str): Resource type.
- complianceStatus (str): Compliance status.
- complianceReason (str): Compliance reason.
- createdAt (str): The date and time the record was initially created.
- otherInfo (Any): Additional information.
- error (Optional[str]): An error message if any issues occurred during retrieval.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| compliantStatus | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| totalRecords | No | ||
| compliantRecords | No | ||
| nonCompliantRecords | No | ||
| notDeterminedRecords | No | ||
| records | No |