Module Values.PackageVulnerabilityDetailsSource

Information about package vulnerability findings.

Sourcetype nonrec t = {
  1. vulnerabilityId : VulnerabilityId.t option;
    (*

    A unique identifier for this vulnerability.

    *)
  2. vulnerablePackages : VulnerablePackageList.t option;
    (*

    The packages that this vulnerability impacts.

    *)
  3. source : NonEmptyString.t option;
    (*

    The source of the vulnerability information.

    *)
  4. cvss : CvssScoreList.t option;
    (*

    CVSS scores for one or more vulnerabilities that Amazon Inspector identified for a package.

    *)
  5. relatedVulnerabilities : VulnerabilityIdList.t option;
    (*

    Vulnerabilities that are often related to the findings for the package.

    *)
  6. sourceUrl : NonEmptyString.t option;
    (*

    A link to the source of the vulnerability information.

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

    The severity that the vendor assigned to this vulnerability type.

    *)
  8. vendorCreatedAt : DateTimeTimestamp.t option;
    (*

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

    *)
  9. vendorUpdatedAt : DateTimeTimestamp.t option;
    (*

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

    *)
  10. referenceUrls : NonEmptyStringList.t option;
    (*

    Links to web pages that contain details about the vulnerabilities that Amazon Inspector identified for the package.

    *)
}
Sourceval make : ?vulnerabilityId:??? -> ?vulnerablePackages:??? -> ?source:??? -> ?cvss:??? -> ?relatedVulnerabilities:??? -> ?sourceUrl:??? -> ?vendorSeverity:??? -> ?vendorCreatedAt:??? -> ?vendorUpdatedAt:??? -> ?referenceUrls:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `List of [> `String of VulnerabilityId.t | `Structure of (string * [> `Double of NonNegativeDouble.t | `Integer of PackageEpoch.t | `String of NonEmptyString.t ]) list ] list | `String of VulnerabilityId.t | `Timestamp of DateTimeTimestamp.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