QuestionQ89

VerifiedSecurity and Compliance

A company’s application development team uses Linux-based Amazon EC2 instances as bastion hosts. Inbound SSH access to these bastion hosts is limited to specific IP addresses through their associated security groups. The company’s security team wants a notification whenever the security-group rules are changed to permit SSH access from any IP address.

What should a DevOps engineer do to meet this requirement?

Explanation

The AWS Config managed rule restricted-ssh evaluates security groups as NON_COMPLIANT when inbound SSH traffic is allowed from an unrestricted CIDR such as 0.0.0.0/0 or ::/0. It runs on configuration changes, and AWS Config automatic remediation uses Systems Manager Automation documents, allowing a custom automation action to publish the noncompliance notification to an Amazon SNS topic.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!