Skip to content

Commit 29b42bc

Browse files
hashicorp-vault-sonar-prod[bot]Seppli11
authored andcommitted
Update rule metadata (#746)
Co-authored-by: Seppli11 <[email protected]> GitOrigin-RevId: 2f05274b6b4015ec6c3cfeed6d2bf693a6abaf29
1 parent 5e78d18 commit 29b42bc

File tree

8 files changed

+27
-5
lines changed

8 files changed

+27
-5
lines changed

python-checks/src/main/resources/org/sonar/l10n/py/rules/python/S1313.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,9 @@
2525
],
2626
"OWASP Top 10 2021": [
2727
"A1"
28+
],
29+
"CWE": [
30+
547
2831
]
2932
}
3033
}

python-checks/src/main/resources/org/sonar/l10n/py/rules/python/S5300.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ <h2>Sensitive Code Example</h2>
5858
def send(subject, msg, from_email, to_email):
5959
mail = Mail(app)
6060
msg = Message(subject, [to_email], body, sender=from_email)
61-
mail.send(msg) # Sensitive{code}
61+
mail.send(msg) # Sensitive
6262
</pre>
6363
<h2>See</h2>
6464
<ul>

python-checks/src/main/resources/org/sonar/l10n/py/rules/python/S6252.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,10 @@
2525
],
2626
"PCI DSS 4.0": [
2727
"10.2.1.7"
28+
],
29+
"CWE": [
30+
16,
31+
693
2832
]
2933
}
3034
}

python-checks/src/main/resources/org/sonar/l10n/py/rules/python/S6437.json

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,5 @@
3131
"A7"
3232
]
3333
},
34-
"quickfix": "infeasible",
35-
"compatibleLanguages": [
36-
]
34+
"quickfix": "infeasible"
3735
}

python-checks/src/main/resources/org/sonar/l10n/py/rules/python/S6985.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,5 +20,11 @@
2020
"SECURITY": "HIGH"
2121
},
2222
"attribute": "CONVENTIONAL"
23+
},
24+
"securityStandards": {
25+
"CWE": [
26+
94,
27+
502
28+
]
2329
}
2430
}

python-checks/src/main/resources/org/sonar/l10n/py/rules/python/S7608.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,5 +20,11 @@
2020
"SECURITY": "HIGH"
2121
},
2222
"attribute": "COMPLETE"
23+
},
24+
"securityStandards": {
25+
"CWE": [
26+
441,
27+
693
28+
]
2329
}
2430
}

python-checks/src/main/resources/org/sonar/l10n/py/rules/python/S7625.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,5 +19,10 @@
1919
"SECURITY": "BLOCKER"
2020
},
2121
"attribute": "TRUSTWORTHY"
22+
},
23+
"securityStandards": {
24+
"CWE": [
25+
798
26+
]
2227
}
2328
}

sonarpedia.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"languages": [
44
"PY"
55
],
6-
"latest-update": "2025-12-16T13:56:52.009655653Z",
6+
"latest-update": "2025-12-30T12:36:33.309821664Z",
77
"options": {
88
"no-language-in-filenames": true,
99
"preserve-filenames": true

0 commit comments

Comments
 (0)