Skip to content

Commit

Permalink
Merge pull request #20 from ck-wwt/readme-update-param-changes
Browse files Browse the repository at this point in the history
Update Readme.md to include May 4th changes
  • Loading branch information
tjarrettveracode authored May 6, 2022
2 parents 689ffaa + a11e6cf commit 3eae149
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,13 @@ Veracode recommends that you use the toplevel parameter if you want to ensure th

### `deleteIncompleteScan`

**Optional** BOOLEAN - Set to true to automatically delete the current scan if there are any errors when uploading files or starting the scan. If the include or exclude parameters are set, this parameter deletes the scan if there are errors when starting the scan after module selection. Defaults to false.
**Optional**

**In Java API Wrapper version >=22.5.10.0 this parameter has changed to an Integer. One of these values:**
* 0: do not delete an incomplete scan when running the uploadandscan action. The default. If set, you must delete an incomplete scan manually to proceed with the uploadandscan action.
* 1: delete a scan with a status of incomplete, no modules defined, failed, or canceled to proceed with the uploadandscan action. If errors occur when running this action, the Java wrapper automatically deletes the incomplete scan.
* 2: delete a scan of any status except Results Ready to proceed with the uploadandscan action. If errors occur when running this action, the Java wrapper automatically deletes the incomplete scan.


With the scan deleted automatically, you can create subsequent scans without having to manually delete an incomplete scan.

Expand Down

0 comments on commit 3eae149

Please sign in to comment.