> ## Documentation Index
> Fetch the complete documentation index at: https://docs.semgrep.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# How to exclude a Semgrep Supply Chain rule from a scan

To troubleshoot a problematic rule or to remove a rule that's too noisy, you can exclude a specific rule from being run during a Semgrep Supply Chain scan using the `--exclude-rule` flag:

```bash theme={null}
semgrep ci --exclude-rule <rule_ID>
```

The `--exclude-rule` flag requires the rule ID as a parameter. To retrieve this value:

<Steps>
  <Step>
    Sign in to [<Icon icon="arrow-up-right-from-square" /> Semgrep AppSec Platform](https://semgrep.dev/login), and go to **Supply Chain**.
  </Step>

  <Step>
    Select the finding whose details you want to view:

    * If the default **Group by Rule** is enabled, click the <Icon icon="copy" /> **Details** icon on the card of the finding.
    * If the **No grouping** view is enabled, click the **header hyperlink** on the card of the finding.
  </Step>

  <Step>
    Scroll to the **Pattern** panel, and click **Rule** to change the view. The rule `id` is listed in row 1 and begins with the `ssc` prefix.
  </Step>
</Steps>
