Skip to content

Commit

Permalink
πŸ“ Add README to producer/semgrep
Browse files Browse the repository at this point in the history
  • Loading branch information
flowirtz committed Jul 8, 2024
1 parent 53d6708 commit 04b4e89
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions components/producers/semgrep/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# Producer: Semgrep

This producer runs [the Semgrep CLI](https://semgrep.dev/docs/cli-reference) to produce SAST findings.

## Parameters

All parameters are optional. The producer works with the default configuration and uses the `"auto"` ruleset.

| Name | Type | Default | Description |
| ------------------------------- | -------- | ------------- | -------------------------------------------------------------------------------------- |
| `producer-semgrep-config-value` | `string` | `"auto"` | The config for the Semgrep producer. Passed directly to the CLI via `--config` |
| `producer-semgrep-rules-yaml` | `string` | `"rules: []"` | Additional rules passed to Semgrep https://semgrep.dev/docs/writing-rules/rule-syntax. |

0 comments on commit 04b4e89

Please sign in to comment.