Ruby Compatibility Requirements
The following application security capabilities are supported in the Ruby library, for the specified tracer version:
Application Security capability | Minimum Ruby tracer version |
---|
Threat Detection | 1.9.0 |
Threat Protection | 1.11.0 |
Customize response to blocked requests | 1.15.0 |
Software Composition Analysis (SCA) | 1.11.0 |
Code Security | not supported |
Automatic user activity event tracking | 1.14.0 |
API Security | 2.4.0 |
The minimum tracer version to get all supported application security capabilities for Ruby is 1.15.0.
If you would like to see support added for any of the unsupported capabilities, or for your Ruby framework, let us know! Fill out
this short form to send details.
Type | Threat Detection support | Software Composition Analysis |
---|
Docker | | |
Kubernetes | | |
Amazon ECS | | |
AWS Fargate | | |
AWS Lambda | | |
Supported Ruby interpreters
The Datadog Ruby library supports the latest gem for the following Ruby interpreters:
- MRI versions 2.5 to 3.3
- JRuby versions 9.2.21.0+ and 9.3
These are supported on the following architectures:
- Linux (GNU) x86-64, aarch64
- Alpine Linux (musl) x86-64, aarch64
- macOS (Darwin) x86-64, arm64
- Attacker source HTTP request details
- Tags for the HTTP request (status code, method, etc)
- Distributed Tracing to see attack flows through your applications
- Code Security is not supported
Framework | Threat Detection supported? | Threat Protection supported? |
---|
Rack | | |
Rails | | |
Sinatra | | |
Grape | | |
Unicorn | | |
Passenger | | |
GraphQL | | |
Framework Web Server | Minimum Framework Version | Minimum Tracer Version |
---|
Rack | 1.1 | 1.9.0 |
Rails | 3.2 (also depends on Ruby version) | 1.9.0 |
Sinatra | 1.4 | 1.9.0 |
GraphQL | 2.0.19 | 2.3.0 |
Networking tracing provides:
- Distributed tracing through your applications
- Request-based blocking
- Code Security is not supported
Framework | Threat Detection supported? | Threat Protection supported? |
---|
Rack | | |
Datastore tracing provides:
- SQL attack detection
- query info (for example, a sanitized query string)
- error and stacktrace capturing
- Code Security is not supported
- Threat Protection also works at the HTTP request (input) layer, and so works for all databases by default, even those not listed in the table below.
Framework | Threat Detection supported? | Threat Protection supported? |
---|
MongoDB | | |
Active Record | | |
MySQL2 | | |
Presto | | |
Resque | | |
Sequel | | |
Elasticsearch | | |
Integrations to User Authentication Frameworks provide:
- User login events, including the user IDs
- Account Takeover detection monitoring for user login events
Framework | Minimum Framework Version |
---|
Devise | 3.2.1 |