ExposeProtoCasing
Table of contents
Output
Defined protocol '80/TcP' in EXPOSE instruction should be lowercaseDescription
Protocol names in the EXPOSE instruction should be specified in lowercase to maintain consistency and readability. This rule checks for protocols that are not in lowercase and reports them.
Examples
❌ Bad: protocol is not in lowercase.
FROM alpine EXPOSE 80/TcP✅ Good: protocol is in lowercase.
FROM alpine EXPOSE 80/tcp