Skip to content

Commit 8f5d486

Browse files
skip duplicates: remove obsolete references (#13327)
1 parent 10f9b8f commit 8f5d486

2 files changed

Lines changed: 2 additions & 6 deletions

File tree

docs/content/en/api/api-v2-docs.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ DefectDojo\'s API is created using [Django Rest
99
Framework](http://www.django-rest-framework.org/). The documentation of
1010
each endpoint is available within each DefectDojo installation at
1111
[`/api/v2/oa3/swagger-ui`](https://demo.defectdojo.org/api/v2/oa3/swagger-ui/) and can be accessed by choosing the API v2
12-
Docs link on the user drop down menu in the header.
12+
Docs link on the user drop down menu in the header.
1313

1414
![image](images/api_v2_1.png)
1515

@@ -155,7 +155,6 @@ Example for importing a scan result:
155155
tags:test
156156
scan_type:ZAP Scan
157157
minimum_severity:Info
158-
skip_duplicates:true
159158
close_old_findings:false
160159

161160
- Body tab

unittests/test_apiv2_scan_import_options.py

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,7 @@
1010

1111
class ScanImportOptionsTest(APITestCase):
1212

13-
"""
14-
Test the options `skip_duplicates` and `close_old_findings` for the scan
15-
import APIv2 endpoint with ZAP
16-
"""
13+
"""Test uploading empty reports or no report at all"""
1714

1815
fixtures = ["dojo_testdata.json"]
1916
EMPTY_ZAP_SCAN = """<?xml version="1.0"?>

0 commit comments

Comments
 (0)