Returns a list of Tests.
Filter | Description |
---|---|
author_name |
The author name of the Test |
created_at |
The date when this Test was created |
custom |
True if the Test is custom (user generated), false if it's Secureframe-authored |
description |
The description of the Test |
enabled |
True if the Test is currently enabled |
enabled_field_updated_by_user |
The name of the user who enabled the Test, null if wasn't enabled by a user |
frameworks |
The framework keys for this Test |
health_status |
The overall health of the Test |
id |
The ID of the Test |
key |
The user-friendly identifier used to reference this Test |
last_evaluated |
The date the Test was last evaulated at |
next_due_date |
The date new Test evidence is needed by if applicable |
owner_assigned_at |
The date the Test owner was assigned |
owner_name |
The Test owner's name |
pass |
True if the Test is passing, false otherwise. [DEPRECATED - Use health_status instead] |
passed_with_upload |
True if the Test passed from the existance of an upload, false otherwise |
promote_at |
The current date set for implementation of the Test |
recommended_action |
Actions for completing the Test |
required_implementation_date |
The pre-configured date the Test must be implemented by |
resource_category |
The category the Test resource belongs to |
status |
The status of the Test. [DEPRECATED - Use health_status instead] |
test_domain |
The domain the Test belongs to |
test_function |
The purpose of the Test |
test_interval_seconds |
The interval in which Test evidence should be collected if applicable |
test_type |
The type of Test |
title |
The title of the Test |
tolerance_window_seconds |
The time between the Test interval elapsing and evidence becoming stale and Test failing if applicable |
updated_at |
The date the Test was last updated |
vendor_name |
The vendor name associated with the Test if applicable |
Bad Request
Unauthorized
Forbidden
[- {
- "data": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "type": "string",
- "attributes": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "created_at": "2019-08-24T14:15:22Z",
- "custom": true,
- "description": "string",
- "detailed_remediation_steps": "string",
- "disabled_justification": "string",
- "enabled": true,
- "enabled_field_updated_by_user_name": "string",
- "failure_message": "string",
- "first_failed_at": "2019-08-24T14:15:22Z",
- "health_status": "string",
- "key": "string",
- "last_evaluated": "2019-08-24T14:15:22Z",
- "last_passed_at": "2019-08-24T14:15:22Z",
- "next_due_date": "2019-08-24T14:15:22Z",
- "owner_assigned_at": "2019-08-24T14:15:22Z",
- "owner_name": "string",
- "pass": true,
- "passed_with_upload": true,
- "passed_with_upload_justification": "string",
- "promote_at": "2019-08-24T14:15:22Z",
- "promoted_by_name": "string",
- "recommended_action": "string",
- "required_implementation_date": "2019-08-24T14:15:22Z",
- "resource_category": "string",
- "test_domain": "string",
- "test_function": "string",
- "test_interval_seconds": 0,
- "test_type": "string",
- "title": "string",
- "tolerance_window_seconds": 0,
- "updated_at": "2019-08-24T14:15:22Z",
- "vendor_name": "string"
}, - "relationships": { },
- "links": { }
}, - "includes": { }
}
]
Returns a Test by ID
Bad Request
Unauthorized
Forbidden
Resource not found
{- "data": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "type": "string",
- "attributes": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "created_at": "2019-08-24T14:15:22Z",
- "custom": true,
- "description": "string",
- "detailed_remediation_steps": "string",
- "disabled_justification": "string",
- "enabled": true,
- "enabled_field_updated_by_user_name": "string",
- "failure_message": "string",
- "first_failed_at": "2019-08-24T14:15:22Z",
- "health_status": "string",
- "key": "string",
- "last_evaluated": "2019-08-24T14:15:22Z",
- "last_passed_at": "2019-08-24T14:15:22Z",
- "next_due_date": "2019-08-24T14:15:22Z",
- "owner_assigned_at": "2019-08-24T14:15:22Z",
- "owner_name": "string",
- "pass": true,
- "passed_with_upload": true,
- "passed_with_upload_justification": "string",
- "promote_at": "2019-08-24T14:15:22Z",
- "promoted_by_name": "string",
- "recommended_action": "string",
- "required_implementation_date": "2019-08-24T14:15:22Z",
- "resource_category": "string",
- "test_domain": "string",
- "test_function": "string",
- "test_interval_seconds": 0,
- "test_type": "string",
- "title": "string",
- "tolerance_window_seconds": 0,
- "updated_at": "2019-08-24T14:15:22Z",
- "vendor_name": "string"
}, - "relationships": { },
- "links": { }
}, - "includes": { }
}
Update a Test by ID
Bad Request
Unauthorized
Forbidden
Resource not found
{- "data": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "type": "string",
- "attributes": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "created_at": "2019-08-24T14:15:22Z",
- "custom": true,
- "description": "string",
- "detailed_remediation_steps": "string",
- "disabled_justification": "string",
- "enabled": true,
- "enabled_field_updated_by_user_name": "string",
- "failure_message": "string",
- "first_failed_at": "2019-08-24T14:15:22Z",
- "health_status": "string",
- "key": "string",
- "last_evaluated": "2019-08-24T14:15:22Z",
- "last_passed_at": "2019-08-24T14:15:22Z",
- "next_due_date": "2019-08-24T14:15:22Z",
- "owner_assigned_at": "2019-08-24T14:15:22Z",
- "owner_name": "string",
- "pass": true,
- "passed_with_upload": true,
- "passed_with_upload_justification": "string",
- "promote_at": "2019-08-24T14:15:22Z",
- "promoted_by_name": "string",
- "recommended_action": "string",
- "required_implementation_date": "2019-08-24T14:15:22Z",
- "resource_category": "string",
- "test_domain": "string",
- "test_function": "string",
- "test_interval_seconds": 0,
- "test_type": "string",
- "title": "string",
- "tolerance_window_seconds": 0,
- "updated_at": "2019-08-24T14:15:22Z",
- "vendor_name": "string"
}, - "relationships": { },
- "links": { }
}, - "includes": { }
}