Skip to content

Add filtering logic to use-defusedxml transformation#318

Merged
drdavella merged 1 commit intomainfrom
filter-use-defusedxml
Feb 29, 2024
Merged

Add filtering logic to use-defusedxml transformation#318
drdavella merged 1 commit intomainfrom
filter-use-defusedxml

Conversation

@drdavella
Copy link
Copy Markdown
Member

Overview

Add filtering logic to use-defusedxml transformation

@sonarqubecloud
Copy link
Copy Markdown

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
No data about Coverage
0.0% Duplication on New Code

See analysis details on SonarCloud

Copy link
Copy Markdown
Contributor

@andrecsilva andrecsilva left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't think this inclusion is actually doing anything. Line includes/excludes filtering should already be in place with the DefusedXmlModifier (i.e. in leave_Call for ImportedCallModifier) and this is not a result-based codemod. I'm gonna guess this change is for future-proofing, but I don't see any reason to include it right now.

@drdavella
Copy link
Copy Markdown
Member Author

@andrecsilva I should have included this in the description but I am using this codemod as the basis for a closed-source SAST remediation codemod and the filtering logic does not work without this change.

@drdavella drdavella added this pull request to the merge queue Feb 29, 2024
Merged via the queue into main with commit 392be71 Feb 29, 2024
@drdavella drdavella deleted the filter-use-defusedxml branch February 29, 2024 14:49
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.

2 participants