Skip to main content

hosts-https-only

Flags server URLs that do not start with https://.

AttributeValue
CategorySecurity
MaturityGold
StarterOff
Lenient–CompleteError

See it fail

servers:
- url: http://api.example.org

Fix it

Use https://api.example.org. Relative server URLs are also flagged because they do not explicitly declare HTTPS.

Nearby: oauth-token-url-https-only, openid-connect-url-https-only.