Skip to content

Commit

Permalink
docs(rules): some updates for new languages (#1342)
Browse files Browse the repository at this point in the history
  • Loading branch information
gotbadger committed Oct 19, 2023
1 parent 9417ded commit 4fb39a7
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 8 deletions.
14 changes: 13 additions & 1 deletion docs/reference/rules.njk
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ Rules are ways to detect security risks and vulnerabilities across your codebase

The built-in rules aim to keep you protected from the most critical security risks and vulnerabilities of web applications and include corresponding [Common Weakness Enumeration](https://cwe.mitre.org/data/index.html) (CWE) and [OWASP](https://owasp.org/Top10) links to help you identify them.

Don't find a rule you are looking for? You can develop a [custom rule](https://docs.bearer.com/guides/custom-rule/) that allow you to add specific requirements to suit your organization's needs.
Don't find a rule you are looking for? You can develop a [custom rule](https://docs.bearer.com/guides/custom-rule/) that allow you to add specific requirements to suit your organization's needs.

{% endrenderTemplate %}

Expand Down Expand Up @@ -37,6 +37,18 @@ Don't find a rule you are looking for? You can develop a [custom rule](https://d
<input type="checkbox" name="lang-java" id="lang-java" class='filter-toggle' value="java_">
<label for="lang-java" class="toggle-label">Java</label>
</li>
<li>
<input type="checkbox" name="lang-php" id="lang-php" class='filter-toggle' value="php_">
<label for="lang-php" class="toggle-label">PHP</label>
</li>
<li>
<input type="checkbox" name="lang-php" id="lang-go" class='filter-toggle' value="go_">
<label for="lang-go" class="toggle-label">Go</label>
</li>
<li>
<input type="checkbox" name="lang-python" id="lang-python" class='filter-toggle' value="python_">
<label for="lang-python" class="toggle-label">Python</label>
</li>
</ul>
</div>
<div class="js-filter-container relative">
Expand Down
10 changes: 3 additions & 7 deletions docs/reference/supported-languages.njk
Original file line number Diff line number Diff line change
Expand Up @@ -31,28 +31,24 @@ supportChart:
name: PHP
frameworks:
- Symfony
rules: false
rules: true
searchName: lang-php
searchTerm: php_
status: Beta
go:
name: Go
frameworks: []
rules: false
rules: true
searchName: lang-go
searchTerm: go_
status: Alpha
comment: Beta coming soon
comment_link: https://github.com/Bearer/bearer/issues/1302
python:
name: Python
frameworks: []
rules: false
rules: true
searchName: lang-python
searchTerm: python_
status: Alpha
comment: Beta coming soon
comment_link: https://github.com/Bearer/bearer/issues/1303

---
{% renderTemplate "liquid,md" %}
Expand Down

0 comments on commit 4fb39a7

Please sign in to comment.