From 494bb7c08f6e224f84448d212659e222460482ba Mon Sep 17 00:00:00 2001 From: "ci.datadog-api-spec" Date: Mon, 26 Oct 2026 16:39:09 +0000 Subject: [PATCH] Regenerate client from commit e9ea666 of spec repo --- .generator/schemas/v2/openapi.yaml | 12 +++++++++++- .../GovernanceControlDetectionAssignmentSource.ts | 2 +- .../models/GovernanceControlDetectionAttributes.ts | 10 +++++----- 3 files changed, 17 insertions(+), 7 deletions(-) diff --git a/.generator/schemas/v2/openapi.yaml b/.generator/schemas/v2/openapi.yaml index b7ecb034c8b8..d68d588142fd 100644 --- a/.generator/schemas/v2/openapi.yaml +++ b/.generator/schemas/v2/openapi.yaml @@ -57046,13 +57046,14 @@ components: - attributes type: object GovernanceControlDetectionAssignmentSource: - description: How the detection's current assignment was determined. Possible values are `auto_resolved`, `manual`, `reassigned`, and `cleared`. + description: How the detection's current assignment was determined. Possible values are `auto_resolved`, `manual`, `reassigned`, and `cleared`. `null` when not set. enum: - auto_resolved - manual - reassigned - cleared example: "manual" + nullable: true type: string x-enum-varnames: - AUTO_RESOLVED @@ -57065,10 +57066,12 @@ components: assigned_team: description: The identifier of the team the detection is assigned to, if any. example: "platform-security" + nullable: true type: string assigned_to: description: The identifier of the user the detection is assigned to, if any. example: "11111111-2222-3333-4444-555555555555" + nullable: true type: string assignment_source: $ref: "#/components/schemas/GovernanceControlDetectionAssignmentSource" @@ -57091,15 +57094,18 @@ components: display_name: description: The human-readable name of the detected resource. example: "CI Deploy Key" + nullable: true type: string exception_at: description: The date and time when the detection was marked as an exception, if applicable. example: "2024-03-05T09:00:00Z" format: date-time + nullable: true type: string exception_by: description: The identifier of the user who marked the detection as an exception, if applicable. example: "11111111-2222-3333-4444-555555555555" + nullable: true type: string metadata: description: Free-form metadata associated with the detection. @@ -57109,16 +57115,19 @@ components: description: The date and time after which the detection is scheduled to be mitigated, if applicable. example: "2024-03-15T00:00:00Z" format: date-time + nullable: true type: string mitigated_at: description: The date and time when the detection was mitigated, if applicable. example: "2024-03-10T15:30:00Z" format: date-time + nullable: true type: string priority: description: The priority of the detection, if set. example: 1 format: int64 + nullable: true type: integer resource_id: description: The identifier of the resource the detection applies to. @@ -57127,6 +57136,7 @@ components: resource_type: description: The type of resource the detection applies to, for example `api_key` or `dashboard`. example: "api_key" + nullable: true type: string state: $ref: "#/components/schemas/GovernanceControlDetectionState" diff --git a/packages/datadog-api-client-v2/models/GovernanceControlDetectionAssignmentSource.ts b/packages/datadog-api-client-v2/models/GovernanceControlDetectionAssignmentSource.ts index 5cbb18b6fcda..8d1c6c2ae9b5 100644 --- a/packages/datadog-api-client-v2/models/GovernanceControlDetectionAssignmentSource.ts +++ b/packages/datadog-api-client-v2/models/GovernanceControlDetectionAssignmentSource.ts @@ -7,7 +7,7 @@ import { UnparsedObject } from "../../datadog-api-client-common/util"; /** - * How the detection's current assignment was determined. Possible values are `auto_resolved`, `manual`, `reassigned`, and `cleared`. + * How the detection's current assignment was determined. Possible values are `auto_resolved`, `manual`, `reassigned`, and `cleared`. `null` when not set. */ export type GovernanceControlDetectionAssignmentSource = diff --git a/packages/datadog-api-client-v2/models/GovernanceControlDetectionAttributes.ts b/packages/datadog-api-client-v2/models/GovernanceControlDetectionAttributes.ts index 390e7e991d95..d4ffc9ca724d 100644 --- a/packages/datadog-api-client-v2/models/GovernanceControlDetectionAttributes.ts +++ b/packages/datadog-api-client-v2/models/GovernanceControlDetectionAttributes.ts @@ -21,9 +21,9 @@ export class GovernanceControlDetectionAttributes { */ "assignedTo"?: string; /** - * How the detection's current assignment was determined. Possible values are `auto_resolved`, `manual`, `reassigned`, and `cleared`. + * How the detection's current assignment was determined. Possible values are `auto_resolved`, `manual`, `reassigned`, and `cleared`. `null` when not set. */ - "assignmentSource": GovernanceControlDetectionAssignmentSource; + "assignmentSource": GovernanceControlDetectionAssignmentSource | null; /** * DEPRECATED: mirrors `detection_type` for backward compatibility; use `detection_type` * instead. @@ -40,7 +40,7 @@ export class GovernanceControlDetectionAttributes { /** * The human-readable name of the detected resource. */ - "displayName": string; + "displayName": string | null; /** * The date and time when the detection was marked as an exception, if applicable. */ @@ -64,7 +64,7 @@ export class GovernanceControlDetectionAttributes { /** * The priority of the detection, if set. */ - "priority": number; + "priority": number | null; /** * The identifier of the resource the detection applies to. */ @@ -72,7 +72,7 @@ export class GovernanceControlDetectionAttributes { /** * The type of resource the detection applies to, for example `api_key` or `dashboard`. */ - "resourceType": string; + "resourceType": string | null; /** * The current state of the detection. Possible values are `active`, `exception`, `mitigated`, `inactive`, `obsolete`, `resolved_externally`, and `mitigation_in_progress`. */