Skip to content

Commit 9ded636

Browse files
committed
Add JSON config examples for reference
Signed-off-by: lelia <lelia@socket.dev>
1 parent e0c766d commit 9ded636

File tree

4 files changed

+34
-0
lines changed

4 files changed

+34
-0
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ scripts/*.py
1515
*.json
1616
*.sarif
1717
!tests/**/*.json
18+
!examples/config/*.json
1819
markdown_overview_temp.md
1920
markdown_security_temp.md
2021
.DS_Store
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
{
2+
"socketcli": {
3+
"reach": true,
4+
"sarif_scope": "full",
5+
"sarif_grouping": "alert",
6+
"sarif_reachability": "reachable",
7+
"sarif_file": "sarif-dashboard-parity-reachable.sarif",
8+
"disable_blocking": true,
9+
"repo": "example-repo"
10+
}
11+
}
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
{
2+
"socketcli": {
3+
"reach": true,
4+
"sarif_scope": "diff",
5+
"sarif_grouping": "instance",
6+
"sarif_reachability": "reachable",
7+
"sarif_file": "sarif-diff-reachable.sarif",
8+
"strict_blocking": true,
9+
"repo": "example-repo"
10+
}
11+
}
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
{
2+
"socketcli": {
3+
"reach": true,
4+
"sarif_scope": "full",
5+
"sarif_grouping": "instance",
6+
"sarif_reachability": "all",
7+
"sarif_file": "sarif-full-instance-all.sarif",
8+
"disable_blocking": true,
9+
"repo": "example-repo"
10+
}
11+
}

0 commit comments

Comments
 (0)