You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+26-18Lines changed: 26 additions & 18 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,22 +1,16 @@
1
1
# fod-uploader-java
2
-
Java utility for uploading packages to FoD
2
+
Java utility for uploading code to Fortify on Demand
3
3
4
4
## Usage
5
5
6
6
### Current
7
7
8
-
*Note*: Command line arguments have been reworked since 3.1.0. When moving from an older version to the latest version, make sure to adjust your arguments to the current format.
8
+
**Note**: Command line arguments have been reworked since 3.1.0. When upgrading from an older version to the latest version, make sure to adjust your arguments to the current format.
9
9
10
-
Arguments are named and can be in any order:
10
+
The following table describes the FoDUploader arguments. Arguments are named and can be in any order:
-ac | -apiCredentials | Yes<sup>1</sup> | API credentials ("key:" does not need to be appended to `<key>`)
21
15
-uc | -userCredentials | Yes<sup>1</sup> | User credentials (wrap each in quotations to avoid escaping characters in the CLI)
22
16
-bsi | -bsiToken | Yes<sup>2</sup> | Build server token
@@ -27,24 +21,31 @@ Short Name | Long Name | Required? | Description
27
21
-z | -zipLocation | Yes | Location of scan
28
22
-ep | -entitlementPreferenceType | Yes | Whether to use a single scan or subscription assessment: 1/SingleScanOnly, 2/SubscriptionOnly, 3/SingleScanFirstThenSubscription, 4/SubscriptionFirstThenSingleScan
29
23
-rp | -remediationScanPreferenceType| No | Whether to run a remediation scan: 0/RemediationScanIfAvailable, 1/RemediationScanOnly, 2/NonRemediationScanOnly (default)
30
-
-pp | -inProgressScanActionType | No | Whether to cancel an in-progress scan and start a new scan or not start a scan: 0/DoNotStartScan (default), 1/CancelScanInProgress
24
+
-pp | -inProgressScanActionType | No | If in-progress scan exists, whether to not start a scan, cancel in-progress scan and start a scan, or queue a scan: 0/DoNotStartScan (default), 1/CancelScanInProgress, 2/Queue
25
+
-n | -notes | No | The notes about the scan
26
+
-purchase | -purchaseEntitlement | No | Whether to purchase an entitlement (if available)
31
27
-I | -pollingInterval | No | Interval between checking scan status in minutes
32
28
-P | -proxy | No | Credentials for accessing the proxy
33
29
-h | -help | No | Print help dialog
34
30
-v | -version | No | Print jar version
35
-
-purchase | -purchaseEntitlement | No | Whether to purchase an entitlement (if available)
36
-
-n | -notes | No | The notes about the scan
37
31
38
-
<sup>1</sup>One of either apiCredentials or userCredentials is required.
32
+
33
+
34
+
<sup>1</sup>Use either apiCredentials or userCredentials.
39
35
<sup>2</sup>Use either release ID or BSI token. If both are provided, then the scan settings that are retrieved from the release ID will be used.
40
36
<sup>3</sup>Required if BSI token is not provided.
0 commit comments