logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

CSAF::Util::CVSS - CVSS utility for CSAF

Author

       •   Giuseppe Di Terlizzi <gdt@cpan.org>

Description

       CVSS utility for CSAF.

   FUNCTIONS
       decode_cvss_vector_string
           Decode the provided CVSS (v2.0 or v3.x) vector string.

               my $decoded = decode_cvss_vector_string('CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:L/E:F/RL:O/RC:C');

               say $decoded->{attackVector}; # LOCAL

Name

       CSAF::Util::CVSS - CVSS utility for CSAF

Support

Bugs/FeatureRequests
       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.

   SourceCode
       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

Synopsis

           use CSAF::Util::CVSS qw(decode_cvss_vector_string);

           say Dumper(decode_cvss_vector_string('CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:L/E:F/RL:O/RC:C'));

See Also