Skip to content

Commit 0ef409f

Browse files
committed
correct linkages
1 parent c334cb5 commit 0ef409f

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

docs/secure-guardrails/custom-guardrails-rules.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ The following table lists the relevant documentation for each step:
3131
| Create a custom rule | In addition to the **[required fields](/writing-rules/rule-syntax#required)** of a Semgrep rule, the following metadata fields are useful: <ul><li>`category`</li><li>`confidence`</li><li>`likelihood`</li><li>`impact`</li><li>`subcategory`</li></ul>Filling out `confidence` and `impact` in particular is useful for filtering rules within the Semgrep web app.<br /><br />Read the [metadata reference documentation](/contributing/contributing-to-semgrep-rules-repository#including-fields-required-by-security-category). |
3232
| Verify that the rule matches as intended | <ul><li>See [Testing rules](/writing-rules/testing-rules).</li><li>Enable [Code search (beta)](/semgrep-code/editor#code-search-beta) to test the rule on live repositories.</li></ul> |
3333
| Optional: Set the rule as a secure default | When creating a custom secure default, you must use `category: security` and `subcategory: secure default` values in your rule (see [Secure default snippet](#secure-default-snippet)). |
34-
| Deploy the rule as a guardrail | For PR or MR comments: <ul><li>[Ensure that PR or MR comments have been set up correctly.](/category/pr-or-mr-comments)</li><li>Set the rule to [Comment or Block mode](/semgrep-code/policies#block-a-pr-or-mr-through-rule-modes).</li></ul><p>For IDEs: Require developers to install the [Semgrep extension for their IDE](/extensions/overview).</p><p>For `pre-commit`: [Install and configure Semgrep for `pre-commit`](/extensions/overview#pre-commit).</p> |
34+
| Deploy the rule as a guardrail | For PR or MR comments: <ul><li>[Ensure that PR or MR comments have been set up correctly.](/category/pr-or-mr-comments)</li><li>Set the rule to [Comment or Block mode](/semgrep-code/policies#block-a-pr-or-mr-through-rule-modes).</li></ul><p>For IDEs: Require developers to install the [Semgrep extension for their IDE](/extensions/overview).</p><p>For `pre-commit`: [Install and configure Semgrep for `pre-commit`](/extensions/pre-commit).</p> |
3535

3636

3737
### Secure default snippet

docs/semgrep-pro-vs-oss.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -278,7 +278,7 @@ This section provides a comprehensive comparison of each offering's features.
278278
- [Local scans](/getting-started/cli-oss)
279279
- [Manual CI job set up](/deployment/oss-deployment)
280280
- [IDE plugins](/extensions/overview)
281-
- [`pre-commit`](/extensions/overview#pre-commit)
281+
- [`pre-commit`](/extensions/pre-commit)
282282

283283
</div>
284284
<div>

0 commit comments

Comments
 (0)