File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -84,6 +84,7 @@ socketcli \
8484| Use case | Recommended mode | Key flags |
8585| :--| :--| :--|
8686| Basic policy enforcement in CI | Diff-based policy check | ` --strict-blocking ` |
87+ | Legal/compliance artifact generation | Legal preset | ` --legal ` |
8788| Reachable-focused SARIF for reporting | Full-scope grouped SARIF | ` --reach --sarif-scope full --sarif-grouping alert --sarif-reachability reachable --sarif-file <path> ` |
8889| Detailed reachability export for investigations | Full-scope instance SARIF | ` --reach --sarif-scope full --sarif-grouping instance --sarif-reachability all --sarif-file <path> ` |
8990| Net-new PR findings only | Diff-scope SARIF | ` --reach --sarif-scope diff --sarif-reachability reachable --sarif-file <path> ` |
@@ -134,6 +135,19 @@ Run:
134135socketcli --config .socketcli.toml --target-path .
135136```
136137
138+ Legal/compliance preset example:
139+
140+ ``` bash
141+ socketcli --legal --target-path .
142+ ```
143+
144+ This preset enables license generation and writes default artifacts unless you override them:
145+ - ` socket-report.json `
146+ - ` socket-summary.txt `
147+ - ` socket-report-link.txt `
148+ - ` socket-sbom.json `
149+ - ` socket-license.json `
150+
137151Reference sample configs:
138152
139153TOML:
You can’t perform that action at this time.
0 commit comments