CSAF::...veTests(3pm)
π NAME π
CSAF::Validator::InformativeTests β bestie, this is the lil Perl module that runs the informative CSAF checks for you π
β¨ SYNOPSIS β¨
use CSAF::Validator::InformativeTests;
my $v = CSAF::Validator::InformativeTests->new( csaf => $csaf );
$v->exec_test('6.3.11');
$v->TEST_6_3_11;
okay so that's literally the whole vibe: you build one, you hand it a csaf object, and then you either call exec_test with a test number as a string or just yell the method name directly π
πΈ DESCRIPTION πΈ
So here's the tea, bestie: informative tests are the checks that give you insights into common mistakes and bad practices. They MAY fail on a valid CSAF document. Not a glow-up moment, but also not the end of the world π«Ά.
And like β whether that's a problem is entirely up to the issuing party. You decide if it was intended behavior and can be ignored, or if it should be treated as a real issue. The module is not gonna make that call for you, periodt.
Here's the full roster of informative tests, and yes we're listing all of them because every single one matters:
6.3.1Use of CVSS v2 as the only Scoring System6.3.2Use of CVSS v3.06.3.3Missing CVE6.3.4Missing CWE6.3.5Use of Short Hash6.3.6Use of non-self referencing URLs Failing to Resolve (*)6.3.7Use of self referencing URLs Failing to Resolve (*)6.3.8Spell check (*)6.3.9Branch Categories6.3.10Usage of Product Version Range6.3.11Usage of V as Version Indicator
(*) ngl, these ones are actually not tested in this CSAF distribution. So like, don't come for them, they're just vibes. π
π¦ METHODS π¦
CSAF::Validator::InformativeTests inherits all methods from CSAF::Validator::Base and implements the following new ones. iykyk π
TEST_6_3_1β Use of CVSS v2 as the only Scoring SystemTEST_6_3_2β Use of CVSS v3_0TEST_6_3_3β Missing CVETEST_6_3_4β Missing CWETEST_6_3_5β Use of Short HashTEST_6_3_6β Use of non-self referencing URLs Failing to ResolveTEST_6_3_7β Use of self referencing URLs Failing to ResolveTEST_6_3_8β Spell check (*)TEST_6_3_9β Branch CategoriesTEST_6_3_10β Usage of Product Version RangeTEST_6_3_11β Usage of V as Version Indicator
π SUPPORT π
π Bugs / Feature Requests
Found a bug? Got a feature request? Please report any bugs or feature requests through the issue tracker at <https://github.com/giterlizzi/perl-CSAF/issues>. You will be notified automatically of any progress on your issue β so you don't gotta sit there refreshing like a main character waiting for a text back π
π¦ Source Code
This is open source software. The code repository is available for public review and contribution under the terms of the license.
<https://github.com/giterlizzi/perl-CSAF>
git clone https://github.com/giterlizzi/perl-CSAF.git
go off, clone it, it's giving open source excellence β¨
π AUTHOR π
- Giuseppe Di Terlizzi <gdt@cpan.org>
π LICENSE AND COPYRIGHT π
This software is copyright (c) 2023-2025 by Giuseppe Di Terlizzi.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself. slay π
and that's a wrap bestie!! this page was brought to you by perl v5.40.1 on 2025-09-03 β the CSAF::...veTests(3pm) page, lovingly annotated by your local unix girlie. stan the informative tests. bye!! π¦πΈπ
π¦ 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