GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
CPAN::Audit::Filter(3) User Contributed Perl Documentation CPAN::Audit::Filter(3)

CPAN::Audit::Filter - manage the reports / CVEs to ignore

        use CPAN::Audit::Filter;
        my $filter = CPAN::Audit::Filter->new( exclude => $array_ref );
        my $query = CPAN::Audit::Query->new(...);
        my $advisories = $query->advisories_for( $distname, $version_range );
        foreach my $advisory ( $advisories->@* ) {
                next if $filter->excludes($advisory);
                ...
        }

new( exclude => ARRAYREF )

The values in the array ref for "exclude" are uppercased before they are stored.

  • excludes( $advisory )

    Returns true if this instance excludes either the ID or any of the CVEs for ADVISORY, a hash as returned by CPAN::Audit::Query. This hash has these keys:

            id       - a string, such as Some-Module-001
            cves - an array reference of CVE strings, such as CVE-2022-001
        

    The values extracted from the hash are uppercased before use.

  • ignored_count

    Return the count of the advisories that were ignored. Each ID or CVE value only counts once.

Copyright (C) 2022 Graham TerMarsch

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

2025-01-15 perl v5.40.2

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.