> ## Documentation Index
> Fetch the complete documentation index at: https://docs.flexagon.com/llms.txt
> Use this file to discover all available pages before exploring further.

# runTestScan (Acunetix)

> Runs an Acunetix scan and returns scan information. Returns passed or failed based on the Threat Level Input. If the scan finds a vulnerability with a

Runs an Acunetix scan and returns scan information. Returns passed or failed based on the Threat Level Input. If the scan finds a vulnerability with a threat that is higher than or equal to the threat level input the FDACUNETIX\_TEST\_SCAN\_RESULT output will return 'FAILED'.

# Analysis Tool Account Properties

<table><colgroup><col /><col /><col /><col /></colgroup><tbody><tr><th>**Property Name**</th><th>**Property Code**</th><th>**Required**</th><th>**Description**</th></tr><tr><td>Acunetix URL</td><td>`FDACUNETIX_ACUNETIX_URL`</td><td>Yes</td><td>URL of Acunetix server. Example [[https://HOSTNAME:PORT](https://HOSTNAME:PORT)](https://HOSTNAMEPORT)</td></tr><tr><td>API Key</td><td>`FDACUNETIX_API_KEY`</td><td>Yes</td><td>API Key for Acunetix.</td></tr></tbody></table>

# Inputs

<table><colgroup><col /><col /><col /><col /></colgroup><tbody><tr><th>**Input Name**</th><th>**Input Code**</th><th>**Required**</th><th>**Description**</th></tr><tr><td>Threat Level</td><td>`FDACUNETIX_INP_THREAT_LEVEL`</td><td>No</td><td>Fail the operation if scan has at least one of the certain threat level or higher. Threat level must be "high", "medium", "low", or "info".</td></tr><tr><td>Scanning Profile Id</td><td>`FDACUNETIX_INP_PROFILE_ID`</td><td>Yes</td><td>Id of the scanning profile type that is to be used in the scan.</td></tr><tr><td>Target Id</td><td>`FDACUNETIX_INP_TARGET_ID`</td><td>Yes</td><td>Id of the target that is to be scanned.</td></tr><tr><td>Report Template Id</td><td>`FDACUNETIX_INP_REPORT_TEMPLATE_ID`</td><td>No</td><td>Id of the template for the report that is to be generated after the scan is completed.</td></tr></tbody></table>

# Outputs

<table><colgroup><col /><col /></colgroup><tbody><tr><th>**Output Name**</th><th>**Description**</th></tr><tr><td>`FDACUNETIX_SCAN_ID`</td><td>The Id of the scan that was created.</td></tr><tr><td>`FDACUNETIX_THREAT_LEVEL`</td><td>The highest vulnerability threat level found in the scan. </td></tr><tr><td>`FDACUNETIX_STATUS`</td><td>The status of the scan matching the scan Id.</td></tr><tr><td>`FDACUNETIX_SEVERITY_COUNTS`</td><td>The severity counts of the scan matching the scan Id.</td></tr><tr><td>`FDACUNETIX_PROGRESS`</td><td>The progress of the scan matching the scan Id.</td></tr><tr><td>`FDACUNETIX_TARGET`</td><td>The target of the scan matching the scan Id.</td></tr><tr><td>`FDACUNETIX_TEST_SCAN_RESULT`</td><td>The result of the test scan based on the scan's threat level and the threat level input. If the scan threat level is equal or higher than the threat level input the scan will be failed. Returns a string of "PASSED" or "FAILED".</td></tr></tbody></table>

# Artifacts

This operation doesn’t consume or produce any artifacts.

# Endpoint Selection

This operation will select all available endpoints associated to the Target.

# Endpoint Execution

This operation will execute on any one of the selected endpoints and will be random in the determination of which one.
