Skip to content

Commit 62bd29f

Browse files
authored
update ssc policies with note on default behavior (#1925)
* update with default behavior * refine
1 parent 92166cd commit 62bd29f

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed

docs/semgrep-supply-chain/getting-started.md

+5-1
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ Semgrep Supply Chain supports the scanning of monorepos. As outlined in [Project
138138

139139
Semgrep can help block pull requests (PRs) or merge requests (MRs) when it matches a blocking finding. When one or more findings is blocking, Semgrep returns exit code `1`, and you can use this result to set up additional checks to enforce a block in your CI/CD pipeline, such as not allowing merge of the PR/MR. This action applies to full and [diff-aware scans](/semgrep-code/glossary#diff-aware-scan).
140140

141-
Semgrep Supply Chain versions **v0.122.0** and earlier automatically aided in blocking pull/merge requests if it discovered reachable findings in the code, but later versions do not do this. You can, however, configure Semgrep Supply Chain to help block scans whenever all of the following conditions are met:
141+
You can configure Semgrep Supply Chain to help block scans whenever all of the following conditions are met:
142142

143143
* It detects reachable findings in direct dependencies
144144
* The reachable findings are of critical or high severity
@@ -151,3 +151,7 @@ To enable **Scan Blocking**:
151151
3. Click **<i class="fa-solid fa-toggle-large-on"></i> Scan Blocking**.
152152

153153
Alternatively, you can configure your version control system to prevent merging if Semgrep Supply Chain identifies reachable findings.
154+
155+
:::tip
156+
Policies for Semgrep Supply Chain is now in private beta. See [Manage policies](/semgrep-supply-chain/policies) for more information.
157+
:::

docs/semgrep-supply-chain/policies.md

+3-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,9 @@ tags:
1010

1111
# Manage policies (beta)
1212

13-
Use Supply Chain policies to define the conditions in which developers are **notified** of a finding through a comment, or potentially **blocked** from merging their pull or merge request (PR or MR). This feature helps you manage noise and ensures that developers are only notified or potentially blocked based on the conditions you set.
13+
By default, Semgrep AppSec Platform collects Supply Chain findings without notifying developers, similar to the [**Monitor** mode](/semgrep-code/policies#block-a-pr-or-mr-through-rule-modes) in Semgrep Code. This prevents developers from receiving notifications while you evaluate the tool.
14+
15+
Once you are ready to to notify developers through a **comment**, or potentially **block** them from merging a pull or merge request (PR or MR), define a **Supply Chain policy**. This feature helps you manage noise and ensures that developers are only notified or potentially blocked based on the conditions you set.
1416

1517
This feature enables you to configure the following:
1618

0 commit comments

Comments
 (0)