Cloud posture check · AWS, Azure, Google Cloud

The function runs as an identity with administrative rights

Reads every serverless function in each connected cloud account and reports one when the function runs as an identity with administrative rights.

Why it matters

Code injected into the function, or a vulnerable dependency it loads, acts with the identity's rights over the whole account.

How to fix it

Run the function as a dedicated identity granted only what it needs: a Lambda execution role without administrator policies, a service account without Owner or Editor, a managed identity without Owner or User Access Administrator.

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.

Terms: CSPM (cloud security posture management), CIS Benchmarks, Least privilege

All cloud posture checks · The whole catalogue · How this works in TrustIvan · Documentation

See TrustIvan on your own estate.

Book thirty minutes with an engineer and bring an image, a repository or a cloud account, or start free on the hosted service.