Application Security provides serverless capability for the following platforms and libraries:

AWS Lambda
Google Cloud Run
Microsoft Azure App Service

AWS Lambda

Note: Threat Protection through Remote Configuration is not supported. Use Workflows to block IPs in your WAF.

TypeThreat DetectionSoftware Composition Analysis (SCA)Code Security
Java
.NET
NodePreview
PythonPreview
Ruby
PHP
Go

Supported trigger types

Threat Detection supports HTTP requests as function input only, as that channel has the highest likelihood of attackers exploiting a serverless application. HTTP requests typically come from AWS services such as:

  • Application Load Balancer (ALB)
  • API Gateway v1 (Rest API)
  • API Gateway v2 (HTTP API)
  • Function URL
If you would like to see support added for any of the unsupported capabilities, fill out this form to send feedback.

Additional language specific compatibility information

Node.js
If you are bundling using webpack or esbuild, follow the specific bundler instructions.
Python
Java
To fully instrument your serverless application with distributed tracing, your Java Lambda functions must use the Java 8 Corretto (java8.al2), Java 11 (java11) or Java 17 (java17) runtimes with at least 1024MB of memory.
If you use the Datadog Lambda layers dd-trace-java:4 (or older) and Datadog-Extension:24 (or older), follow the instructions in Upgrade Instrumentation for Java Lambda Functions.
Go
.NET

Google Cloud Run

Google Cloud Run support for Application Security serverless is in Preview.

Note: Threat Protection through Remote Configuration is not supported. Use Workflows to block IPs in your WAF.

TypeThreat DetectionSoftware Composition AnalysisCode Security
JavaPreviewPreview
.NETPreviewPreview
NodePreviewPreview
PythonPreviewPreview
RubyPreviewPreview
PHP
GoPreviewPreview

Azure App Service

Only web applications are supported. Azure Functions are not supported.

Note: Threat Protection through Remote Configuration is not supported. Use Workflows to block IPs in your WAF.

TypeOSThreat DetectionSoftware Composition AnalysisCode Security
JavaWindows, LinuxPreview
.NETWindows, Linux
NodeLinuxPreview
PythonLinux
RubyLinux
PHPLinux