Skip to content

Sonar codemod(s) for CSRF protections #476

Open

Description

@clavedeluna

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions