Semgrep JSON and SARIF fields
This reference provides all Semgrep fields for JSON and SARIF output.
For fields that are exclusive to Semgrep AppSec Platform, you must sign in to generate values for those fields.
JSON
| Field | Semgrep CE | Semgrep AppSec Platform |
|---|
errors | ✅ | ✅ |
interfile_languages_used | ❌ | ✅ |
paths | ✅ | ✅ |
results | See results object |
skipped_rules | ✅ | ✅ |
version | ✅ | ✅ |
results object
| Field | Semgrep CE | Semgrep AppSec Platform |
|---|
check_id | ✅ | ✅ |
end | ✅ | ✅ |
extra | See extra object |
skipped_rules | ✅ | ✅ |
start | ✅ | ✅ |
paths | ✅ | ✅ |
| Field | Semgrep CE | Semgrep AppSec Platform |
|---|
engine_kind | ✅ | ✅ |
fingerprint | ❌ | ✅ |
fix | ✅ | ✅ |
is_ignored | ❌ | ✅ |
lines* | ❌ | ✅ |
message | ✅ | ✅ |
metadata | See metadata object |
metavars | ❌ | ✅ |
severity | |