Prisma Cloud Runtime Security: About Defender logging for Serveless Defender

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


  1. Could we download Serverless Defender log from Console or via API?
  2. How could we get defender log for Serverless Defender?


Environment


  • Prisma Cloud Compute
  • Serverless Defender


Answer


  1. No, you can't download/generate defender log from Console/API when using Serverless Defender.
  2. 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.Screenshot 2024-01-25 at 12.20.31.png
    • Once the function finished, you would get the log for both your function's output as well as the defender log.
      • For example:Screenshot 2024-01-25 at 12.24.43.png


Additional Information


View our Prisma Cloud documentation here on Deploying Serverless Defender as a Lambda Layer.



Actions
  • Print
  • Copy Link

    https://knowledgebase.paloaltonetworks.com/KCSArticleDetail?id=kA14u000000XhbiCAC&lang=en_US&refURL=http%3A%2F%2Fknowledgebase.paloaltonetworks.com%2FKCSArticleDetail