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

Semgrep defused xml codemod #705

Merged
merged 4 commits into from
Jul 10, 2024
Merged

Semgrep defused xml codemod #705

merged 4 commits into from
Jul 10, 2024

Conversation

clavedeluna
Copy link
Contributor

Closes #695

See question on that issue for something related.

@@ -52,9 +52,6 @@ def mapping(self) -> Mapping[str, str]:
pass

def transform_module_impl(self, tree: cst.Module) -> cst.Module:
if not self.node_is_selected(tree):
Copy link
Contributor Author

Choose a reason for hiding this comment

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

this would prevent any tool results from moving forward. doesn't seem like it's currently in use via testing

Copy link

sonarcloud bot commented Jul 9, 2024

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
0.0% Coverage on New Code
0.0% Duplication on New Code

See analysis details on SonarCloud

@clavedeluna clavedeluna marked this pull request as ready for review July 9, 2024 20:06
@clavedeluna clavedeluna added this pull request to the merge queue Jul 10, 2024
Merged via the queue into main with commit c5b471c Jul 10, 2024
13 checks passed
@clavedeluna clavedeluna deleted the semgrep-defused-xml branch July 10, 2024 13: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.

Codemod: use-defused-xml-parse Semgrep
2 participants