Why it matters
Requests and responses to an HTTP endpoint that also serves plain HTTP can be read and altered in transit.
How to fix it
Turn on HTTPS Only for an Azure function app; deploy a Cloud Function with the secure-always security level.
What TrustIvan reads
- Microsoft Azure: the collector reads what this check needs, so it passes or fails.
- Google Cloud: the collector reads what this check needs, so it passes or fails.
Cloud accounts are read with read-only access. These results describe configuration; they are not an attestation that a benchmark is met. The access to grant: Microsoft Azure, Google Cloud.
Benchmark controls
- CIS Microsoft Azure Foundations Benchmark 2.1.0, control
9.2: Apps redirect HTTP to HTTPS. Also checked for this control: The web app accepts plain HTTP
Control numbers are the published ones; the titles are TrustIvan's own short descriptions. The benchmarks belong to their publishers, who do not endorse TrustIvan.
Related checks
- The function runs on a deprecated runtime
AWS, Azure, Google CloudSeverity: Medium
cloud.function.deprecated-runtime - The function app accepts TLS below 1.2
AzureSeverity: Medium
cloud.function.outdated-tls - The function runs as an identity with administrative rights
AWS, Azure, Google CloudSeverity: High
cloud.function.admin-identity - The function has a URL anyone can invoke
AWS, Azure, Google CloudSeverity: High
cloud.function.public-url - The function's deployment package contains a credential
AWSSeverity: High
cloud.function.secret-in-code - A function stores a secret in its environment variables
AWS, Azure, Google CloudSeverity: High
cloud.function.secret-in-environment
Terms: CSPM (cloud security posture management), CIS Benchmarks, Least privilege
All cloud posture checks · The whole catalogue · How this works in TrustIvan · Documentation