fix(parsers): DeprecationWarning: Testing an element's truth ... #13828
DryRunSecurity / General Security Analyzer
succeeded
Dec 5, 2025 in 58s
DryRun Security
Details
General Security Analyzer Findings: 1 detected
⚠️ Incomplete Data Processing in Parser dojo/tools/dependency_check/parser.py (click for details)
| Type | Incomplete Data Processing in Parser |
| Description | The parser for Dependency Check XML reports now includes if node is not None checks to prevent crashes. However, these checks, particularly for critical elements like <dependencies>, lead to silent skipping of entire sections of the report if the corresponding XML elements are missing. There is no logging or error reporting mechanism to alert the user that parts of the report were not processed, resulting in an incomplete and potentially misleading security assessment. |
| Filename | dojo/tools/dependency_check/parser.py |
| CodeLink | django-DefectDojo/dojo/tools/dependency_check/parser.py Lines 435 to 438 in 32e4e0f |
Loading