Module Values.PackageVulnerabilityDetailsSource

Information about a package vulnerability finding.

Sourcetype nonrec t = {
  1. cvss : CvssScoreList.t option;
    (*

    An object that contains details about the CVSS score of a finding.

    *)
  2. referenceUrls : ReferenceUrlsList.t option;
    (*

    One or more URLs that contain details about this vulnerability type.

    *)
  3. relatedVulnerabilities : RelatedVulnerabilitiesList.t option;
    (*

    One or more vulnerabilities related to the one identified in this finding.

    *)
  4. source : Source.t option;
    (*

    The source of the vulnerability information.

    *)
  5. sourceUrl : Url.t option;
    (*

    A URL to the source of the vulnerability information.

    *)
  6. vendorCreatedAt : Date.t option;
    (*

    The date and time that this vulnerability was first added to the vendor's database.

    *)
  7. vendorSeverity : Severity.t option;
    (*

    The severity the vendor has given to this vulnerability type.

    *)
  8. vendorUpdatedAt : Date.t option;
    (*

    The date and time the vendor last updated this vulnerability in their database.

    *)
  9. vulnerabilityId : VulnerabilityId.t option;
    (*

    The ID given to this vulnerability.

    *)
  10. vulnerablePackages : VulnerablePackagesList.t option;
    (*

    The packages impacted by this vulnerability.

    *)
}
Sourceval make : ?cvss:??? -> ?referenceUrls:??? -> ?relatedVulnerabilities:??? -> ?source:??? -> ?sourceUrl:??? -> ?vendorCreatedAt:??? -> ?vendorSeverity:??? -> ?vendorUpdatedAt:??? -> ?vulnerabilityId:??? -> ?vulnerablePackages:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `List of [> `String of Url.t | `Structure of (string * [> `Double of BaseScore.t | `Integer of Epoch.t | `String of ScoringVector.t ]) list ] list | `String of Source.t | `Timestamp of Date.t ]) list ]
Sourceval to_query : t -> Awso.Client.Query.t
Sourceval of_xml : Awso.Xml.t -> t
Sourceval of_string : string -> t
Sourceval of_json : Yojson.Safe.t -> t
Sourceval to_json : t -> Yojson.Safe.t