Skip to content

Commit

Permalink
Update metadata for next release (#3396)
Browse files Browse the repository at this point in the history
  • Loading branch information
victor-diez-sonarsource authored Sep 20, 2022
1 parent 17a9c51 commit 633fe55
Show file tree
Hide file tree
Showing 12 changed files with 28 additions and 110 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,17 @@ <h2>Compliant Solution</h2>
...
}
</pre>
<h2>Exceptions</h2>
<p>The rule ignores constructors where parameters are <strong>all</strong> parameter properties:</p>
<pre>
class C {
constructor(
param1: number,
param2: boolean,
param3: string,
param4: string[],
param5: number | string
) {}
}
</pre>

Original file line number Diff line number Diff line change
Expand Up @@ -47,19 +47,9 @@
"6.2.4"
],
"ASVS 4.0": [
"1.9.2",
"2.8.3",
"2.9.3",
"6.2.2",
"6.2.3",
"6.2.4",
"6.2.5",
"6.2.6",
"6.2.7",
"8.3.7",
"9.1.2",
"9.1.3",
"9.2.1"
"9.1.3"
]
},
"quickfix": "unknown",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,14 +35,7 @@
"A2"
],
"ASVS 4.0": [
"2.8.3",
"6.2.3",
"6.2.4",
"6.2.5",
"6.2.6",
"6.2.7",
"9.1.2",
"9.1.3"
"6.2.3"
]
},
"quickfix": "unknown",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ <h2>Recommended Secure Coding Practices</h2>
</ul> </li>
<li> Enable encryption of cloud components communications whenever it’s possible. </li>
<li> Configure your application to block mixed content when rendering web pages. </li>
<li> If available, enforce OS level deativation of all clear-text traffic </li>
<li> If available, enforce OS level deactivation of all clear-text traffic </li>
</ul>
<p>It is recommended to secure all transport channels (even local network) as it can take a single non secure connection to compromise an entire
application or system.</p>
Expand Down Expand Up @@ -124,5 +124,9 @@ <h2>See</h2>
<li> <a href="https://cwe.mitre.org/data/definitions/319">MITRE, CWE-319</a> - Cleartext Transmission of Sensitive Information </li>
<li> <a href="https://security.googleblog.com/2016/09/moving-towards-more-secure-web.html">Google, Moving towards more secure web</a> </li>
<li> <a href="https://blog.mozilla.org/security/2015/04/30/deprecating-non-secure-http/">Mozilla, Deprecating non secure http</a> </li>
<li> <a href="https://docs.aws.amazon.com/elasticloadbalancing/latest/application/load-balancer-listeners.html">AWS Documentation</a> - Listeners
for your Application Load Balancers </li>
<li> <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesis-stream-streamencryption.html">AWS
Documentation</a> - Stream Encryption </li>
</ul>

Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<li> For block cipher encryption algorithms (like AES):
<ul>
<li> The ECB (Electronic Codebook) cipher mode doesn’t provide serious message confidentiality: under a given key any given plaintext block
always gets encrypted to the same ciphertext block. This mode never be used. </li>
always gets encrypted to the same ciphertext block. This mode should never be used. </li>
<li> The CBC (Cipher Block Chaining) mode by itself provides only data confidentiality. This cipher mode is also vulnerable to <a
href="https://en.wikipedia.org/wiki/Padding_oracle_attack">padding oracle attacks</a> when used with padding. Using CBC along with Message
Authentication Code can provide data integrity and should prevent such attacks. In practice the implementation has many pitfalls and it’s
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,17 +46,10 @@
"6.2.4"
],
"ASVS 4.0": [
"2.8.3",
"2.9.3",
"6.2.2",
"6.2.3",
"6.2.4",
"6.2.5",
"6.2.6",
"6.2.7",
"8.3.7",
"9.1.2",
"9.1.3"
"8.3.7"
]
},
"quickfix": "unknown",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,7 @@
"status": "ready",
"tags": [
"aws",
"cwe",
"owasp-a6",
"owasp-a3"
"cwe"
],
"defaultSeverity": "Minor",
"ruleSpecification": "RSPEC-6245",
Expand All @@ -16,27 +14,11 @@
"CWE": [
311
],
"OWASP": [
"A3",
"A6"
],
"CIS": [
"2.1.1"
],
"OWASP Top 10 2021": [
"A4",
"A5"
],
"PCI DSS 3.2": [
"6.5.3"
],
"PCI DSS 4.0": [
"6.2.4"
],
"ASVS 4.0": [
"6.1.1",
"6.1.2",
"6.1.3"
]
},
"compatibleLanguages": [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,7 @@
},
"tags": [
"aws",
"cwe",
"owasp-a6",
"owasp-a3"
"cwe"
],
"defaultSeverity": "Critical",
"ruleSpecification": "RSPEC-6249",
Expand All @@ -24,25 +22,9 @@
"4.1",
"6.5.4"
],
"OWASP": [
"A3",
"A6"
],
"CIS": [
"2.1.12"
],
"OWASP Top 10 2021": [
"A2",
"A5"
],
"PCI DSS 4.0": [
"4.2.1",
"6.2.4"
],
"ASVS 4.0": [
"1.9.1",
"9.1.1",
"9.2.2"
]
},
"compatibleLanguages": [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,20 +7,13 @@
"constantCost": "5min"
},
"tags": [
"aws",
"owasp-a6"
"aws"
],
"defaultSeverity": "Minor",
"ruleSpecification": "RSPEC-6252",
"sqKey": "S6252",
"scope": "Main",
"securityStandards": {
"OWASP": [
"A6"
],
"OWASP Top 10 2021": [
"A5"
],
"PCI DSS 3.2": [
"10.2.7"
],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,7 @@
},
"tags": [
"aws",
"cwe",
"owasp-a5"
"cwe"
],
"defaultSeverity": "Blocker",
"ruleSpecification": "RSPEC-6265",
Expand All @@ -20,25 +19,11 @@
284,
732
],
"OWASP": [
"A5"
],
"CIS": [
"3.3"
],
"OWASP Top 10 2021": [
"A1"
],
"PCI DSS 3.2": [
"6.5.8"
],
"PCI DSS 4.0": [
"6.2.4"
],
"ASVS 4.0": [
"4.1.1",
"4.1.2",
"4.3.3"
]
},
"compatibleLanguages": [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,7 @@
},
"tags": [
"aws",
"cwe",
"owasp-a6",
"owasp-a5"
"cwe"
],
"defaultSeverity": "Critical",
"ruleSpecification": "RSPEC-6281",
Expand All @@ -20,26 +18,11 @@
"CWE": [
284
],
"OWASP": [
"A6",
"A5"
],
"CIS": [
"3.3"
],
"OWASP Top 10 2021": [
"A1",
"A5"
],
"PCI DSS 3.2": [
"6.5.8"
],
"PCI DSS 4.0": [
"6.2.4"
],
"ASVS 4.0": [
"4.1.1",
"4.1.2"
]
},
"compatibleLanguages": [
Expand Down
2 changes: 1 addition & 1 deletion sonarpedia.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"languages": [
"JS"
],
"latest-update": "2022-08-19T12:52:44.342171Z",
"latest-update": "2022-09-20T08:41:49.544978Z",
"options": {
"no-language-in-filenames": true,
"preserve-filenames": true
Expand Down

0 comments on commit 633fe55

Please sign in to comment.