Skip to main content
For fields that are exclusive to Semgrep AppSec Platform, you must sign in to generate values for those fields.

Semgrep Code

JSON

JSON top-level fields

These tables provide a partial overview of the fields available to Semgrep Community Edition (CE) and Semgrep AppSec Platform. Refer to the sample schema for all the fields.

results object

extra object

*lines refers to the text of the matched lines, not the line numbers themselves. See the results object to view line numbers.

metadata object

JSON example output

The following snippet is a JSON output example with all the fields for Semgrep Code.

SARIF

SARIF top-level fields

runs object

results object

SARIF example output

The following snippet is a SARIF output example with all the fields for Semgrep Code.

Semgrep Supply Chain

INFOYou must log in to Semgrep to scan with Semgrep Supply Chain.

JSON

JSON example output

The following snippet is a JSON output example with all the fields for Semgrep Supply Chain.

SARIF

SARIF example output

The following snippet is a SARIF output example with all the fields for Semgrep Supply Chain.