Repository navigation
chore: remove API Scan Configurations and the six API pull parsers - #17149
Merged
Merged
Conversation
The removal announced in 3.2 and declared for 3.6.0: Product_API_Scan_Configuration, its Classic views, both /api/v2/*_api_scan_configurations/ endpoints, Test.api_scan_configuration, the importer option, the BlackDuck API, Bugcrowd API Import, Cobalt.io API Import, Edgescan Scan, SonarQube API Import and Vulners parsers, the SonarQube status sync and the SonarQube API hotspots setting that only they used, and the api_scan_configuration deprecation declaration. Migration 0317 drops the column and the table without a row-by-row data step, so the test history trigger does not write an event per linked test. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
This pull request contains multiple critical findings where the user 'claude' modified numerous sensitive codepaths, including models, views, and templates, without being on the allowed authors list. These unauthorized changes across various core components of the dojo application violate configured security policies.
🔴 Configured Sensitive Codepath Modified by Non-Allowed Author in
|
| Vulnerability | Configured Sensitive Codepath Modified by Non-Allowed Author |
|---|---|
| Description | File 'dojo/product/admin.py' matches configured sensitive codepath pattern 'dojo/product/*.py' and was modified by 'claude' (commit 8ca0750) who is not in the allowed authors list. |
🔴 Configured Sensitive Codepath Modified by Non-Allowed Author in dojo/api_v2/views.py (drs_10d9855f)
| Vulnerability | Configured Sensitive Codepath Modified by Non-Allowed Author |
|---|---|
| Description | File 'dojo/api_v2/views.py' matches configured sensitive codepath pattern 'dojo/api_v2/*.py' and was modified by 'claude' (commit 8ca0750) who is not in the allowed authors list. |
🔴 Configured Sensitive Codepath Modified by Non-Allowed Author in dojo/models.py (drs_1b525443)
| Vulnerability | Configured Sensitive Codepath Modified by Non-Allowed Author |
|---|---|
| Description | File 'dojo/models.py' matches configured sensitive codepath pattern 'dojo/models.py' and was modified by 'claude' (commit 8ca0750) who is not in the allowed authors list. |
🔴 Configured Sensitive Codepath Modified by Non-Allowed Author in dojo/importers/base_importer.py (drs_26063b63)
| Vulnerability | Configured Sensitive Codepath Modified by Non-Allowed Author |
|---|---|
| Description | File 'dojo/importers/base_importer.py' matches configured sensitive codepath pattern 'dojo/importers/*.py' and was modified by 'claude' (commit 8ca0750) who is not in the allowed authors list. |
🔴 Configured Sensitive Codepath Modified by Non-Allowed Author in dojo/templates/dojo/product.html (drs_26eda792)
| Vulnerability | Configured Sensitive Codepath Modified by Non-Allowed Author |
|---|---|
| Description | File 'dojo/templates/dojo/product.html' matches configured sensitive codepath pattern 'dojo/templates/**/*.html' and was modified by 'claude' (commit 8ca0750) who is not in the allowed authors list. |
🔴 Configured Sensitive Codepath Modified by Non-Allowed Author in dojo/templates/dojo/add_product_api_scan_configuration.html (drs_275a4ea2)
| Vulnerability | Configured Sensitive Codepath Modified by Non-Allowed Author |
|---|---|
| Description | File 'dojo/templates/dojo/add_product_api_scan_configuration.html' matches configured sensitive codepath pattern 'dojo/templates/**/*.html' and was modified by 'claude' (commit 8ca0750) who is not in the allowed authors list. |
🔴 Configured Sensitive Codepath Modified by Non-Allowed Author in dojo/finding/helper.py (drs_28f7ce6d)
| Vulnerability | Configured Sensitive Codepath Modified by Non-Allowed Author |
|---|---|
| Description | File 'dojo/finding/helper.py' matches configured sensitive codepath pattern 'dojo/finding/*.py' and was modified by 'claude' (commit 8ca0750) who is not in the allowed authors list. |
🔴 Configured Sensitive Codepath Modified by Non-Allowed Author in dojo/authorization/roles_permissions.py (drs_2a78936a)
| Vulnerability | Configured Sensitive Codepath Modified by Non-Allowed Author |
|---|---|
| Description | File 'dojo/authorization/roles_permissions.py' matches configured sensitive codepath pattern 'dojo/authorization/*.py' and was modified by 'claude' (commit 8ca0750) who is not in the allowed authors list. |
🔴 Configured Sensitive Codepath Modified by Non-Allowed Author in dojo/test/models.py (drs_463158fe)
| Vulnerability | Configured Sensitive Codepath Modified by Non-Allowed Author |
|---|---|
| Description | File 'dojo/test/models.py' matches configured sensitive codepath pattern 'dojo/test/*.py' and was modified by 'claude' (commit 8ca0750) who is not in the allowed authors list. |
🔴 Configured Sensitive Codepath Modified by Non-Allowed Author in dojo/api_v2/serializers.py (drs_64be11e9)
| Vulnerability | Configured Sensitive Codepath Modified by Non-Allowed Author |
|---|---|
| Description | File 'dojo/api_v2/serializers.py' matches configured sensitive codepath pattern 'dojo/api_v2/*.py' and was modified by 'claude' (commit 8ca0750) who is not in the allowed authors list. |
🔴 Configured Sensitive Codepath Modified by Non-Allowed Author in dojo/forms.py (drs_73b49535)
| Vulnerability | Configured Sensitive Codepath Modified by Non-Allowed Author |
|---|---|
| Description | File 'dojo/forms.py' matches configured sensitive codepath pattern 'dojo/forms.py' and was modified by 'claude' (commit 8ca0750) who is not in the allowed authors list. |
🔴 Configured Sensitive Codepath Modified by Non-Allowed Author in dojo/authorization/authorization.py (drs_75985118)
| Vulnerability | Configured Sensitive Codepath Modified by Non-Allowed Author |
|---|---|
| Description | File 'dojo/authorization/authorization.py' matches configured sensitive codepath pattern 'dojo/authorization/*.py' and was modified by 'claude' (commit 8ca0750) who is not in the allowed authors list. |
🔴 Configured Sensitive Codepath Modified by Non-Allowed Author in dojo/product/models.py (drs_77924468)
| Vulnerability | Configured Sensitive Codepath Modified by Non-Allowed Author |
|---|---|
| Description | File 'dojo/product/models.py' matches configured sensitive codepath pattern 'dojo/product/*.py' and was modified by 'claude' (commit 8ca0750) who is not in the allowed authors list. |
🔴 Configured Sensitive Codepath Modified by Non-Allowed Author in dojo/templates/base.html (drs_856044a7)
| Vulnerability | Configured Sensitive Codepath Modified by Non-Allowed Author |
|---|---|
| Description | File 'dojo/templates/base.html' matches configured sensitive codepath pattern 'dojo/templates/*.html' and was modified by 'claude' (commit 8ca0750) who is not in the allowed authors list. |
🔴 Configured Sensitive Codepath Modified by Non-Allowed Author in dojo/product/queries.py (drs_a15acc19)
| Vulnerability | Configured Sensitive Codepath Modified by Non-Allowed Author |
|---|---|
| Description | File 'dojo/product/queries.py' matches configured sensitive codepath pattern 'dojo/product/*.py' and was modified by 'claude' (commit 8ca0750) who is not in the allowed authors list. |
🔴 Configured Sensitive Codepath Modified by Non-Allowed Author in dojo/authorization/query_registrations.py (drs_a1a41a67)
| Vulnerability | Configured Sensitive Codepath Modified by Non-Allowed Author |
|---|---|
| Description | File 'dojo/authorization/query_registrations.py' matches configured sensitive codepath pattern 'dojo/authorization/*.py' and was modified by 'claude' (commit 8ca0750) who is not in the allowed authors list. |
🔴 Configured Sensitive Codepath Modified by Non-Allowed Author in dojo/db_migrations/0317_remove_api_scan_configuration.py (drs_ad259814)
| Vulnerability | Configured Sensitive Codepath Modified by Non-Allowed Author |
|---|---|
| Description | File 'dojo/db_migrations/0317_remove_api_scan_configuration.py' matches configured sensitive codepath pattern 'dojo/db_migrations/*.py' and was modified by 'claude' (commit 8ca0750) who is not in the allowed authors list. |
🔴 Configured Sensitive Codepath Modified by Non-Allowed Author in dojo/templates/dojo/edit_product_api_scan_configuration.html (drs_b795b73d)
| Vulnerability | Configured Sensitive Codepath Modified by Non-Allowed Author |
|---|---|
| Description | File 'dojo/templates/dojo/edit_product_api_scan_configuration.html' matches configured sensitive codepath pattern 'dojo/templates/**/*.html' and was modified by 'claude' (commit 8ca0750) who is not in the allowed authors list. |
🔴 Configured Sensitive Codepath Modified by Non-Allowed Author in dojo/authorization/api_permissions.py (drs_c295d3c0)
| Vulnerability | Configured Sensitive Codepath Modified by Non-Allowed Author |
|---|---|
| Description | File 'dojo/authorization/api_permissions.py' matches configured sensitive codepath pattern 'dojo/authorization/*.py' and was modified by 'claude' (commit 8ca0750) who is not in the allowed authors list. |
🔴 Configured Sensitive Codepath Modified by Non-Allowed Author in dojo/api_v2/prefetch/registrations.py (drs_c567c26e)
| Vulnerability | Configured Sensitive Codepath Modified by Non-Allowed Author |
|---|---|
| Description | File 'dojo/api_v2/prefetch/registrations.py' matches configured sensitive codepath pattern 'dojo/api_v2/**/*.py' and was modified by 'claude' (commit 8ca0750) who is not in the allowed authors list. |
🔴 Configured Sensitive Codepath Modified by Non-Allowed Author in dojo/templates/dojo/view_product_details.html (drs_cdfe5a6e)
| Vulnerability | Configured Sensitive Codepath Modified by Non-Allowed Author |
|---|---|
| Description | File 'dojo/templates/dojo/view_product_details.html' matches configured sensitive codepath pattern 'dojo/templates/**/*.html' and was modified by 'claude' (commit 8ca0750) who is not in the allowed authors list. |
🔴 Configured Sensitive Codepath Modified by Non-Allowed Author in dojo/authorization/url_permissions.py (drs_cef8d13e)
| Vulnerability | Configured Sensitive Codepath Modified by Non-Allowed Author |
|---|---|
| Description | File 'dojo/authorization/url_permissions.py' matches configured sensitive codepath pattern 'dojo/authorization/*.py' and was modified by 'claude' (commit 8ca0750) who is not in the allowed authors list. |
🔴 Configured Sensitive Codepath Modified by Non-Allowed Author in dojo/filters.py (drs_cf1528fb)
| Vulnerability | Configured Sensitive Codepath Modified by Non-Allowed Author |
|---|---|
| Description | File 'dojo/filters.py' matches configured sensitive codepath pattern 'dojo/filters.py' and was modified by 'claude' (commit 8ca0750) who is not in the allowed authors list. |
🔴 Configured Sensitive Codepath Modified by Non-Allowed Author in dojo/importers/options.py (drs_d1360580)
| Vulnerability | Configured Sensitive Codepath Modified by Non-Allowed Author |
|---|---|
| Description | File 'dojo/importers/options.py' matches configured sensitive codepath pattern 'dojo/importers/*.py' and was modified by 'claude' (commit 8ca0750) who is not in the allowed authors list. |
🔴 Configured Sensitive Codepath Modified by Non-Allowed Author in dojo/importers/default_importer.py (drs_d28f04f8)
| Vulnerability | Configured Sensitive Codepath Modified by Non-Allowed Author |
|---|---|
| Description | File 'dojo/importers/default_importer.py' matches configured sensitive codepath pattern 'dojo/importers/*.py' and was modified by 'claude' (commit 8ca0750) who is not in the allowed authors list. |
🔴 Configured Sensitive Codepath Modified by Non-Allowed Author in dojo/tool_config/factory.py (drs_df4a7d60)
| Vulnerability | Configured Sensitive Codepath Modified by Non-Allowed Author |
|---|---|
| Description | File 'dojo/tool_config/factory.py' matches configured sensitive codepath pattern 'dojo/tool_config/*.py' and was modified by 'claude' (commit 8ca0750) who is not in the allowed authors list. |
🔴 Configured Sensitive Codepath Modified by Non-Allowed Author in dojo/templates/dojo/view_product_api_scan_configurations.html (drs_f389c13e)
| Vulnerability | Configured Sensitive Codepath Modified by Non-Allowed Author |
|---|---|
| Description | File 'dojo/templates/dojo/view_product_api_scan_configurations.html' matches configured sensitive codepath pattern 'dojo/templates/**/*.html' and was modified by 'claude' (commit 8ca0750) who is not in the allowed authors list. |
🔴 Configured Sensitive Codepath Modified by Non-Allowed Author in dojo/templates/dojo/view_test.html (drs_f5d45c01)
| Vulnerability | Configured Sensitive Codepath Modified by Non-Allowed Author |
|---|---|
| Description | File 'dojo/templates/dojo/view_test.html' matches configured sensitive codepath pattern 'dojo/templates/**/*.html' and was modified by 'claude' (commit 8ca0750) who is not in the allowed authors list. |
🔴 Configured Sensitive Codepath Modified by Non-Allowed Author in dojo/templates/dojo/delete_product_api_scan_configuration.html (drs_faeba6b1)
| Vulnerability | Configured Sensitive Codepath Modified by Non-Allowed Author |
|---|---|
| Description | File 'dojo/templates/dojo/delete_product_api_scan_configuration.html' matches configured sensitive codepath pattern 'dojo/templates/**/*.html' and was modified by 'claude' (commit 8ca0750) who is not in the allowed authors list. |
🔴 Configured Sensitive Codepath Modified by Non-Allowed Author in dojo/importers/default_reimporter.py (drs_fea762c9)
| Vulnerability | Configured Sensitive Codepath Modified by Non-Allowed Author |
|---|---|
| Description | File 'dojo/importers/default_reimporter.py' matches configured sensitive codepath pattern 'dojo/importers/*.py' and was modified by 'claude' (commit 8ca0750) who is not in the allowed authors list. |
We've notified @mtesauro.
Comment to provide feedback on these findings.
Report false positive: @dryrunsecurity fp [FINDING ID] [FEEDBACK]
Report low-impact: @dryrunsecurity nit [FINDING ID] [FEEDBACK]
Example: @dryrunsecurity fp drs_90eda195 This code is not user-facing
All finding details can be found in the DryRun Security Dashboard.
The re-created insert, update and delete triggers on dojo_test referenced NEW.NEW."archive_batch" / OLD.OLD."archive_batch", so every insert, update or delete of a Test raised "missing FROM-clause entry for table new". Use the SQL and hashes pghistory generates for the current model. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…perf test Removing the tool issue updater drops its finding.test.test_type read from every finding save: two queries per created finding (56 to 54, 3224 to 3024). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Maffooch
approved these changes
Dec 4, 2026
devGregA
approved these changes
Dec 4, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Removes API Scan Configurations and the six API-based (pull) parsers, as announced in the 3.2 upgrade notes and declared for removal in 3.6.0 (
api_scan_configurationindojo/deprecations.py).Removed:
Product_API_Scan_Configuration, its Classic UI pages (add, view, edit, delete) and their forms, templates and menu entries./api/v2/product_api_scan_configurations/and/api/v2/asset_api_scan_configurations/.Test.api_scan_configuration(UI,/api/v2/tests/, filters, product export, theapi_v3helper).api_scan_configurationparameter of/api/v2/import-scan/and/api/v2/reimport-scan/. A request that still sends it is accepted and the key is ignored (DRF's default for an unknown field).BlackDuck API,Bugcrowd API Import,Cobalt.io API Import,Edgescan Scan,SonarQube API ImportandVulners, their factory hooks (get_api_scan_configuration_hints,requires_tool_type), dedupe and hashcode settings, sample scans and tests.dojo/tools/tool_issue_updater.pyand its beat entry; theissue_updater_optionarguments stay as no-ops), the Tool Configuration connection test for these tools (dojo/tool_config/factory.py), and theDD_SONARQUBE_API_PARSER_HOTSPOTSsetting with its System Settings field.Product_API_Scan_Configuration_*permissions and their role grants, and theapi_scan_configurationdeclaration.Tool Types and Tool Configurations stay; they are the next removal. The
Coverity APIfile parser and the SonarQube file parser are unchanged.Migration
0317_remove_api_scan_configurationRemoves the
testhistory triggers, dropsapi_scan_configurationfromdojo_testanddojo_testevent, re-adds the triggers without the column, deletesdojo_product_api_scan_configuration, and dropssonarqube_api_parser_hotspotsfrom System Settings. It does not null the column row by row first: dropping the column removes the links anyway, and an UPDATE would fire the test history trigger once per linked test. Measured on the released schema in Postgres 17, with 20,001 tests of which 10,001 were linked, in one transaction as Django runs it:The migration depends only on
0316and imports no application code.Test results
unittests/test_api_scan_configuration_removed.py(new) asserts the six scan types are gone from the parser factory, the model is gone, both endpoints no longer resolve, and an import that still sendsapi_scan_configurationwith a file scan succeeds. It fails ondev.ruff.toml) passes on the whole tree. The Django suite runs in CI.Documentation
docs/content/releases/os_upgrading/3.6.mddescribes the removal and what to do before upgrading: on DefectDojo Pro, runmigrate_api_parsers_to_connectorson 3.5.x first for Bugcrowd API Import, and set up a Connector by hand for the other five. The parser pages for the six are removed and their URLs alias to the upgrade notes.