---
title: Ruby Compatibility Requirements
description: Datadog, the leading service for cloud-scale monitoring.
breadcrumbs: >-
  Docs > Datadog Security > App and API Protection > Enabling App and API
  Protection > Compatibility Requirements > Ruby Compatibility Requirements
---

# Ruby Compatibility Requirements

{% callout %}
# Important note for users on the following Datadog sites: app.ddog-gov.com, us2.ddog-gov.com

{% alert level="danger" %}
This product is not supported for your selected [Datadog site](https://docs.datadoghq.com/getting_started/site.md). ({% placeholder "user-datadog-site-name" /%}).
{% /alert %}

{% /callout %}

## App and API Protection capabilities{% #app-and-api-protection-capabilities %}

The following App and API Protection capabilities are supported in the Ruby library, for the specified tracer version:

| App and API Protection capability           | Minimum Ruby tracer version |
| ------------------------------------------- | --------------------------- |
| HTTP Monitoring                             | 1.16.0                      |
| gRPC Monitoring                             | not supported               |
| GraphQL Monitoring                          | 2.3.0                       |
| Exploit Prevention                          | 2.11.0                      |
| API Security                                | 2.29.0                      |
| Account Takeover Protection                 | 2.16.0                      |
| Runtime Activation                          | not supported               |
| Runtime Software Composition Analysis (SCA) | 1.22.0                      |
| Runtime Code Analysis (IAST)                | not supported               |

The minimum tracer version to get all supported App and API Protection capabilities for Ruby is 2.29.0. The following capabilities are not yet supported: gRPC Monitoring, Runtime Activation, Runtime Code Analysis (IAST).

### Supported deployment types{% #supported-deployment-types %}

| Deployment type | Support |
| --------------- | ------- |
| Docker          | yes     |
| Kubernetes      | yes     |
| Amazon ECS      | yes     |
| AWS Fargate     | yes     |
| AWS Lambda      |

## Language and framework compatibility{% #language-and-framework-compatibility %}

**Supported Ruby interpreters**

The Datadog Ruby library supports the latest gem for the following Ruby interpreters:

- [MRI](https://www.ruby-lang.org/en/) versions >=2.5 <3.5
- [JRuby](https://www.jruby.org/) versions >=9.2.21 <9.5

These are supported on the following architectures:

- Linux (GNU) x86-64, aarch64
- Alpine Linux (musl) x86-64, aarch64
- macOS (Darwin) x86-64, arm64

## Integrations{% #integrations %}

The Ruby tracer includes support for the following frameworks, data stores and libraries.

{% alert level="info" %}
If you don't see your library of choice listed, fill out [this short form to send details](https://forms.gle/gHrxGQMEnAobukfn7).
{% /alert %}

### Web framework compatibility{% #web-framework-compatibility %}

- Attacker source HTTP request details
- Tags for the HTTP request (status code, method, etc)
- Distributed Tracing to see attack flows through your applications

| Framework                                     | HTTP Monitoring | HTTP Blocking |
| --------------------------------------------- | --------------- | ------------- |
| [Rack](https://github.com/rack/rack)          | yes             | yes           |
| [Rails](https://github.com/rails/rails)       | yes             | yes           |
| [Sinatra](https://github.com/sinatra/sinatra) | yes             | yes           |
| [Grape](https://github.com/ruby-grape/grape)  | yes             | yes           |

### User Authentication Frameworks compatibility{% #user-authentication-frameworks-compatibility %}

| Framework                                      | Automatic User Event Tracking |
| ---------------------------------------------- | ----------------------------- |
| [Devise](https://github.com/heartcombo/devise) | yes                           |

### Networking framework compatibility{% #networking-framework-compatibility %}

| Framework                                                 | Server-side Request Forgery (SSRF) |
| --------------------------------------------------------- | ---------------------------------- |
| [Faraday](https://github.com/lostisland/faraday)          | yes                                |
| [Excon](https://github.com/excon/excon)                   | yes                                |
| [Rest Client](https://github.com/rest-client/rest-client) | yes                                |

### Data store compatibility{% #data-store-compatibility %}

Currently we are providing SQL Injection detection for ActiveRecord, which is part of the Rails web framework.

| Framework                                      | SQL Injection (SQLi) |
| ---------------------------------------------- | -------------------- |
| [Rails](https://github.com/rails/rails)        | yes                  |
| [ActiveRecord](https://github.com/rails/rails) | yes                  |

### GraphQL compatibility{% #graphql-compatibility %}

| Framework                                                | GraphQL Monitoring |
| -------------------------------------------------------- | ------------------ |
| [GraphQL Ruby](https://github.com/rmosolgo/graphql-ruby) | yes                |
