Skip to content

Commit

Permalink
SONARJAVA-5095 Add STIG support (#4843)
Browse files Browse the repository at this point in the history
  • Loading branch information
johann-beleites-sonarsource authored Aug 6, 2024
1 parent bd398e1 commit 32ee678
Show file tree
Hide file tree
Showing 24 changed files with 23 additions and 28 deletions.
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@
-->
<sonar.plugin.api.version>10.2.0.1908</sonar.plugin.api.version>
<sonarlint.plugin.api.version>9.8.0.76914</sonarlint.plugin.api.version>
<analyzer.commons.version>2.11.0.2861</analyzer.commons.version>
<analyzer.commons.version>2.12.0.2964</analyzer.commons.version>
<orchestrator.version>3.40.0.183</orchestrator.version>
<sslr.version>1.24.0.633</sslr.version>
<argLine>-Xmx512m</argLine>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<h2>Why is this an issue?</h2>
<p>While not mandatory, using the <code>@Override</code> annotation on compliant methods improves readability by making it explicit that methods are
overriden.</p>
overridden.</p>
<p>A compliant method either overrides a parent method or implements an interface or abstract method.</p>
<h3>Noncompliant code example</h3>
<pre data-diff-id="1" data-diff-type="noncompliant">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
"PCI DSS 4.0": [
"6.2.4"
],
"STIG ASD 2023-06-08": [
"STIG ASD_V5R3": [
"V-222542"
]
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
"6.1.2",
"6.1.3"
],
"STIG ASD 2023-06-08": [
"STIG ASD_V5R3": [
"V-222576"
]
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
"ASVS 4.0": [
"5.4.3"
],
"STIG ASD 2023-06-08": [
"STIG ASD_V5R3": [
"V-222612"
]
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
"CERT": [
"MSC11-J."
],
"STIG ASD 2023-06-08": [
"STIG ASD_V5R3": [
"V-222567"
]
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
"OWASP Top 10 2021": [
"A4"
],
"STIG ASD 2023-06-08": [
"STIG ASD_V5R3": [
"V-222582"
]
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
"ASVS 4.0": [
"4.3.3"
],
"STIG ASD 2023-06-08": [
"STIG ASD_V5R3": [
"V-222430"
]
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
"ASVS 4.0": [
"2.10.3"
],
"STIG ASD 2023-06-08": [
"STIG ASD_V5R3": [
"V-222533"
]
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
"sqKey": "S2696",
"scope": "Main",
"securityStandards": {
"STIG ASD 2023-06-08": [
"STIG ASD_V5R3": [
"V-222567"
]
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
"sqKey": "S2885",
"scope": "Main",
"securityStandards": {
"STIG ASD 2023-06-08": [
"STIG ASD_V5R3": [
"V-222567"
]
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
"CERT": [
"VNA01-J."
],
"STIG ASD 2023-06-08": [
"STIG ASD_V5R3": [
"V-222567"
]
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
"ASVS 4.0": [
"3.4.2"
],
"STIG ASD 2023-06-08": [
"STIG ASD_V5R3": [
"V-222575"
]
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
"13.2.3",
"4.2.2"
],
"STIG ASD 2023-06-08": [
"STIG ASD_V5R3": [
"V-222603"
]
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@
"1.9.2",
"9.2.1"
],
"STIG ASD 2023-06-08": [
"STIG ASD_V5R3": [
"V-222550"
]
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
"9.1.1",
"9.2.2"
],
"STIG ASD 2023-06-08": [
"STIG ASD_V5R3": [
"V-222397",
"V-222534",
"V-222562",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
"2.4.4",
"2.4.5"
],
"STIG ASD 2023-06-08": [
"STIG ASD_V5R3": [
"V-222542"
]
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
"PCI DSS 4.0": [
"6.2.4"
],
"STIG ASD 2023-06-08": [
"STIG ASD_V5R3": [
"V-222567"
]
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
"PCI DSS 4.0": [
"6.2.4"
],
"STIG ASD 2023-06-08": [
"STIG ASD_V5R3": [
"V-222567"
]
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@
"4.2.1",
"6.2.4"
],
"STIG ASD 2023-06-08": [
"STIG ASD_V5R3": [
"V-222550"
]
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@
"6.2.5",
"8.3.7"
],
"STIG ASD 2023-06-08": [
"STIG ASD_V5R3": [
"V-222396"
]
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
"ASVS 4.0": [
"3.2.1"
],
"STIG ASD 2023-06-08": [
"STIG ASD_V5R3": [
"V-222579",
"V-222582"
]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -61,9 +61,4 @@ <h3>Documentation</h3>
</li>
<li> <a href="https://developer.android.com/reference/android/location/package-summary">Android Developers - Android Location</a> </li>
</ul>
<h3>Articles &amp; blog posts</h3>
<ul>
<li> <a
href="https://timeero.com/post/do-gps-tracking-apps-drain-mobile-battery-heres-what-you-need-to-know#toc-how-much-battery-does-location-services-use-">Timeero - How Much Battery Does Location Services Use?</a> </li>
</ul>

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": [
"JAVA"
],
"latest-update": "2024-06-26T13:48:56.604262Z",
"latest-update": "2024-07-31T14:20:43.109120Z",
"options": {
"no-language-in-filenames": true,
"preserve-filenames": false
Expand Down

0 comments on commit 32ee678

Please sign in to comment.