Why it matters
An unauthenticated function URL or HTTP trigger runs the function for any caller on the internet, with the function's own permissions.
How to fix it
Require authentication to invoke it: set a Lambda function URL's auth type to AWS_IAM, remove allUsers and allAuthenticatedUsers from a Cloud Function's invoker role, or give an Azure function's HTTP trigger a key or App Service authentication.
What TrustIvan reads
- Amazon Web Services: the collector reads what this check needs, so it passes or fails.
- 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: Amazon Web Services, Microsoft Azure, Google Cloud.
Related checks
- The function app accepts TLS below 1.2
AzureSeverity: Medium
cloud.function.outdated-tls - The function's deployment package contains a credential
AWSSeverity: High
cloud.function.secret-in-code - The function accepts plain HTTP
Azure, Google CloudSeverity: Medium
cloud.function.http-allowed - A function stores a secret in its environment variables
AWS, Azure, Google CloudSeverity: High
cloud.function.secret-in-environment - The function runs on a deprecated runtime
AWS, Azure, Google CloudSeverity: Medium
cloud.function.deprecated-runtime - The function runs as an identity with administrative rights
AWS, Azure, Google CloudSeverity: High
cloud.function.admin-identity
Terms: CSPM (cloud security posture management), CIS Benchmarks, Least privilege
All cloud posture checks · The whole catalogue · How this works in TrustIvan · Documentation