Skip to content

Update IDs for bandit.B108

Craig Smith requested to merge craigmsmith-bandit-changes into main

What does this MR do?

In SAST Rules, the rule ID bandit.B108-1 has the primary ID of bandit.B108

In Semgrep the same rule has the ID bandit.B108-2 with the primary ID of bandit.B108-2

This is a primary ID mismatch of bandit.B108 in sast-rules and bandit.B108-2 in semgrep.

Similarly

In SAST Rules, the rule ID bandit.B108-2 has the primary ID of bandit.B108-2

In Semgrep the same rule has the ID bandit.B108 with the primary ID of bandit.B108

This is a primary ID mismatch of bandit.B108-2 in sast-rules and bandit.B108 in semgrep.

This MR switches the order or the B108 mappings, so that they match the order of the semgrep rules, and regenerates the primary IDs so that they match.

What are the related issues?

gitlab-org/gitlab#390908 (closed)

Edited by Craig Smith

Merge request reports

Loading