Lambda Functions
AWS Lambda
What Is Scanned
A Lambda scan has two passes, and both report into the same application:
Configuration
The function's configuration and tags (lambda-function-definition.json), its resource-based policy (lambda-policy.json), function URLs (lambda-url-configs.json), event source mappings (lambda-event-source-mappings.json) and its execution role with its inline and attached policies (lambda-iam-role.json)
AWS Lambda rule pack
Code
The files of the deployment package, for functions on a Python runtime
Python rules of the active Python quality profile
Functions packaged as a container image have no downloadable package and are configuration-scanned only.
Functions on other runtimes (for example Node.js or Java) are configuration-scanned only. Java code is scanned from the source repository with IZ Scan, not from the deployed function.
If the deployment package cannot be downloaded, the configuration findings are still published and the job log says why the code pass was skipped.
If the access key cannot read IAM, the scan runs without
lambda-iam-role.jsonand the IAM rules are not evaluated.Many Lambda rules include an auto-fix suggestion.
To view all the functions
Navigate to
IZ Eye->AWS->AWS Lambda. Overview includes -Name- Name of the Lambda functionOrganization- The AWS account to which the function belongsEnvironment- The region to which the function belongs
Click on the
Plusicon to view the detailsSummary details include -
Total Issues- Configuration and code issues found by the latest scanStatus- State of the function reported by AWS, for exampleActiveLast Scan- Time since the last scan was performed
Actions include -
View Dashboard- Summary report of all the issues.View Issues- Detailed report of the issues. Configuration issues are reported against thelambda-*.jsondocuments, code issues against the Python source files. See Application Issues.View Metrics- Includes the function's runtime and its relationships: the queues, topics, event buses, state machines, secrets, tables, databases and APIs it is connected to.
Last updated
Was this helpful?

