class
Amazonite::Ssm::ComplianceItem
- Amazonite::Ssm::ComplianceItem
- Reference
- Object
Overview
Information about the compliance as defined by the resource type. For example, for a patch
resource type, Items includes information about the PatchSeverity, Classification, and so on.
Included Modules
- JSON::Serializable
Defined in:
ssm/compliance_item.crConstructors
- .new(pull : JSON::PullParser)
- .new(compliance_type : String | Nil = nil, resource_type : String | Nil = nil, resource_id : String | Nil = nil, id : String | Nil = nil, title : String | Nil = nil, status : ComplianceStatus | Nil = nil, severity : ComplianceSeverity | Nil = nil, execution_summary : ComplianceExecutionSummary | Nil = nil, details : Hash(String, String) | Nil = nil)
Instance Method Summary
-
#==(other : self)
Returns
trueif this reference is the same as other. -
#compliance_type : String | Nil
The compliance type.
-
#compliance_type=(compliance_type : String | Nil)
The compliance type.
-
#details : Hash(String, String) | Nil
A "Key": "Value" tag combination for the compliance item.
-
#details=(details : Hash(String, String) | Nil)
A "Key": "Value" tag combination for the compliance item.
-
#execution_summary : ComplianceExecutionSummary | Nil
A summary for the compliance item.
-
#execution_summary=(execution_summary : ComplianceExecutionSummary | Nil)
A summary for the compliance item.
-
#hash(hasher)
See
Object#hash(hasher) -
#id : String | Nil
An ID for the compliance item.
-
#id=(id : String | Nil)
An ID for the compliance item.
-
#resource_id : String | Nil
An ID for the resource.
-
#resource_id=(resource_id : String | Nil)
An ID for the resource.
-
#resource_type : String | Nil
The type of resource.
-
#resource_type=(resource_type : String | Nil)
The type of resource.
-
#severity : ComplianceSeverity | Nil
The severity of the compliance status.
-
#severity=(severity : ComplianceSeverity | Nil)
The severity of the compliance status.
-
#status : ComplianceStatus | Nil
The status of the compliance item.
-
#status=(status : ComplianceStatus | Nil)
The status of the compliance item.
-
#title : String | Nil
A title for the compliance item.
-
#title=(title : String | Nil)
A title for the compliance item.
- #validate! : Nil
Constructor Detail
Instance Method Detail
Returns true if this reference is the same as other. Invokes same?.
The compliance type. For example, Association (for a State Manager association), Patch, or
Custom:string are all valid compliance types.
The compliance type. For example, Association (for a State Manager association), Patch, or
Custom:string are all valid compliance types.
A "Key": "Value" tag combination for the compliance item.
A "Key": "Value" tag combination for the compliance item.
A summary for the compliance item. The summary includes an execution ID, the execution type (for example, command), and the execution time.
For State Manager associations, the ExecutionTime value represents when the compliance status
was captured and aggregated by the Systems Manager service, not necessarily when the underlying
association was executed on the managed node. State Manager updates compliance status for all
associations on an instance whenever any association executes, which means multiple associations
may show the same execution time even if they were executed at different times.
A summary for the compliance item. The summary includes an execution ID, the execution type (for example, command), and the execution time.
For State Manager associations, the ExecutionTime value represents when the compliance status
was captured and aggregated by the Systems Manager service, not necessarily when the underlying
association was executed on the managed node. State Manager updates compliance status for all
associations on an instance whenever any association executes, which means multiple associations
may show the same execution time even if they were executed at different times.
An ID for the compliance item. For example, if the compliance item is a Windows patch, the ID could be the number of the KB article; for example: KB4010320.
An ID for the compliance item. For example, if the compliance item is a Windows patch, the ID could be the number of the KB article; for example: KB4010320.
An ID for the resource. For a managed node, this is the node ID.
The type of resource. ManagedInstance is currently the only supported resource type.
The type of resource. ManagedInstance is currently the only supported resource type.
The severity of the compliance status. Severity can be one of the following: Critical, High, Medium, Low, Informational, Unspecified.
The severity of the compliance status. Severity can be one of the following: Critical, High, Medium, Low, Informational, Unspecified.
The status of the compliance item. An item is either COMPLIANT, NON_COMPLIANT, or an empty string (for Windows patches that aren't applicable).
The status of the compliance item. An item is either COMPLIANT, NON_COMPLIANT, or an empty string (for Windows patches that aren't applicable).
A title for the compliance item. For example, if the compliance item is a Windows patch, the title could be the title of the KB article for the patch; for example: Security Update for Active Directory Federation Services.
A title for the compliance item. For example, if the compliance item is a Windows patch, the title could be the title of the KB article for the patch; for example: Security Update for Active Directory Federation Services.