Intel471Ex.Vulnerabilities (intel471_ex v0.1.0)

Functions for working with the Vulnerabilities API endpoints.

Summary

Functions

Search vulnerability reports (CVEs) using filter criteria.

Get a CVE report by UID.

Functions

cve_reports(params)

@spec cve_reports(map()) :: {:ok, map()} | {:error, any()}

Search vulnerability reports (CVEs) using filter criteria.

Parameters

  • params: A map of query parameters for filtering CVE reports
    • :cveReport - Free text CVE reports search
    • :cveType - Search CVE reports by type
    • :cveStatus - Search CVE reports by status
    • :cveName - Search CVE reports by name
    • :riskLevel - Search CVE reports by risk level (high, medium, low)
    • :patchStatus - Search CVE reports by patch status
    • :vendorName - Search CVE reports by vendor name
    • :productName - Search CVE reports by product name

get_cve_report(uid)

@spec get_cve_report(String.t()) :: {:ok, map()} | {:error, any()}

Get a CVE report by UID.

Parameters

  • config: A Intel471Ex.Config struct with authentication details
  • uid: The unique identifier of the CVE report