Prisma Cloud Runtime Security: About Defender logging for Serveless Defender
589
Created On 01/25/24 04:27 AM - Last Modified 06/23/25 18:54 PM
Question
- Could we download Serverless Defender log from Console or via API?
- How could we get defender log for Serverless Defender?
Environment
- Prisma Cloud Compute
- Serverless Defender
Answer
- No, you can't download/generate defender log from Console/API when using Serverless Defender.
- The defender log only prints on the code output of the functions(e.g. in AWS Lambda, in "Execution results") when below ENV variables are configured:
- TW_DEBUG=1
- TW_DEBUG_ENABLED=TRUE
- E.g.
- Once the function finished, you would get the log for both your function's output as well as the defender log.
- For example:
- For example:
Additional Information
View our Prisma Cloud documentation here on Deploying Serverless Defender as a Lambda Layer.