class
Amazonite::Ssm::InstancePatchState
- Amazonite::Ssm::InstancePatchState
- Reference
- Object
Overview
Defines the high-level patch compliance state for a managed node, providing information about the number of installed, missing, not applicable, and failed patches along with metadata about the operation when this information was gathered for the managed node.
Included Modules
- JSON::Serializable
Defined in:
ssm/instance_patch_state.crConstructors
- .new(instance_id : String, patch_group : String, baseline_id : String, operation_start_time : Time, operation_end_time : Time, operation : PatchOperationType, snapshot_id : String | Nil = nil, install_override_list : String | Nil = nil, owner_information : String | Nil = nil, installed_count : Int32 | Nil = nil, installed_other_count : Int32 | Nil = nil, installed_pending_reboot_count : Int32 | Nil = nil, installed_rejected_count : Int32 | Nil = nil, missing_count : Int32 | Nil = nil, failed_count : Int32 | Nil = nil, unreported_not_applicable_count : Int32 | Nil = nil, not_applicable_count : Int32 | Nil = nil, available_security_update_count : Int32 | Nil = nil, last_no_reboot_install_operation_time : Time | Nil = nil, reboot_option : RebootOption | Nil = nil, critical_non_compliant_count : Int32 | Nil = nil, security_non_compliant_count : Int32 | Nil = nil, other_non_compliant_count : Int32 | Nil = nil)
- .new(pull : JSON::PullParser)
Instance Method Summary
-
#==(other : self)
Returns
trueif this reference is the same as other. -
#available_security_update_count : Int32 | Nil
The number of security-related patches that are available but not approved because they didn't meet the patch baseline requirements.
-
#available_security_update_count=(available_security_update_count : Int32 | Nil)
The number of security-related patches that are available but not approved because they didn't meet the patch baseline requirements.
-
#baseline_id : String
The ID of the patch baseline used to patch the managed node.
-
#baseline_id=(baseline_id : String)
The ID of the patch baseline used to patch the managed node.
-
#critical_non_compliant_count : Int32 | Nil
The number of patches per node that are specified as
Criticalfor compliance reporting in the patch baseline aren't installed. -
#critical_non_compliant_count=(critical_non_compliant_count : Int32 | Nil)
The number of patches per node that are specified as
Criticalfor compliance reporting in the patch baseline aren't installed. -
#failed_count : Int32 | Nil
The number of patches from the patch baseline that were attempted to be installed during the last patching operation, but failed to install.
-
#failed_count=(failed_count : Int32 | Nil)
The number of patches from the patch baseline that were attempted to be installed during the last patching operation, but failed to install.
-
#hash(hasher)
See
Object#hash(hasher) -
#install_override_list : String | Nil
An https URL or an Amazon Simple Storage Service (Amazon S3) path-style URL to a list of patches to be installed.
-
#install_override_list=(install_override_list : String | Nil)
An https URL or an Amazon Simple Storage Service (Amazon S3) path-style URL to a list of patches to be installed.
-
#installed_count : Int32 | Nil
The number of patches from the patch baseline that are installed on the managed node.
-
#installed_count=(installed_count : Int32 | Nil)
The number of patches from the patch baseline that are installed on the managed node.
-
#installed_other_count : Int32 | Nil
The number of patches not specified in the patch baseline that are installed on the managed node.
-
#installed_other_count=(installed_other_count : Int32 | Nil)
The number of patches not specified in the patch baseline that are installed on the managed node.
-
#installed_pending_reboot_count : Int32 | Nil
The number of patches installed by Patch Manager since the last time the managed node was rebooted.
-
#installed_pending_reboot_count=(installed_pending_reboot_count : Int32 | Nil)
The number of patches installed by Patch Manager since the last time the managed node was rebooted.
-
#installed_rejected_count : Int32 | Nil
The number of patches installed on a managed node that are specified in a
RejectedPatcheslist. -
#installed_rejected_count=(installed_rejected_count : Int32 | Nil)
The number of patches installed on a managed node that are specified in a
RejectedPatcheslist. -
#instance_id : String
The ID of the managed node the high-level patch compliance information was collected for.
-
#instance_id=(instance_id : String)
The ID of the managed node the high-level patch compliance information was collected for.
-
#last_no_reboot_install_operation_time : Time | Nil
The time of the last attempt to patch the managed node with
NoRebootspecified as the reboot option. -
#last_no_reboot_install_operation_time=(last_no_reboot_install_operation_time : Time | Nil)
The time of the last attempt to patch the managed node with
NoRebootspecified as the reboot option. -
#missing_count : Int32 | Nil
The number of patches from the patch baseline that are applicable for the managed node but aren't currently installed.
-
#missing_count=(missing_count : Int32 | Nil)
The number of patches from the patch baseline that are applicable for the managed node but aren't currently installed.
-
#not_applicable_count : Int32 | Nil
The number of patches from the patch baseline that aren't applicable for the managed node and therefore aren't installed on the node.
-
#not_applicable_count=(not_applicable_count : Int32 | Nil)
The number of patches from the patch baseline that aren't applicable for the managed node and therefore aren't installed on the node.
-
#operation : PatchOperationType
The type of patching operation that was performed: or
-
#operation=(operation : PatchOperationType)
The type of patching operation that was performed: or
-
#operation_end_time : Time
The time the most recent patching operation completed on the managed node.
-
#operation_end_time=(operation_end_time : Time)
The time the most recent patching operation completed on the managed node.
-
#operation_start_time : Time
The time the most recent patching operation was started on the managed node.
-
#operation_start_time=(operation_start_time : Time)
The time the most recent patching operation was started on the managed node.
-
#other_non_compliant_count : Int32 | Nil
The number of patches per node that are specified as other than
CriticalorSecuritybut aren't compliant with the patch baseline. -
#other_non_compliant_count=(other_non_compliant_count : Int32 | Nil)
The number of patches per node that are specified as other than
CriticalorSecuritybut aren't compliant with the patch baseline. -
#owner_information : String | Nil
Placeholder information.
-
#owner_information=(owner_information : String | Nil)
Placeholder information.
-
#patch_group : String
The name of the patch group the managed node belongs to.
-
#patch_group=(patch_group : String)
The name of the patch group the managed node belongs to.
-
#reboot_option : RebootOption | Nil
Indicates the reboot option specified in the patch baseline.
-
#reboot_option=(reboot_option : RebootOption | Nil)
Indicates the reboot option specified in the patch baseline.
-
#security_non_compliant_count : Int32 | Nil
The number of patches per node that are specified as
Securityin a patch advisory aren't installed. -
#security_non_compliant_count=(security_non_compliant_count : Int32 | Nil)
The number of patches per node that are specified as
Securityin a patch advisory aren't installed. -
#snapshot_id : String | Nil
The ID of the patch baseline snapshot used during the patching operation when this compliance data was collected.
-
#snapshot_id=(snapshot_id : String | Nil)
The ID of the patch baseline snapshot used during the patching operation when this compliance data was collected.
-
#unreported_not_applicable_count : Int32 | Nil
The number of patches beyond the supported limit of
NotApplicableCountthat aren't reported by name to Inventory. -
#unreported_not_applicable_count=(unreported_not_applicable_count : Int32 | Nil)
The number of patches beyond the supported limit of
NotApplicableCountthat aren't reported by name to Inventory. - #validate! : Nil
Constructor Detail
Instance Method Detail
Returns true if this reference is the same as other. Invokes same?.
The number of security-related patches that are available but not approved because they didn't meet the patch baseline requirements. For example, an updated version of a patch might have been released before the specified auto-approval period was over.
Applies to Windows Server managed nodes only.
The number of security-related patches that are available but not approved because they didn't meet the patch baseline requirements. For example, an updated version of a patch might have been released before the specified auto-approval period was over.
Applies to Windows Server managed nodes only.
The ID of the patch baseline used to patch the managed node.
The number of patches per node that are specified as Critical for compliance reporting in the
patch baseline aren't installed. These patches might be missing, have failed installation, were
rejected, or were installed but awaiting a required managed node reboot. The status of these
managed nodes is NON_COMPLIANT.
The number of patches per node that are specified as Critical for compliance reporting in the
patch baseline aren't installed. These patches might be missing, have failed installation, were
rejected, or were installed but awaiting a required managed node reboot. The status of these
managed nodes is NON_COMPLIANT.
The number of patches from the patch baseline that were attempted to be installed during the last patching operation, but failed to install.
The number of patches from the patch baseline that were attempted to be installed during the last patching operation, but failed to install.
An https URL or an Amazon Simple Storage Service (Amazon S3) path-style URL to a list of patches
to be installed. This patch installation list, which you maintain in an S3 bucket in YAML format
and specify in the SSM document AWS-RunPatchBaseline, overrides the patches specified by the
default patch baseline.
For more information about the InstallOverrideList parameter, see SSM Command document for
patching: AWS-RunPatchBaseline
in the Amazon Web Services Systems Manager User Guide.
An https URL or an Amazon Simple Storage Service (Amazon S3) path-style URL to a list of patches
to be installed. This patch installation list, which you maintain in an S3 bucket in YAML format
and specify in the SSM document AWS-RunPatchBaseline, overrides the patches specified by the
default patch baseline.
For more information about the InstallOverrideList parameter, see SSM Command document for
patching: AWS-RunPatchBaseline
in the Amazon Web Services Systems Manager User Guide.
The number of patches from the patch baseline that are installed on the managed node.
The number of patches from the patch baseline that are installed on the managed node.
The number of patches not specified in the patch baseline that are installed on the managed node.
The number of patches not specified in the patch baseline that are installed on the managed node.
The number of patches installed by Patch Manager since the last time the managed node was rebooted.
The number of patches installed by Patch Manager since the last time the managed node was rebooted.
The number of patches installed on a managed node that are specified in a RejectedPatches
list. Patches with a status of InstalledRejected were typically installed before they were
added to a RejectedPatches list.
If ALLOW_AS_DEPENDENCY is the specified option for RejectedPatchesAction, the value of
InstalledRejectedCount will always be 0 (zero).
The number of patches installed on a managed node that are specified in a RejectedPatches
list. Patches with a status of InstalledRejected were typically installed before they were
added to a RejectedPatches list.
If ALLOW_AS_DEPENDENCY is the specified option for RejectedPatchesAction, the value of
InstalledRejectedCount will always be 0 (zero).
The ID of the managed node the high-level patch compliance information was collected for.
The ID of the managed node the high-level patch compliance information was collected for.
The time of the last attempt to patch the managed node with NoReboot specified as the reboot
option.
The time of the last attempt to patch the managed node with NoReboot specified as the reboot
option.
The number of patches from the patch baseline that are applicable for the managed node but aren't currently installed.
The number of patches from the patch baseline that are applicable for the managed node but aren't currently installed.
The number of patches from the patch baseline that aren't applicable for the managed node and
therefore aren't installed on the node. This number may be truncated if the list of patch names
is very large. The number of patches beyond this limit are reported in
UnreportedNotApplicableCount.
The number of patches from the patch baseline that aren't applicable for the managed node and
therefore aren't installed on the node. This number may be truncated if the list of patch names
is very large. The number of patches beyond this limit are reported in
UnreportedNotApplicableCount.
The type of patching operation that was performed: or
-
SCANassesses the patch compliance state. -
INSTALLinstalls missing patches.
The type of patching operation that was performed: or
-
SCANassesses the patch compliance state. -
INSTALLinstalls missing patches.
The time the most recent patching operation completed on the managed node.
The time the most recent patching operation completed on the managed node.
The time the most recent patching operation was started on the managed node.
The time the most recent patching operation was started on the managed node.
The number of patches per node that are specified as other than Critical or Security but
aren't compliant with the patch baseline. The status of these managed nodes is NON_COMPLIANT.
The number of patches per node that are specified as other than Critical or Security but
aren't compliant with the patch baseline. The status of these managed nodes is NON_COMPLIANT.
Placeholder information. This field will always be empty in the current release of the service.
Placeholder information. This field will always be empty in the current release of the service.
Indicates the reboot option specified in the patch baseline.
Reboot options apply to Install operations only. Reboots aren't attempted for Patch Manager
Scan operations.
-
RebootIfNeeded: Patch Manager tries to reboot the managed node if it installed any patches, or if any patches are detected with a status ofInstalledPendingReboot. -
NoReboot: Patch Manager attempts to install missing packages without trying to reboot the system. Patches installed with this option are assigned a status ofInstalledPendingReboot. These patches might not be in effect until a reboot is performed.
Indicates the reboot option specified in the patch baseline.
Reboot options apply to Install operations only. Reboots aren't attempted for Patch Manager
Scan operations.
-
RebootIfNeeded: Patch Manager tries to reboot the managed node if it installed any patches, or if any patches are detected with a status ofInstalledPendingReboot. -
NoReboot: Patch Manager attempts to install missing packages without trying to reboot the system. Patches installed with this option are assigned a status ofInstalledPendingReboot. These patches might not be in effect until a reboot is performed.
The number of patches per node that are specified as Security in a patch advisory aren't
installed. These patches might be missing, have failed installation, were rejected, or were
installed but awaiting a required managed node reboot. The status of these managed nodes is
NON_COMPLIANT.
The number of patches per node that are specified as Security in a patch advisory aren't
installed. These patches might be missing, have failed installation, were rejected, or were
installed but awaiting a required managed node reboot. The status of these managed nodes is
NON_COMPLIANT.
The ID of the patch baseline snapshot used during the patching operation when this compliance data was collected.
The ID of the patch baseline snapshot used during the patching operation when this compliance data was collected.
The number of patches beyond the supported limit of NotApplicableCount that aren't reported by
name to Inventory. Inventory is a tool in Amazon Web Services Systems Manager.
The number of patches beyond the supported limit of NotApplicableCount that aren't reported by
name to Inventory. Inventory is a tool in Amazon Web Services Systems Manager.