Skip to main content

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

FieldSemgrep CESemgrep AppSec Platform
errors
interfile_languages_used
paths
resultsSee results object
skipped_rules
version

results object

FieldSemgrep CESemgrep AppSec Platform
check_id
end
extraSee extra object
skipped_rules
start
paths

extra object

FieldSemgrep CESemgrep AppSec Platform
engine_kind
fingerprint
fix
is_ignored
lines
message
metadataSee metadata object
metavars
severity
validation_state(for Secrets scans only)

metadata object

FieldSemgrep CESemgrep AppSec Platform
category
confidence
cwe
impact
license
likelihood
owasp
references
semgrep.dev
semgrep.policy
shortlink
source
subcategory
technology
vulnerability_class

SARIF

FieldSemgrep CESemgrep AppSec Platform
$schema
runsSee runs object
version

runs object

FieldSemgrep CESemgrep AppSec Platform
invocations
resultsSee results object
rules
semanticVersion

results object

FieldSemgrep CESemgrep AppSec Platform
fingerprints
locations
message
properties
ruleId

Not finding what you need in this doc? Ask questions in our Community Slack group, or see Support for other ways to get help.