Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Removal of the CWEMAP dict #789

Merged
merged 1 commit into from Feb 2, 2022
Merged

Removal of the CWEMAP dict #789

merged 1 commit into from Feb 2, 2022

Conversation

ericwb
Copy link
Member

@ericwb ericwb commented Feb 2, 2022

There is a lookup dictionary defined that maps bandit check IDs
to a CWE. This is mostly unnecessary as the check can specify
the exact CWE that applies to it. And this would work better for
3rd party plugins that also wish to set a CWE for their check.
Maintaining a map is just another bit of maintenance.

Signed-off-by: Eric Brown browne@vmware.com

There is a lookup dictionary defined that maps bandit check IDs
to a CWE. This is mostly unnecessary as the check can specify
the exact CWE that applies to it. And this would work better for
3rd party plugins that also wish to set a CWE for their check.
Maintaining a map is just another bit of maintenance.

Signed-off-by: Eric Brown <browne@vmware.com>
@ericwb ericwb merged commit fafa822 into master Feb 2, 2022
@ericwb ericwb added this to the Release 1.7.3 milestone Feb 2, 2022
@ericwb ericwb deleted the rm_cwemap branch February 5, 2022 03:55
This was referenced Feb 28, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants