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

# ScanBuild

> This operation invokes scanning of a build that was uploaded to Artifactory. The response json of this scan operation will be stored in the reports fo

This operation invokes scanning of a build that was uploaded to Artifactory. The response json of this scan operation will be stored in the reports folder.

# Artifactory 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>Artifactory URL</td><td>`FDARTIFACCT_URL`</td><td>Yes</td><td>The URL of Artifactory Repository Manager (e.g. `http://[host]:[port]`).</td></tr><tr><td>Artifactory Username</td><td>`FDARTIFACCT_USERNAME`</td><td>Yes</td><td>User to connect to Artifactory as.</td></tr><tr><td>Artifactory Password</td><td>`FDARTIFACCT_PASSWORD`</td><td>Yes</td><td>The password for the Artifactory User.</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>Artifactory Account</td><td>`FDARTIF_ARTIFACT_REPOSITORY_ACCOUNT_CODE`</td><td>Yes</td><td>The Artifactory Xray account with all the required properties like Instance Url, Username, and Password for running Artifactory Xray Instance. Configure this under Topology - Integrations - CI Server.</td></tr><tr><td>Artifactory ID</td><td>`FD_ARTIFACTORY_ID`</td><td>No</td><td>The repository ID of the artifact.</td></tr><tr><td>Artifactory Build Name</td><td>`FD_ARTIFACTORY_BUILDNAME`</td><td>Yes</td><td>The build Name of the artifact.</td></tr><tr><td>Artifactory Build Number</td><td>`FD_ARTIFACTORY_BUILDNUMBER`</td><td>Yes</td><td>The build number of the artifact.</td></tr></tbody></table>

# Artifacts

This operation scans the builds of the Artifactory.

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

# Outputs

<table><colgroup><col /><col /><col /></colgroup><tbody><tr><th>**Output Name**</th><th>**Required**</th><th>**Description**</th></tr><tr><td>`FDARTIF_XRAY_OUT_TOTAL_ALERTS`</td><td>Yes</td><td>Returns the number of alerts generated from scan</td></tr><tr><td>`FDARTIF_XRAY_OUT_BUILD_STATUS`</td><td>Yes</td><td>Returns the fail status of the scan (e.g. true/false)</td></tr></tbody></table>
