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

Sonar codemod(s) for CSRF protections #476

Open
clavedeluna opened this issue Apr 16, 2024 · 0 comments
Open

Sonar codemod(s) for CSRF protections #476

clavedeluna opened this issue Apr 16, 2024 · 0 comments
Labels
new-codemod Description for a new codemod sonar

Comments

@clavedeluna
Copy link
Contributor

https://rules.sonarsource.com/python/RSPEC-4502/?search=Make%20sure%20disabling%20CSRF%20protection%20i
This sonar rule accounts for checks on both flask and Django and their various ways CSRF may be enabled or disabled.

At this time we have one related find-and-fix codemod flask-enable-csrf-protection which may map to this sonar rule. However, we'd likely want to implement more codemods to align with this sonar rule.

@clavedeluna clavedeluna added new-codemod Description for a new codemod sonar labels Apr 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
new-codemod Description for a new codemod sonar
Projects
None yet
Development

No branches or pull requests

1 participant