Skip to content

/AWS1/CL_SSMCOMPLIANCEITEM

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.

CONSTRUCTOR

IMPORTING

Optional arguments:

iv_compliancetype TYPE /AWS1/SSMCOMPLIANCETYPENAME /AWS1/SSMCOMPLIANCETYPENAME

The compliance type. For example, Association (for a State Manager association), Patch, or Custom:string are all valid compliance types.

iv_resourcetype TYPE /AWS1/SSMCPLNCRESOURCETYPE /AWS1/SSMCPLNCRESOURCETYPE

The type of resource. ManagedInstance is currently the only supported resource type.

iv_resourceid TYPE /AWS1/SSMCOMPLIANCERESOURCEID /AWS1/SSMCOMPLIANCERESOURCEID

An ID for the resource. For a managed node, this is the node ID.

iv_id TYPE /AWS1/SSMCOMPLIANCEITEMID /AWS1/SSMCOMPLIANCEITEMID

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.

iv_title TYPE /AWS1/SSMCOMPLIANCEITEMTITLE /AWS1/SSMCOMPLIANCEITEMTITLE

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.

iv_status TYPE /AWS1/SSMCOMPLIANCESTATUS /AWS1/SSMCOMPLIANCESTATUS

The status of the compliance item. An item is either COMPLIANT, NON_COMPLIANT, or an empty string (for Windows patches that aren't applicable).

iv_severity TYPE /AWS1/SSMCOMPLIANCESEVERITY /AWS1/SSMCOMPLIANCESEVERITY

The severity of the compliance status. Severity can be one of the following: Critical, High, Medium, Low, Informational, Unspecified.

io_executionsummary TYPE REF TO /AWS1/CL_SSMCPLNCEXECSUMMARY /AWS1/CL_SSMCPLNCEXECSUMMARY

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.

it_details TYPE /AWS1/CL_SSMCPLNCITEMDETAILS_W=>TT_COMPLIANCEITEMDETAILS TT_COMPLIANCEITEMDETAILS

A "Key": "Value" tag combination for the compliance item.


Queryable Attributes

ComplianceType

The compliance type. For example, Association (for a State Manager association), Patch, or Custom:string are all valid compliance types.

Accessible with the following methods

Method Description
GET_COMPLIANCETYPE() Getter for COMPLIANCETYPE, with configurable default
ASK_COMPLIANCETYPE() Getter for COMPLIANCETYPE w/ exceptions if field has no valu
HAS_COMPLIANCETYPE() Determine if COMPLIANCETYPE has a value

ResourceType

The type of resource. ManagedInstance is currently the only supported resource type.

Accessible with the following methods

Method Description
GET_RESOURCETYPE() Getter for RESOURCETYPE, with configurable default
ASK_RESOURCETYPE() Getter for RESOURCETYPE w/ exceptions if field has no value
HAS_RESOURCETYPE() Determine if RESOURCETYPE has a value

ResourceId

An ID for the resource. For a managed node, this is the node ID.

Accessible with the following methods

Method Description
GET_RESOURCEID() Getter for RESOURCEID, with configurable default
ASK_RESOURCEID() Getter for RESOURCEID w/ exceptions if field has no value
HAS_RESOURCEID() Determine if RESOURCEID has a value

Id

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.

Accessible with the following methods

Method Description
GET_ID() Getter for ID, with configurable default
ASK_ID() Getter for ID w/ exceptions if field has no value
HAS_ID() Determine if ID has a value

Title

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.

Accessible with the following methods

Method Description
GET_TITLE() Getter for TITLE, with configurable default
ASK_TITLE() Getter for TITLE w/ exceptions if field has no value
HAS_TITLE() Determine if TITLE has a value

Status

The status of the compliance item. An item is either COMPLIANT, NON_COMPLIANT, or an empty string (for Windows patches that aren't applicable).

Accessible with the following methods

Method Description
GET_STATUS() Getter for STATUS, with configurable default
ASK_STATUS() Getter for STATUS w/ exceptions if field has no value
HAS_STATUS() Determine if STATUS has a value

Severity

The severity of the compliance status. Severity can be one of the following: Critical, High, Medium, Low, Informational, Unspecified.

Accessible with the following methods

Method Description
GET_SEVERITY() Getter for SEVERITY, with configurable default
ASK_SEVERITY() Getter for SEVERITY w/ exceptions if field has no value
HAS_SEVERITY() Determine if SEVERITY has a value

ExecutionSummary

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.

Accessible with the following methods

Method Description
GET_EXECUTIONSUMMARY() Getter for EXECUTIONSUMMARY

Details

A "Key": "Value" tag combination for the compliance item.

Accessible with the following methods

Method Description
GET_DETAILS() Getter for DETAILS, with configurable default
ASK_DETAILS() Getter for DETAILS w/ exceptions if field has no value
HAS_DETAILS() Determine if DETAILS has a value

Public Local Types In This Class

Internal table types, representing arrays and maps of this class, are defined as local types:

TT_COMPLIANCEITEMLIST

TYPES TT_COMPLIANCEITEMLIST TYPE STANDARD TABLE OF REF TO /AWS1/CL_SSMCOMPLIANCEITEM WITH DEFAULT KEY
.