Skip to main content

Crate get_cpe

Crate get_cpe 

Source

Functionsยง

create_cpe
Create the CPE from the list of arguments.
explain_cpe
Show an explanation details of a CPE according to the cpe string given as argument.
match_cpe
Matches a given Common Platform Enumeration (CPE) identifier against a query result and processes the matched products list.
search_with_keywords
Search the CPE that are corresponding to the given searching arguments. These arguments are embedded into a string vectors with the following sample form type: vec!["vmware".to_string(), "broadcom".to_string()]. This search method is corresponding to the CPE NVD REST API by searching by keyword. Each argument is considering has with a and operator.
show_cpe_values
Shows the values for a list of cpe.