--exclude-rule flag:
--exclude-rule flag requires the rule ID as a parameter. To retrieve this value:
1
Sign in to Semgrep AppSec Platform, and go to Supply Chain.
2
Select the finding whose details you want to view:
- If the default Group by Rule is enabled, click the 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.
3
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.