DEV Community

Discussion on: Amazon Inspector can now scan AWS Lambda Functions

Collapse
 
rosswilliams profile image
rosswilliams

Scanning is done by inspecting package.json and package-lock.json or yarn.lock files. It does not scan the actual code.

If you bundle your code then inspector will not be able to detect vulnerabilities unless you ship your lock file in your asset bundle.

Collapse
 
zachjonesnoel profile image
Jones Zachariah Noel AWS Heroes

Yep! It's with the package.json or package-lock.json which has the dependencies is what is scanned.