Control: AWS > Lambda > Function > Policy > Trusted Access
Take an action when AWS Lambda function policy is not trusted based on the AWS > Lambda > Function > Policy > Trusted Access > *
policies.
The Trusted Access control evaluates the function policy against the list of allowed members in each of the Trusted Access sub-policies (Trusted Access > Accounts, Trusted Access > Services etc.), this control raises an alarm and takes the defined enforcement action.
The account that owns the function will always be trusted, even if its account ID is not included in the Trusted Accounts policy.
If set to Enforce: Revoke untrusted access
, access to non-trusted members will be removed.
Resource Types
This control targets the following resource types:
Policies
The following policies can be used to configure this control:
This control type relies on these other policies when running actions:
- AWS > Lambda > Function > Policy > Trusted Access > Accounts
- AWS > Lambda > Function > Policy > Trusted Access > Services
Permissions
Cloud permissions used by this control and its actions:
lambda:RemovePermission
Category
In Your Workspace
Developers
- tmod:@turbot/aws-lambda#/control/types/functionPolicyTrustedAccess
- tmod:@turbot/turbot#/control/categories/securityTrustedAccess
- turbot graphql controls --filter "controlTypeId:tmod:@turbot/aws-lambda#/control/types/functionPolicyTrustedAccess"
Get Controls