Code Like Hacker : Secure Terraform Practices
This contains cloud Native Meetup code snippets
Admin access should be restricted from the specific IP
ISSUE : Any Firewall allowing traffic from all IP address to standard n/w port on which admin services traditionally listen such as SSH - port#22 : Lead to unauthorised access
Potential Impact :- Privilege Escalation or elevation Vulnerability
Example
An ingress rule allowing all inbound SSH traffic for AWS:
A security rule allowing all inbound SSH traffic for Azure
Compliant Solution
An ingress rule allowing inbound SSH traffic from specific IP addresses for AWS:
A security rule allowing inbound SSH traffic from specific IP addresses for Azure
Last updated