Module Values.VulnerablePackageSource

Information about a vulnerable package that Amazon Inspector identifies in a finding.

Sourcetype nonrec t = {
  1. name : NonEmptyString.t option;
    (*

    The name of the vulnerable package.

    *)
  2. version : NonEmptyString.t option;
    (*

    The version of the vulnerable package.

    *)
  3. sourceLayerHash : SourceLayerHash.t option;
    (*

    The source layer hash of the vulnerable package.

    *)
  4. epoch : PackageEpoch.t option;
    (*

    The epoch of the vulnerable package.

    *)
  5. release : NonEmptyString.t option;
    (*

    The release of the vulnerable package.

    *)
  6. arch : PackageArchitecture.t option;
    (*

    The architecture of the vulnerable package.

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

    The package manager of the vulnerable package.

    *)
  8. filePath : NonEmptyString.t option;
    (*

    The file path of the vulnerable package.

    *)
  9. fixedInVersion : NonEmptyString.t option;
    (*

    The version of the package that contains the vulnerability fix.

    *)
  10. remediation : NonEmptyString.t option;
    (*

    The code to run in your environment to update packages with a fix available.

    *)
}
Sourceval make : ?name:??? -> ?version:??? -> ?sourceLayerHash:??? -> ?epoch:??? -> ?release:??? -> ?arch:??? -> ?packageManager:??? -> ?filePath:??? -> ?fixedInVersion:??? -> ?remediation:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Integer of PackageEpoch.t | `String of NonEmptyString.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