Create a test on an assessment
Create a test on an assessment. The test runs from the start of its planned start date for the duration of its plan, and is submitted for review unless created as a draft. Warning order contacts must be users with access to the organization. Requires the permission to update the assessment, and assessment creation enabled for the organization.
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Path Parameters
ID of the assessment
Body
Name of the test
"Quarterly penetration test"
Name of the test plan, one of those the test plans operation returns for the organization. SynackAPIPentest is for API assessments and every other plan for assessments of the other categories. Sara Pentest and Sara Pentest+ need SmartScan enabled and an assessment without a gateway.
Synack365, Synack90, Synack14, SynackAPIPentest, SynackST, SynackST+, Sara Pentest, Sara Pentest+ Date the test starts on, at the earliest the next business day
"2030-01-07"
Whether to keep the test as a draft instead of submitting it for review
Objective of the test
Vulnerabilities already known on the assets under test
Whether SmartScan runs for the duration of the test, always the case on Sara Pentest and Sara Pentest+
Rules of engagement of the test
Email addresses of the users to send the warning order to, each a user with access to the organization, listed at most once regardless of letter case
30Periods during which testing pauses, each one-time or recurring
A single pause in testing
- Option 1
- Option 2
Response
The created test, with its review status as draft_status
ID of the test
Name of the test plan
"Synack14"
Whether the test has started and ended
planned, active, ended Review status of the test, completed once the test is approved
draft, in_admin_review, in_synack_review, needs_more_info, completed