timesys.vigiles.reports module
- timesys.vigiles.reports.compare_reports(token_one, token_two, remove_whitelist=False, filter_results=False)
Access to this route requires a Vigiles prime subscription.
Get comparison between report token_one and report token_two
- Parameters
token_one (str) -- Token of the first CVE report
token_two (str) -- Token of the second CVE report
remove_whitelist (bool) -- Remove whitelisted CVEs from the report if True Default: False
filter_results (bool) -- Apply all filters to report if True, else only kernel and uboot config filters if configs have been uploaded. Default: False
- Returns
- Results of comparison with keys:
- resolved
List of CVEs resolved between the reports
- new
List new CVEs between the reports
- Return type
dict
- timesys.vigiles.reports.download_report(report_token, format=None, filter_results=False)
Access to this route requires a Vigiles prime subscription.
Get a CVE report as a file from the given report token
- Parameters
token (str) -- The token of the CVE report to download
format (str) -- What file format to return from the following: "csv", "pdf", "pdfsummary", "xlsx"
filter_results (bool) -- True to apply all configured filters to scan results, False to apply only kernel and uboot config filters, if configs have been uploaded. Default: False
- Returns
file data -- CVE Report data in bytes from the requested file type
- Return type
bytes