.TH CSAF_VALIDATOR 1 "2026-10-26" "csaf-tools" "CSAF tools"
.SH NAME
csaf_validator \- validate local CSAF advisory files
.SH SYNOPSIS
.B csaf_validator
.RI [ OPTIONS ]\ files ...
.SH DESCRIPTION
Validates each file against the CSAF 2.0 JSON schema and, if one is
configured, against a remote validation service.
.PP
The schema comes from the
.B csaf\-oasis\-schemas
package. Without it the tool cannot validate anything and reports the
missing schema file.
.SH EXIT STATUS
Zero when every file is valid. Otherwise the bits of the exit status say
what happened: 1 a general error, 2 schema validation failed, 4 no remote
validator was configured, 8 remote validation failed.
.SH OPTIONS
.B \-\-help
lists all options:
.BR \-\-validator ,
.BR \-\-validator_cache ,
.B \-\-validator_preset
and
.BR \-o ", " \-\-output .
.SH SEE ALSO
.BR csaf_downloader (1),
.BR csaf_checker (1),
.I /usr/share/doc/csaf-tools/csaf_validator.md
