Module Values.VulnerablePackageSource

Information on the vulnerable package identified by a finding.

Sourcetype nonrec t = {
  1. arch : Arch.t option;
    (*

    The architecture of the vulnerable package.

    *)
  2. epoch : Epoch.t option;
    (*

    The epoch of the vulnerable package.

    *)
  3. filePath : FilePath.t option;
    (*

    The file path of the vulnerable package.

    *)
  4. name : VulnerablePackageName.t option;
    (*

    The name of the vulnerable package.

    *)
  5. packageManager : PackageManager.t option;
    (*

    The package manager of the vulnerable package.

    *)
  6. release : Release.t option;
    (*

    The release of the vulnerable package.

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

    The source layer hash of the vulnerable package.

    *)
  8. version : Version.t option;
    (*

    The version of the vulnerable package.

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

    The version of the package that contains the vulnerability fix.

    *)
}
Sourceval make : ?arch:Arch.t -> ?epoch:Epoch.t -> ?filePath:FilePath.t -> ?name:VulnerablePackageName.t -> ?packageManager:PackageManager.t -> ?release:Release.t -> ?sourceLayerHash:SourceLayerHash.t -> ?version:Version.t -> ?fixedInVersion:FixedInVersion.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Integer of Epoch.t | `String of Arch.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