From b2784b2b9bb8e4b426374088045926fb5a287537 Mon Sep 17 00:00:00 2001 From: "api-clients-generation-pipeline[bot]" <54105614+api-clients-generation-pipeline[bot]@users.noreply.github.com> Date: Fri, 19 Jun 2026 08:37:37 +0000 Subject: [PATCH 1/2] Regenerate client from commit e639938 of spec repo (#37589) Co-authored-by: ci.datadog-api-spec --- .../en/api/v2/test-optimization/examples.json | 37 ++++--- data/api/v2/full_spec.yaml | 98 ++++++++++++++----- data/api/v2/translate_actions.json | 2 +- 3 files changed, 100 insertions(+), 37 deletions(-) diff --git a/content/en/api/v2/test-optimization/examples.json b/content/en/api/v2/test-optimization/examples.json index bce1821eb40..f444d6a87e2 100644 --- a/content/en/api/v2/test-optimization/examples.json +++ b/content/en/api/v2/test-optimization/examples.json @@ -375,20 +375,25 @@ "data": { "attributes": { "auto_test_retries_enabled": false, + "auto_test_retries_enabled_is_overridden": false, "code_coverage_enabled": false, + "code_coverage_enabled_is_overridden": false, "early_flake_detection_enabled": false, + "early_flake_detection_enabled_is_overridden": false, "env": "prod", "failed_test_replay_enabled": false, - "pr_comments_enabled": true, + "failed_test_replay_enabled_is_overridden": false, + "pr_comments_enabled": false, "repository_id": "github.com/datadog/shopist", "service_name": "shopist", - "test_impact_analysis_enabled": false + "test_impact_analysis_enabled": true, + "test_impact_analysis_enabled_is_overridden": true }, - "id": "github.com/datadog/shopist::shopist::prod", + "id": "9b8a7c6d-5e4f-3a2b-1c0d-9e8f7a6b5c4d", "type": "test_optimization_service_settings" } }, - "html": "
\n
\n
\n
\n

data

\n
\n

object

\n

Data object for Test Optimization service settings response.

\n
\n
\n
\n
\n
\n

attributes

\n
\n

object

\n

Attributes for Test Optimization service settings.

\n
\n
\n
\n
\n
\n

auto_test_retries_enabled

\n
\n

boolean

\n

Whether Auto Test Retries are enabled for this service.

\n
\n \n
\n
\n
\n
\n
\n

code_coverage_enabled

\n
\n

boolean

\n

Whether Code Coverage is enabled for this service.

\n
\n \n
\n
\n
\n
\n
\n

early_flake_detection_enabled

\n
\n

boolean

\n

Whether Early Flake Detection is enabled for this service.

\n
\n \n
\n
\n
\n
\n
\n

env

\n
\n

string

\n

The environment name.

\n
\n \n
\n
\n
\n
\n
\n

failed_test_replay_enabled

\n
\n

boolean

\n

Whether Failed Test Replay is enabled for this service.

\n
\n \n
\n
\n
\n
\n
\n

pr_comments_enabled

\n
\n

boolean

\n

Whether PR Comments are enabled for this service.

\n
\n \n
\n
\n
\n
\n
\n

repository_id

\n
\n

string

\n

The repository identifier.

\n
\n \n
\n
\n
\n
\n
\n

service_name

\n
\n

string

\n

The service name.

\n
\n \n
\n
\n
\n
\n
\n

test_impact_analysis_enabled

\n
\n

boolean

\n

Whether Test Impact Analysis is enabled for this service.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

id

\n
\n

string

\n

Unique identifier for the service settings.

\n
\n \n
\n
\n
\n
\n
\n

type

\n
\n

enum

\n

JSON:API type for service settings response.\nThe value must always be test_optimization_service_settings. \nAllowed enum values: test_optimization_service_settings

\n
\n \n
\n
\n
\n
" + "html": "
\n
\n
\n
\n

data

\n
\n

object

\n

Data object for Test Optimization service settings response.

\n
\n
\n
\n
\n
\n

attributes

\n
\n

object

\n

Attributes for Test Optimization service settings.

\n
\n
\n
\n
\n
\n

auto_test_retries_enabled

\n
\n

boolean

\n

Whether Auto Test Retries are enabled for this service.

\n
\n \n
\n
\n
\n
\n
\n

auto_test_retries_enabled_is_overridden

\n
\n

boolean

\n

Whether the Auto Test Retries setting is overridden at the service level.

\n
\n \n
\n
\n
\n
\n
\n

code_coverage_enabled

\n
\n

boolean

\n

Whether Code Coverage is enabled for this service.

\n
\n \n
\n
\n
\n
\n
\n

code_coverage_enabled_is_overridden

\n
\n

boolean

\n

Whether the Code Coverage setting is overridden at the service level.

\n
\n \n
\n
\n
\n
\n
\n

early_flake_detection_enabled

\n
\n

boolean

\n

Whether Early Flake Detection is enabled for this service.

\n
\n \n
\n
\n
\n
\n
\n

early_flake_detection_enabled_is_overridden

\n
\n

boolean

\n

Whether the Early Flake Detection setting is overridden at the service level.

\n
\n \n
\n
\n
\n
\n
\n

env

\n
\n

string

\n

The environment name.

\n
\n \n
\n
\n
\n
\n
\n

failed_test_replay_enabled

\n
\n

boolean

\n

Whether Failed Test Replay is enabled for this service.

\n
\n \n
\n
\n
\n
\n
\n

failed_test_replay_enabled_is_overridden

\n
\n

boolean

\n

Whether the Failed Test Replay setting is overridden at the service level.

\n
\n \n
\n
\n
\n
\n
\n

pr_comments_enabled

\n
\n

boolean

\n

Whether PR Comments are enabled. This value reflects the repository-level setting and cannot be overridden at the service level.

\n
\n \n
\n
\n
\n
\n
\n

repository_id

\n
\n

string

\n

The repository identifier.

\n
\n \n
\n
\n
\n
\n
\n

service_name

\n
\n

string

\n

The service name.

\n
\n \n
\n
\n
\n
\n
\n

test_impact_analysis_enabled

\n
\n

boolean

\n

Whether Test Impact Analysis is enabled for this service.

\n
\n \n
\n
\n
\n
\n
\n

test_impact_analysis_enabled_is_overridden

\n
\n

boolean

\n

Whether the Test Impact Analysis setting is overridden at the service level.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

id

\n
\n

string

\n

Unique identifier for the service settings.

\n
\n \n
\n
\n
\n
\n
\n

type

\n
\n

enum

\n

JSON:API type for service settings response.\nThe value must always be test_optimization_service_settings. \nAllowed enum values: test_optimization_service_settings

\n
\n \n
\n
\n
\n
" }, "400": { "json": { @@ -437,19 +442,24 @@ "data": { "attributes": { "auto_test_retries_enabled": false, + "auto_test_retries_enabled_inherit": false, "code_coverage_enabled": false, + "code_coverage_enabled_inherit": false, "early_flake_detection_enabled": false, + "early_flake_detection_enabled_inherit": false, "env": "prod", "failed_test_replay_enabled": false, - "pr_comments_enabled": true, + "failed_test_replay_enabled_inherit": false, + "pr_comments_enabled": false, "repository_id": "github.com/datadog/shopist", "service_name": "shopist", - "test_impact_analysis_enabled": false + "test_impact_analysis_enabled": true, + "test_impact_analysis_enabled_inherit": true }, "type": "test_optimization_update_service_settings_request" } }, - "html": "
\n
\n
\n
\n

data [required]

\n
\n

object

\n

Data object for update service settings request.

\n
\n
\n
\n
\n
\n

attributes [required]

\n
\n

object

\n

Attributes for updating Test Optimization service settings.\nAll non-required fields are optional; only provided fields will be updated.

\n
\n
\n
\n
\n
\n

auto_test_retries_enabled

\n
\n

boolean

\n

Whether Auto Test Retries are enabled for this service.

\n
\n \n
\n
\n
\n
\n
\n

code_coverage_enabled

\n
\n

boolean

\n

Whether Code Coverage is enabled for this service.

\n
\n \n
\n
\n
\n
\n
\n

early_flake_detection_enabled

\n
\n

boolean

\n

Whether Early Flake Detection is enabled for this service.

\n
\n \n
\n
\n
\n
\n
\n

env

\n
\n

string

\n

The environment name. If omitted, defaults to none.

\n
\n \n
\n
\n
\n
\n
\n

failed_test_replay_enabled

\n
\n

boolean

\n

Whether Failed Test Replay is enabled for this service.

\n
\n \n
\n
\n
\n
\n
\n

pr_comments_enabled

\n
\n

boolean

\n

Whether PR Comments are enabled for this service.

\n
\n \n
\n
\n
\n
\n
\n

repository_id [required]

\n
\n

string

\n

The repository identifier.

\n
\n \n
\n
\n
\n
\n
\n

service_name [required]

\n
\n

string

\n

The service name.

\n
\n \n
\n
\n
\n
\n
\n

test_impact_analysis_enabled

\n
\n

boolean

\n

Whether Test Impact Analysis is enabled for this service.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

type [required]

\n
\n

enum

\n

JSON:API type for update service settings request.\nThe value must always be test_optimization_update_service_settings_request. \nAllowed enum values: test_optimization_update_service_settings_request

\n
\n \n
\n
\n
\n
" + "html": "
\n
\n
\n
\n

data [required]

\n
\n

object

\n

Data object for update service settings request.

\n
\n
\n
\n
\n
\n

attributes [required]

\n
\n

object

\n

Attributes for updating Test Optimization service settings.\nAll non-required fields are optional; only provided fields will be updated.\nSetting a field to null is a no-op. To reset a setting to inherit from the repository level, use the corresponding <setting>_inherit field.

\n
\n
\n
\n
\n
\n

auto_test_retries_enabled

\n
\n

boolean

\n

Whether Auto Test Retries are enabled for this service. Setting to null is a no-op; use auto_test_retries_enabled_inherit to reset to repository-level inheritance.

\n
\n \n
\n
\n
\n
\n
\n

auto_test_retries_enabled_inherit

\n
\n

boolean

\n

When true, resets the Auto Test Retries setting to inherit from the repository level.

\n
\n \n
\n
\n
\n
\n
\n

code_coverage_enabled

\n
\n

boolean

\n

Whether Code Coverage is enabled for this service. Setting to null is a no-op; use code_coverage_enabled_inherit to reset to repository-level inheritance.

\n
\n \n
\n
\n
\n
\n
\n

code_coverage_enabled_inherit

\n
\n

boolean

\n

When true, resets the Code Coverage setting to inherit from the repository level.

\n
\n \n
\n
\n
\n
\n
\n

early_flake_detection_enabled

\n
\n

boolean

\n

Whether Early Flake Detection is enabled for this service. Setting to null is a no-op; use early_flake_detection_enabled_inherit to reset to repository-level inheritance.

\n
\n \n
\n
\n
\n
\n
\n

early_flake_detection_enabled_inherit

\n
\n

boolean

\n

When true, resets the Early Flake Detection setting to inherit from the repository level.

\n
\n \n
\n
\n
\n
\n
\n

env

\n
\n

string

\n

The environment name. If omitted, defaults to none.

\n
\n \n
\n
\n
\n
\n
\n

failed_test_replay_enabled

\n
\n

boolean

\n

Whether Failed Test Replay is enabled for this service. Setting to null is a no-op; use failed_test_replay_enabled_inherit to reset to repository-level inheritance.

\n
\n \n
\n
\n
\n
\n
\n

failed_test_replay_enabled_inherit

\n
\n

boolean

\n

When true, resets the Failed Test Replay setting to inherit from the repository level.

\n
\n \n
\n
\n
\n
\n
\n

pr_comments_enabled

\n
\n

boolean

\n

This field is ignored. PR Comments cannot be overridden at the service level.

\n
\n \n
\n
\n
\n
\n
\n

repository_id [required]

\n
\n

string

\n

The repository identifier.

\n
\n \n
\n
\n
\n
\n
\n

service_name [required]

\n
\n

string

\n

The service name.

\n
\n \n
\n
\n
\n
\n
\n

test_impact_analysis_enabled

\n
\n

boolean

\n

Whether Test Impact Analysis is enabled for this service. Setting to null is a no-op; use test_impact_analysis_enabled_inherit to reset to repository-level inheritance.

\n
\n \n
\n
\n
\n
\n
\n

test_impact_analysis_enabled_inherit

\n
\n

boolean

\n

When true, resets the Test Impact Analysis setting to inherit from the repository level.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

type [required]

\n
\n

enum

\n

JSON:API type for update service settings request.\nThe value must always be test_optimization_update_service_settings_request. \nAllowed enum values: test_optimization_update_service_settings_request

\n
\n \n
\n
\n
\n
" } }, "GetTestOptimizationServiceSettings": { @@ -459,20 +469,25 @@ "data": { "attributes": { "auto_test_retries_enabled": false, + "auto_test_retries_enabled_is_overridden": false, "code_coverage_enabled": false, + "code_coverage_enabled_is_overridden": false, "early_flake_detection_enabled": false, + "early_flake_detection_enabled_is_overridden": false, "env": "prod", "failed_test_replay_enabled": false, - "pr_comments_enabled": true, + "failed_test_replay_enabled_is_overridden": false, + "pr_comments_enabled": false, "repository_id": "github.com/datadog/shopist", "service_name": "shopist", - "test_impact_analysis_enabled": false + "test_impact_analysis_enabled": true, + "test_impact_analysis_enabled_is_overridden": true }, - "id": "github.com/datadog/shopist::shopist::prod", + "id": "9b8a7c6d-5e4f-3a2b-1c0d-9e8f7a6b5c4d", "type": "test_optimization_service_settings" } }, - "html": "
\n
\n
\n
\n

data

\n
\n

object

\n

Data object for Test Optimization service settings response.

\n
\n
\n
\n
\n
\n

attributes

\n
\n

object

\n

Attributes for Test Optimization service settings.

\n
\n
\n
\n
\n
\n

auto_test_retries_enabled

\n
\n

boolean

\n

Whether Auto Test Retries are enabled for this service.

\n
\n \n
\n
\n
\n
\n
\n

code_coverage_enabled

\n
\n

boolean

\n

Whether Code Coverage is enabled for this service.

\n
\n \n
\n
\n
\n
\n
\n

early_flake_detection_enabled

\n
\n

boolean

\n

Whether Early Flake Detection is enabled for this service.

\n
\n \n
\n
\n
\n
\n
\n

env

\n
\n

string

\n

The environment name.

\n
\n \n
\n
\n
\n
\n
\n

failed_test_replay_enabled

\n
\n

boolean

\n

Whether Failed Test Replay is enabled for this service.

\n
\n \n
\n
\n
\n
\n
\n

pr_comments_enabled

\n
\n

boolean

\n

Whether PR Comments are enabled for this service.

\n
\n \n
\n
\n
\n
\n
\n

repository_id

\n
\n

string

\n

The repository identifier.

\n
\n \n
\n
\n
\n
\n
\n

service_name

\n
\n

string

\n

The service name.

\n
\n \n
\n
\n
\n
\n
\n

test_impact_analysis_enabled

\n
\n

boolean

\n

Whether Test Impact Analysis is enabled for this service.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

id

\n
\n

string

\n

Unique identifier for the service settings.

\n
\n \n
\n
\n
\n
\n
\n

type

\n
\n

enum

\n

JSON:API type for service settings response.\nThe value must always be test_optimization_service_settings. \nAllowed enum values: test_optimization_service_settings

\n
\n \n
\n
\n
\n
" + "html": "
\n
\n
\n
\n

data

\n
\n

object

\n

Data object for Test Optimization service settings response.

\n
\n
\n
\n
\n
\n

attributes

\n
\n

object

\n

Attributes for Test Optimization service settings.

\n
\n
\n
\n
\n
\n

auto_test_retries_enabled

\n
\n

boolean

\n

Whether Auto Test Retries are enabled for this service.

\n
\n \n
\n
\n
\n
\n
\n

auto_test_retries_enabled_is_overridden

\n
\n

boolean

\n

Whether the Auto Test Retries setting is overridden at the service level.

\n
\n \n
\n
\n
\n
\n
\n

code_coverage_enabled

\n
\n

boolean

\n

Whether Code Coverage is enabled for this service.

\n
\n \n
\n
\n
\n
\n
\n

code_coverage_enabled_is_overridden

\n
\n

boolean

\n

Whether the Code Coverage setting is overridden at the service level.

\n
\n \n
\n
\n
\n
\n
\n

early_flake_detection_enabled

\n
\n

boolean

\n

Whether Early Flake Detection is enabled for this service.

\n
\n \n
\n
\n
\n
\n
\n

early_flake_detection_enabled_is_overridden

\n
\n

boolean

\n

Whether the Early Flake Detection setting is overridden at the service level.

\n
\n \n
\n
\n
\n
\n
\n

env

\n
\n

string

\n

The environment name.

\n
\n \n
\n
\n
\n
\n
\n

failed_test_replay_enabled

\n
\n

boolean

\n

Whether Failed Test Replay is enabled for this service.

\n
\n \n
\n
\n
\n
\n
\n

failed_test_replay_enabled_is_overridden

\n
\n

boolean

\n

Whether the Failed Test Replay setting is overridden at the service level.

\n
\n \n
\n
\n
\n
\n
\n

pr_comments_enabled

\n
\n

boolean

\n

Whether PR Comments are enabled. This value reflects the repository-level setting and cannot be overridden at the service level.

\n
\n \n
\n
\n
\n
\n
\n

repository_id

\n
\n

string

\n

The repository identifier.

\n
\n \n
\n
\n
\n
\n
\n

service_name

\n
\n

string

\n

The service name.

\n
\n \n
\n
\n
\n
\n
\n

test_impact_analysis_enabled

\n
\n

boolean

\n

Whether Test Impact Analysis is enabled for this service.

\n
\n \n
\n
\n
\n
\n
\n

test_impact_analysis_enabled_is_overridden

\n
\n

boolean

\n

Whether the Test Impact Analysis setting is overridden at the service level.

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

id

\n
\n

string

\n

Unique identifier for the service settings.

\n
\n \n
\n
\n
\n
\n
\n

type

\n
\n

enum

\n

JSON:API type for service settings response.\nThe value must always be test_optimization_service_settings. \nAllowed enum values: test_optimization_service_settings

\n
\n \n
\n
\n
\n
" }, "400": { "json": { diff --git a/data/api/v2/full_spec.yaml b/data/api/v2/full_spec.yaml index 7e644af9679..02381e5ee5b 100644 --- a/data/api/v2/full_spec.yaml +++ b/data/api/v2/full_spec.yaml @@ -104121,14 +104121,26 @@ components: description: Whether Auto Test Retries are enabled for this service. example: false type: boolean + auto_test_retries_enabled_is_overridden: + description: Whether the Auto Test Retries setting is overridden at the service level. + example: false + type: boolean code_coverage_enabled: description: Whether Code Coverage is enabled for this service. example: false type: boolean + code_coverage_enabled_is_overridden: + description: Whether the Code Coverage setting is overridden at the service level. + example: false + type: boolean early_flake_detection_enabled: description: Whether Early Flake Detection is enabled for this service. example: false type: boolean + early_flake_detection_enabled_is_overridden: + description: Whether the Early Flake Detection setting is overridden at the service level. + example: false + type: boolean env: description: The environment name. example: prod @@ -104137,9 +104149,13 @@ components: description: Whether Failed Test Replay is enabled for this service. example: false type: boolean + failed_test_replay_enabled_is_overridden: + description: Whether the Failed Test Replay setting is overridden at the service level. + example: false + type: boolean pr_comments_enabled: - description: Whether PR Comments are enabled for this service. - example: true + description: Whether PR Comments are enabled. This value reflects the repository-level setting and cannot be overridden at the service level. + example: false type: boolean repository_id: description: The repository identifier. @@ -104151,7 +104167,11 @@ components: type: string test_impact_analysis_enabled: description: Whether Test Impact Analysis is enabled for this service. - example: false + example: true + type: boolean + test_impact_analysis_enabled_is_overridden: + description: Whether the Test Impact Analysis setting is overridden at the service level. + example: true type: boolean type: object TestOptimizationServiceSettingsData: @@ -104161,7 +104181,7 @@ components: $ref: "#/components/schemas/TestOptimizationServiceSettingsAttributes" id: description: Unique identifier for the service settings. - example: github.com/datadog/shopist::shopist::prod + example: 9b8a7c6d-5e4f-3a2b-1c0d-9e8f7a6b5c4d type: string type: $ref: "#/components/schemas/TestOptimizationServiceSettingsType" @@ -104204,17 +104224,30 @@ components: description: |- Attributes for updating Test Optimization service settings. All non-required fields are optional; only provided fields will be updated. + Setting a field to `null` is a no-op. To reset a setting to inherit from the repository level, use the corresponding `_inherit` field. properties: auto_test_retries_enabled: - description: Whether Auto Test Retries are enabled for this service. + description: Whether Auto Test Retries are enabled for this service. Setting to `null` is a no-op; use `auto_test_retries_enabled_inherit` to reset to repository-level inheritance. + example: false + type: boolean + auto_test_retries_enabled_inherit: + description: When `true`, resets the Auto Test Retries setting to inherit from the repository level. example: false type: boolean code_coverage_enabled: - description: Whether Code Coverage is enabled for this service. + description: Whether Code Coverage is enabled for this service. Setting to `null` is a no-op; use `code_coverage_enabled_inherit` to reset to repository-level inheritance. + example: false + type: boolean + code_coverage_enabled_inherit: + description: When `true`, resets the Code Coverage setting to inherit from the repository level. example: false type: boolean early_flake_detection_enabled: - description: Whether Early Flake Detection is enabled for this service. + description: Whether Early Flake Detection is enabled for this service. Setting to `null` is a no-op; use `early_flake_detection_enabled_inherit` to reset to repository-level inheritance. + example: false + type: boolean + early_flake_detection_enabled_inherit: + description: When `true`, resets the Early Flake Detection setting to inherit from the repository level. example: false type: boolean env: @@ -104222,12 +104255,16 @@ components: example: prod type: string failed_test_replay_enabled: - description: Whether Failed Test Replay is enabled for this service. + description: Whether Failed Test Replay is enabled for this service. Setting to `null` is a no-op; use `failed_test_replay_enabled_inherit` to reset to repository-level inheritance. + example: false + type: boolean + failed_test_replay_enabled_inherit: + description: When `true`, resets the Failed Test Replay setting to inherit from the repository level. example: false type: boolean pr_comments_enabled: - description: Whether PR Comments are enabled for this service. - example: true + description: This field is ignored. PR Comments cannot be overridden at the service level. + example: false type: boolean repository_id: description: The repository identifier. @@ -104240,8 +104277,12 @@ components: minLength: 1 type: string test_impact_analysis_enabled: - description: Whether Test Impact Analysis is enabled for this service. - example: false + description: Whether Test Impact Analysis is enabled for this service. Setting to `null` is a no-op; use `test_impact_analysis_enabled_inherit` to reset to repository-level inheritance. + example: true + type: boolean + test_impact_analysis_enabled_inherit: + description: When `true`, resets the Test Impact Analysis setting to inherit from the repository level. + example: true type: boolean required: - repository_id @@ -122400,7 +122441,9 @@ paths: patch: description: |- Partially update Test Optimization settings for a specific service identified by repository, service name, and environment. - Only provided fields are updated; null or omitted fields are left unchanged. + Only provided fields are updated; setting a field to `null` is a no-op. + To reset a setting to inherit from the repository level, use the corresponding `_inherit` field. + The `pr_comments_enabled` field is ignored as it cannot be overridden at the service level. operationId: UpdateTestOptimizationServiceSettings requestBody: content: @@ -122410,15 +122453,10 @@ paths: value: data: attributes: - auto_test_retries_enabled: false - code_coverage_enabled: false - early_flake_detection_enabled: false env: prod - failed_test_replay_enabled: false - pr_comments_enabled: true repository_id: github.com/datadog/test-service service_name: test-service - test_impact_analysis_enabled: false + test_impact_analysis_enabled_inherit: true type: test_optimization_update_service_settings_request schema: $ref: "#/components/schemas/TestOptimizationUpdateServiceSettingsRequest" @@ -122433,15 +122471,20 @@ paths: data: attributes: auto_test_retries_enabled: false + auto_test_retries_enabled_is_overridden: false code_coverage_enabled: false + code_coverage_enabled_is_overridden: false early_flake_detection_enabled: false + early_flake_detection_enabled_is_overridden: false env: prod failed_test_replay_enabled: false - pr_comments_enabled: true + failed_test_replay_enabled_is_overridden: false + pr_comments_enabled: false repository_id: github.com/datadog/test-service service_name: test-service - test_impact_analysis_enabled: false - id: github.com/datadog/test-service::test-service::prod + test_impact_analysis_enabled: true + test_impact_analysis_enabled_is_overridden: true + id: 9b8a7c6d-5e4f-3a2b-1c0d-9e8f7a6b5c4d type: test_optimization_service_settings schema: $ref: "#/components/schemas/TestOptimizationServiceSettingsResponse" @@ -122496,15 +122539,20 @@ paths: data: attributes: auto_test_retries_enabled: false + auto_test_retries_enabled_is_overridden: false code_coverage_enabled: false + code_coverage_enabled_is_overridden: false early_flake_detection_enabled: false + early_flake_detection_enabled_is_overridden: false env: prod failed_test_replay_enabled: false - pr_comments_enabled: true + failed_test_replay_enabled_is_overridden: false + pr_comments_enabled: false repository_id: github.com/datadog/test-service service_name: test-service - test_impact_analysis_enabled: false - id: github.com/datadog/test-service::test-service::prod + test_impact_analysis_enabled: true + test_impact_analysis_enabled_is_overridden: true + id: 9b8a7c6d-5e4f-3a2b-1c0d-9e8f7a6b5c4d type: test_optimization_service_settings schema: $ref: "#/components/schemas/TestOptimizationServiceSettingsResponse" diff --git a/data/api/v2/translate_actions.json b/data/api/v2/translate_actions.json index 2abb69e76f3..3124fb03d9b 100644 --- a/data/api/v2/translate_actions.json +++ b/data/api/v2/translate_actions.json @@ -1030,7 +1030,7 @@ "request_schema_description": "Request object for deleting Test Optimization service settings." }, "UpdateTestOptimizationServiceSettings": { - "description": "Partially update Test Optimization settings for a specific service identified by repository, service name, and environment.\nOnly provided fields are updated; null or omitted fields are left unchanged.", + "description": "Partially update Test Optimization settings for a specific service identified by repository, service name, and environment.\nOnly provided fields are updated; setting a field to `null` is a no-op.\nTo reset a setting to inherit from the repository level, use the corresponding `_inherit` field.\nThe `pr_comments_enabled` field is ignored as it cannot be overridden at the service level.", "summary": "Update Test Optimization service settings", "request_description": "", "request_schema_description": "Request object for updating Test Optimization service settings." From 80f359abfabb5937ab838bb93f530a8f7e4f865a Mon Sep 17 00:00:00 2001 From: Filipe Teixeira Date: Fri, 19 Jun 2026 11:06:27 +0100 Subject: [PATCH 2/2] Update Security Findings schema reference page (#37553) --- content/en/security/guide/findings-schema.md | 89 +++++++++++++------- 1 file changed, 58 insertions(+), 31 deletions(-) diff --git a/content/en/security/guide/findings-schema.md b/content/en/security/guide/findings-schema.md index 6572b5f849d..f5904c67bf4 100644 --- a/content/en/security/guide/findings-schema.md +++ b/content/en/security/guide/findings-schema.md @@ -1764,10 +1764,6 @@ There are eleven different categories for security findings. Click on a category {{% /tab %}} {{< /tabs >}} -## Linking to findings - -The direct URL for a finding in Datadog varies by finding type. Use `/security/finding/[finding_id]`, where `[finding_id]` is the root-level `finding_id` value, to open the finding in the appropriate explorer. This format is useful when linking from AI agents or automations. - ## Schema Reference The following sections describe all available attributes in the Security Findings schema, organized by namespace. @@ -2322,6 +2318,11 @@ Container image where the finding was detected, including registry, repository, array (string) Path: @container_image.architectures
Architectures associated with the container image. + + base_image + object + Path: @container_image.base_image
Base image this container image is built on. A base image is itself a container image and may have its own base_image. Absent when no base image is identified. + git_repository_url string @@ -5612,6 +5613,11 @@ Evidence used to determine whether the function is reachable. + + is_supported + boolean + Path: @risk_details.is_function_reachable.evidence.is_supported
true if reachability analysis is supported for this finding, false otherwise. + locations array (object) @@ -5622,6 +5628,11 @@ Evidence used to determine whether the function is reachable. string Path: @risk_details.is_function_reachable.evidence.not_supported_reason
Reason why reachability analysis is not supported for this finding. Valid values: language_not_supported, vulnerable_symbol_not_available. + + unreachable_at + integer + Path: @risk_details.is_function_reachable.evidence.unreachable_at
Timestamp in milliseconds (UTC) at which the finding will transition to unreachable if the vulnerable function has not been called. + @@ -5638,30 +5649,15 @@ Array of code locations where the function is called. - - column_end - integer - Path: @risk_details.is_function_reachable.evidence.locations.column_end
Ending column position. - - - column_start - integer - Path: @risk_details.is_function_reachable.evidence.locations.column_start
Starting column position. - filename string Path: @risk_details.is_function_reachable.evidence.locations.filename
Relative path to the file. - is_test_file - boolean - Path: @risk_details.is_function_reachable.evidence.locations.is_test_file
true if the code file is a test file; false otherwise. - - - line_end + last_detected_at integer - Path: @risk_details.is_function_reachable.evidence.locations.line_end
Ending line number. + Path: @risk_details.is_function_reachable.evidence.locations.last_detected_at
Timestamp in milliseconds (UTC) of the most recent detection of this function at the code location. line_start @@ -5673,11 +5669,6 @@ Array of code locations where the function is called. string Path: @risk_details.is_function_reachable.evidence.locations.symbol
Symbol name at the code location. - - url - string - Path: @risk_details.is_function_reachable.evidence.locations.url
URL to view the file online (for example, in GitHub), highlighting the code location. - @@ -6401,6 +6392,11 @@ Information specific to vulnerabilities. boolean Path: @vulnerability.is_emerging
true if the vulnerability is classified as an emerging threat; false otherwise. + + is_inherited_from_base_image + boolean + Path: @vulnerability.is_inherited_from_base_image
true if the vulnerability originates in a base image layer, false if it originates in a layer added by the container image author. + last_commit string @@ -6768,11 +6764,6 @@ Linear issue attached to the case. string Path: @workflow.integrations.cases.linear_issue.status
Current status of the Linear issue. - - team_id - string - Path: @workflow.integrations.cases.linear_issue.team_id
UUID of the Linear team that owns the issue. - url string @@ -6948,6 +6939,42 @@ Metadata about user-defined severity modifications applied to the finding. string Path: @workflow.severity_override.description
Description of the user-defined severity modification applied to the finding. + + updated_at + integer + Path: @workflow.severity_override.updated_at
Timestamp in milliseconds (UTC) when the manual severity override was applied. + + + updated_by + object + Path: @workflow.severity_override.updated_by
User who applied the manual severity override. + + + + +### Updated By + +User who applied the manual severity override. + + + + + + + + + + + + + + + + + + + +
Attribute nameTypeDescription
idstringPath: @workflow.severity_override.updated_by.id
Unique identifier of the user in UUID format.
namestringPath: @workflow.severity_override.updated_by.name
Display name of the user.