step-security/Configure Datadog Test Visibility
Installs Datadog tracers for configured languages and enables Test Visibility
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| languages | List of languages to be instrumented. Can be either "all" or any of "java", "js", "python", "dotnet", "ruby", "go" (multiple languages can be specified as a space-separated list). | yes | — |
| api_key | Datadog API key. Can be found at https://app.datadoghq.com/organization-settings/api-keys | yes | — |
| site | Datadog site (optional). See https://docs.datadoghq.com/getting_started/site for more information about sites. | no | datadoghq.com |
| service | The name of the service or library being tested. | no | — |
| dotnet-tracer-version | The version of Datadog .NET tracer to use (optional). Defaults to the version pinned by this action release. | no | 3.49.0 |
| java-tracer-version | The version of Datadog Java tracer to use (optional). Defaults to the version pinned by this action release. | no | 1.64.0 |
| js-tracer-version | The version of Datadog JS tracer to use (optional). Defaults to the version pinned by this action release. | no | 6.3.0 |
| python-tracer-version | The version of Datadog Python tracer to use (optional). Defaults to the version pinned by this action release. | no | 4.11.0 |
| python-coverage-version | The version of the Python coverage package to use (optional). Defaults to the version pinned by this action release. | no | 7.15.1 |
| ruby-tracer-version | The version of datadog-ci Ruby gem to use (optional). Defaults to the version pinned by this action release. | no | 1.34.0 |
| go-tracer-version | The version of Orchestrion automatic compile-time instrumentation of Go code (https://github.com/datadog/orchestrion) to use (optional). Defaults to the version pinned by this action release. | no | v1.11.0 |
| go-module-dir | Path to the Go module root directory to instrument (optional). Use this when the repository contains multiple Go modules or the Go module is not in the workspace root. | no | — |
| java-instrumented-build-system | If provided, only the specified build systems will be instrumented (allowed values are `gradle` and `maven`). Otherwise every Java process will be instrumented. | no | — |
| java-tracer-repository-url | Base URL of a Maven repository (or proxy/mirror) used to download the Java tracer JAR and its sha256. The path under the base must follow the standard Maven layout for `com.datadoghq:dd-java-agent`. Defaults to Maven Central. | no | — |
| java-tracer-repository-auth-header | Optional HTTP header used to authenticate against `java-tracer-repository-url`, provided as a complete `Name: Value` string (e.g. `Authorization: Bearer <token>`). Only used when `java-tracer-repository-url` is set. Redirects are followed by default; be aware that the header will be re-sent on each redirect hop with the following caveats: `curl` strips `Authorization` and `Cookie` headers on cross-origin redirects (different host, port, or scheme), but `wget` does not strip any header. Custom header names (e.g. `X-API-Key`, `X-JFrog-Art-Api`) are never stripped by either tool — prefer the `Authorization: …` form when possible. Set `java-tracer-auth-disable-redirects` to opt out of redirect following entirely. | no | — |
| java-tracer-auth-disable-redirects | When set to any non-empty value, disables HTTP redirect following for Java tracer downloads that send `java-tracer-repository-auth-header`. Use this if your repository never redirects and you want to guarantee the auth header is only ever sent to the configured `java-tracer-repository-url` host. | no | — |
| cache | Enable caching (optional). Defaults to true. | no | true |
| print-github-step-summary | Print a summary of the installed tracers to the GitHub step summary, otherwise the summary is printed to console (optional). Defaults to true. | no | true |
| service-name | Deprecated, alias for service | no | — |
| api-key | Deprecated, alias for api_key | no | — |
Outputs
no outputs