Python Compatibility Requirements
Code Security capabilities support
The following code security capabilities are supported in the Python library, for the specified tracer version:
Code Security capability | Minimum Python tracer version |
---|
Runtime Software Composition Analysis (SCA) | 1.5.0 |
Runtime Code Analysis (IAST) | Preview |
Supported deployment types
Type | Threat Detection support | Software Composition Analysis |
---|
Docker | | |
Kubernetes | | |
Amazon ECS | | |
AWS Fargate | | |
AWS Lambda | | |
Type | Runtime Software Composition Analysis (SCA) | Runtime Code Analysis (IAST) |
---|
Docker | | Preview |
Kubernetes | | Preview |
Amazon ECS | | Preview |
AWS Fargate | | Preview |
AWS Lambda | | |
Language and framework compatibility
Supported Python versions
The Python Application Security Client library follows a versioning policy that specifies the support level for the different versions of the library and Python runtime.
Two release branches are supported:
Release | Support level |
---|
<1 | Maintenance |
>=1.0,<2 | General Availability |
And the library supports the following runtimes:
OS | CPU | Runtime | Runtime version | Support ddtrace versions |
---|
Linux | x86-64, i686, AArch64 | CPython | 2.7, 3.5-3.11 | <2 |
MacOS | Intel, Apple Silicon | CPython | 2.7, 3.5-3.11 | <2 |
Windows | 64bit, 32bit | CPython | 2.7, 3.5-3.11 | <2 |
Web framework compatibility
- Tags for the HTTP request (status code, method, etc)
- Distributed Tracing to see attack flows through your applications
Application Security Capability Notes
- Runtime Software Composition Analysis (SCA) is supported on all frameworks
Supported frameworks
Framework | Versions | Runtime Code Analysis (IAST) |
---|
Django | 1.8 | |
Flask | 0.10 | |
Support for query strings is not available for Flask.
Data store compatibility
Datastore tracing provides:
- query info (for example, a sanitized query string)
- error and stacktrace capturing
Code Security Capability Notes
- Runtime Software Composition Analysis (SCA) is supported on all frameworks.
The Python library supports the database API specifications and supports all generic SQL databases. This includes databases such as SQLite, Mysql, Postgres and MariaDB.