Test Run

Trigger Test Run for a specific Target

post
/api/workspaces/{workspaceId}/test-run/trigger

A Test Run is triggered for a specific target, each test run contains a set of probes used to check for specific vulnerabilities. These probes are pre-configured through the platform's UI.

Authorizations
X-Api-KeystringRequired

API Key for authentication

Path parameters
workspaceIdinteger · int32Required

Workspace Id.

Body

Request payload to trigger the execution of a Test Run.

targetIdinteger · int32Required

The id of the Target for which the Test Run will be triggered.

probeIdsinteger · int32[] · nullableRequired

The ids of the Probes that will be used in a Test Run.

namestringRequired

Name of the Test Run.

notifyWhenFinishedbooleanRequiredDefault: false
runAiAnalysisbooleanRequiredDefault: false
Responses
post
/api/workspaces/{workspaceId}/test-run/trigger

Cancel Test Run execution

post
/api/workspaces/{workspaceId}/test-run/{testRunId}/cancel

Immediately cancel Test Run execution.

Authorizations
X-Api-KeystringRequired

API Key for authentication

Path parameters
testRunIdinteger · int32Required

Test Run id.

workspaceIdinteger · int32Required

Workspace Id.

Responses
post
/api/workspaces/{workspaceId}/test-run/{testRunId}/cancel

No content

Last updated

Was this helpful?