Get Failing Resources for a Test
Step 1: Get list of failing tests
Get the list of monitored tests in Drata and filter for the ones that with a failed result. Take note of the test ID you’d like to look into.
- Node.js
- JavaScript
- curl
- Python
- C#
- Java
- PHP
Loading...
Step 2: Run the test again
Run the test again to get the latest result using the test ID.
- Node.js
- JavaScript
- curl
- Python
- C#
- Java
- PHP
Loading...
Step 3: Get the test details
Get the test details using the test ID to get the failing resources for that test.
- Node.js
- JavaScript
- curl
- Python
- C#
- Java
- PHP
Loading...
Step 4: Repeat for each test you want to get data for
Repeat the above steps with all tests with a failed result you identified in step 1.