> ## 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.

# runApexWorkspaceScan

> Execute Apex Sec scan for Workspace using Apex URL. It returns pass percentage. Target Properties Property Name Property Code Required Description APE

Execute Apex Sec scan for Workspace using Apex URL. It returns pass percentage.

# Target 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>APEXSEC Jar file path</td><td>`FDAPEXSEC_SCANNER_JAR`</td><td>Yes</td><td>ApexSec Scanner Jar with complete path (example C:\ApexScanner\apexScanner.jar)</td></tr><tr><td>APEX URL Name</td><td>`FDAPEX_URL`</td><td>Yes</td><td>Apex URL Name (e.g http\://\[host]:\[port]/apex)</td></tr><tr><td>APEX Username</td><td>`FDAPEX_USER`</td><td>Yes</td><td>Provide database user APEX\_xxxxx or owner (parsing schema) of the application for export and import operations. You can use system user as well</td></tr><tr><td>APEX Password</td><td>`FDAPEX_PASSWORD`</td><td>Yes</td><td>Password for APEX User.</td></tr></tbody></table>

# Project 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>Workspace Name</td><td>`FDAPEX_WORKSPACE_NAME`</td><td>Yes</td><td>APEX Workspace Name. Provide uppercase name.</td></tr><tr><td>Application ID</td><td>`FDAPEX_APPLICATION_ID`</td><td>No</td><td>APEX Application ID</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>APEX URL Name</td><td>`FDAPEX_URL`</td><td>No</td><td>Apex URL Name (e.g http\://\[host]:\[port]/apex)</td></tr><tr><td>Workspace Name</td><td>`FDAPEX_WORKSPACE_NAME`</td><td>No</td><td>APEX Workspace Name. Provide uppercase name.</td></tr><tr><td>APEX Username</td><td>`FDAPEX_USER`</td><td>No</td><td>Provide database user APEX\_xxxxx or owner (parsing schema) of the application for export and import operations. You can use system user as well</td></tr><tr><td>APEX Password</td><td>`FDAPEX_PASSWORD`</td><td>No</td><td>Password for APEX User.</td></tr><tr><td>Application ID</td><td>`FDAPEX_APPLICATION_ID`</td><td>No</td><td>APEX Application ID</td></tr></tbody></table>

# Outputs

<table><colgroup><col /><col /></colgroup><tbody><tr><th>**Output Name**</th><th>**Description**</th></tr><tr><td>`FDAPEXSEC_SCAN_PASSPERCENTAGE`</td><td>The pass percentage from the Apex Scan. eg: 85</td></tr></tbody></table>

# Artifacts 

This operation doesn’t consume or produce any artifacts.

# Endpoint Selection

This operation delegates endpoint selection to the workflow developer. The workflow editor will default the selection to "All", which selects all available endpoints associated to the target. Selecting a specific resource will result in selection of endpoints associated to the target which have that resource defined. 

# Endpoint Execution

This operation delegates endpoint execution to the workflow developer. The workflow editor will default to "Any", which will execute on any one of the selected endpoints, which will be randomly picked from selected endpoints or a specific endpoint where previous step may have executed. Changing this value to "All" to will result in execution on all selected endpoints.
