Update rule metadata#1673
Conversation
SummaryS2092 rule metadata update: Out of 245 rules available for synchronization, this PR updates a single rule — the cookie security check (S2092). The rule has been reclassified from SECURITY_HOTSPOT to VULNERABILITY, with an updated title ("Cookies should have the 'secure' flag"). The rule documentation was restructured to follow SonarSource's updated template format, replacing "Sensitive/Compliant" sections with "Why is this an issue? / How to fix it?" flow with expanded attack scenario details. The metadata change includes a "former-hotspot" tag to mark the transition. The sonarpedia.json timestamp was updated to reflect the sync date (2026-04-09). What reviewers should knowKey files to review:
What to watch for:
|
|
There was a problem hiding this comment.
Conclusion: The metadata changes look correct — the reclassification from SECURITY_HOTSPOT to VULNERABILITY is appropriate since missing a secure flag on a cookie is a definitive issue (no false-positive review needed). One documentation gap needs attention before merge.





Rule Metadata Update Summary
./sonarpedia.jsonRule API Version: 2.19.0.5763
This PR was automatically generated to update rule metadata across all supported languages.