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 folder.
Environment/Instance Properties
Property Name | Property Code | Required | Description |
---|---|---|---|
Project Properties
Property Name | Property Code | Required | Description |
---|---|---|---|
Artifactory Account Properties
Property Name | Property Code | Required | Description |
---|---|---|---|
Artifactory URL | FDARTIFACCT_URL | Y | The URL of Artifactory Repository Manager (e.g. http://[host]:[port] ). |
Artifactory Username | FDARTIFACCT_USERNAME | Y | User to connect to Artifactory as. |
Artifactory Password | FDARTIFACCT_PASSWORD | Y | The password for the Artifactory User. |
Inputs
Input Name | Input Code | Required | Description |
---|---|---|---|
Artifactory Account | FDARTIF_ARTIFACT_REPOSITORY_ACCOUNT_CODE | Yes | 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. |
Artifactory ID | FD_ARTIFACTORY_ID | No | The repository ID of the artifact. |
Artifactory Build Name | FD_ARTIFACTORY_BUILDNAME | Yes | The build Name of the artifact. |
Artifactory Build Number | FD_ARTIFACTORY_BUILDNUMBER | Yes | The build number of the artifact. |
Artifacts
This operation scans the builds of the Artifactory.
Endpoint Selection
This operation will select all available endpoints associated to the environment/instance.
Endpoint Execution
This operation will execute on any one of the selected endpoints and will be random in the determination of which one.
Outputs
Output Name | Required | Description |
---|---|---|
FDARTIF_XRAY_OUT_TOTAL_ALERTS | Yes | Returns the number of alerts generated from scan |
FDARTIF_XRAY_OUT_BUILD_STATUS | Yes | Returns the fail status of the scan (e.g. true/false) |
- style