Lambda Functions must have an associated tag
Tags are key-value pairs that you attach to AWS resources to better organize them. They are particularly useful when you have many resources of the same type, which in the case of AWS Lambda, is a function. By using tags, customers with hundreds of Lambda functions can easily access and analyze a specific set by filtering on those that contain the same tag. Two of the key advantages of tagging your Lambda functions are: Grouping and Filtering and Cost allocation.
Risk Level: Low
Cloud Entity: AWS Lambda
CloudGuard Rule ID: D9.CFT.OPE.03
Covered by Spectral: Yes
Category: Compute
GSL LOGIC
AWS_Lambda_Function should have Tags
REMEDIATION
From CFT
Set AWS::Lambda::Function Tags
property to be have key-value pairs
References
AWS Lambda
AWS Lambda lets you run code without provisioning or managing servers. You pay only for the compute time you consume - there is no charge when your code is not running.
With Lambda, you can run code for virtually any type of application or backend service - all with zero administration. Just upload your code and Lambda takes care of everything required to run and scale your code with high availability. You can set up your code to automatically trigger from other AWS services or call it directly from any web or mobile app.
Compliance Frameworks
- AWS CloudFormation ruleset
Updated over 1 year ago