Module Values_0.PatchSource

Represents metadata about a patch.

Sourcetype nonrec t = {
  1. id : PatchId.t option;
    (*

    The ID of the patch. Applies to Windows patches only. This ID isn't the same as the Microsoft Knowledge Base ID.

    *)
  2. releaseDate : DateTime.t option;
    (*

    The date the patch was released.

    *)
  3. title : PatchTitle.t option;
    (*

    The title of the patch.

    *)
  4. description : PatchDescription.t option;
    (*

    The description of the patch.

    *)
  5. contentUrl : PatchContentUrl.t option;
    (*

    The URL where more information can be obtained about the patch.

    *)
  6. vendor : PatchVendor.t option;
    (*

    The name of the vendor providing the patch.

    *)
  7. productFamily : PatchProductFamily.t option;
    (*

    The product family the patch is applicable for. For example, Windows or Amazon Linux 2.

    *)
  8. product : PatchProduct.t option;
    (*

    The specific product the patch is applicable for. For example, WindowsServer2016 or AmazonLinux2018.03.

    *)
  9. classification : PatchClassification.t option;
    (*

    The classification of the patch. For example, SecurityUpdates, Updates, or CriticalUpdates.

    *)
  10. msrcSeverity : PatchMsrcSeverity.t option;
    (*

    The severity of the patch, such as Critical, Important, or Moderate. Applies to Windows patches only.

    *)
  11. kbNumber : PatchKbNumber.t option;
    (*

    The Microsoft Knowledge Base ID of the patch. Applies to Windows patches only.

    *)
  12. msrcNumber : PatchMsrcNumber.t option;
    (*

    The ID of the Microsoft Security Response Center (MSRC) bulletin the patch is related to. For example, MS14-045. Applies to Windows patches only.

    *)
  13. language : PatchLanguage.t option;
    (*

    The language of the patch if it's language-specific.

    *)
  14. advisoryIds : PatchAdvisoryIdList.t option;
    (*

    The Advisory ID of the patch. For example, RHSA-2020:3779. Applies to Linux-based managed nodes only.

    *)
  15. bugzillaIds : PatchBugzillaIdList.t option;
    (*

    The Bugzilla ID of the patch. For example, 1600646. Applies to Linux-based managed nodes only.

    *)
  16. cVEIds : PatchCVEIdList.t option;
    (*

    The Common Vulnerabilities and Exposures (CVE) ID of the patch. For example, CVE-2011-3192. Applies to Linux-based managed nodes only.

    *)
  17. name : PatchName.t option;
    (*

    The name of the patch. Applies to Linux-based managed nodes only.

    *)
  18. epoch : PatchEpoch.t option;
    (*

    The epoch of the patch. For example in pkg-example-EE-20180914-2.2.amzn1.noarch, the epoch value is 20180914-2. Applies to Linux-based managed nodes only.

    *)
  19. version : PatchVersion.t option;
    (*

    The version number of the patch. For example, in example-pkg-1.710.10-2.7.abcd.x86_64, the version number is indicated by -1. Applies to Linux-based managed nodes only.

    *)
  20. release : PatchRelease.t option;
    (*

    The particular release of a patch. For example, in pkg-example-EE-20180914-2.2.amzn1.noarch, the release is 2.amaz1. Applies to Linux-based managed nodes only.

    *)
  21. arch : PatchArch.t option;
    (*

    The architecture of the patch. For example, in example-pkg-0.710.10-2.7.abcd.x86_64, the architecture is indicated by x86_64. Applies to Linux-based managed nodes only.

    *)
  22. severity : PatchSeverity.t option;
    (*

    The severity level of the patch. For example, CRITICAL or MODERATE.

    *)
  23. repository : PatchRepository.t option;
    (*

    The source patch repository for the operating system and version, such as trusty-security for Ubuntu Server 14.04 LTE and focal-security for Ubuntu Server 20.04 LTE. Applies to Linux-based managed nodes only.

    *)
}
Sourceval make : ?id:??? -> ?releaseDate:??? -> ?title:??? -> ?description:??? -> ?contentUrl:??? -> ?vendor:??? -> ?productFamily:??? -> ?product:??? -> ?classification:??? -> ?msrcSeverity:??? -> ?kbNumber:??? -> ?msrcNumber:??? -> ?language:??? -> ?advisoryIds:??? -> ?bugzillaIds:??? -> ?cVEIds:??? -> ?name:??? -> ?epoch:??? -> ?version:??? -> ?release:??? -> ?arch:??? -> ?severity:??? -> ?repository:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Integer of PatchEpoch.t | `List of [> `String of PatchAdvisoryId.t ] list | `String of PatchId.t | `Timestamp of DateTime.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