Skip to content

Commit

Permalink
Deploying to gh-pages from @ 83ec7a8 🚀
Browse files Browse the repository at this point in the history
  • Loading branch information
hendrik-buchwald-sonarsource committed Sep 25, 2023
1 parent 046ec04 commit fb817e3
Show file tree
Hide file tree
Showing 9 changed files with 5 additions and 295 deletions.
12 changes: 1 addition & 11 deletions rules/S6680/csharp-description.html
Original file line number Diff line number Diff line change
Expand Up @@ -150,18 +150,8 @@ <h4 id="_compliant_solution">Compliant solution</h4>
</div>
<div class="sect2">
<h3 id="_how_does_this_work">How does this work?</h3>
<div class="sect3">
<h4 id="_set_limits">Set limits</h4>
<div class="paragraph">
<p>Validate loop variable values to ensure they fall within the expected bounds.
If a value falls outside of these bounds, reject it as invalid or adjust it to
bring it within bounds. This guarantees that the loop will only iterate over
the expected number of elements or perform the expected number of iterations.</p>
</div>
<div class="paragraph">
<p>Do not assume that users will provide sensible values. Attackers intentionally
choose unusual values to cause the system to misbehave.</p>
</div>
<p>Unresolved directive in rule.adoc - include::../../common/fix/limits.adoc[]</p>
</div>
</div>
</div>
Expand Down
12 changes: 1 addition & 11 deletions rules/S6680/default-description.html
Original file line number Diff line number Diff line change
Expand Up @@ -150,18 +150,8 @@ <h4 id="_compliant_solution">Compliant solution</h4>
</div>
<div class="sect2">
<h3 id="_how_does_this_work">How does this work?</h3>
<div class="sect3">
<h4 id="_set_limits">Set limits</h4>
<div class="paragraph">
<p>Validate loop variable values to ensure they fall within the expected bounds.
If a value falls outside of these bounds, reject it as invalid or adjust it to
bring it within bounds. This guarantees that the loop will only iterate over
the expected number of elements or perform the expected number of iterations.</p>
</div>
<div class="paragraph">
<p>Do not assume that users will provide sensible values. Attackers intentionally
choose unusual values to cause the system to misbehave.</p>
</div>
<p>Unresolved directive in rule.adoc - include::../../common/fix/limits.adoc[]</p>
</div>
</div>
</div>
Expand Down
134 changes: 0 additions & 134 deletions rules/S6781/default-description.html

This file was deleted.

1 change: 0 additions & 1 deletion rules/S6781/default-metadata.json

This file was deleted.

134 changes: 0 additions & 134 deletions rules/S6781/python-description.html

This file was deleted.

1 change: 0 additions & 1 deletion rules/S6781/python-metadata.json

This file was deleted.

2 changes: 1 addition & 1 deletion rules/rule-index-aggregates.json
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"langs":{"abap":123,"apex":70,"cfamily":896,"csharp":564,"default":3338,"flex":100,"go":56,"java":921,"javascript":507,"kotlin":157,"php":326,"python":375,"rpg":95,"ruby":42,"scala":43,"swift":149,"plsql":215,"vbnet":276,"html":80,"pli":34,"tsql":86,"vb6":65,"xml":59,"cobol":225,"css":27,"azureresourcemanager":19,"cloudformation":28,"docker":35,"kubernetes":8,"terraform":51,"secrets":61,"text":1},"tags":{"convention":206,"cert":297,"misra-c++2008":59,"pitfall":304,"based-on-misra":206,"cppcoreguidelines":86,"suspicious":175,"brain-overload":82,"misra":28,"bad-practice":125,"unused":83,"clumsy":181,"lock-in":49,"cwe":371,"error-handling":62,"psr2":8,"error-reporting":3,"user-experience":26,"sql":99,"obsolete":58,"android":19,"accessibility":22,"wcag2-a":10,"injection":1,"html5":5,"cross-browser":4,"design":48,"bug":35,"confusing":131,"unpredictable":44,"es2015":22,"redundant":25,"performance":190,"since-c++11":60,"multi-threading":52,"leak":15,"denial-of-service":16,"symbolic-execution":62,"microfocus":1,"jsp-jsf":6,"preprocessor":11,"java8":24,"tests":65,"junit":23,"phpunit":12,"security":5,"python3":10,"psr1":3,"per":2,"finding":12,"i18n":1,"serialization":18,"hibernate":9,"spring":32,"express.js":19,"privacy":14,"api-design":31,"singleton":1,"AWS":1,"overflow":3,"struts":4,"misra-c2012":12,"backbone":3,"misra-c2004":19,"docker":2,"angularjs":1,"ejb":3,"jee":6,"chai":5,"mocha":3,"jquery":1,"assertj":7,"mockito":5,"msvc":1,"swing":1,"deadlock":3,"async-await":7,"php-ini":6,"maven":9,"since-c++14":5,"c11":1,"gnu":3,"xsd":18,"localisation":4,"duplicate":1,"mef":3,"winforms":1,"event":1,"regex":39,"wpf":1,"xaml":1,"proficiency":5,"aws":34,"azure":24,"gcp":20,"rules":1,"react":39,"antipattern":1,"jsx":8,"yield":1,"django":1,"flask":1,"debug":1,"java7":1,"guava":1,"java9":2,"full-project":3,"ssl":2,"phishing":1,"java12":1,"dockerfile":11,"governor-limits":5,"java14":5,"since-c++17":23,"unittest":1,"java15":1,"since-c++20":64,"java16":12,"java10":1,"java17":1,"startup-time":2,"coroutines":12,"cwe-284":1,"javadoc":12,"java18":9,"floating-point":1,"numbers":1,"precision":1,"architecture":3,"async":1,"promise":1,"sans-top25-insecure":1,"enum":2,"object":1,"string":1,"shell":1,"assertion":1,"function":1,"type":1,"es2020":1,"nullish-coalescing":1,"Gradle":2,"gradle":10,"es2022":1,"es2018":1,"jspecify":1,"nullability":1,"data-science":19,"numpy":12,"pandas":8,"assembler":1},"qualityProfiles":{"Sonar way":2189,"Drupal":1}}
{"langs":{"abap":123,"apex":70,"cfamily":896,"csharp":564,"default":3337,"flex":100,"go":56,"java":921,"javascript":507,"kotlin":157,"php":326,"python":374,"rpg":95,"ruby":42,"scala":43,"swift":149,"plsql":215,"vbnet":276,"html":80,"pli":34,"tsql":86,"vb6":65,"xml":59,"cobol":225,"css":27,"azureresourcemanager":19,"cloudformation":28,"docker":35,"kubernetes":8,"terraform":51,"secrets":61,"text":1},"tags":{"convention":206,"cert":296,"misra-c++2008":59,"pitfall":304,"based-on-misra":206,"cppcoreguidelines":86,"suspicious":175,"brain-overload":82,"misra":28,"bad-practice":125,"unused":83,"clumsy":181,"lock-in":49,"cwe":370,"error-handling":62,"psr2":8,"error-reporting":3,"user-experience":26,"sql":99,"obsolete":58,"android":19,"accessibility":22,"wcag2-a":10,"injection":1,"html5":5,"cross-browser":4,"design":48,"bug":35,"confusing":131,"unpredictable":44,"es2015":22,"redundant":25,"performance":190,"since-c++11":60,"multi-threading":52,"leak":15,"denial-of-service":16,"symbolic-execution":62,"microfocus":1,"jsp-jsf":6,"preprocessor":11,"java8":24,"tests":65,"junit":23,"phpunit":12,"security":5,"python3":10,"psr1":3,"per":2,"finding":12,"i18n":1,"serialization":18,"hibernate":9,"spring":32,"express.js":19,"privacy":14,"api-design":31,"singleton":1,"AWS":1,"overflow":3,"struts":4,"misra-c2012":12,"backbone":3,"misra-c2004":19,"docker":2,"angularjs":1,"ejb":3,"jee":6,"chai":5,"mocha":3,"jquery":1,"assertj":7,"mockito":5,"msvc":1,"swing":1,"deadlock":3,"async-await":7,"php-ini":6,"maven":9,"since-c++14":5,"c11":1,"gnu":3,"xsd":18,"localisation":4,"duplicate":1,"mef":3,"winforms":1,"event":1,"regex":39,"wpf":1,"xaml":1,"proficiency":5,"aws":34,"azure":24,"gcp":20,"rules":1,"react":39,"antipattern":1,"jsx":8,"yield":1,"django":1,"flask":1,"debug":1,"java7":1,"guava":1,"java9":2,"full-project":3,"ssl":2,"phishing":1,"java12":1,"dockerfile":11,"governor-limits":5,"java14":5,"since-c++17":23,"unittest":1,"java15":1,"since-c++20":64,"java16":12,"java10":1,"java17":1,"startup-time":2,"coroutines":12,"cwe-284":1,"javadoc":12,"java18":9,"floating-point":1,"numbers":1,"precision":1,"architecture":3,"async":1,"promise":1,"sans-top25-insecure":1,"enum":2,"object":1,"string":1,"shell":1,"assertion":1,"function":1,"type":1,"es2020":1,"nullish-coalescing":1,"Gradle":2,"gradle":10,"es2022":1,"es2018":1,"jspecify":1,"nullability":1,"data-science":19,"numpy":12,"pandas":8,"assembler":1},"qualityProfiles":{"Sonar way":2188,"Drupal":1}}
2 changes: 1 addition & 1 deletion rules/rule-index-store.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion rules/rule-index.json

Large diffs are not rendered by default.

0 comments on commit fb817e3

Please sign in to comment.