From b3b7c3eadb9e0b7038d79f4327e50c5749c78ac2 Mon Sep 17 00:00:00 2001 From: "ci.datadog-api-spec" Date: Fri, 13 Nov 2026 16:26:03 +0000 Subject: [PATCH] Regenerate client from commit 4c0563e of spec repo --- .generator/schemas/v2/openapi.yaml | 38 +++++++++++++++---- .../v2/api/security_monitoring_api.rb | 12 +++--- ...ty_monitoring_critical_asset_attributes.rb | 2 +- ...toring_critical_asset_create_attributes.rb | 2 +- ...rity_monitoring_critical_asset_severity.rb | 2 +- ...toring_critical_asset_update_attributes.rb | 2 +- 6 files changed, 41 insertions(+), 17 deletions(-) diff --git a/.generator/schemas/v2/openapi.yaml b/.generator/schemas/v2/openapi.yaml index 146e53417eb8..6cb7b136d13a 100644 --- a/.generator/schemas/v2/openapi.yaml +++ b/.generator/schemas/v2/openapi.yaml @@ -126621,7 +126621,7 @@ components: $ref: "#/components/schemas/SecurityMonitoringCriticalAsset" type: object SecurityMonitoringCriticalAssetSeverity: - description: Severity associated with this critical asset. Either an explicit severity can be set, or the severity can be increased or decreased, or the severity can be left unchanged (no-op). + description: Severity associated with this dynamic severity rule (previously called critical assets). Either an explicit severity can be set, or the severity can be increased or decreased, or the severity can be left unchanged (no-op). enum: - info - low @@ -249386,7 +249386,7 @@ paths: - security_monitoring_cws_agent_rules_read /api/v2/security_monitoring/configuration/critical_assets: get: - description: Get the list of all critical assets. + description: Get the list of all dynamic severity rules (previously called critical assets). operationId: ListSecurityMonitoringCriticalAssets responses: "200": @@ -249419,8 +249419,12 @@ paths: summary: Get all critical assets tags: - Security Monitoring + x-permission: + operator: OR + permissions: + - security_monitoring_critical_assets_read post: - description: Create a new critical asset. + description: Create a new dynamic severity rule (previously called critical assets). operationId: CreateSecurityMonitoringCriticalAsset requestBody: content: @@ -249478,9 +249482,13 @@ paths: tags: - Security Monitoring x-codegen-request-body-name: body + x-permission: + operator: OR + permissions: + - security_monitoring_critical_assets_write /api/v2/security_monitoring/configuration/critical_assets/rules/{rule_id}: get: - description: Get the list of critical assets that affect a specific existing rule by the rule's ID. + description: Get the list of dynamic severity rules (previously called critical assets) that affect a specific existing rule by the rule's ID. operationId: GetCriticalAssetsAffectingRule parameters: - $ref: "#/components/parameters/SecurityMonitoringRuleID" @@ -249517,9 +249525,13 @@ paths: summary: Get critical assets affecting a specific rule tags: - Security Monitoring + x-permission: + operator: OR + permissions: + - security_monitoring_critical_assets_read /api/v2/security_monitoring/configuration/critical_assets/{critical_asset_id}: delete: - description: Delete a specific critical asset. + description: Delete a specific dynamic severity rule (previously called critical assets). operationId: DeleteSecurityMonitoringCriticalAsset parameters: - $ref: "#/components/parameters/SecurityMonitoringCriticalAssetID" @@ -249540,8 +249552,12 @@ paths: summary: Delete a critical asset tags: - Security Monitoring + x-permission: + operator: OR + permissions: + - security_monitoring_critical_assets_write get: - description: Get the details of a specific critical asset. + description: Get the details of a specific dynamic severity rule (previously called critical assets). operationId: GetSecurityMonitoringCriticalAsset parameters: - $ref: "#/components/parameters/SecurityMonitoringCriticalAssetID" @@ -249578,8 +249594,12 @@ paths: summary: Get a critical asset tags: - Security Monitoring + x-permission: + operator: OR + permissions: + - security_monitoring_critical_assets_read patch: - description: Update a specific critical asset. + description: Update a specific dynamic severity rule (previously called critical assets). operationId: UpdateSecurityMonitoringCriticalAsset parameters: - $ref: "#/components/parameters/SecurityMonitoringCriticalAssetID" @@ -249641,6 +249661,10 @@ paths: summary: Update a critical asset tags: - Security Monitoring + x-permission: + operator: OR + permissions: + - security_monitoring_critical_assets_write /api/v2/security_monitoring/configuration/integration_config: get: description: |- diff --git a/lib/datadog_api_client/v2/api/security_monitoring_api.rb b/lib/datadog_api_client/v2/api/security_monitoring_api.rb index f203dbfe360d..9d32ea0d6542 100644 --- a/lib/datadog_api_client/v2/api/security_monitoring_api.rb +++ b/lib/datadog_api_client/v2/api/security_monitoring_api.rb @@ -2576,7 +2576,7 @@ def create_security_monitoring_critical_asset(body, opts = {}) # Create a critical asset. # - # Create a new critical asset. + # Create a new dynamic severity rule (previously called critical assets). # # @param body [SecurityMonitoringCriticalAssetCreateRequest] The definition of the new critical asset. # @param opts [Hash] the optional parameters @@ -4209,7 +4209,7 @@ def delete_security_monitoring_critical_asset(critical_asset_id, opts = {}) # Delete a critical asset. # - # Delete a specific critical asset. + # Delete a specific dynamic severity rule (previously called critical assets). # # @param critical_asset_id [String] The ID of the critical asset. # @param opts [Hash] the optional parameters @@ -5327,7 +5327,7 @@ def get_critical_assets_affecting_rule(rule_id, opts = {}) # Get critical assets affecting a specific rule. # - # Get the list of critical assets that affect a specific existing rule by the rule's ID. + # Get the list of dynamic severity rules (previously called critical assets) that affect a specific existing rule by the rule's ID. # # @param rule_id [String] The ID of the rule. # @param opts [Hash] the optional parameters @@ -6869,7 +6869,7 @@ def get_security_monitoring_critical_asset(critical_asset_id, opts = {}) # Get a critical asset. # - # Get the details of a specific critical asset. + # Get the details of a specific dynamic severity rule (previously called critical assets). # # @param critical_asset_id [String] The ID of the critical asset. # @param opts [Hash] the optional parameters @@ -10308,7 +10308,7 @@ def list_security_monitoring_critical_assets(opts = {}) # Get all critical assets. # - # Get the list of all critical assets. + # Get the list of all dynamic severity rules (previously called critical assets). # # @param opts [Hash] the optional parameters # @return [Array<(SecurityMonitoringCriticalAssetsResponse, Integer, Hash)>] SecurityMonitoringCriticalAssetsResponse data, response status code and response headers @@ -13687,7 +13687,7 @@ def update_security_monitoring_critical_asset(critical_asset_id, body, opts = {} # Update a critical asset. # - # Update a specific critical asset. + # Update a specific dynamic severity rule (previously called critical assets). # # @param critical_asset_id [String] The ID of the critical asset. # @param body [SecurityMonitoringCriticalAssetUpdateRequest] New definition of the critical asset. Supports partial updates. diff --git a/lib/datadog_api_client/v2/models/security_monitoring_critical_asset_attributes.rb b/lib/datadog_api_client/v2/models/security_monitoring_critical_asset_attributes.rb index f8f80260fa2d..035cee9d315f 100644 --- a/lib/datadog_api_client/v2/models/security_monitoring_critical_asset_attributes.rb +++ b/lib/datadog_api_client/v2/models/security_monitoring_critical_asset_attributes.rb @@ -45,7 +45,7 @@ class SecurityMonitoringCriticalAssetAttributes # The rule query of the critical asset, with the same syntax as the search bar for detection rules. This determines which rules this critical asset will apply to. attr_accessor :rule_query - # Severity associated with this critical asset. Either an explicit severity can be set, or the severity can be increased or decreased, or the severity can be left unchanged (no-op). + # Severity associated with this dynamic severity rule (previously called critical assets). Either an explicit severity can be set, or the severity can be increased or decreased, or the severity can be left unchanged (no-op). attr_accessor :severity # List of tags associated with the critical asset. diff --git a/lib/datadog_api_client/v2/models/security_monitoring_critical_asset_create_attributes.rb b/lib/datadog_api_client/v2/models/security_monitoring_critical_asset_create_attributes.rb index 4f86d22d8885..7ed1f41c70e6 100644 --- a/lib/datadog_api_client/v2/models/security_monitoring_critical_asset_create_attributes.rb +++ b/lib/datadog_api_client/v2/models/security_monitoring_critical_asset_create_attributes.rb @@ -33,7 +33,7 @@ class SecurityMonitoringCriticalAssetCreateAttributes # The rule query of the critical asset, with the same syntax as the search bar for detection rules. This determines which rules this critical asset will apply to. attr_reader :rule_query - # Severity associated with this critical asset. Either an explicit severity can be set, or the severity can be increased or decreased, or the severity can be left unchanged (no-op). + # Severity associated with this dynamic severity rule (previously called critical assets). Either an explicit severity can be set, or the severity can be increased or decreased, or the severity can be left unchanged (no-op). attr_reader :severity # List of tags associated with the critical asset. diff --git a/lib/datadog_api_client/v2/models/security_monitoring_critical_asset_severity.rb b/lib/datadog_api_client/v2/models/security_monitoring_critical_asset_severity.rb index 19a98724552d..7d103ce61b58 100644 --- a/lib/datadog_api_client/v2/models/security_monitoring_critical_asset_severity.rb +++ b/lib/datadog_api_client/v2/models/security_monitoring_critical_asset_severity.rb @@ -17,7 +17,7 @@ require 'time' module DatadogAPIClient::V2 - # Severity associated with this critical asset. Either an explicit severity can be set, or the severity can be increased or decreased, or the severity can be left unchanged (no-op). + # Severity associated with this dynamic severity rule (previously called critical assets). Either an explicit severity can be set, or the severity can be increased or decreased, or the severity can be left unchanged (no-op). class SecurityMonitoringCriticalAssetSeverity include BaseEnumModel diff --git a/lib/datadog_api_client/v2/models/security_monitoring_critical_asset_update_attributes.rb b/lib/datadog_api_client/v2/models/security_monitoring_critical_asset_update_attributes.rb index d2cea229efb8..25dde338cba9 100644 --- a/lib/datadog_api_client/v2/models/security_monitoring_critical_asset_update_attributes.rb +++ b/lib/datadog_api_client/v2/models/security_monitoring_critical_asset_update_attributes.rb @@ -33,7 +33,7 @@ class SecurityMonitoringCriticalAssetUpdateAttributes # The rule query of the critical asset, with the same syntax as the search bar for detection rules. This determines which rules this critical asset will apply to. attr_accessor :rule_query - # Severity associated with this critical asset. Either an explicit severity can be set, or the severity can be increased or decreased, or the severity can be left unchanged (no-op). + # Severity associated with this dynamic severity rule (previously called critical assets). Either an explicit severity can be set, or the severity can be increased or decreased, or the severity can be left unchanged (no-op). attr_accessor :severity # List of tags associated with the critical asset.