NAME

NIST::NVD::Update - Update local cache of vulnerabilities from XML file

VERSION

Version 0.10

SYNOPSIS

use NIST::NVD::Query;

# use convert_nvdcve to generate these files from the XML dumps at
# http://nvd.nist.gov/download.cfm

my $u = NIST::NVD::Update->new(
    store => $some_store,
    %args
);

SUBROUTINES/METHODS

new

# See NIST::NVD::Storage::DB_File for an example
my $NVD_Updater = NIST::NVD::Update->new( store => $store_type, %args );

put_cve_idx_cpe

my $result = put_cve_idx_cpe ( $cpe_urn, $cve_list )

put_cwe_idx_cpe

my $result = put_cwe_idx_cpe ( $cpe_urn, $cwe_id )

put_cpe

my $result = put_cpe ( $cpe_urn )

put_nvd_entries

 my $N = lots();

 my $result = put_nvd_entries ( { NVD_ID0 => $data_about_NVD_ID[0],
																	NVD_ID1 => $data_about_NVD_ID[1],
#																	...
																	"NVD_ID$N" => $data_about_NVD_ID[$N],
 } )

put_cwe_data

my $N = lots();

my $result = put_cwe_data ( { CWE_ID0 => $data_about_CWE_ID[0],
                              CWE_ID1 => $data_about_CWE_ID[1],
#                              ...
                              "CWE_ID$N" => $data_about_CWE_ID[$N],
} )

AUTHOR

C.J. Adams-Collier, <cjac at f5.com>

BUGS

Please report any bugs or feature requests to bug-nist-nvd-update at rt.cpan.org, or through the web interface at http://rt.cpan.org/NoAuth/ReportBug.html?Queue=NIST-NVD-Update. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.

SUPPORT

You can find documentation for this module with the perldoc command.

perldoc NIST::NVD::Update

You can also look for information at:

ACKNOWLEDGEMENTS

LICENSE AND COPYRIGHT

Copyright 2012 C.J. Adams-Collier.

This program is released under the following license: f5 internal