CSAF-VALIDATOR(1p)
β¨ NAME β¨
okay bestie so <pink>csaf-validator</pink> is literally the CSAF Validator π β it's a lil command-line girly that checks your CSAF documents and yells at you (politely, in brackets) when something's off. this is a 1p page from the User Contributed Perl Documentation section, so yes, it's Perl, and yes, she's serving π«Ά
πΈ SYNOPSIS πΈ
the way she wants to be called, bestie:
csaf-validator --file PATH
csaf-validator [--help|--man|-v]
and the options she takes:
Options:
-f, --file PATH CSAF document path
--help Brief help message
--man Full documentation
-v, --version Print version
π DESCRIPTION π
"csaf-validator" β CSAF Validator. that's it, that's the whole description. she's an icon, she doesn't need to over-explain herself π
β¨
π OPTIONS π
-f,--file PATHβ the path to your CSAF document. point her at it and she'll do her thing π¦--helpβ gives you the brief, snack-sized help message. quick lil vibe check π--manβ serves you the full documentation, the whole main-character deep dive πβ¨-v,--versionβ prints the version. she'll tell you exactly which era of herself you're dealing with π
π EXAMPLES π
here's her in action, slaying (and reading) fr fr:
$ csaf-validator -f csaf-document.json
[error] /document/tracking/revision_history: Sorted Revision History (6.1.14 - mandatory)
[error] /document/tracking/version: Detected newer revision of document (6.1.16 - mandatory)
not her being all dramatic with two errors at once π but like, mandatory checks are mandatory, no cap.
and yes, she takes input from a pipe too, because she's flexible like that π«Ά
$ cat csaf-document.json | csaf-validator
[error] /product_tree/branches/0/branches/0/branches/name: Version Range in Product Version (6.1.31 - mandatory)
look at that nested path. /product_tree/branches/0/branches/0/branches/name really said "let me make your life difficult" and she caught it anyway π
π¦ SEE ALSO π¦
csaf-rolieβ go check out the sibling, she's cool too π
π AUTHOR π
Giuseppe Di Terlizzi <https://metacpan.org/author/gdt> β the mastermind, the moment, the legend π
π COPYRIGHT AND LICENSE π
Copyright Β© 2023-2025 Giuseppe Di Terlizzi <https://metacpan.org/author/gdt>
bestie this part matters so read it, don't skip: You may use and distribute this module according to the same terms that Perl is distributed under. same terms as Perl, periodt π
and that's a wrap, gorgeous β¨ this was CSAF-VALIDATOR(1p), served up by perl v5.40.1, dated 2025-09-03 π go validate something and slay π
π«Ά
π¦ where this page comes from
- ubuntu resolute: libcsaf-perl 0.26-1 Β· Artistic-2.0
- ubuntu stonking: libcsaf-perl 0.26-1 Β· Artistic-2.0
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms