You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Initial version of SonarSecureCookie
* Added unit test
* Added integration test
* Fixed missing file for integration test
* Fixed tests and refactoring
), f"Make sure to add a sonar issue/hotspot for file `{cls.code_filename}` under rule `{cls.codemod.rule_id}`in {cls.sonar_issues_json} or {cls.sonar_hotspots_json}"
302
+
), f"Make sure to add a sonar issue/hotspot for file `{cls.code_filename}` under one of the rules `{cls.codemod.requested_rules}`in {cls.sonar_issues_json} or {cls.sonar_hotspots_json}"
Copy file name to clipboardExpand all lines: src/codemodder/scripts/generate_docs.py
+6Lines changed: 6 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -328,6 +328,12 @@ class DocMetadata:
328
328
need_sarif="Yes (Sonar)",
329
329
)
330
330
fornameinSONAR_CODEMOD_NAMES
331
+
} | {
332
+
"secure-cookie": DocMetadata(
333
+
importance="Medium",
334
+
guidance_explained="Our change provides the most secure way to create cookies in Flask. However, it's possible you have configured your Flask application configurations to use secure cookies. In these cases, using the default parameters for `set_cookie` is safe.",
0 commit comments