Skip to content

Commit 2e7cf98

Browse files
authored
update instructions on turning off SSC comments (#2204)
1 parent 87cc18c commit 2e7cf98

File tree

5 files changed

+10
-14
lines changed

5 files changed

+10
-14
lines changed

docs/semgrep-appsec-platform/azure-pr-comments.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@ import DeploymentJourney from "/src/components/concept/_deployment-journey.mdx"
1515
import CommentTriggers from "/src/components/reference/_comment-triggers.mdx"
1616
import PrCommentsInSast from "/src/components/procedure/_pr-comments-in-sast.mdx"
1717
import PrCommentsInSecrets from "/src/components/procedure/_pr-comments-in-secrets.mdx"
18-
import DisableComments from "/src/components/procedure/_disable_ssc_pr_mr_comments.mdx"
1918
import TroubleshootingPrLinks from "/src/components/reference/_troubleshooting-pr-links.mdx"
2019
import NextAfterComments from "/src/components/procedure/_next-after-comments.mdx"
2120
import CommentsInSupplyChain from "/src/components/concept/_comments-in-supply-chain.md"

docs/semgrep-appsec-platform/bitbucket-cloud-pr-comments.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@ import CommentTriggers from "/src/components/reference/_comment-triggers.mdx"
2121
import ReceiveCommentsScm from "/src/components/procedure/_receive-comments-scm.mdx"
2222
import PrCommentsInSast from "/src/components/procedure/_pr-comments-in-sast.mdx"
2323
import PrCommentsInSecrets from "/src/components/procedure/_pr-comments-in-secrets.mdx"
24-
import DisableComments from "/src/components/procedure/_disable_ssc_pr_mr_comments.mdx"
2524
import CommentsInSupplyChain from "/src/components/concept/_comments-in-supply-chain.md"
2625

2726
<!-- vale on -->

docs/semgrep-appsec-platform/bitbucket-data-center-pr-comments.md

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@ import CommentTriggers from "/src/components/reference/_comment-triggers.mdx"
2121
import ReceiveCommentsScm from "/src/components/procedure/_receive-comments-scm.mdx"
2222
import PrCommentsInSast from "/src/components/procedure/_pr-comments-in-sast.mdx"
2323
import PrCommentsInSecrets from "/src/components/procedure/_pr-comments-in-secrets.mdx"
24-
import DisableComments from "/src/components/procedure/_disable_ssc_pr_mr_comments.mdx"
2524
import CommentsInSupplyChain from "/src/components/concept/_comments-in-supply-chain.md"
2625

2726
<!-- vale on -->
@@ -70,10 +69,6 @@ Confirm that you have the correct connection and access:
7069

7170
<CommentsInSupplyChain />
7271

73-
## Disable PR comments for Supply Chain findings
74-
75-
<DisableComments />
76-
7772
## Customize PR comments
7873

7974
<CustomComments comment_type="PR" link_type="Markdown and plaintext" />

docs/semgrep-supply-chain/policies.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,16 @@ Use the following recommendations to help you create policies. These guidelines
6969
- **Conditionally reachable findings**. The decision to show developers conditionally reachable findings may depend on weighing your compliance policies against showing developers more findings. Conditionally reachable findings typically require further investigation, manual triage, and ticketing.
7070
- **Critical and high EPSS probability**. There is a chance of these findings being exploited regardless of reachability.
7171

72+
### Turn off PR and MR comments
73+
74+
By default, Semgrep pull request (PR) and merge request (MR) comments include both Semgrep Code and Semgrep Supply Chain (SSC) findings information. However, if you would like to turn off PR or MR comments for reachable SSC findings, you can do so as follows:
75+
76+
1. Sign in to [Semgrep AppSec Platform](https://semgrep.dev/login).
77+
2. Go to [Rules & Policies > Policies > Supply Chain](https://semgrep.dev/orgs/-/policies/supply-chain).
78+
1. Click <i class="fa-solid fa-toggle-large-on"></i> **Comment on reachable Supply Chain findings** to turn off the SSC policy supporting comments.
79+
80+
> Turning off PR/MR comments doesn't turn off notifications regarding [license policy violations](/semgrep-supply-chain/license-compliance).
81+
7282
## Policy scopes
7383

7484
A policy's scope can consist of tags or projects, but not both. If you need to create a policy with both tags and projects, simply make another policy.

src/components/procedure/_disable_ssc_pr_mr_comments.mdx

Lines changed: 0 additions & 7 deletions
This file was deleted.

0 commit comments

Comments
 (0)