Amazon EC2 instances managed by Systems Manager should have a patch compliance status of COMPLIANT after a patch installation
Severity: High
Resource Types: AWS::SSM::PatchCompliance
Description
This control checks whether the compliance status of the Amazon EC2 Systems Manager patch compliance is COMPLIANT
or NON_COMPLIANT
after the patch installation on the instance. It only checks instances that are managed by Systems Manager Patch Manager.
Having your EC2 instances fully patched as required by your organization reduces the attack surface of your AWS accounts.
Remediation
To remediate this issue, install the required patches on your noncompliant instances.
To remediate noncompliant patches
- Open the AWS Systems Manager console.
- Under
Instances & Nodes
, chooseRun Command
and then chooseRun command
. - Choose the button next to
AWS-RunPatchBaseline
. - Change the
Operation
toInstall
. - Choose
Choose instances manually
and then choose the noncompliant instances. - At the bottom of the page, choose
Run
. - After the command is complete, to monitor the new compliance status of your patched instances, in the navigation pane, choose
Compliance
.