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 NameProperty CodeRequiredDescription
Artifactory URL
FDARTIFACCT_URL
YThe 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
YThe 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 NumberFD_ARTIFACTORY_BUILDNUMBERYesThe 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_STATUSYesReturns the fail status of the scan (e.g. true/false)
The following macros are not currently supported in the footer:
  • style