File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ DefectDojo\'s API is created using [Django Rest
99Framework] ( http://www.django-rest-framework.org/ ) . The documentation of
1010each 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
Original file line number Diff line number Diff line change 1010
1111class 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"?>
You can’t perform that action at this time.
0 commit comments