Ensure Lambda functions restrict public access to enhance security measures.
Rule | Lambda functions should restrict public access |
Framework | FedRAMP Low Revision 4 |
Severity | ✔ Critical |
Rule: Lambda Functions - Restrict Public Access for FedRAMP Low Revision 4
Description:
This rule mandates that Lambda functions within the environment must have public access restricted in order to comply with FedRAMP Low Revision 4 requirements. Public access includes any means of communication that allows unauthorized external entities to invoke or access Lambda functions. This rule ensures that only authorized entities are able to interact with Lambda functions, therefore maintaining the security and integrity of the system.
Troubleshooting Steps:
If Lambda functions are found to have public access enabled, follow these troubleshooting steps to resolve the issue:
Necessary Codes:
In order to implement the necessary changes to restrict public access for Lambda functions, you can follow these steps:
Step-by-Step Guide for Remediation:
Using AWS Management Console:
Using AWS CLI:
aws lambda list-functions
<function_arn>
with the actual ARN:aws lambda remove-permission --function-name <function_arn> --statement-id <statement_id>
Ensure that you remove the statement ID corresponding to the public access permission. 6. Verify that the changes have been successfully applied.
By following these steps, you will have successfully restricted public access for Lambda functions to comply with the FedRAMP Low Revision 4 policy.