Cloud posture check · AWS

The function's deployment package contains a credential

Reads every serverless function in each connected cloud account and reports one when the function's deployment package contains a credential.

Why it matters

A file in the function's zip package matches a secret detector. Anyone who can read the function's code, through the console or lambda:GetFunction, can read the credential.

How to fix it

Rotate the credential, remove it from the code and redeploy, and read it at run time from Secrets Manager or Parameter Store instead.

What TrustIvan reads

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.

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.