From f78d96df1808b00b5635aba41120bafc799b2eda Mon Sep 17 00:00:00 2001 From: Valentijn Scholten Date: Sun, 5 Oct 2025 11:08:07 +0200 Subject: [PATCH] skip duplicates: remove obsolete references --- docs/content/en/api/api-v2-docs.md | 3 +-- unittests/test_apiv2_scan_import_options.py | 5 +---- 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/docs/content/en/api/api-v2-docs.md b/docs/content/en/api/api-v2-docs.md index 763ce61893a..557b7cbc63a 100644 --- a/docs/content/en/api/api-v2-docs.md +++ b/docs/content/en/api/api-v2-docs.md @@ -9,7 +9,7 @@ DefectDojo\'s API is created using [Django Rest Framework](http://www.django-rest-framework.org/). The documentation of each endpoint is available within each DefectDojo installation at [`/api/v2/oa3/swagger-ui`](https://demo.defectdojo.org/api/v2/oa3/swagger-ui/) and can be accessed by choosing the API v2 -Docs link on the user drop down menu in the header. +Docs link on the user drop down menu in the header. ![image](images/api_v2_1.png) @@ -155,7 +155,6 @@ Example for importing a scan result: tags:test scan_type:ZAP Scan minimum_severity:Info - skip_duplicates:true close_old_findings:false - Body tab diff --git a/unittests/test_apiv2_scan_import_options.py b/unittests/test_apiv2_scan_import_options.py index 078ed2b3050..5b4f6e250c6 100644 --- a/unittests/test_apiv2_scan_import_options.py +++ b/unittests/test_apiv2_scan_import_options.py @@ -10,10 +10,7 @@ class ScanImportOptionsTest(APITestCase): - """ - Test the options `skip_duplicates` and `close_old_findings` for the scan - import APIv2 endpoint with ZAP - """ + """Test uploading empty reports or no report at all""" fixtures = ["dojo_testdata.json"] EMPTY_ZAP_SCAN = """