wazuh / wazuh-qa

Wazuh - Quality Assurance
GNU General Public License v2.0
61 stars 30 forks source link

Update known code flaws json files after reviewing code vulnerabilities #2330

Closed mcarmona99 closed 2 years ago

mcarmona99 commented 2 years ago

Description

This issue is part of https://github.com/wazuh/wazuh/issues/10125.

In that epic issue, we investigate and fix the possible vulnerabilities found using the tool located at wazuh-qa/tests/scans/code_analysis/test_python_flaws.py.

In this issue, we should track and confirm that all the possible flaws reported have been moved to the false_positives list or removed from to_fix.

The following issues should be solved in order to merge this issue's working branch into the target branch:


WORKING QA BRANCH: dev-fix-python-code-vulnerabilities TARGET WAZUH-QA BRANCH: master

noise-kngdm commented 2 years ago

Issue update

noise-kngdm commented 2 years ago

Issue update

Kondent commented 2 years ago

Issue update

Kondent commented 2 years ago

Issue update

Kondent commented 2 years ago

Issue update

Kondent commented 2 years ago

Issue update

Kondent commented 2 years ago

Issue update

Kondent commented 2 years ago
Kondent commented 2 years ago

Issue update

mcarmona99 commented 2 years ago

Issue update

Kondent commented 2 years ago

Issue update

Kondent commented 2 years ago

Issue update

Kondent commented 2 years ago

Issue update

Kondent commented 2 years ago

Issue update

Current status

Required fixes

With all this adjustments, the test should successfully pass with no errors regarding a possible code flaw. If a new flaw appears while doing these modifications, it should be reported in a new issue.

mcarmona99 commented 2 years ago

Having into account the required fixes commented in the last comment, the following pull requests have been created: