< All Hands-On Labs

Premium Hands-On Lab v2

Find vulnerable Lambda Functions with Amazon Inspector

In this lab, you'll enable Amazon Inspector and use it to detect a real-world code vulnerability in a pre-deployed AWS Lambda function. The lab environment includes two Lambda functions: one containing a hardcoded AWS secret access key (CWE-798) and one clean function for comparison. You'll activate Inspector, enable Lambda Standard and Code scanning, and observe how Inspector automatically discovers and scans the functions. Once scanning completes, you'll explore the resulting Critical severity finding, examine the exact line of vulnerable code, and review the remediation guidance provided.

Premium hands-on lab

This lab is accessible to Cybr Premium members

Join Premium to unlock this lab and the rest of the hands-on lab library.

View Plans Already a member? Log in

  • Real cloud environments, not simulations
  • One click to deploy, nothing to install
  • We cover the cloud costs so you can focus on learning