How do you audit open ports across your estate?
BeginnerProductionTLS, Certificates & Network Security
Answer
Combine external scanning (nmap, masscan from outside the network, or cloud provider tools like Inspector network reachability), flow-log analysis, and security-group queries.
nmap -Pn -sS -p- --min-rate 1000 -oA scan 203.0.113.0/28
aws ec2 describe-security-groups --filters Name=ip-permission.cidr,Values=0.0.0.0/0 --query 'SecurityGroups[].[GroupId,GroupName]'
Run it on a schedule and diff results, failing the build on unexpected ports.
More on TLS, Certificates & Network Security
How do you manage certificates at scale without outages?IntermediateHow does cert-manager work in Kubernetes?IntermediateWhat is the best way to terminate TLS in AWS?IntermediateWhat is SPIFFE/SPIRE and why do platforms adopt it?IntermediateHow do you handle TLS configuration drift across many servers?IntermediateWhat are the risks of terminating TLS at the edge and sending plain HTTP internally?Advanced