Find Monitoring Tests matching the provided filters
🔒 Requires Monitoring: List Monitors permission.
Successful
Malformed data and/or validation errors
Invalid Authorization
You are not allowed to perform this action
Not Found
You must accept the Drata terms and conditions to use the API
Internal server error
{- "data": [
- {
- "id": 1,
- "name": "A Version Control System is being Used",
- "description": "Inspected Drata's version control system...",
- "checkResultStatus": "PASSED",
- "testId": 1,
- "createdAt": "2025-07-01T16:45:55.246Z",
- "updatedAt": "2025-07-01T16:45:55.246Z",
- "monitorInstances": [
- {
- "id": 1,
- "checkResultStatus": "PASSED",
- "collectionDescription": "Curl call to the website",
- "createdAt": "2025-07-01T16:45:55.246Z",
- "updatedAt": "2025-07-01T16:45:55.246Z"
}
], - "disabledByUser": {
- "id": 1,
- "firstName": "Sally",
- "lastName": "Smith",
- "createdAt": "2025-07-01T16:45:55.246Z",
- "updatedAt": "2025-07-01T16:45:55.246Z"
}, - "controls": [
- {
- "id": 1,
- "code": "AC-1",
- "name": "Access Control",
- "description": "Drata has implemented tools to monitor Drata's databases and notify appropriate personnel of any events or incidents based on\n predetermined criteria. Incidents are escalated per policy.",
- "createdAt": "2025-07-01T16:45:55.246Z",
- "updatedAt": "2025-07-01T16:45:55.246Z"
}
]
}
], - "pagination": {
- "cursor": "string"
}
}
Get a specific Monitoring Test by Test ID
🔒 Requires Monitoring: Get Monitor permission.
Successful
Malformed data and/or validation errors
Invalid Authorization
You are not allowed to perform this action
Not Found
You must accept the Drata terms and conditions to use the API
Internal server error
{- "id": 1,
- "name": "A Version Control System is being Used",
- "description": "Inspected Drata's version control system...",
- "checkResultStatus": "PASSED",
- "testId": 1,
- "createdAt": "2025-07-01T16:45:55.246Z",
- "updatedAt": "2025-07-01T16:45:55.246Z",
- "monitorInstances": [
- {
- "id": 1,
- "checkResultStatus": "PASSED",
- "collectionDescription": "Curl call to the website",
- "createdAt": "2025-07-01T16:45:55.246Z",
- "updatedAt": "2025-07-01T16:45:55.246Z"
}
], - "disabledByUser": {
- "id": 1,
- "firstName": "Sally",
- "lastName": "Smith",
- "createdAt": "2025-07-01T16:45:55.246Z",
- "updatedAt": "2025-07-01T16:45:55.246Z"
}, - "controls": [
- {
- "id": 1,
- "code": "AC-1",
- "name": "Access Control",
- "description": "Drata has implemented tools to monitor Drata's databases and notify appropriate personnel of any events or incidents based on\n predetermined criteria. Incidents are escalated per policy.",
- "createdAt": "2025-07-01T16:45:55.246Z",
- "updatedAt": "2025-07-01T16:45:55.246Z"
}
]
}
Find Monitor Exclusions for a specific Monitoring Test
🔒 Requires Monitoring: Get Monitor permission.
Successful
Malformed data and/or validation errors
Invalid Authorization
You are not allowed to perform this action
Not Found
You must accept the Drata terms and conditions to use the API
Internal server error
{- "data": [
- {
- "id": 1,
- "targetId": "sg-0a1b2c3d4e5f67890",
- "targetName": "Production Security Group - Web Servers",
- "exclusionReason": "Legacy system scheduled for decommission in Q2 2024 - approved by security team",
- "createdAt": "2025-07-01T16:45:55.246Z",
- "updatedAt": "2025-07-01T16:45:55.246Z",
- "connection": {
- "id": "1",
- "clientType": "GOOGLE",
- "clientId": "drata.com",
- "clientAlias": "My-connection-alias-1",
- "state": "ACTIVE",
- "createdAt": "2025-07-01T16:45:55.246Z",
- "updatedAt": "2025-07-01T16:45:55.246Z",
- "connectedAt": "2025-07-01T16:45:55.246Z",
- "failedAt": "2025-07-01T16:45:55.246Z",
- "deletedAt": "2025-07-01T16:45:55.246Z"
}, - "exclusionDesignator": {
- "id": 1,
- "firstName": "Sally",
- "lastName": "Smith",
- "createdAt": "2025-07-01T16:45:55.246Z",
- "updatedAt": "2025-07-01T16:45:55.246Z"
}
}
], - "pagination": {
- "cursor": "string"
}
}
Find Monitoring Test Failures for a specific Monitoring Test. By default, excludes failures that have been manually excluded unless includeExclusions is set to true.
🔒 Requires Monitoring: Get Monitor permission.
Successful
Malformed data and/or validation errors
Invalid Authorization
You are not allowed to perform this action
Not Found
You must accept the Drata terms and conditions to use the API
Internal server error
{- "data": [
- {
- "id": "sg-0a1b2c3d4e5f67890",
- "providerName": "Amazon Web Services",
- "resourceName": "sg-0a1b2c3d4e5f67890",
- "accountName": "Production Account",
- "clientId": "123456789012",
- "resourceArn": "arn:aws:iam::259468815732:user/TestUser",
- "organizationalUnitId": "ou-root-123456789",
- "region": "us-east-1"
}
], - "pagination": {
- "cursor": "string"
}
}