Skip to content
FendixDocumentationDocs

.fendix.yaml · SEC-001 · SARIF

Current release v3.7.0
ReferenceStablev3.7.0

import

Import SARIF reports from other scanners and gate/report on them

On this page

Import one or more SARIF 2.1.0 files and evaluate their findings through the Fendix decision pipeline.

Stable in v3.7.0

Syntax

terminal
fendix import <sarif-file> [<sarif-file>...] [flags]

Arguments and required inputs

Provide one or more SARIF paths; use - to read from stdin.

Examples

Import SARIF

terminal
fendix import semgrep.sarif --format json --output imported.json

Options

Scroll the table horizontally to inspect every column.

OptionTypeDefaultRequirementConfigurationEnvironmentDescription
--baselinestring—Optional——Path to a baseline (from --save-baseline) or JSON report; only occurrences not proven present in it are reported
--deescalate-testsbooltrueOptionalscan.deescalate_tests—Report findings in test/fixture code as INFO instead of WARN (evidence is preserved, never suppressed). Pass --deescalate-tests=false to treat test-code findings like production ones.
--enforce-confidencebooltrueOptionalscan.enforce_confidence—Only BLOCK a finding at or above --fail-on when its confidence band and evidence support it: LOW warns; MEDIUM needs an independent signal; HIGH needs an independent or self-evident signal. Pass --enforce-confidence=false to restore the legacy severity-only gate — findings that block only because of that relaxation are marked policy_override in the report.
--fail-onstring—Optionalfail_on—Exit 1 if a finding at this severity reaches BLOCK: CRITICAL, HIGH, MEDIUM, LOW (confidence gating applies — see --enforce-confidence)CRITICAL · HIGH · MEDIUM · LOW
-f, --formatstringjsonOptionalscan.format—Output format: json, html, sarif, pdfjson · html · sarif · pdf
--ignorestring—Optionalignore_path—Path to .fendix-ignore file
--langstringenOptional——HTML report language: en (default), ar (Arabic, RTL). Other formats stay English.en · ar
-o, --outputstring—Optional——Output file path (default: stdout)
--save-baselinestring—Optional——Save current findings, with every occurrence identity, to this path (baseline format v2)
--targetstring—Optional——Optional label stamped into report metadata (an import has no scanned target of its own)