Ensure port 22 is not exposed
Error: Port 22 is exposed
Bridgecrew Policy ID: BC_DKR_1
Checkov Check ID: CKV_DOCKER_1
Severity: LOW
Port 22 is exposed
Description
By exposing port 22, you may allow a bad actor to brute force their way into the system and potentially get access to the entire network. As a best practice, restrict SSH solely to known static IP addresses. Limit the access list to include known hosts, services, or specific employees only.
Fix - Buildtime
Docker
FROM busybox
EXPOSE 8080
Updated 8 months ago