diff --git a/.generator/schemas/v2/openapi.yaml b/.generator/schemas/v2/openapi.yaml index 01cbd27c0e..db58acdb49 100644 --- a/.generator/schemas/v2/openapi.yaml +++ b/.generator/schemas/v2/openapi.yaml @@ -42034,6 +42034,18 @@ components: type: string x-enum-varnames: - CONCLUDE_EXPERIMENT_REQUEST + ExperimentsConfidenceInterval: + description: "Lower and upper bounds of the reported statistical interval." + properties: + lower: + description: "Lower bound of the reported interval." + format: double + type: number + upper: + description: "Upper bound of the reported interval." + format: double + type: number + type: object ExperimentsCreateExperimentMetricGroupV2Request: description: "Request to create a metric group on an experiment." example: @@ -42384,7 +42396,7 @@ components: example: [] items: $ref: >- - #/components/schemas/ExperimentsCreateExperimentV2RequestDataAttributesDatadogFlagConfigurationTargetingRulesItems + #/components/schemas/ExperimentsTargetingRule type: array required: - entry_point @@ -42392,19 +42404,6 @@ components: - feature_flag_id - targeting_rules type: object - ExperimentsCreateExperimentV2RequestDataAttributesDatadogFlagConfigurationTargetingRulesItems: - description: Use an empty array when no targeting rules apply. - properties: - conditions: - description: >- - Conditions that must all match for this rule. Each condition must use exactly one shape: saved_filter_id alone or operator plus attribute plus value. - example: [] - items: - $ref: "#/components/schemas/ExperimentsTargetingRuleCondition" - type: array - required: - - conditions - type: object ExperimentsCreateExperimentV2RequestDataAttributesDecisionMetricsItems: description: "Metric used to make an experiment decision, with its primary metric designation." example: @@ -42452,7 +42451,7 @@ components: type: string column_type: $ref: >- - #/components/schemas/ExperimentsPatchExperimentV2ResponseDataAttributesDatadogFlagConfigurationEntryPointFiltersItemsItemsColumnType + #/components/schemas/ExperimentsDatadogEntryPointFilterColumnType name: description: Optional display name. Defaults to column_name for a new property. type: string @@ -42568,7 +42567,7 @@ components: properties: entry_point: $ref: >- - #/components/schemas/ExperimentsPatchExperimentV2ResponseDataAttributesWarehouseExposureConfigurationEntryPoint + #/components/schemas/ExperimentsWarehouseEntryPoint experiment_key: description: Warehouse experiment key. Must not be blank. example: checkout_button_test @@ -43068,17 +43067,6 @@ components: oneOf: - $ref: "#/components/schemas/ExperimentsWarehousePercentileAggregationInput" - $ref: "#/components/schemas/ExperimentsDatadogPercentileAggregationInput" - ExperimentsCreateMetricV2RequestDataAttributesPercentileAggregationWarehouseMetricMeasure: - description: "Reference to a measure defined in a warehouse metric SQL model." - properties: - id: - description: "Identifier of the warehouse metric measure." - example: 550e8400-e29b-41d4-a716-446655440021 - format: uuid - type: string - required: - - id - type: object ExperimentsCreateSubjectTypeV2Request: description: "Request to create a subject type for experiment assignments." example: @@ -43162,10 +43150,10 @@ components: type: string column_type: $ref: >- - #/components/schemas/ExperimentsPatchExperimentV2ResponseDataAttributesDatadogFlagConfigurationEntryPointFiltersItemsItemsColumnType + #/components/schemas/ExperimentsDatadogEntryPointFilterColumnType operation: $ref: >- - #/components/schemas/ExperimentsPatchExperimentV2ResponseDataAttributesDatadogFlagConfigurationEntryPointFiltersItemsItemsOperation + #/components/schemas/ExperimentsDatadogEntryPointFilterOperation values: description: "Comparison values used by the filter operation." example: [] @@ -43179,11 +43167,55 @@ components: - operation - values type: object + ExperimentsDatadogEntryPointFilterColumnType: + description: "Data type of the column evaluated by the entry-point filter." + enum: + - varchar + - int + - double + - boolean + - varchar_array + - int_array + - double_array + - raw + example: varchar + type: string + x-enum-varnames: + - VARCHAR + - INT + - DOUBLE + - BOOLEAN + - VARCHAR_ARRAY + - INT_ARRAY + - DOUBLE_ARRAY + - RAW ExperimentsDatadogEntryPointFilterGroup: description: Entry-point filters combined with AND. items: $ref: "#/components/schemas/ExperimentsDatadogEntryPointFilter" type: array + ExperimentsDatadogEntryPointFilterOperation: + description: "Comparison applied by the Datadog entry-point filter." + enum: + - eq + - in + - neq + - not_in + - gte + - lte + - gt + - lt + example: eq + type: string + x-enum-varnames: + - EQ + - IN + - NEQ + - NOT_IN + - GTE + - LTE + - GT + - LT ExperimentsDatadogMetricAggregationInput: description: >- Settings for a metric aggregation that uses a Datadog measure. The other measure must be omitted or null. @@ -44506,7 +44538,7 @@ components: type: string operator: $ref: >- - #/components/schemas/ExperimentsPatchExperimentV2ResponseDataAttributesDatadogFlagConfigurationTargetingRulesItemsConditionsItemsOperator + #/components/schemas/ExperimentsTargetingRuleOperator value: description: Values used by the operator. Every operator requires at least one value. example: @@ -46005,7 +46037,7 @@ components: example: [] items: $ref: >- - #/components/schemas/ExperimentsCreateExperimentV2RequestDataAttributesDatadogFlagConfigurationTargetingRulesItems + #/components/schemas/ExperimentsTargetingRule type: array type: object ExperimentsPatchExperimentV2Response: @@ -46357,7 +46389,7 @@ components: description: "Rules that select subjects for the experiment." items: $ref: >- - #/components/schemas/ExperimentsCreateExperimentV2RequestDataAttributesDatadogFlagConfigurationTargetingRulesItems + #/components/schemas/ExperimentsTargetingRule type: array required: - entry_point @@ -46380,88 +46412,6 @@ components: - filters - measure_id type: object - ExperimentsPatchExperimentV2ResponseDataAttributesDatadogFlagConfigurationEntryPointFiltersItemsItemsColumnType: - description: "Data type of the column evaluated by the entry-point filter." - enum: - - varchar - - int - - double - - boolean - - varchar_array - - int_array - - double_array - - raw - example: varchar - type: string - x-enum-varnames: - - VARCHAR - - INT - - DOUBLE - - BOOLEAN - - VARCHAR_ARRAY - - INT_ARRAY - - DOUBLE_ARRAY - - RAW - ExperimentsPatchExperimentV2ResponseDataAttributesDatadogFlagConfigurationEntryPointFiltersItemsItemsOperation: - description: "Comparison applied by the Datadog entry-point filter." - enum: - - eq - - in - - neq - - not_in - - gte - - lte - - gt - - lt - example: eq - type: string - x-enum-varnames: - - EQ - - IN - - NEQ - - NOT_IN - - GTE - - LTE - - GT - - LT - ExperimentsPatchExperimentV2ResponseDataAttributesDatadogFlagConfigurationTargetingRulesItemsConditionsItemsOperator: - description: Required with attribute and value for an inline condition; omit when saved_filter_id is set. - enum: - - LT - - LTE - - GT - - GTE - - MATCHES - - NOT_MATCHES - - ONE_OF - - NOT_ONE_OF - - IS_NULL - - EQUALS - - SEMVER_EQ - - SEMVER_NEQ - - SEMVER_LT - - SEMVER_LTE - - SEMVER_GT - - SEMVER_GTE - example: LT - type: string - x-enum-varnames: - - LT - - LTE - - GT - - GTE - - MATCHES - - NOT_MATCHES - - ONE_OF - - NOT_ONE_OF - - IS_NULL - - EQUALS - - SEMVER_EQ - - SEMVER_NEQ - - SEMVER_LT - - SEMVER_LTE - - SEMVER_GT - - SEMVER_GTE ExperimentsPatchExperimentV2ResponseDataAttributesSplitByPropertiesItemsColumnType: description: Type of the Datadog exposure field or Warehouse column. enum: @@ -46539,7 +46489,7 @@ components: properties: entry_point: $ref: >- - #/components/schemas/ExperimentsPatchExperimentV2ResponseDataAttributesWarehouseExposureConfigurationEntryPoint + #/components/schemas/ExperimentsWarehouseEntryPoint experiment_key: description: >- Warehouse experiment key. Reads can return null for incomplete configuration; configuration writes require a value. @@ -46555,35 +46505,6 @@ components: - experiment_key - exposure_sql_model_id type: object - ExperimentsPatchExperimentV2ResponseDataAttributesWarehouseExposureConfigurationEntryPoint: - description: Optional Warehouse measure that scopes analyzed subjects. - example: - nullable: true - properties: - filters: - description: Complete ordered Warehouse entry-point filter set. - example: [] - items: - $ref: "#/components/schemas/ExperimentsWarehouseExposureFilter" - type: array - measure_id: - description: Warehouse measure UUID. - example: 550e8400-e29b-41d4-a716-446655440000 - type: string - required: - - filters - - measure_id - type: object - ExperimentsPatchExperimentV2ResponseDataAttributesWarehouseExposureConfigurationEntryPointFiltersItemsOperation: - description: "Comparison applied by the warehouse entry-point filter." - enum: - - IS - - IS_NOT - example: IS - type: string - x-enum-varnames: - - IS - - IS_NOT ExperimentsPatchExperimentV2ResponseDataType: default: experiments description: Experiments resource type. @@ -46740,7 +46661,7 @@ components: type: string operation: $ref: >- - #/components/schemas/ExperimentsPatchExperimentV2ResponseDataAttributesWarehouseExposureConfigurationEntryPointFiltersItemsOperation + #/components/schemas/ExperimentsWarehouseEntryPointFilterOperation property_id: description: ID of the property on the aggregation source. example: 550e8400-e29b-41d4-a716-446655440023 @@ -47572,11 +47493,62 @@ components: type: string x-enum-varnames: - SUBJECT_TYPES + ExperimentsTargetingRule: + description: Use an empty array when no targeting rules apply. + properties: + conditions: + description: >- + Conditions that must all match for this rule. Each condition must use exactly one shape: saved_filter_id alone or operator plus attribute plus value. + example: [] + items: + $ref: "#/components/schemas/ExperimentsTargetingRuleCondition" + type: array + required: + - conditions + type: object ExperimentsTargetingRuleCondition: description: A saved-filter condition or a complete inline condition. The two forms cannot be combined. oneOf: - $ref: "#/components/schemas/ExperimentsSavedFilterCondition" - $ref: "#/components/schemas/ExperimentsInlineCondition" + ExperimentsTargetingRuleOperator: + description: Required with attribute and value for an inline condition; omit when saved_filter_id is set. + enum: + - LT + - LTE + - GT + - GTE + - MATCHES + - NOT_MATCHES + - ONE_OF + - NOT_ONE_OF + - IS_NULL + - EQUALS + - SEMVER_EQ + - SEMVER_NEQ + - SEMVER_LT + - SEMVER_LTE + - SEMVER_GT + - SEMVER_GTE + example: LT + type: string + x-enum-varnames: + - LT + - LTE + - GT + - GTE + - MATCHES + - NOT_MATCHES + - ONE_OF + - NOT_ONE_OF + - IS_NULL + - EQUALS + - SEMVER_EQ + - SEMVER_NEQ + - SEMVER_LT + - SEMVER_LTE + - SEMVER_GT + - SEMVER_GTE ExperimentsTrafficSummaryV2DTO: description: "Response containing the experiment traffic summary." properties: @@ -48096,7 +48068,7 @@ components: properties: confidence_interval: $ref: >- - #/components/schemas/ExperimentsVariantResultsV2DTODataAttributesMetricsItemsAnalysesItemsConfidenceInterval + #/components/schemas/ExperimentsConfidenceInterval confidence_level: description: >- Configured nominal confidence level. Interval bounds can use an adjusted level for multiple testing or hybrid methods. @@ -48175,18 +48147,6 @@ components: format: double type: number type: object - ExperimentsVariantResultsV2DTODataAttributesMetricsItemsAnalysesItemsConfidenceInterval: - description: "Lower and upper bounds of the reported statistical interval." - properties: - lower: - description: "Lower bound of the reported interval." - format: double - type: number - upper: - description: "Upper bound of the reported interval." - format: double - type: number - type: object ExperimentsVariantResultsV2DTODataAttributesMetricsItemsAnalysesItemsLiftType: description: "Whether the reported lift is relative or absolute." enum: @@ -48272,12 +48232,41 @@ components: type: string x-enum-varnames: - EXPERIMENT_VARIANT_RESULTS + ExperimentsWarehouseEntryPoint: + description: Optional Warehouse measure that scopes analyzed subjects. + example: + nullable: true + properties: + filters: + description: Complete ordered Warehouse entry-point filter set. + example: [] + items: + $ref: "#/components/schemas/ExperimentsWarehouseExposureFilter" + type: array + measure_id: + description: Warehouse measure UUID. + example: 550e8400-e29b-41d4-a716-446655440000 + type: string + required: + - filters + - measure_id + type: object + ExperimentsWarehouseEntryPointFilterOperation: + description: "Comparison applied by the warehouse entry-point filter." + enum: + - IS + - IS_NOT + example: IS + type: string + x-enum-varnames: + - IS + - IS_NOT ExperimentsWarehouseExposureFilter: description: "A comparison that selects warehouse exposure data by a property." properties: operation: $ref: >- - #/components/schemas/ExperimentsPatchExperimentV2ResponseDataAttributesWarehouseExposureConfigurationEntryPointFiltersItemsOperation + #/components/schemas/ExperimentsWarehouseEntryPointFilterOperation property_id: description: Warehouse property UUID. example: 550e8400-e29b-41d4-a716-446655440000 @@ -48385,7 +48374,7 @@ components: type: string warehouse_metric_measure: $ref: >- - #/components/schemas/ExperimentsCreateMetricV2RequestDataAttributesPercentileAggregationWarehouseMetricMeasure + #/components/schemas/ExperimentsWarehouseMetricMeasure winsor_lower_fixed_value: description: Fixed lower bound used to cap extreme measure values. format: double @@ -48409,6 +48398,17 @@ components: - operation - warehouse_metric_measure type: object + ExperimentsWarehouseMetricMeasure: + description: "Reference to a measure defined in a warehouse metric SQL model." + properties: + id: + description: "Identifier of the warehouse metric measure." + example: 550e8400-e29b-41d4-a716-446655440021 + format: uuid + type: string + required: + - id + type: object ExperimentsWarehousePercentileAggregationInput: description: >- Settings for a percentile aggregation that uses a Warehouse measure. The other measure must be omitted or null. @@ -48432,7 +48432,7 @@ components: type: array warehouse_metric_measure: $ref: >- - #/components/schemas/ExperimentsCreateMetricV2RequestDataAttributesPercentileAggregationWarehouseMetricMeasure + #/components/schemas/ExperimentsWarehouseMetricMeasure required: - percentile - warehouse_metric_measure diff --git a/examples/v1/dashboards/CreateDashboard_3513586382.py b/examples/v1/dashboards/CreateDashboard_3513586382.py index 9d125badd9..17fe14c34d 100644 --- a/examples/v1/dashboards/CreateDashboard_3513586382.py +++ b/examples/v1/dashboards/CreateDashboard_3513586382.py @@ -61,10 +61,6 @@ field="classic", width=ListStreamColumnWidth.AUTO, ), - ListStreamColumn( - field="", - width=ListStreamColumnWidth.AUTO, - ), ], ), ], diff --git a/src/datadog_api_client/v2/model/experiments_variant_results_v2_dto_data_attributes_metrics_items_analyses_items_confidence_interval.py b/src/datadog_api_client/v2/model/experiments_confidence_interval.py similarity index 91% rename from src/datadog_api_client/v2/model/experiments_variant_results_v2_dto_data_attributes_metrics_items_analyses_items_confidence_interval.py rename to src/datadog_api_client/v2/model/experiments_confidence_interval.py index af0d4bbc7f..32c7b0039d 100644 --- a/src/datadog_api_client/v2/model/experiments_variant_results_v2_dto_data_attributes_metrics_items_analyses_items_confidence_interval.py +++ b/src/datadog_api_client/v2/model/experiments_confidence_interval.py @@ -13,7 +13,7 @@ ) -class ExperimentsVariantResultsV2DTODataAttributesMetricsItemsAnalysesItemsConfidenceInterval(ModelNormal): +class ExperimentsConfidenceInterval(ModelNormal): @cached_property def openapi_types(_): return { diff --git a/src/datadog_api_client/v2/model/experiments_create_experiment_v2_request_data_attributes_datadog_flag_configuration.py b/src/datadog_api_client/v2/model/experiments_create_experiment_v2_request_data_attributes_datadog_flag_configuration.py index 05d5c0f6b9..c48c1749b9 100644 --- a/src/datadog_api_client/v2/model/experiments_create_experiment_v2_request_data_attributes_datadog_flag_configuration.py +++ b/src/datadog_api_client/v2/model/experiments_create_experiment_v2_request_data_attributes_datadog_flag_configuration.py @@ -19,9 +19,7 @@ from datadog_api_client.v2.model.experiments_patch_experiment_v2_response_data_attributes_datadog_flag_configuration_entry_point import ( ExperimentsPatchExperimentV2ResponseDataAttributesDatadogFlagConfigurationEntryPoint, ) - from datadog_api_client.v2.model.experiments_create_experiment_v2_request_data_attributes_datadog_flag_configuration_targeting_rules_items import ( - ExperimentsCreateExperimentV2RequestDataAttributesDatadogFlagConfigurationTargetingRulesItems, - ) + from datadog_api_client.v2.model.experiments_targeting_rule import ExperimentsTargetingRule class ExperimentsCreateExperimentV2RequestDataAttributesDatadogFlagConfiguration(ModelNormal): @@ -32,18 +30,14 @@ def openapi_types(_): from datadog_api_client.v2.model.experiments_patch_experiment_v2_response_data_attributes_datadog_flag_configuration_entry_point import ( ExperimentsPatchExperimentV2ResponseDataAttributesDatadogFlagConfigurationEntryPoint, ) - from datadog_api_client.v2.model.experiments_create_experiment_v2_request_data_attributes_datadog_flag_configuration_targeting_rules_items import ( - ExperimentsCreateExperimentV2RequestDataAttributesDatadogFlagConfigurationTargetingRulesItems, - ) + from datadog_api_client.v2.model.experiments_targeting_rule import ExperimentsTargetingRule return { "entry_point": (ExperimentsPatchExperimentV2ResponseDataAttributesDatadogFlagConfigurationEntryPoint,), "environment_id": (UUID,), "feature_flag_id": (UUID,), "reset_on_feature_flag_change": (bool,), - "targeting_rules": ( - [ExperimentsCreateExperimentV2RequestDataAttributesDatadogFlagConfigurationTargetingRulesItems], - ), + "targeting_rules": ([ExperimentsTargetingRule],), } attribute_map = { @@ -61,9 +55,7 @@ def __init__( ], environment_id: UUID, feature_flag_id: UUID, - targeting_rules: List[ - ExperimentsCreateExperimentV2RequestDataAttributesDatadogFlagConfigurationTargetingRulesItems - ], + targeting_rules: List[ExperimentsTargetingRule], reset_on_feature_flag_change: Union[bool, UnsetType] = unset, **kwargs, ): @@ -83,7 +75,7 @@ def __init__( :type reset_on_feature_flag_change: bool, optional :param targeting_rules: Use an empty array when no targeting rules apply. - :type targeting_rules: [ExperimentsCreateExperimentV2RequestDataAttributesDatadogFlagConfigurationTargetingRulesItems] + :type targeting_rules: [ExperimentsTargetingRule] """ if reset_on_feature_flag_change is not unset: kwargs["reset_on_feature_flag_change"] = reset_on_feature_flag_change diff --git a/src/datadog_api_client/v2/model/experiments_create_experiment_v2_request_data_attributes_split_by_properties_items.py b/src/datadog_api_client/v2/model/experiments_create_experiment_v2_request_data_attributes_split_by_properties_items.py index 4b8fc7e542..e3bb2956a5 100644 --- a/src/datadog_api_client/v2/model/experiments_create_experiment_v2_request_data_attributes_split_by_properties_items.py +++ b/src/datadog_api_client/v2/model/experiments_create_experiment_v2_request_data_attributes_split_by_properties_items.py @@ -14,23 +14,21 @@ if TYPE_CHECKING: - from datadog_api_client.v2.model.experiments_patch_experiment_v2_response_data_attributes_datadog_flag_configuration_entry_point_filters_items_items_column_type import ( - ExperimentsPatchExperimentV2ResponseDataAttributesDatadogFlagConfigurationEntryPointFiltersItemsItemsColumnType, + from datadog_api_client.v2.model.experiments_datadog_entry_point_filter_column_type import ( + ExperimentsDatadogEntryPointFilterColumnType, ) class ExperimentsCreateExperimentV2RequestDataAttributesSplitByPropertiesItems(ModelNormal): @cached_property def openapi_types(_): - from datadog_api_client.v2.model.experiments_patch_experiment_v2_response_data_attributes_datadog_flag_configuration_entry_point_filters_items_items_column_type import ( - ExperimentsPatchExperimentV2ResponseDataAttributesDatadogFlagConfigurationEntryPointFiltersItemsItemsColumnType, + from datadog_api_client.v2.model.experiments_datadog_entry_point_filter_column_type import ( + ExperimentsDatadogEntryPointFilterColumnType, ) return { "column_name": (str,), - "column_type": ( - ExperimentsPatchExperimentV2ResponseDataAttributesDatadogFlagConfigurationEntryPointFiltersItemsItemsColumnType, - ), + "column_type": (ExperimentsDatadogEntryPointFilterColumnType,), "name": (str,), } @@ -43,10 +41,7 @@ def openapi_types(_): def __init__( self_, column_name: str, - column_type: Union[ - ExperimentsPatchExperimentV2ResponseDataAttributesDatadogFlagConfigurationEntryPointFiltersItemsItemsColumnType, - UnsetType, - ] = unset, + column_type: Union[ExperimentsDatadogEntryPointFilterColumnType, UnsetType] = unset, name: Union[str, UnsetType] = unset, **kwargs, ): @@ -57,7 +52,7 @@ def __init__( :type column_name: str :param column_type: Data type of the column evaluated by the entry-point filter. - :type column_type: ExperimentsPatchExperimentV2ResponseDataAttributesDatadogFlagConfigurationEntryPointFiltersItemsItemsColumnType, optional + :type column_type: ExperimentsDatadogEntryPointFilterColumnType, optional :param name: Optional display name. Defaults to column_name for a new property. :type name: str, optional diff --git a/src/datadog_api_client/v2/model/experiments_create_experiment_v2_request_data_attributes_warehouse_exposure_configuration.py b/src/datadog_api_client/v2/model/experiments_create_experiment_v2_request_data_attributes_warehouse_exposure_configuration.py index adb235c1fd..9015ca5cfd 100644 --- a/src/datadog_api_client/v2/model/experiments_create_experiment_v2_request_data_attributes_warehouse_exposure_configuration.py +++ b/src/datadog_api_client/v2/model/experiments_create_experiment_v2_request_data_attributes_warehouse_exposure_configuration.py @@ -13,9 +13,7 @@ if TYPE_CHECKING: - from datadog_api_client.v2.model.experiments_patch_experiment_v2_response_data_attributes_warehouse_exposure_configuration_entry_point import ( - ExperimentsPatchExperimentV2ResponseDataAttributesWarehouseExposureConfigurationEntryPoint, - ) + from datadog_api_client.v2.model.experiments_warehouse_entry_point import ExperimentsWarehouseEntryPoint class ExperimentsCreateExperimentV2RequestDataAttributesWarehouseExposureConfiguration(ModelNormal): @@ -29,14 +27,10 @@ class ExperimentsCreateExperimentV2RequestDataAttributesWarehouseExposureConfigu @cached_property def openapi_types(_): - from datadog_api_client.v2.model.experiments_patch_experiment_v2_response_data_attributes_warehouse_exposure_configuration_entry_point import ( - ExperimentsPatchExperimentV2ResponseDataAttributesWarehouseExposureConfigurationEntryPoint, - ) + from datadog_api_client.v2.model.experiments_warehouse_entry_point import ExperimentsWarehouseEntryPoint return { - "entry_point": ( - ExperimentsPatchExperimentV2ResponseDataAttributesWarehouseExposureConfigurationEntryPoint, - ), + "entry_point": (ExperimentsWarehouseEntryPoint,), "experiment_key": (str,), "exposure_sql_model_id": (str,), } @@ -49,9 +43,7 @@ def openapi_types(_): def __init__( self_, - entry_point: Union[ - ExperimentsPatchExperimentV2ResponseDataAttributesWarehouseExposureConfigurationEntryPoint, none_type - ], + entry_point: Union[ExperimentsWarehouseEntryPoint, none_type], experiment_key: str, exposure_sql_model_id: str, **kwargs, @@ -60,7 +52,7 @@ def __init__( Warehouse model and experiment key used to read assignment data. :param entry_point: Optional Warehouse measure that scopes analyzed subjects. - :type entry_point: ExperimentsPatchExperimentV2ResponseDataAttributesWarehouseExposureConfigurationEntryPoint, none_type + :type entry_point: ExperimentsWarehouseEntryPoint, none_type :param experiment_key: Warehouse experiment key. Must not be blank. :type experiment_key: str diff --git a/src/datadog_api_client/v2/model/experiments_create_metric_v2_request_data_attributes_numerator_aggregation.py b/src/datadog_api_client/v2/model/experiments_create_metric_v2_request_data_attributes_numerator_aggregation.py index 725978061b..a0c82a75bf 100644 --- a/src/datadog_api_client/v2/model/experiments_create_metric_v2_request_data_attributes_numerator_aggregation.py +++ b/src/datadog_api_client/v2/model/experiments_create_metric_v2_request_data_attributes_numerator_aggregation.py @@ -57,7 +57,7 @@ def __init__(self, **kwargs): :type timeframe_unit: str, optional :param warehouse_metric_measure: Reference to a measure defined in a warehouse metric SQL model. - :type warehouse_metric_measure: ExperimentsCreateMetricV2RequestDataAttributesPercentileAggregationWarehouseMetricMeasure + :type warehouse_metric_measure: ExperimentsWarehouseMetricMeasure :param winsor_lower_fixed_value: Fixed lower bound used to cap extreme measure values. :type winsor_lower_fixed_value: float, optional diff --git a/src/datadog_api_client/v2/model/experiments_create_metric_v2_request_data_attributes_percentile_aggregation.py b/src/datadog_api_client/v2/model/experiments_create_metric_v2_request_data_attributes_percentile_aggregation.py index 7bc658f174..0d3f429528 100644 --- a/src/datadog_api_client/v2/model/experiments_create_metric_v2_request_data_attributes_percentile_aggregation.py +++ b/src/datadog_api_client/v2/model/experiments_create_metric_v2_request_data_attributes_percentile_aggregation.py @@ -25,7 +25,7 @@ def __init__(self, **kwargs): :type property_filters: [[ExperimentsPropertyFilterInput]], none_type, optional :param warehouse_metric_measure: Reference to a measure defined in a warehouse metric SQL model. - :type warehouse_metric_measure: ExperimentsCreateMetricV2RequestDataAttributesPercentileAggregationWarehouseMetricMeasure + :type warehouse_metric_measure: ExperimentsWarehouseMetricMeasure """ super().__init__(kwargs) diff --git a/src/datadog_api_client/v2/model/experiments_datadog_entry_point_filter.py b/src/datadog_api_client/v2/model/experiments_datadog_entry_point_filter.py index 359d3b1d19..ba51fa7945 100644 --- a/src/datadog_api_client/v2/model/experiments_datadog_entry_point_filter.py +++ b/src/datadog_api_client/v2/model/experiments_datadog_entry_point_filter.py @@ -12,32 +12,28 @@ if TYPE_CHECKING: - from datadog_api_client.v2.model.experiments_patch_experiment_v2_response_data_attributes_datadog_flag_configuration_entry_point_filters_items_items_column_type import ( - ExperimentsPatchExperimentV2ResponseDataAttributesDatadogFlagConfigurationEntryPointFiltersItemsItemsColumnType, + from datadog_api_client.v2.model.experiments_datadog_entry_point_filter_column_type import ( + ExperimentsDatadogEntryPointFilterColumnType, ) - from datadog_api_client.v2.model.experiments_patch_experiment_v2_response_data_attributes_datadog_flag_configuration_entry_point_filters_items_items_operation import ( - ExperimentsPatchExperimentV2ResponseDataAttributesDatadogFlagConfigurationEntryPointFiltersItemsItemsOperation, + from datadog_api_client.v2.model.experiments_datadog_entry_point_filter_operation import ( + ExperimentsDatadogEntryPointFilterOperation, ) class ExperimentsDatadogEntryPointFilter(ModelNormal): @cached_property def openapi_types(_): - from datadog_api_client.v2.model.experiments_patch_experiment_v2_response_data_attributes_datadog_flag_configuration_entry_point_filters_items_items_column_type import ( - ExperimentsPatchExperimentV2ResponseDataAttributesDatadogFlagConfigurationEntryPointFiltersItemsItemsColumnType, + from datadog_api_client.v2.model.experiments_datadog_entry_point_filter_column_type import ( + ExperimentsDatadogEntryPointFilterColumnType, ) - from datadog_api_client.v2.model.experiments_patch_experiment_v2_response_data_attributes_datadog_flag_configuration_entry_point_filters_items_items_operation import ( - ExperimentsPatchExperimentV2ResponseDataAttributesDatadogFlagConfigurationEntryPointFiltersItemsItemsOperation, + from datadog_api_client.v2.model.experiments_datadog_entry_point_filter_operation import ( + ExperimentsDatadogEntryPointFilterOperation, ) return { "column": (str,), - "column_type": ( - ExperimentsPatchExperimentV2ResponseDataAttributesDatadogFlagConfigurationEntryPointFiltersItemsItemsColumnType, - ), - "operation": ( - ExperimentsPatchExperimentV2ResponseDataAttributesDatadogFlagConfigurationEntryPointFiltersItemsItemsOperation, - ), + "column_type": (ExperimentsDatadogEntryPointFilterColumnType,), + "operation": (ExperimentsDatadogEntryPointFilterOperation,), "values": ([str],), } @@ -51,8 +47,8 @@ def openapi_types(_): def __init__( self_, column: str, - column_type: ExperimentsPatchExperimentV2ResponseDataAttributesDatadogFlagConfigurationEntryPointFiltersItemsItemsColumnType, - operation: ExperimentsPatchExperimentV2ResponseDataAttributesDatadogFlagConfigurationEntryPointFiltersItemsItemsOperation, + column_type: ExperimentsDatadogEntryPointFilterColumnType, + operation: ExperimentsDatadogEntryPointFilterOperation, values: List[str], **kwargs, ): @@ -63,10 +59,10 @@ def __init__( :type column: str :param column_type: Data type of the column evaluated by the entry-point filter. - :type column_type: ExperimentsPatchExperimentV2ResponseDataAttributesDatadogFlagConfigurationEntryPointFiltersItemsItemsColumnType + :type column_type: ExperimentsDatadogEntryPointFilterColumnType :param operation: Comparison applied by the Datadog entry-point filter. - :type operation: ExperimentsPatchExperimentV2ResponseDataAttributesDatadogFlagConfigurationEntryPointFiltersItemsItemsOperation + :type operation: ExperimentsDatadogEntryPointFilterOperation :param values: Comparison values used by the filter operation. :type values: [str] diff --git a/src/datadog_api_client/v2/model/experiments_datadog_entry_point_filter_column_type.py b/src/datadog_api_client/v2/model/experiments_datadog_entry_point_filter_column_type.py new file mode 100644 index 0000000000..91453d428c --- /dev/null +++ b/src/datadog_api_client/v2/model/experiments_datadog_entry_point_filter_column_type.py @@ -0,0 +1,58 @@ +# Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. +# This product includes software developed at Datadog (https://www.datadoghq.com/). +# Copyright 2019-Present Datadog, Inc. +from __future__ import annotations + + +from datadog_api_client.model_utils import ( + ModelSimple, + cached_property, +) + +from typing import ClassVar + + +class ExperimentsDatadogEntryPointFilterColumnType(ModelSimple): + """ + Data type of the column evaluated by the entry-point filter. + + :param value: Must be one of ["varchar", "int", "double", "boolean", "varchar_array", "int_array", "double_array", "raw"]. + :type value: str + """ + + allowed_values = { + "varchar", + "int", + "double", + "boolean", + "varchar_array", + "int_array", + "double_array", + "raw", + } + VARCHAR: ClassVar["ExperimentsDatadogEntryPointFilterColumnType"] + INT: ClassVar["ExperimentsDatadogEntryPointFilterColumnType"] + DOUBLE: ClassVar["ExperimentsDatadogEntryPointFilterColumnType"] + BOOLEAN: ClassVar["ExperimentsDatadogEntryPointFilterColumnType"] + VARCHAR_ARRAY: ClassVar["ExperimentsDatadogEntryPointFilterColumnType"] + INT_ARRAY: ClassVar["ExperimentsDatadogEntryPointFilterColumnType"] + DOUBLE_ARRAY: ClassVar["ExperimentsDatadogEntryPointFilterColumnType"] + RAW: ClassVar["ExperimentsDatadogEntryPointFilterColumnType"] + + @cached_property + def openapi_types(_): + return { + "value": (str,), + } + + +ExperimentsDatadogEntryPointFilterColumnType.VARCHAR = ExperimentsDatadogEntryPointFilterColumnType("varchar") +ExperimentsDatadogEntryPointFilterColumnType.INT = ExperimentsDatadogEntryPointFilterColumnType("int") +ExperimentsDatadogEntryPointFilterColumnType.DOUBLE = ExperimentsDatadogEntryPointFilterColumnType("double") +ExperimentsDatadogEntryPointFilterColumnType.BOOLEAN = ExperimentsDatadogEntryPointFilterColumnType("boolean") +ExperimentsDatadogEntryPointFilterColumnType.VARCHAR_ARRAY = ExperimentsDatadogEntryPointFilterColumnType( + "varchar_array" +) +ExperimentsDatadogEntryPointFilterColumnType.INT_ARRAY = ExperimentsDatadogEntryPointFilterColumnType("int_array") +ExperimentsDatadogEntryPointFilterColumnType.DOUBLE_ARRAY = ExperimentsDatadogEntryPointFilterColumnType("double_array") +ExperimentsDatadogEntryPointFilterColumnType.RAW = ExperimentsDatadogEntryPointFilterColumnType("raw") diff --git a/src/datadog_api_client/v2/model/experiments_datadog_entry_point_filter_operation.py b/src/datadog_api_client/v2/model/experiments_datadog_entry_point_filter_operation.py new file mode 100644 index 0000000000..7f6e1faafb --- /dev/null +++ b/src/datadog_api_client/v2/model/experiments_datadog_entry_point_filter_operation.py @@ -0,0 +1,56 @@ +# Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. +# This product includes software developed at Datadog (https://www.datadoghq.com/). +# Copyright 2019-Present Datadog, Inc. +from __future__ import annotations + + +from datadog_api_client.model_utils import ( + ModelSimple, + cached_property, +) + +from typing import ClassVar + + +class ExperimentsDatadogEntryPointFilterOperation(ModelSimple): + """ + Comparison applied by the Datadog entry-point filter. + + :param value: Must be one of ["eq", "in", "neq", "not_in", "gte", "lte", "gt", "lt"]. + :type value: str + """ + + allowed_values = { + "eq", + "in", + "neq", + "not_in", + "gte", + "lte", + "gt", + "lt", + } + EQ: ClassVar["ExperimentsDatadogEntryPointFilterOperation"] + IN: ClassVar["ExperimentsDatadogEntryPointFilterOperation"] + NEQ: ClassVar["ExperimentsDatadogEntryPointFilterOperation"] + NOT_IN: ClassVar["ExperimentsDatadogEntryPointFilterOperation"] + GTE: ClassVar["ExperimentsDatadogEntryPointFilterOperation"] + LTE: ClassVar["ExperimentsDatadogEntryPointFilterOperation"] + GT: ClassVar["ExperimentsDatadogEntryPointFilterOperation"] + LT: ClassVar["ExperimentsDatadogEntryPointFilterOperation"] + + @cached_property + def openapi_types(_): + return { + "value": (str,), + } + + +ExperimentsDatadogEntryPointFilterOperation.EQ = ExperimentsDatadogEntryPointFilterOperation("eq") +ExperimentsDatadogEntryPointFilterOperation.IN = ExperimentsDatadogEntryPointFilterOperation("in") +ExperimentsDatadogEntryPointFilterOperation.NEQ = ExperimentsDatadogEntryPointFilterOperation("neq") +ExperimentsDatadogEntryPointFilterOperation.NOT_IN = ExperimentsDatadogEntryPointFilterOperation("not_in") +ExperimentsDatadogEntryPointFilterOperation.GTE = ExperimentsDatadogEntryPointFilterOperation("gte") +ExperimentsDatadogEntryPointFilterOperation.LTE = ExperimentsDatadogEntryPointFilterOperation("lte") +ExperimentsDatadogEntryPointFilterOperation.GT = ExperimentsDatadogEntryPointFilterOperation("gt") +ExperimentsDatadogEntryPointFilterOperation.LT = ExperimentsDatadogEntryPointFilterOperation("lt") diff --git a/src/datadog_api_client/v2/model/experiments_inline_condition.py b/src/datadog_api_client/v2/model/experiments_inline_condition.py index 20d6490cb2..aa6053901f 100644 --- a/src/datadog_api_client/v2/model/experiments_inline_condition.py +++ b/src/datadog_api_client/v2/model/experiments_inline_condition.py @@ -12,9 +12,7 @@ if TYPE_CHECKING: - from datadog_api_client.v2.model.experiments_patch_experiment_v2_response_data_attributes_datadog_flag_configuration_targeting_rules_items_conditions_items_operator import ( - ExperimentsPatchExperimentV2ResponseDataAttributesDatadogFlagConfigurationTargetingRulesItemsConditionsItemsOperator, - ) + from datadog_api_client.v2.model.experiments_targeting_rule_operator import ExperimentsTargetingRuleOperator class ExperimentsInlineCondition(ModelNormal): @@ -29,15 +27,11 @@ class ExperimentsInlineCondition(ModelNormal): @cached_property def openapi_types(_): - from datadog_api_client.v2.model.experiments_patch_experiment_v2_response_data_attributes_datadog_flag_configuration_targeting_rules_items_conditions_items_operator import ( - ExperimentsPatchExperimentV2ResponseDataAttributesDatadogFlagConfigurationTargetingRulesItemsConditionsItemsOperator, - ) + from datadog_api_client.v2.model.experiments_targeting_rule_operator import ExperimentsTargetingRuleOperator return { "attribute": (str,), - "operator": ( - ExperimentsPatchExperimentV2ResponseDataAttributesDatadogFlagConfigurationTargetingRulesItemsConditionsItemsOperator, - ), + "operator": (ExperimentsTargetingRuleOperator,), "value": ([str],), } @@ -47,13 +41,7 @@ def openapi_types(_): "value": "value", } - def __init__( - self_, - attribute: str, - operator: ExperimentsPatchExperimentV2ResponseDataAttributesDatadogFlagConfigurationTargetingRulesItemsConditionsItemsOperator, - value: List[str], - **kwargs, - ): + def __init__(self_, attribute: str, operator: ExperimentsTargetingRuleOperator, value: List[str], **kwargs): """ An inline condition. The saved_filter_id field must be omitted or null. @@ -61,7 +49,7 @@ def __init__( :type attribute: str :param operator: Required with attribute and value for an inline condition; omit when saved_filter_id is set. - :type operator: ExperimentsPatchExperimentV2ResponseDataAttributesDatadogFlagConfigurationTargetingRulesItemsConditionsItemsOperator + :type operator: ExperimentsTargetingRuleOperator :param value: Values used by the operator. Every operator requires at least one value. :type value: [str] diff --git a/src/datadog_api_client/v2/model/experiments_patch_experiment_v2_request_data_attributes_datadog_flag_configuration.py b/src/datadog_api_client/v2/model/experiments_patch_experiment_v2_request_data_attributes_datadog_flag_configuration.py index ccbf0a1a9b..558752f2c2 100644 --- a/src/datadog_api_client/v2/model/experiments_patch_experiment_v2_request_data_attributes_datadog_flag_configuration.py +++ b/src/datadog_api_client/v2/model/experiments_patch_experiment_v2_request_data_attributes_datadog_flag_configuration.py @@ -18,9 +18,7 @@ from datadog_api_client.v2.model.experiments_patch_experiment_v2_response_data_attributes_datadog_flag_configuration_entry_point import ( ExperimentsPatchExperimentV2ResponseDataAttributesDatadogFlagConfigurationEntryPoint, ) - from datadog_api_client.v2.model.experiments_create_experiment_v2_request_data_attributes_datadog_flag_configuration_targeting_rules_items import ( - ExperimentsCreateExperimentV2RequestDataAttributesDatadogFlagConfigurationTargetingRulesItems, - ) + from datadog_api_client.v2.model.experiments_targeting_rule import ExperimentsTargetingRule class ExperimentsPatchExperimentV2RequestDataAttributesDatadogFlagConfiguration(ModelNormal): @@ -31,18 +29,14 @@ def openapi_types(_): from datadog_api_client.v2.model.experiments_patch_experiment_v2_response_data_attributes_datadog_flag_configuration_entry_point import ( ExperimentsPatchExperimentV2ResponseDataAttributesDatadogFlagConfigurationEntryPoint, ) - from datadog_api_client.v2.model.experiments_create_experiment_v2_request_data_attributes_datadog_flag_configuration_targeting_rules_items import ( - ExperimentsCreateExperimentV2RequestDataAttributesDatadogFlagConfigurationTargetingRulesItems, - ) + from datadog_api_client.v2.model.experiments_targeting_rule import ExperimentsTargetingRule return { "entry_point": (ExperimentsPatchExperimentV2ResponseDataAttributesDatadogFlagConfigurationEntryPoint,), "environment_id": (str,), "feature_flag_id": (str,), "reset_on_feature_flag_change": (bool,), - "targeting_rules": ( - [ExperimentsCreateExperimentV2RequestDataAttributesDatadogFlagConfigurationTargetingRulesItems], - ), + "targeting_rules": ([ExperimentsTargetingRule],), } attribute_map = { @@ -61,10 +55,7 @@ def __init__( environment_id: Union[str, UnsetType] = unset, feature_flag_id: Union[str, UnsetType] = unset, reset_on_feature_flag_change: Union[bool, UnsetType] = unset, - targeting_rules: Union[ - List[ExperimentsCreateExperimentV2RequestDataAttributesDatadogFlagConfigurationTargetingRulesItems], - UnsetType, - ] = unset, + targeting_rules: Union[List[ExperimentsTargetingRule], UnsetType] = unset, **kwargs, ): """ @@ -83,7 +74,7 @@ def __init__( :type reset_on_feature_flag_change: bool, optional :param targeting_rules: Omit to keep the stored rules. Use an empty array to remove targeting rules. - :type targeting_rules: [ExperimentsCreateExperimentV2RequestDataAttributesDatadogFlagConfigurationTargetingRulesItems], optional + :type targeting_rules: [ExperimentsTargetingRule], optional """ if entry_point is not unset: kwargs["entry_point"] = entry_point diff --git a/src/datadog_api_client/v2/model/experiments_patch_experiment_v2_response_data_attributes_datadog_flag_configuration.py b/src/datadog_api_client/v2/model/experiments_patch_experiment_v2_response_data_attributes_datadog_flag_configuration.py index 37f185e8da..de617aa38c 100644 --- a/src/datadog_api_client/v2/model/experiments_patch_experiment_v2_response_data_attributes_datadog_flag_configuration.py +++ b/src/datadog_api_client/v2/model/experiments_patch_experiment_v2_response_data_attributes_datadog_flag_configuration.py @@ -18,9 +18,7 @@ from datadog_api_client.v2.model.experiments_patch_experiment_v2_response_data_attributes_datadog_flag_configuration_entry_point import ( ExperimentsPatchExperimentV2ResponseDataAttributesDatadogFlagConfigurationEntryPoint, ) - from datadog_api_client.v2.model.experiments_create_experiment_v2_request_data_attributes_datadog_flag_configuration_targeting_rules_items import ( - ExperimentsCreateExperimentV2RequestDataAttributesDatadogFlagConfigurationTargetingRulesItems, - ) + from datadog_api_client.v2.model.experiments_targeting_rule import ExperimentsTargetingRule class ExperimentsPatchExperimentV2ResponseDataAttributesDatadogFlagConfiguration(ModelNormal): @@ -31,18 +29,14 @@ def openapi_types(_): from datadog_api_client.v2.model.experiments_patch_experiment_v2_response_data_attributes_datadog_flag_configuration_entry_point import ( ExperimentsPatchExperimentV2ResponseDataAttributesDatadogFlagConfigurationEntryPoint, ) - from datadog_api_client.v2.model.experiments_create_experiment_v2_request_data_attributes_datadog_flag_configuration_targeting_rules_items import ( - ExperimentsCreateExperimentV2RequestDataAttributesDatadogFlagConfigurationTargetingRulesItems, - ) + from datadog_api_client.v2.model.experiments_targeting_rule import ExperimentsTargetingRule return { "allocation_key": (str,), "entry_point": (ExperimentsPatchExperimentV2ResponseDataAttributesDatadogFlagConfigurationEntryPoint,), "environment_id": (str,), "feature_flag_id": (str,), - "targeting_rules": ( - [ExperimentsCreateExperimentV2RequestDataAttributesDatadogFlagConfigurationTargetingRulesItems], - ), + "targeting_rules": ([ExperimentsTargetingRule],), } attribute_map = { @@ -61,10 +55,7 @@ def __init__( allocation_key: Union[str, UnsetType] = unset, environment_id: Union[str, UnsetType] = unset, feature_flag_id: Union[str, UnsetType] = unset, - targeting_rules: Union[ - List[ExperimentsCreateExperimentV2RequestDataAttributesDatadogFlagConfigurationTargetingRulesItems], - UnsetType, - ] = unset, + targeting_rules: Union[List[ExperimentsTargetingRule], UnsetType] = unset, **kwargs, ): """ @@ -83,7 +74,7 @@ def __init__( :type feature_flag_id: str, optional :param targeting_rules: Rules that select subjects for the experiment. - :type targeting_rules: [ExperimentsCreateExperimentV2RequestDataAttributesDatadogFlagConfigurationTargetingRulesItems], optional + :type targeting_rules: [ExperimentsTargetingRule], optional """ if allocation_key is not unset: kwargs["allocation_key"] = allocation_key diff --git a/src/datadog_api_client/v2/model/experiments_patch_experiment_v2_response_data_attributes_datadog_flag_configuration_entry_point_filters_items_items_column_type.py b/src/datadog_api_client/v2/model/experiments_patch_experiment_v2_response_data_attributes_datadog_flag_configuration_entry_point_filters_items_items_column_type.py deleted file mode 100644 index 40b49c0480..0000000000 --- a/src/datadog_api_client/v2/model/experiments_patch_experiment_v2_response_data_attributes_datadog_flag_configuration_entry_point_filters_items_items_column_type.py +++ /dev/null @@ -1,94 +0,0 @@ -# Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. -# This product includes software developed at Datadog (https://www.datadoghq.com/). -# Copyright 2019-Present Datadog, Inc. -from __future__ import annotations - - -from datadog_api_client.model_utils import ( - ModelSimple, - cached_property, -) - -from typing import ClassVar - - -class ExperimentsPatchExperimentV2ResponseDataAttributesDatadogFlagConfigurationEntryPointFiltersItemsItemsColumnType( - ModelSimple -): - """ - Data type of the column evaluated by the entry-point filter. - - :param value: Must be one of ["varchar", "int", "double", "boolean", "varchar_array", "int_array", "double_array", "raw"]. - :type value: str - """ - - allowed_values = { - "varchar", - "int", - "double", - "boolean", - "varchar_array", - "int_array", - "double_array", - "raw", - } - VARCHAR: ClassVar[ - "ExperimentsPatchExperimentV2ResponseDataAttributesDatadogFlagConfigurationEntryPointFiltersItemsItemsColumnType" - ] - INT: ClassVar[ - "ExperimentsPatchExperimentV2ResponseDataAttributesDatadogFlagConfigurationEntryPointFiltersItemsItemsColumnType" - ] - DOUBLE: ClassVar[ - "ExperimentsPatchExperimentV2ResponseDataAttributesDatadogFlagConfigurationEntryPointFiltersItemsItemsColumnType" - ] - BOOLEAN: ClassVar[ - "ExperimentsPatchExperimentV2ResponseDataAttributesDatadogFlagConfigurationEntryPointFiltersItemsItemsColumnType" - ] - VARCHAR_ARRAY: ClassVar[ - "ExperimentsPatchExperimentV2ResponseDataAttributesDatadogFlagConfigurationEntryPointFiltersItemsItemsColumnType" - ] - INT_ARRAY: ClassVar[ - "ExperimentsPatchExperimentV2ResponseDataAttributesDatadogFlagConfigurationEntryPointFiltersItemsItemsColumnType" - ] - DOUBLE_ARRAY: ClassVar[ - "ExperimentsPatchExperimentV2ResponseDataAttributesDatadogFlagConfigurationEntryPointFiltersItemsItemsColumnType" - ] - RAW: ClassVar[ - "ExperimentsPatchExperimentV2ResponseDataAttributesDatadogFlagConfigurationEntryPointFiltersItemsItemsColumnType" - ] - - @cached_property - def openapi_types(_): - return { - "value": (str,), - } - - -ExperimentsPatchExperimentV2ResponseDataAttributesDatadogFlagConfigurationEntryPointFiltersItemsItemsColumnType.VARCHAR = ExperimentsPatchExperimentV2ResponseDataAttributesDatadogFlagConfigurationEntryPointFiltersItemsItemsColumnType( - "varchar" -) -ExperimentsPatchExperimentV2ResponseDataAttributesDatadogFlagConfigurationEntryPointFiltersItemsItemsColumnType.INT = ( - ExperimentsPatchExperimentV2ResponseDataAttributesDatadogFlagConfigurationEntryPointFiltersItemsItemsColumnType( - "int" - ) -) -ExperimentsPatchExperimentV2ResponseDataAttributesDatadogFlagConfigurationEntryPointFiltersItemsItemsColumnType.DOUBLE = ExperimentsPatchExperimentV2ResponseDataAttributesDatadogFlagConfigurationEntryPointFiltersItemsItemsColumnType( - "double" -) -ExperimentsPatchExperimentV2ResponseDataAttributesDatadogFlagConfigurationEntryPointFiltersItemsItemsColumnType.BOOLEAN = ExperimentsPatchExperimentV2ResponseDataAttributesDatadogFlagConfigurationEntryPointFiltersItemsItemsColumnType( - "boolean" -) -ExperimentsPatchExperimentV2ResponseDataAttributesDatadogFlagConfigurationEntryPointFiltersItemsItemsColumnType.VARCHAR_ARRAY = ExperimentsPatchExperimentV2ResponseDataAttributesDatadogFlagConfigurationEntryPointFiltersItemsItemsColumnType( - "varchar_array" -) -ExperimentsPatchExperimentV2ResponseDataAttributesDatadogFlagConfigurationEntryPointFiltersItemsItemsColumnType.INT_ARRAY = ExperimentsPatchExperimentV2ResponseDataAttributesDatadogFlagConfigurationEntryPointFiltersItemsItemsColumnType( - "int_array" -) -ExperimentsPatchExperimentV2ResponseDataAttributesDatadogFlagConfigurationEntryPointFiltersItemsItemsColumnType.DOUBLE_ARRAY = ExperimentsPatchExperimentV2ResponseDataAttributesDatadogFlagConfigurationEntryPointFiltersItemsItemsColumnType( - "double_array" -) -ExperimentsPatchExperimentV2ResponseDataAttributesDatadogFlagConfigurationEntryPointFiltersItemsItemsColumnType.RAW = ( - ExperimentsPatchExperimentV2ResponseDataAttributesDatadogFlagConfigurationEntryPointFiltersItemsItemsColumnType( - "raw" - ) -) diff --git a/src/datadog_api_client/v2/model/experiments_patch_experiment_v2_response_data_attributes_datadog_flag_configuration_entry_point_filters_items_items_operation.py b/src/datadog_api_client/v2/model/experiments_patch_experiment_v2_response_data_attributes_datadog_flag_configuration_entry_point_filters_items_items_operation.py deleted file mode 100644 index ad98f6b0ac..0000000000 --- a/src/datadog_api_client/v2/model/experiments_patch_experiment_v2_response_data_attributes_datadog_flag_configuration_entry_point_filters_items_items_operation.py +++ /dev/null @@ -1,96 +0,0 @@ -# Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. -# This product includes software developed at Datadog (https://www.datadoghq.com/). -# Copyright 2019-Present Datadog, Inc. -from __future__ import annotations - - -from datadog_api_client.model_utils import ( - ModelSimple, - cached_property, -) - -from typing import ClassVar - - -class ExperimentsPatchExperimentV2ResponseDataAttributesDatadogFlagConfigurationEntryPointFiltersItemsItemsOperation( - ModelSimple -): - """ - Comparison applied by the Datadog entry-point filter. - - :param value: Must be one of ["eq", "in", "neq", "not_in", "gte", "lte", "gt", "lt"]. - :type value: str - """ - - allowed_values = { - "eq", - "in", - "neq", - "not_in", - "gte", - "lte", - "gt", - "lt", - } - EQ: ClassVar[ - "ExperimentsPatchExperimentV2ResponseDataAttributesDatadogFlagConfigurationEntryPointFiltersItemsItemsOperation" - ] - IN: ClassVar[ - "ExperimentsPatchExperimentV2ResponseDataAttributesDatadogFlagConfigurationEntryPointFiltersItemsItemsOperation" - ] - NEQ: ClassVar[ - "ExperimentsPatchExperimentV2ResponseDataAttributesDatadogFlagConfigurationEntryPointFiltersItemsItemsOperation" - ] - NOT_IN: ClassVar[ - "ExperimentsPatchExperimentV2ResponseDataAttributesDatadogFlagConfigurationEntryPointFiltersItemsItemsOperation" - ] - GTE: ClassVar[ - "ExperimentsPatchExperimentV2ResponseDataAttributesDatadogFlagConfigurationEntryPointFiltersItemsItemsOperation" - ] - LTE: ClassVar[ - "ExperimentsPatchExperimentV2ResponseDataAttributesDatadogFlagConfigurationEntryPointFiltersItemsItemsOperation" - ] - GT: ClassVar[ - "ExperimentsPatchExperimentV2ResponseDataAttributesDatadogFlagConfigurationEntryPointFiltersItemsItemsOperation" - ] - LT: ClassVar[ - "ExperimentsPatchExperimentV2ResponseDataAttributesDatadogFlagConfigurationEntryPointFiltersItemsItemsOperation" - ] - - @cached_property - def openapi_types(_): - return { - "value": (str,), - } - - -ExperimentsPatchExperimentV2ResponseDataAttributesDatadogFlagConfigurationEntryPointFiltersItemsItemsOperation.EQ = ( - ExperimentsPatchExperimentV2ResponseDataAttributesDatadogFlagConfigurationEntryPointFiltersItemsItemsOperation("eq") -) -ExperimentsPatchExperimentV2ResponseDataAttributesDatadogFlagConfigurationEntryPointFiltersItemsItemsOperation.IN = ( - ExperimentsPatchExperimentV2ResponseDataAttributesDatadogFlagConfigurationEntryPointFiltersItemsItemsOperation("in") -) -ExperimentsPatchExperimentV2ResponseDataAttributesDatadogFlagConfigurationEntryPointFiltersItemsItemsOperation.NEQ = ( - ExperimentsPatchExperimentV2ResponseDataAttributesDatadogFlagConfigurationEntryPointFiltersItemsItemsOperation( - "neq" - ) -) -ExperimentsPatchExperimentV2ResponseDataAttributesDatadogFlagConfigurationEntryPointFiltersItemsItemsOperation.NOT_IN = ExperimentsPatchExperimentV2ResponseDataAttributesDatadogFlagConfigurationEntryPointFiltersItemsItemsOperation( - "not_in" -) -ExperimentsPatchExperimentV2ResponseDataAttributesDatadogFlagConfigurationEntryPointFiltersItemsItemsOperation.GTE = ( - ExperimentsPatchExperimentV2ResponseDataAttributesDatadogFlagConfigurationEntryPointFiltersItemsItemsOperation( - "gte" - ) -) -ExperimentsPatchExperimentV2ResponseDataAttributesDatadogFlagConfigurationEntryPointFiltersItemsItemsOperation.LTE = ( - ExperimentsPatchExperimentV2ResponseDataAttributesDatadogFlagConfigurationEntryPointFiltersItemsItemsOperation( - "lte" - ) -) -ExperimentsPatchExperimentV2ResponseDataAttributesDatadogFlagConfigurationEntryPointFiltersItemsItemsOperation.GT = ( - ExperimentsPatchExperimentV2ResponseDataAttributesDatadogFlagConfigurationEntryPointFiltersItemsItemsOperation("gt") -) -ExperimentsPatchExperimentV2ResponseDataAttributesDatadogFlagConfigurationEntryPointFiltersItemsItemsOperation.LT = ( - ExperimentsPatchExperimentV2ResponseDataAttributesDatadogFlagConfigurationEntryPointFiltersItemsItemsOperation("lt") -) diff --git a/src/datadog_api_client/v2/model/experiments_patch_experiment_v2_response_data_attributes_datadog_flag_configuration_targeting_rules_items_conditions_items_operator.py b/src/datadog_api_client/v2/model/experiments_patch_experiment_v2_response_data_attributes_datadog_flag_configuration_targeting_rules_items_conditions_items_operator.py deleted file mode 100644 index 99db8c2b65..0000000000 --- a/src/datadog_api_client/v2/model/experiments_patch_experiment_v2_response_data_attributes_datadog_flag_configuration_targeting_rules_items_conditions_items_operator.py +++ /dev/null @@ -1,146 +0,0 @@ -# Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. -# This product includes software developed at Datadog (https://www.datadoghq.com/). -# Copyright 2019-Present Datadog, Inc. -from __future__ import annotations - - -from datadog_api_client.model_utils import ( - ModelSimple, - cached_property, -) - -from typing import ClassVar - - -class ExperimentsPatchExperimentV2ResponseDataAttributesDatadogFlagConfigurationTargetingRulesItemsConditionsItemsOperator( - ModelSimple -): - """ - Required with attribute and value for an inline condition; omit when saved_filter_id is set. - - :param value: Must be one of ["LT", "LTE", "GT", "GTE", "MATCHES", "NOT_MATCHES", "ONE_OF", "NOT_ONE_OF", "IS_NULL", "EQUALS", "SEMVER_EQ", "SEMVER_NEQ", "SEMVER_LT", "SEMVER_LTE", "SEMVER_GT", "SEMVER_GTE"]. - :type value: str - """ - - allowed_values = { - "LT", - "LTE", - "GT", - "GTE", - "MATCHES", - "NOT_MATCHES", - "ONE_OF", - "NOT_ONE_OF", - "IS_NULL", - "EQUALS", - "SEMVER_EQ", - "SEMVER_NEQ", - "SEMVER_LT", - "SEMVER_LTE", - "SEMVER_GT", - "SEMVER_GTE", - } - LT: ClassVar[ - "ExperimentsPatchExperimentV2ResponseDataAttributesDatadogFlagConfigurationTargetingRulesItemsConditionsItemsOperator" - ] - LTE: ClassVar[ - "ExperimentsPatchExperimentV2ResponseDataAttributesDatadogFlagConfigurationTargetingRulesItemsConditionsItemsOperator" - ] - GT: ClassVar[ - "ExperimentsPatchExperimentV2ResponseDataAttributesDatadogFlagConfigurationTargetingRulesItemsConditionsItemsOperator" - ] - GTE: ClassVar[ - "ExperimentsPatchExperimentV2ResponseDataAttributesDatadogFlagConfigurationTargetingRulesItemsConditionsItemsOperator" - ] - MATCHES: ClassVar[ - "ExperimentsPatchExperimentV2ResponseDataAttributesDatadogFlagConfigurationTargetingRulesItemsConditionsItemsOperator" - ] - NOT_MATCHES: ClassVar[ - "ExperimentsPatchExperimentV2ResponseDataAttributesDatadogFlagConfigurationTargetingRulesItemsConditionsItemsOperator" - ] - ONE_OF: ClassVar[ - "ExperimentsPatchExperimentV2ResponseDataAttributesDatadogFlagConfigurationTargetingRulesItemsConditionsItemsOperator" - ] - NOT_ONE_OF: ClassVar[ - "ExperimentsPatchExperimentV2ResponseDataAttributesDatadogFlagConfigurationTargetingRulesItemsConditionsItemsOperator" - ] - IS_NULL: ClassVar[ - "ExperimentsPatchExperimentV2ResponseDataAttributesDatadogFlagConfigurationTargetingRulesItemsConditionsItemsOperator" - ] - EQUALS: ClassVar[ - "ExperimentsPatchExperimentV2ResponseDataAttributesDatadogFlagConfigurationTargetingRulesItemsConditionsItemsOperator" - ] - SEMVER_EQ: ClassVar[ - "ExperimentsPatchExperimentV2ResponseDataAttributesDatadogFlagConfigurationTargetingRulesItemsConditionsItemsOperator" - ] - SEMVER_NEQ: ClassVar[ - "ExperimentsPatchExperimentV2ResponseDataAttributesDatadogFlagConfigurationTargetingRulesItemsConditionsItemsOperator" - ] - SEMVER_LT: ClassVar[ - "ExperimentsPatchExperimentV2ResponseDataAttributesDatadogFlagConfigurationTargetingRulesItemsConditionsItemsOperator" - ] - SEMVER_LTE: ClassVar[ - "ExperimentsPatchExperimentV2ResponseDataAttributesDatadogFlagConfigurationTargetingRulesItemsConditionsItemsOperator" - ] - SEMVER_GT: ClassVar[ - "ExperimentsPatchExperimentV2ResponseDataAttributesDatadogFlagConfigurationTargetingRulesItemsConditionsItemsOperator" - ] - SEMVER_GTE: ClassVar[ - "ExperimentsPatchExperimentV2ResponseDataAttributesDatadogFlagConfigurationTargetingRulesItemsConditionsItemsOperator" - ] - - @cached_property - def openapi_types(_): - return { - "value": (str,), - } - - -ExperimentsPatchExperimentV2ResponseDataAttributesDatadogFlagConfigurationTargetingRulesItemsConditionsItemsOperator.LT = ExperimentsPatchExperimentV2ResponseDataAttributesDatadogFlagConfigurationTargetingRulesItemsConditionsItemsOperator( - "LT" -) -ExperimentsPatchExperimentV2ResponseDataAttributesDatadogFlagConfigurationTargetingRulesItemsConditionsItemsOperator.LTE = ExperimentsPatchExperimentV2ResponseDataAttributesDatadogFlagConfigurationTargetingRulesItemsConditionsItemsOperator( - "LTE" -) -ExperimentsPatchExperimentV2ResponseDataAttributesDatadogFlagConfigurationTargetingRulesItemsConditionsItemsOperator.GT = ExperimentsPatchExperimentV2ResponseDataAttributesDatadogFlagConfigurationTargetingRulesItemsConditionsItemsOperator( - "GT" -) -ExperimentsPatchExperimentV2ResponseDataAttributesDatadogFlagConfigurationTargetingRulesItemsConditionsItemsOperator.GTE = ExperimentsPatchExperimentV2ResponseDataAttributesDatadogFlagConfigurationTargetingRulesItemsConditionsItemsOperator( - "GTE" -) -ExperimentsPatchExperimentV2ResponseDataAttributesDatadogFlagConfigurationTargetingRulesItemsConditionsItemsOperator.MATCHES = ExperimentsPatchExperimentV2ResponseDataAttributesDatadogFlagConfigurationTargetingRulesItemsConditionsItemsOperator( - "MATCHES" -) -ExperimentsPatchExperimentV2ResponseDataAttributesDatadogFlagConfigurationTargetingRulesItemsConditionsItemsOperator.NOT_MATCHES = ExperimentsPatchExperimentV2ResponseDataAttributesDatadogFlagConfigurationTargetingRulesItemsConditionsItemsOperator( - "NOT_MATCHES" -) -ExperimentsPatchExperimentV2ResponseDataAttributesDatadogFlagConfigurationTargetingRulesItemsConditionsItemsOperator.ONE_OF = ExperimentsPatchExperimentV2ResponseDataAttributesDatadogFlagConfigurationTargetingRulesItemsConditionsItemsOperator( - "ONE_OF" -) -ExperimentsPatchExperimentV2ResponseDataAttributesDatadogFlagConfigurationTargetingRulesItemsConditionsItemsOperator.NOT_ONE_OF = ExperimentsPatchExperimentV2ResponseDataAttributesDatadogFlagConfigurationTargetingRulesItemsConditionsItemsOperator( - "NOT_ONE_OF" -) -ExperimentsPatchExperimentV2ResponseDataAttributesDatadogFlagConfigurationTargetingRulesItemsConditionsItemsOperator.IS_NULL = ExperimentsPatchExperimentV2ResponseDataAttributesDatadogFlagConfigurationTargetingRulesItemsConditionsItemsOperator( - "IS_NULL" -) -ExperimentsPatchExperimentV2ResponseDataAttributesDatadogFlagConfigurationTargetingRulesItemsConditionsItemsOperator.EQUALS = ExperimentsPatchExperimentV2ResponseDataAttributesDatadogFlagConfigurationTargetingRulesItemsConditionsItemsOperator( - "EQUALS" -) -ExperimentsPatchExperimentV2ResponseDataAttributesDatadogFlagConfigurationTargetingRulesItemsConditionsItemsOperator.SEMVER_EQ = ExperimentsPatchExperimentV2ResponseDataAttributesDatadogFlagConfigurationTargetingRulesItemsConditionsItemsOperator( - "SEMVER_EQ" -) -ExperimentsPatchExperimentV2ResponseDataAttributesDatadogFlagConfigurationTargetingRulesItemsConditionsItemsOperator.SEMVER_NEQ = ExperimentsPatchExperimentV2ResponseDataAttributesDatadogFlagConfigurationTargetingRulesItemsConditionsItemsOperator( - "SEMVER_NEQ" -) -ExperimentsPatchExperimentV2ResponseDataAttributesDatadogFlagConfigurationTargetingRulesItemsConditionsItemsOperator.SEMVER_LT = ExperimentsPatchExperimentV2ResponseDataAttributesDatadogFlagConfigurationTargetingRulesItemsConditionsItemsOperator( - "SEMVER_LT" -) -ExperimentsPatchExperimentV2ResponseDataAttributesDatadogFlagConfigurationTargetingRulesItemsConditionsItemsOperator.SEMVER_LTE = ExperimentsPatchExperimentV2ResponseDataAttributesDatadogFlagConfigurationTargetingRulesItemsConditionsItemsOperator( - "SEMVER_LTE" -) -ExperimentsPatchExperimentV2ResponseDataAttributesDatadogFlagConfigurationTargetingRulesItemsConditionsItemsOperator.SEMVER_GT = ExperimentsPatchExperimentV2ResponseDataAttributesDatadogFlagConfigurationTargetingRulesItemsConditionsItemsOperator( - "SEMVER_GT" -) -ExperimentsPatchExperimentV2ResponseDataAttributesDatadogFlagConfigurationTargetingRulesItemsConditionsItemsOperator.SEMVER_GTE = ExperimentsPatchExperimentV2ResponseDataAttributesDatadogFlagConfigurationTargetingRulesItemsConditionsItemsOperator( - "SEMVER_GTE" -) diff --git a/src/datadog_api_client/v2/model/experiments_patch_experiment_v2_response_data_attributes_warehouse_exposure_configuration.py b/src/datadog_api_client/v2/model/experiments_patch_experiment_v2_response_data_attributes_warehouse_exposure_configuration.py index 9e0fe22bea..30d3266621 100644 --- a/src/datadog_api_client/v2/model/experiments_patch_experiment_v2_response_data_attributes_warehouse_exposure_configuration.py +++ b/src/datadog_api_client/v2/model/experiments_patch_experiment_v2_response_data_attributes_warehouse_exposure_configuration.py @@ -13,9 +13,7 @@ if TYPE_CHECKING: - from datadog_api_client.v2.model.experiments_patch_experiment_v2_response_data_attributes_warehouse_exposure_configuration_entry_point import ( - ExperimentsPatchExperimentV2ResponseDataAttributesWarehouseExposureConfigurationEntryPoint, - ) + from datadog_api_client.v2.model.experiments_warehouse_entry_point import ExperimentsWarehouseEntryPoint class ExperimentsPatchExperimentV2ResponseDataAttributesWarehouseExposureConfiguration(ModelNormal): @@ -23,14 +21,10 @@ class ExperimentsPatchExperimentV2ResponseDataAttributesWarehouseExposureConfigu @cached_property def openapi_types(_): - from datadog_api_client.v2.model.experiments_patch_experiment_v2_response_data_attributes_warehouse_exposure_configuration_entry_point import ( - ExperimentsPatchExperimentV2ResponseDataAttributesWarehouseExposureConfigurationEntryPoint, - ) + from datadog_api_client.v2.model.experiments_warehouse_entry_point import ExperimentsWarehouseEntryPoint return { - "entry_point": ( - ExperimentsPatchExperimentV2ResponseDataAttributesWarehouseExposureConfigurationEntryPoint, - ), + "entry_point": (ExperimentsWarehouseEntryPoint,), "experiment_key": (str, none_type), "exposure_sql_model_id": (str,), } @@ -43,9 +37,7 @@ def openapi_types(_): def __init__( self_, - entry_point: Union[ - ExperimentsPatchExperimentV2ResponseDataAttributesWarehouseExposureConfigurationEntryPoint, none_type - ], + entry_point: Union[ExperimentsWarehouseEntryPoint, none_type], experiment_key: Union[str, none_type], exposure_sql_model_id: str, **kwargs, @@ -54,7 +46,7 @@ def __init__( Warehouse exposure model and settings used to identify experiment assignments. :param entry_point: Optional Warehouse measure that scopes analyzed subjects. - :type entry_point: ExperimentsPatchExperimentV2ResponseDataAttributesWarehouseExposureConfigurationEntryPoint, none_type + :type entry_point: ExperimentsWarehouseEntryPoint, none_type :param experiment_key: Warehouse experiment key. Reads can return null for incomplete configuration; configuration writes require a value. :type experiment_key: str, none_type diff --git a/src/datadog_api_client/v2/model/experiments_patch_experiment_v2_response_data_attributes_warehouse_exposure_configuration_entry_point_filters_items_operation.py b/src/datadog_api_client/v2/model/experiments_patch_experiment_v2_response_data_attributes_warehouse_exposure_configuration_entry_point_filters_items_operation.py deleted file mode 100644 index 3c616c46a2..0000000000 --- a/src/datadog_api_client/v2/model/experiments_patch_experiment_v2_response_data_attributes_warehouse_exposure_configuration_entry_point_filters_items_operation.py +++ /dev/null @@ -1,50 +0,0 @@ -# Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. -# This product includes software developed at Datadog (https://www.datadoghq.com/). -# Copyright 2019-Present Datadog, Inc. -from __future__ import annotations - - -from datadog_api_client.model_utils import ( - ModelSimple, - cached_property, -) - -from typing import ClassVar - - -class ExperimentsPatchExperimentV2ResponseDataAttributesWarehouseExposureConfigurationEntryPointFiltersItemsOperation( - ModelSimple -): - """ - Comparison applied by the warehouse entry-point filter. - - :param value: Must be one of ["IS", "IS_NOT"]. - :type value: str - """ - - allowed_values = { - "IS", - "IS_NOT", - } - IS: ClassVar[ - "ExperimentsPatchExperimentV2ResponseDataAttributesWarehouseExposureConfigurationEntryPointFiltersItemsOperation" - ] - IS_NOT: ClassVar[ - "ExperimentsPatchExperimentV2ResponseDataAttributesWarehouseExposureConfigurationEntryPointFiltersItemsOperation" - ] - - @cached_property - def openapi_types(_): - return { - "value": (str,), - } - - -ExperimentsPatchExperimentV2ResponseDataAttributesWarehouseExposureConfigurationEntryPointFiltersItemsOperation.IS = ( - ExperimentsPatchExperimentV2ResponseDataAttributesWarehouseExposureConfigurationEntryPointFiltersItemsOperation( - "IS" - ) -) -ExperimentsPatchExperimentV2ResponseDataAttributesWarehouseExposureConfigurationEntryPointFiltersItemsOperation.IS_NOT = ExperimentsPatchExperimentV2ResponseDataAttributesWarehouseExposureConfigurationEntryPointFiltersItemsOperation( - "IS_NOT" -) diff --git a/src/datadog_api_client/v2/model/experiments_property_filter_input.py b/src/datadog_api_client/v2/model/experiments_property_filter_input.py index 805995cda3..a294bb07b7 100644 --- a/src/datadog_api_client/v2/model/experiments_property_filter_input.py +++ b/src/datadog_api_client/v2/model/experiments_property_filter_input.py @@ -16,8 +16,8 @@ if TYPE_CHECKING: - from datadog_api_client.v2.model.experiments_patch_experiment_v2_response_data_attributes_warehouse_exposure_configuration_entry_point_filters_items_operation import ( - ExperimentsPatchExperimentV2ResponseDataAttributesWarehouseExposureConfigurationEntryPointFiltersItemsOperation, + from datadog_api_client.v2.model.experiments_warehouse_entry_point_filter_operation import ( + ExperimentsWarehouseEntryPointFilterOperation, ) @@ -34,15 +34,13 @@ class ExperimentsPropertyFilterInput(ModelNormal): @cached_property def openapi_types(_): - from datadog_api_client.v2.model.experiments_patch_experiment_v2_response_data_attributes_warehouse_exposure_configuration_entry_point_filters_items_operation import ( - ExperimentsPatchExperimentV2ResponseDataAttributesWarehouseExposureConfigurationEntryPointFiltersItemsOperation, + from datadog_api_client.v2.model.experiments_warehouse_entry_point_filter_operation import ( + ExperimentsWarehouseEntryPointFilterOperation, ) return { "measure_id": (str, none_type), - "operation": ( - ExperimentsPatchExperimentV2ResponseDataAttributesWarehouseExposureConfigurationEntryPointFiltersItemsOperation, - ), + "operation": (ExperimentsWarehouseEntryPointFilterOperation,), "property_id": (UUID,), "values": ([str],), } @@ -56,7 +54,7 @@ def openapi_types(_): def __init__( self_, - operation: ExperimentsPatchExperimentV2ResponseDataAttributesWarehouseExposureConfigurationEntryPointFiltersItemsOperation, + operation: ExperimentsWarehouseEntryPointFilterOperation, property_id: UUID, values: List[str], measure_id: Union[str, none_type, UnsetType] = unset, @@ -69,7 +67,7 @@ def __init__( :type measure_id: str, none_type, optional :param operation: Comparison applied by the warehouse entry-point filter. - :type operation: ExperimentsPatchExperimentV2ResponseDataAttributesWarehouseExposureConfigurationEntryPointFiltersItemsOperation + :type operation: ExperimentsWarehouseEntryPointFilterOperation :param property_id: ID of the property on the aggregation source. :type property_id: UUID diff --git a/src/datadog_api_client/v2/model/experiments_create_experiment_v2_request_data_attributes_datadog_flag_configuration_targeting_rules_items.py b/src/datadog_api_client/v2/model/experiments_targeting_rule.py similarity index 93% rename from src/datadog_api_client/v2/model/experiments_create_experiment_v2_request_data_attributes_datadog_flag_configuration_targeting_rules_items.py rename to src/datadog_api_client/v2/model/experiments_targeting_rule.py index 4631e23a2d..e4641926d4 100644 --- a/src/datadog_api_client/v2/model/experiments_create_experiment_v2_request_data_attributes_datadog_flag_configuration_targeting_rules_items.py +++ b/src/datadog_api_client/v2/model/experiments_targeting_rule.py @@ -17,7 +17,7 @@ from datadog_api_client.v2.model.experiments_inline_condition import ExperimentsInlineCondition -class ExperimentsCreateExperimentV2RequestDataAttributesDatadogFlagConfigurationTargetingRulesItems(ModelNormal): +class ExperimentsTargetingRule(ModelNormal): @cached_property def openapi_types(_): from datadog_api_client.v2.model.experiments_targeting_rule_condition import ExperimentsTargetingRuleCondition diff --git a/src/datadog_api_client/v2/model/experiments_targeting_rule_condition.py b/src/datadog_api_client/v2/model/experiments_targeting_rule_condition.py index 0005742ae6..1a63f7c013 100644 --- a/src/datadog_api_client/v2/model/experiments_targeting_rule_condition.py +++ b/src/datadog_api_client/v2/model/experiments_targeting_rule_condition.py @@ -22,7 +22,7 @@ def __init__(self, **kwargs): :type attribute: str :param operator: Required with attribute and value for an inline condition; omit when saved_filter_id is set. - :type operator: ExperimentsPatchExperimentV2ResponseDataAttributesDatadogFlagConfigurationTargetingRulesItemsConditionsItemsOperator + :type operator: ExperimentsTargetingRuleOperator :param value: Values used by the operator. Every operator requires at least one value. :type value: [str] diff --git a/src/datadog_api_client/v2/model/experiments_targeting_rule_operator.py b/src/datadog_api_client/v2/model/experiments_targeting_rule_operator.py new file mode 100644 index 0000000000..f0ee0e957b --- /dev/null +++ b/src/datadog_api_client/v2/model/experiments_targeting_rule_operator.py @@ -0,0 +1,80 @@ +# Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. +# This product includes software developed at Datadog (https://www.datadoghq.com/). +# Copyright 2019-Present Datadog, Inc. +from __future__ import annotations + + +from datadog_api_client.model_utils import ( + ModelSimple, + cached_property, +) + +from typing import ClassVar + + +class ExperimentsTargetingRuleOperator(ModelSimple): + """ + Required with attribute and value for an inline condition; omit when saved_filter_id is set. + + :param value: Must be one of ["LT", "LTE", "GT", "GTE", "MATCHES", "NOT_MATCHES", "ONE_OF", "NOT_ONE_OF", "IS_NULL", "EQUALS", "SEMVER_EQ", "SEMVER_NEQ", "SEMVER_LT", "SEMVER_LTE", "SEMVER_GT", "SEMVER_GTE"]. + :type value: str + """ + + allowed_values = { + "LT", + "LTE", + "GT", + "GTE", + "MATCHES", + "NOT_MATCHES", + "ONE_OF", + "NOT_ONE_OF", + "IS_NULL", + "EQUALS", + "SEMVER_EQ", + "SEMVER_NEQ", + "SEMVER_LT", + "SEMVER_LTE", + "SEMVER_GT", + "SEMVER_GTE", + } + LT: ClassVar["ExperimentsTargetingRuleOperator"] + LTE: ClassVar["ExperimentsTargetingRuleOperator"] + GT: ClassVar["ExperimentsTargetingRuleOperator"] + GTE: ClassVar["ExperimentsTargetingRuleOperator"] + MATCHES: ClassVar["ExperimentsTargetingRuleOperator"] + NOT_MATCHES: ClassVar["ExperimentsTargetingRuleOperator"] + ONE_OF: ClassVar["ExperimentsTargetingRuleOperator"] + NOT_ONE_OF: ClassVar["ExperimentsTargetingRuleOperator"] + IS_NULL: ClassVar["ExperimentsTargetingRuleOperator"] + EQUALS: ClassVar["ExperimentsTargetingRuleOperator"] + SEMVER_EQ: ClassVar["ExperimentsTargetingRuleOperator"] + SEMVER_NEQ: ClassVar["ExperimentsTargetingRuleOperator"] + SEMVER_LT: ClassVar["ExperimentsTargetingRuleOperator"] + SEMVER_LTE: ClassVar["ExperimentsTargetingRuleOperator"] + SEMVER_GT: ClassVar["ExperimentsTargetingRuleOperator"] + SEMVER_GTE: ClassVar["ExperimentsTargetingRuleOperator"] + + @cached_property + def openapi_types(_): + return { + "value": (str,), + } + + +ExperimentsTargetingRuleOperator.LT = ExperimentsTargetingRuleOperator("LT") +ExperimentsTargetingRuleOperator.LTE = ExperimentsTargetingRuleOperator("LTE") +ExperimentsTargetingRuleOperator.GT = ExperimentsTargetingRuleOperator("GT") +ExperimentsTargetingRuleOperator.GTE = ExperimentsTargetingRuleOperator("GTE") +ExperimentsTargetingRuleOperator.MATCHES = ExperimentsTargetingRuleOperator("MATCHES") +ExperimentsTargetingRuleOperator.NOT_MATCHES = ExperimentsTargetingRuleOperator("NOT_MATCHES") +ExperimentsTargetingRuleOperator.ONE_OF = ExperimentsTargetingRuleOperator("ONE_OF") +ExperimentsTargetingRuleOperator.NOT_ONE_OF = ExperimentsTargetingRuleOperator("NOT_ONE_OF") +ExperimentsTargetingRuleOperator.IS_NULL = ExperimentsTargetingRuleOperator("IS_NULL") +ExperimentsTargetingRuleOperator.EQUALS = ExperimentsTargetingRuleOperator("EQUALS") +ExperimentsTargetingRuleOperator.SEMVER_EQ = ExperimentsTargetingRuleOperator("SEMVER_EQ") +ExperimentsTargetingRuleOperator.SEMVER_NEQ = ExperimentsTargetingRuleOperator("SEMVER_NEQ") +ExperimentsTargetingRuleOperator.SEMVER_LT = ExperimentsTargetingRuleOperator("SEMVER_LT") +ExperimentsTargetingRuleOperator.SEMVER_LTE = ExperimentsTargetingRuleOperator("SEMVER_LTE") +ExperimentsTargetingRuleOperator.SEMVER_GT = ExperimentsTargetingRuleOperator("SEMVER_GT") +ExperimentsTargetingRuleOperator.SEMVER_GTE = ExperimentsTargetingRuleOperator("SEMVER_GTE") diff --git a/src/datadog_api_client/v2/model/experiments_variant_results_v2_dto_data_attributes_metrics_items_analyses_items.py b/src/datadog_api_client/v2/model/experiments_variant_results_v2_dto_data_attributes_metrics_items_analyses_items.py index 3c954564db..dd476fd813 100644 --- a/src/datadog_api_client/v2/model/experiments_variant_results_v2_dto_data_attributes_metrics_items_analyses_items.py +++ b/src/datadog_api_client/v2/model/experiments_variant_results_v2_dto_data_attributes_metrics_items_analyses_items.py @@ -15,9 +15,7 @@ if TYPE_CHECKING: - from datadog_api_client.v2.model.experiments_variant_results_v2_dto_data_attributes_metrics_items_analyses_items_confidence_interval import ( - ExperimentsVariantResultsV2DTODataAttributesMetricsItemsAnalysesItemsConfidenceInterval, - ) + from datadog_api_client.v2.model.experiments_confidence_interval import ExperimentsConfidenceInterval from datadog_api_client.v2.model.experiments_variant_results_v2_dto_data_attributes_metrics_items_analyses_items_lift_type import ( ExperimentsVariantResultsV2DTODataAttributesMetricsItemsAnalysesItemsLiftType, ) @@ -32,9 +30,7 @@ class ExperimentsVariantResultsV2DTODataAttributesMetricsItemsAnalysesItems(ModelNormal): @cached_property def openapi_types(_): - from datadog_api_client.v2.model.experiments_variant_results_v2_dto_data_attributes_metrics_items_analyses_items_confidence_interval import ( - ExperimentsVariantResultsV2DTODataAttributesMetricsItemsAnalysesItemsConfidenceInterval, - ) + from datadog_api_client.v2.model.experiments_confidence_interval import ExperimentsConfidenceInterval from datadog_api_client.v2.model.experiments_variant_results_v2_dto_data_attributes_metrics_items_analyses_items_lift_type import ( ExperimentsVariantResultsV2DTODataAttributesMetricsItemsAnalysesItemsLiftType, ) @@ -46,9 +42,7 @@ def openapi_types(_): ) return { - "confidence_interval": ( - ExperimentsVariantResultsV2DTODataAttributesMetricsItemsAnalysesItemsConfidenceInterval, - ), + "confidence_interval": (ExperimentsConfidenceInterval,), "confidence_level": (float,), "evsi": (float,), "expectation_above_zero": (float,), @@ -99,9 +93,7 @@ def openapi_types(_): def __init__( self_, - confidence_interval: Union[ - ExperimentsVariantResultsV2DTODataAttributesMetricsItemsAnalysesItemsConfidenceInterval, UnsetType - ] = unset, + confidence_interval: Union[ExperimentsConfidenceInterval, UnsetType] = unset, confidence_level: Union[float, UnsetType] = unset, evsi: Union[float, UnsetType] = unset, expectation_above_zero: Union[float, UnsetType] = unset, @@ -132,7 +124,7 @@ def __init__( One statistical comparison for a metric and variant. :param confidence_interval: Lower and upper bounds of the reported statistical interval. - :type confidence_interval: ExperimentsVariantResultsV2DTODataAttributesMetricsItemsAnalysesItemsConfidenceInterval, optional + :type confidence_interval: ExperimentsConfidenceInterval, optional :param confidence_level: Configured nominal confidence level. Interval bounds can use an adjusted level for multiple testing or hybrid methods. :type confidence_level: float, optional diff --git a/src/datadog_api_client/v2/model/experiments_patch_experiment_v2_response_data_attributes_warehouse_exposure_configuration_entry_point.py b/src/datadog_api_client/v2/model/experiments_warehouse_entry_point.py similarity index 92% rename from src/datadog_api_client/v2/model/experiments_patch_experiment_v2_response_data_attributes_warehouse_exposure_configuration_entry_point.py rename to src/datadog_api_client/v2/model/experiments_warehouse_entry_point.py index 235da25ab3..27fdafa15c 100644 --- a/src/datadog_api_client/v2/model/experiments_patch_experiment_v2_response_data_attributes_warehouse_exposure_configuration_entry_point.py +++ b/src/datadog_api_client/v2/model/experiments_warehouse_entry_point.py @@ -15,7 +15,7 @@ from datadog_api_client.v2.model.experiments_warehouse_exposure_filter import ExperimentsWarehouseExposureFilter -class ExperimentsPatchExperimentV2ResponseDataAttributesWarehouseExposureConfigurationEntryPoint(ModelNormal): +class ExperimentsWarehouseEntryPoint(ModelNormal): _nullable = True @cached_property diff --git a/src/datadog_api_client/v2/model/experiments_warehouse_entry_point_filter_operation.py b/src/datadog_api_client/v2/model/experiments_warehouse_entry_point_filter_operation.py new file mode 100644 index 0000000000..05056efe54 --- /dev/null +++ b/src/datadog_api_client/v2/model/experiments_warehouse_entry_point_filter_operation.py @@ -0,0 +1,38 @@ +# Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. +# This product includes software developed at Datadog (https://www.datadoghq.com/). +# Copyright 2019-Present Datadog, Inc. +from __future__ import annotations + + +from datadog_api_client.model_utils import ( + ModelSimple, + cached_property, +) + +from typing import ClassVar + + +class ExperimentsWarehouseEntryPointFilterOperation(ModelSimple): + """ + Comparison applied by the warehouse entry-point filter. + + :param value: Must be one of ["IS", "IS_NOT"]. + :type value: str + """ + + allowed_values = { + "IS", + "IS_NOT", + } + IS: ClassVar["ExperimentsWarehouseEntryPointFilterOperation"] + IS_NOT: ClassVar["ExperimentsWarehouseEntryPointFilterOperation"] + + @cached_property + def openapi_types(_): + return { + "value": (str,), + } + + +ExperimentsWarehouseEntryPointFilterOperation.IS = ExperimentsWarehouseEntryPointFilterOperation("IS") +ExperimentsWarehouseEntryPointFilterOperation.IS_NOT = ExperimentsWarehouseEntryPointFilterOperation("IS_NOT") diff --git a/src/datadog_api_client/v2/model/experiments_warehouse_exposure_filter.py b/src/datadog_api_client/v2/model/experiments_warehouse_exposure_filter.py index d9aa9354c9..1a6ed8c5a1 100644 --- a/src/datadog_api_client/v2/model/experiments_warehouse_exposure_filter.py +++ b/src/datadog_api_client/v2/model/experiments_warehouse_exposure_filter.py @@ -12,22 +12,20 @@ if TYPE_CHECKING: - from datadog_api_client.v2.model.experiments_patch_experiment_v2_response_data_attributes_warehouse_exposure_configuration_entry_point_filters_items_operation import ( - ExperimentsPatchExperimentV2ResponseDataAttributesWarehouseExposureConfigurationEntryPointFiltersItemsOperation, + from datadog_api_client.v2.model.experiments_warehouse_entry_point_filter_operation import ( + ExperimentsWarehouseEntryPointFilterOperation, ) class ExperimentsWarehouseExposureFilter(ModelNormal): @cached_property def openapi_types(_): - from datadog_api_client.v2.model.experiments_patch_experiment_v2_response_data_attributes_warehouse_exposure_configuration_entry_point_filters_items_operation import ( - ExperimentsPatchExperimentV2ResponseDataAttributesWarehouseExposureConfigurationEntryPointFiltersItemsOperation, + from datadog_api_client.v2.model.experiments_warehouse_entry_point_filter_operation import ( + ExperimentsWarehouseEntryPointFilterOperation, ) return { - "operation": ( - ExperimentsPatchExperimentV2ResponseDataAttributesWarehouseExposureConfigurationEntryPointFiltersItemsOperation, - ), + "operation": (ExperimentsWarehouseEntryPointFilterOperation,), "property_id": (str,), "values": ([str],), } @@ -39,17 +37,13 @@ def openapi_types(_): } def __init__( - self_, - operation: ExperimentsPatchExperimentV2ResponseDataAttributesWarehouseExposureConfigurationEntryPointFiltersItemsOperation, - property_id: str, - values: List[str], - **kwargs, + self_, operation: ExperimentsWarehouseEntryPointFilterOperation, property_id: str, values: List[str], **kwargs ): """ A comparison that selects warehouse exposure data by a property. :param operation: Comparison applied by the warehouse entry-point filter. - :type operation: ExperimentsPatchExperimentV2ResponseDataAttributesWarehouseExposureConfigurationEntryPointFiltersItemsOperation + :type operation: ExperimentsWarehouseEntryPointFilterOperation :param property_id: Warehouse property UUID. :type property_id: str diff --git a/src/datadog_api_client/v2/model/experiments_warehouse_filter_input.py b/src/datadog_api_client/v2/model/experiments_warehouse_filter_input.py index c00d59558e..d220f5660a 100644 --- a/src/datadog_api_client/v2/model/experiments_warehouse_filter_input.py +++ b/src/datadog_api_client/v2/model/experiments_warehouse_filter_input.py @@ -19,7 +19,7 @@ def __init__(self, **kwargs): :type measure_id: str, none_type, optional :param operation: Comparison applied by the warehouse entry-point filter. - :type operation: ExperimentsPatchExperimentV2ResponseDataAttributesWarehouseExposureConfigurationEntryPointFiltersItemsOperation + :type operation: ExperimentsWarehouseEntryPointFilterOperation :param property_id: ID of the property on the aggregation source. :type property_id: UUID diff --git a/src/datadog_api_client/v2/model/experiments_warehouse_metric_aggregation_input.py b/src/datadog_api_client/v2/model/experiments_warehouse_metric_aggregation_input.py index 92e97227f0..1beef9769d 100644 --- a/src/datadog_api_client/v2/model/experiments_warehouse_metric_aggregation_input.py +++ b/src/datadog_api_client/v2/model/experiments_warehouse_metric_aggregation_input.py @@ -19,9 +19,7 @@ ExperimentsNullableDatadogMetricMeasureInput, ) from datadog_api_client.v2.model.experiments_warehouse_filter_input import ExperimentsWarehouseFilterInput - from datadog_api_client.v2.model.experiments_create_metric_v2_request_data_attributes_percentile_aggregation_warehouse_metric_measure import ( - ExperimentsCreateMetricV2RequestDataAttributesPercentileAggregationWarehouseMetricMeasure, - ) + from datadog_api_client.v2.model.experiments_warehouse_metric_measure import ExperimentsWarehouseMetricMeasure class ExperimentsWarehouseMetricAggregationInput(ModelNormal): @@ -37,9 +35,7 @@ def openapi_types(_): ExperimentsNullableDatadogMetricMeasureInput, ) from datadog_api_client.v2.model.experiments_warehouse_filter_input import ExperimentsWarehouseFilterInput - from datadog_api_client.v2.model.experiments_create_metric_v2_request_data_attributes_percentile_aggregation_warehouse_metric_measure import ( - ExperimentsCreateMetricV2RequestDataAttributesPercentileAggregationWarehouseMetricMeasure, - ) + from datadog_api_client.v2.model.experiments_warehouse_metric_measure import ExperimentsWarehouseMetricMeasure return { "aging_threshold_days": (int,), @@ -55,9 +51,7 @@ def openapi_types(_): "timeframe_end_value": (float,), "timeframe_start_value": (float,), "timeframe_unit": (str,), - "warehouse_metric_measure": ( - ExperimentsCreateMetricV2RequestDataAttributesPercentileAggregationWarehouseMetricMeasure, - ), + "warehouse_metric_measure": (ExperimentsWarehouseMetricMeasure,), "winsor_lower_fixed_value": (float,), "winsor_lower_percentile": (float,), "winsor_upper_fixed_value": (float,), @@ -90,7 +84,7 @@ def openapi_types(_): def __init__( self_, operation: str, - warehouse_metric_measure: ExperimentsCreateMetricV2RequestDataAttributesPercentileAggregationWarehouseMetricMeasure, + warehouse_metric_measure: ExperimentsWarehouseMetricMeasure, aging_threshold_days: Union[int, UnsetType] = unset, datadog_metric_measure: Union[ExperimentsNullableDatadogMetricMeasureInput, none_type, UnsetType] = unset, enable_aging_subject_filter: Union[bool, UnsetType] = unset, @@ -155,7 +149,7 @@ def __init__( :type timeframe_unit: str, optional :param warehouse_metric_measure: Reference to a measure defined in a warehouse metric SQL model. - :type warehouse_metric_measure: ExperimentsCreateMetricV2RequestDataAttributesPercentileAggregationWarehouseMetricMeasure + :type warehouse_metric_measure: ExperimentsWarehouseMetricMeasure :param winsor_lower_fixed_value: Fixed lower bound used to cap extreme measure values. :type winsor_lower_fixed_value: float, optional diff --git a/src/datadog_api_client/v2/model/experiments_create_metric_v2_request_data_attributes_percentile_aggregation_warehouse_metric_measure.py b/src/datadog_api_client/v2/model/experiments_warehouse_metric_measure.py similarity index 87% rename from src/datadog_api_client/v2/model/experiments_create_metric_v2_request_data_attributes_percentile_aggregation_warehouse_metric_measure.py rename to src/datadog_api_client/v2/model/experiments_warehouse_metric_measure.py index db9681bc54..aa68494aa8 100644 --- a/src/datadog_api_client/v2/model/experiments_create_metric_v2_request_data_attributes_percentile_aggregation_warehouse_metric_measure.py +++ b/src/datadog_api_client/v2/model/experiments_warehouse_metric_measure.py @@ -11,7 +11,7 @@ ) -class ExperimentsCreateMetricV2RequestDataAttributesPercentileAggregationWarehouseMetricMeasure(ModelNormal): +class ExperimentsWarehouseMetricMeasure(ModelNormal): @cached_property def openapi_types(_): return { diff --git a/src/datadog_api_client/v2/model/experiments_warehouse_percentile_aggregation_input.py b/src/datadog_api_client/v2/model/experiments_warehouse_percentile_aggregation_input.py index 2cc30df413..53de0df49a 100644 --- a/src/datadog_api_client/v2/model/experiments_warehouse_percentile_aggregation_input.py +++ b/src/datadog_api_client/v2/model/experiments_warehouse_percentile_aggregation_input.py @@ -19,9 +19,7 @@ ExperimentsNullableDatadogPercentileMeasureInput, ) from datadog_api_client.v2.model.experiments_property_filter_input import ExperimentsPropertyFilterInput - from datadog_api_client.v2.model.experiments_create_metric_v2_request_data_attributes_percentile_aggregation_warehouse_metric_measure import ( - ExperimentsCreateMetricV2RequestDataAttributesPercentileAggregationWarehouseMetricMeasure, - ) + from datadog_api_client.v2.model.experiments_warehouse_metric_measure import ExperimentsWarehouseMetricMeasure class ExperimentsWarehousePercentileAggregationInput(ModelNormal): @@ -38,17 +36,13 @@ def openapi_types(_): ExperimentsNullableDatadogPercentileMeasureInput, ) from datadog_api_client.v2.model.experiments_property_filter_input import ExperimentsPropertyFilterInput - from datadog_api_client.v2.model.experiments_create_metric_v2_request_data_attributes_percentile_aggregation_warehouse_metric_measure import ( - ExperimentsCreateMetricV2RequestDataAttributesPercentileAggregationWarehouseMetricMeasure, - ) + from datadog_api_client.v2.model.experiments_warehouse_metric_measure import ExperimentsWarehouseMetricMeasure return { "datadog_metric_measure": (ExperimentsNullableDatadogPercentileMeasureInput,), "percentile": (float,), "property_filters": ([[ExperimentsPropertyFilterInput]], none_type), - "warehouse_metric_measure": ( - ExperimentsCreateMetricV2RequestDataAttributesPercentileAggregationWarehouseMetricMeasure, - ), + "warehouse_metric_measure": (ExperimentsWarehouseMetricMeasure,), } attribute_map = { @@ -61,7 +55,7 @@ def openapi_types(_): def __init__( self_, percentile: float, - warehouse_metric_measure: ExperimentsCreateMetricV2RequestDataAttributesPercentileAggregationWarehouseMetricMeasure, + warehouse_metric_measure: ExperimentsWarehouseMetricMeasure, datadog_metric_measure: Union[ExperimentsNullableDatadogPercentileMeasureInput, none_type, UnsetType] = unset, property_filters: Union[List[List[ExperimentsPropertyFilterInput]], none_type, UnsetType] = unset, **kwargs, @@ -79,7 +73,7 @@ def __init__( :type property_filters: [[ExperimentsPropertyFilterInput]], none_type, optional :param warehouse_metric_measure: Reference to a measure defined in a warehouse metric SQL model. - :type warehouse_metric_measure: ExperimentsCreateMetricV2RequestDataAttributesPercentileAggregationWarehouseMetricMeasure + :type warehouse_metric_measure: ExperimentsWarehouseMetricMeasure """ if datadog_metric_measure is not unset: kwargs["datadog_metric_measure"] = datadog_metric_measure diff --git a/src/datadog_api_client/v2/models/__init__.py b/src/datadog_api_client/v2/models/__init__.py index ada3c70360..a288c81553 100644 --- a/src/datadog_api_client/v2/models/__init__.py +++ b/src/datadog_api_client/v2/models/__init__.py @@ -3361,6 +3361,7 @@ from datadog_api_client.v2.model.experiments_conclude_experiment_v2_request_data_type import ( ExperimentsConcludeExperimentV2RequestDataType, ) +from datadog_api_client.v2.model.experiments_confidence_interval import ExperimentsConfidenceInterval from datadog_api_client.v2.model.experiments_create_experiment_metric_group_v2_request import ( ExperimentsCreateExperimentMetricGroupV2Request, ) @@ -3383,9 +3384,6 @@ from datadog_api_client.v2.model.experiments_create_experiment_v2_request_data_attributes_datadog_flag_configuration import ( ExperimentsCreateExperimentV2RequestDataAttributesDatadogFlagConfiguration, ) -from datadog_api_client.v2.model.experiments_create_experiment_v2_request_data_attributes_datadog_flag_configuration_targeting_rules_items import ( - ExperimentsCreateExperimentV2RequestDataAttributesDatadogFlagConfigurationTargetingRulesItems, -) from datadog_api_client.v2.model.experiments_create_experiment_v2_request_data_attributes_decision_metrics_items import ( ExperimentsCreateExperimentV2RequestDataAttributesDecisionMetricsItems, ) @@ -3466,9 +3464,6 @@ from datadog_api_client.v2.model.experiments_create_metric_v2_request_data_attributes_percentile_aggregation import ( ExperimentsCreateMetricV2RequestDataAttributesPercentileAggregation, ) -from datadog_api_client.v2.model.experiments_create_metric_v2_request_data_attributes_percentile_aggregation_warehouse_metric_measure import ( - ExperimentsCreateMetricV2RequestDataAttributesPercentileAggregationWarehouseMetricMeasure, -) from datadog_api_client.v2.model.experiments_create_subject_type_v2_request import ExperimentsCreateSubjectTypeV2Request from datadog_api_client.v2.model.experiments_create_subject_type_v2_request_data import ( ExperimentsCreateSubjectTypeV2RequestData, @@ -3477,6 +3472,12 @@ ExperimentsCreateSubjectTypeV2RequestDataAttributes, ) from datadog_api_client.v2.model.experiments_datadog_entry_point_filter import ExperimentsDatadogEntryPointFilter +from datadog_api_client.v2.model.experiments_datadog_entry_point_filter_column_type import ( + ExperimentsDatadogEntryPointFilterColumnType, +) +from datadog_api_client.v2.model.experiments_datadog_entry_point_filter_operation import ( + ExperimentsDatadogEntryPointFilterOperation, +) from datadog_api_client.v2.model.experiments_datadog_metric_aggregation_input import ( ExperimentsDatadogMetricAggregationInput, ) @@ -3674,15 +3675,6 @@ from datadog_api_client.v2.model.experiments_patch_experiment_v2_response_data_attributes_datadog_flag_configuration_entry_point import ( ExperimentsPatchExperimentV2ResponseDataAttributesDatadogFlagConfigurationEntryPoint, ) -from datadog_api_client.v2.model.experiments_patch_experiment_v2_response_data_attributes_datadog_flag_configuration_entry_point_filters_items_items_column_type import ( - ExperimentsPatchExperimentV2ResponseDataAttributesDatadogFlagConfigurationEntryPointFiltersItemsItemsColumnType, -) -from datadog_api_client.v2.model.experiments_patch_experiment_v2_response_data_attributes_datadog_flag_configuration_entry_point_filters_items_items_operation import ( - ExperimentsPatchExperimentV2ResponseDataAttributesDatadogFlagConfigurationEntryPointFiltersItemsItemsOperation, -) -from datadog_api_client.v2.model.experiments_patch_experiment_v2_response_data_attributes_datadog_flag_configuration_targeting_rules_items_conditions_items_operator import ( - ExperimentsPatchExperimentV2ResponseDataAttributesDatadogFlagConfigurationTargetingRulesItemsConditionsItemsOperator, -) from datadog_api_client.v2.model.experiments_patch_experiment_v2_response_data_attributes_split_by_properties_items_column_type import ( ExperimentsPatchExperimentV2ResponseDataAttributesSplitByPropertiesItemsColumnType, ) @@ -3695,12 +3687,6 @@ from datadog_api_client.v2.model.experiments_patch_experiment_v2_response_data_attributes_warehouse_exposure_configuration import ( ExperimentsPatchExperimentV2ResponseDataAttributesWarehouseExposureConfiguration, ) -from datadog_api_client.v2.model.experiments_patch_experiment_v2_response_data_attributes_warehouse_exposure_configuration_entry_point import ( - ExperimentsPatchExperimentV2ResponseDataAttributesWarehouseExposureConfigurationEntryPoint, -) -from datadog_api_client.v2.model.experiments_patch_experiment_v2_response_data_attributes_warehouse_exposure_configuration_entry_point_filters_items_operation import ( - ExperimentsPatchExperimentV2ResponseDataAttributesWarehouseExposureConfigurationEntryPointFiltersItemsOperation, -) from datadog_api_client.v2.model.experiments_patch_experiment_v2_response_data_type import ( ExperimentsPatchExperimentV2ResponseDataType, ) @@ -3816,7 +3802,9 @@ ExperimentsSubjectTypeV2DTODataAttributes, ) from datadog_api_client.v2.model.experiments_subject_type_v2_dto_data_type import ExperimentsSubjectTypeV2DTODataType +from datadog_api_client.v2.model.experiments_targeting_rule import ExperimentsTargetingRule from datadog_api_client.v2.model.experiments_targeting_rule_condition import ExperimentsTargetingRuleCondition +from datadog_api_client.v2.model.experiments_targeting_rule_operator import ExperimentsTargetingRuleOperator from datadog_api_client.v2.model.experiments_traffic_summary_v2_dto import ExperimentsTrafficSummaryV2DTO from datadog_api_client.v2.model.experiments_traffic_summary_v2_dto_data import ExperimentsTrafficSummaryV2DTOData from datadog_api_client.v2.model.experiments_traffic_summary_v2_dto_data_attributes import ( @@ -3868,9 +3856,6 @@ from datadog_api_client.v2.model.experiments_variant_results_v2_dto_data_attributes_metrics_items_analyses_items import ( ExperimentsVariantResultsV2DTODataAttributesMetricsItemsAnalysesItems, ) -from datadog_api_client.v2.model.experiments_variant_results_v2_dto_data_attributes_metrics_items_analyses_items_confidence_interval import ( - ExperimentsVariantResultsV2DTODataAttributesMetricsItemsAnalysesItemsConfidenceInterval, -) from datadog_api_client.v2.model.experiments_variant_results_v2_dto_data_attributes_metrics_items_analyses_items_lift_type import ( ExperimentsVariantResultsV2DTODataAttributesMetricsItemsAnalysesItemsLiftType, ) @@ -3886,11 +3871,16 @@ from datadog_api_client.v2.model.experiments_variant_results_v2_dto_data_type import ( ExperimentsVariantResultsV2DTODataType, ) +from datadog_api_client.v2.model.experiments_warehouse_entry_point import ExperimentsWarehouseEntryPoint +from datadog_api_client.v2.model.experiments_warehouse_entry_point_filter_operation import ( + ExperimentsWarehouseEntryPointFilterOperation, +) from datadog_api_client.v2.model.experiments_warehouse_exposure_filter import ExperimentsWarehouseExposureFilter from datadog_api_client.v2.model.experiments_warehouse_filter_input import ExperimentsWarehouseFilterInput from datadog_api_client.v2.model.experiments_warehouse_metric_aggregation_input import ( ExperimentsWarehouseMetricAggregationInput, ) +from datadog_api_client.v2.model.experiments_warehouse_metric_measure import ExperimentsWarehouseMetricMeasure from datadog_api_client.v2.model.experiments_warehouse_percentile_aggregation_input import ( ExperimentsWarehousePercentileAggregationInput, ) @@ -15102,6 +15092,7 @@ "ExperimentsConcludeExperimentV2RequestData", "ExperimentsConcludeExperimentV2RequestDataAttributes", "ExperimentsConcludeExperimentV2RequestDataType", + "ExperimentsConfidenceInterval", "ExperimentsCreateExperimentMetricGroupV2Request", "ExperimentsCreateExperimentMetricGroupV2RequestData", "ExperimentsCreateExperimentMetricGroupV2RequestDataAttributes", @@ -15110,7 +15101,6 @@ "ExperimentsCreateExperimentV2RequestData", "ExperimentsCreateExperimentV2RequestDataAttributes", "ExperimentsCreateExperimentV2RequestDataAttributesDatadogFlagConfiguration", - "ExperimentsCreateExperimentV2RequestDataAttributesDatadogFlagConfigurationTargetingRulesItems", "ExperimentsCreateExperimentV2RequestDataAttributesDecisionMetricsItems", "ExperimentsCreateExperimentV2RequestDataAttributesRelatedLinksItems", "ExperimentsCreateExperimentV2RequestDataAttributesSplitByPropertiesItems", @@ -15139,11 +15129,12 @@ "ExperimentsCreateMetricV2RequestDataAttributesDesiredChange", "ExperimentsCreateMetricV2RequestDataAttributesNumeratorAggregation", "ExperimentsCreateMetricV2RequestDataAttributesPercentileAggregation", - "ExperimentsCreateMetricV2RequestDataAttributesPercentileAggregationWarehouseMetricMeasure", "ExperimentsCreateSubjectTypeV2Request", "ExperimentsCreateSubjectTypeV2RequestData", "ExperimentsCreateSubjectTypeV2RequestDataAttributes", "ExperimentsDatadogEntryPointFilter", + "ExperimentsDatadogEntryPointFilterColumnType", + "ExperimentsDatadogEntryPointFilterOperation", "ExperimentsDatadogMetricAggregationInput", "ExperimentsDatadogMetricMeasureInput", "ExperimentsDatadogPercentileAggregationInput", @@ -15229,15 +15220,10 @@ "ExperimentsPatchExperimentV2ResponseDataAttributesConclusion", "ExperimentsPatchExperimentV2ResponseDataAttributesDatadogFlagConfiguration", "ExperimentsPatchExperimentV2ResponseDataAttributesDatadogFlagConfigurationEntryPoint", - "ExperimentsPatchExperimentV2ResponseDataAttributesDatadogFlagConfigurationEntryPointFiltersItemsItemsColumnType", - "ExperimentsPatchExperimentV2ResponseDataAttributesDatadogFlagConfigurationEntryPointFiltersItemsItemsOperation", - "ExperimentsPatchExperimentV2ResponseDataAttributesDatadogFlagConfigurationTargetingRulesItemsConditionsItemsOperator", "ExperimentsPatchExperimentV2ResponseDataAttributesSplitByPropertiesItemsColumnType", "ExperimentsPatchExperimentV2ResponseDataAttributesStructuredMetadataItemsFieldType", "ExperimentsPatchExperimentV2ResponseDataAttributesTrafficExposure", "ExperimentsPatchExperimentV2ResponseDataAttributesWarehouseExposureConfiguration", - "ExperimentsPatchExperimentV2ResponseDataAttributesWarehouseExposureConfigurationEntryPoint", - "ExperimentsPatchExperimentV2ResponseDataAttributesWarehouseExposureConfigurationEntryPointFiltersItemsOperation", "ExperimentsPatchExperimentV2ResponseDataType", "ExperimentsPatchMetricCollectionV2Request", "ExperimentsPatchMetricCollectionV2RequestData", @@ -15285,7 +15271,9 @@ "ExperimentsSubjectTypeV2DTOData", "ExperimentsSubjectTypeV2DTODataAttributes", "ExperimentsSubjectTypeV2DTODataType", + "ExperimentsTargetingRule", "ExperimentsTargetingRuleCondition", + "ExperimentsTargetingRuleOperator", "ExperimentsTrafficSummaryV2DTO", "ExperimentsTrafficSummaryV2DTOData", "ExperimentsTrafficSummaryV2DTODataAttributes", @@ -15307,15 +15295,17 @@ "ExperimentsVariantResultsV2DTODataAttributes", "ExperimentsVariantResultsV2DTODataAttributesMetricsItems", "ExperimentsVariantResultsV2DTODataAttributesMetricsItemsAnalysesItems", - "ExperimentsVariantResultsV2DTODataAttributesMetricsItemsAnalysesItemsConfidenceInterval", "ExperimentsVariantResultsV2DTODataAttributesMetricsItemsAnalysesItemsLiftType", "ExperimentsVariantResultsV2DTODataAttributesMetricsItemsAnalysesItemsMethod", "ExperimentsVariantResultsV2DTODataAttributesMetricsItemsAnalysesItemsUnreliableReason", "ExperimentsVariantResultsV2DTODataAttributesMetricsItemsCoverageSummary", "ExperimentsVariantResultsV2DTODataType", + "ExperimentsWarehouseEntryPoint", + "ExperimentsWarehouseEntryPointFilterOperation", "ExperimentsWarehouseExposureFilter", "ExperimentsWarehouseFilterInput", "ExperimentsWarehouseMetricAggregationInput", + "ExperimentsWarehouseMetricMeasure", "ExperimentsWarehousePercentileAggregationInput", "ExposureRolloutStepRequest", "ExposureScheduleRequest", diff --git a/tests/generated-test/test-runner-data/v1/dashboards/create-a-geomap-widget-using-an-event-list-request.json b/tests/generated-test/test-runner-data/v1/dashboards/create-a-geomap-widget-using-an-event-list-request.json index 839e18bfaf..b1a183c2ba 100644 --- a/tests/generated-test/test-runner-data/v1/dashboards/create-a-geomap-widget-using-an-event-list-request.json +++ b/tests/generated-test/test-runner-data/v1/dashboards/create-a-geomap-widget-using-an-event-list-request.json @@ -45,10 +45,6 @@ { "field": "classic", "width": "auto" - }, - { - "field": "", - "width": "auto" } ], "query": { diff --git a/tests/generated-test/test-server-data/v1/dashboards.json b/tests/generated-test/test-server-data/v1/dashboards.json index 30239698c4..71d8f9de27 100644 --- a/tests/generated-test/test-server-data/v1/dashboards.json +++ b/tests/generated-test/test-server-data/v1/dashboards.json @@ -413,20 +413,20 @@ }, { "feature": "Dashboards", - "frozen_at": "2024-11-15T19:32:28.361Z", + "frozen_at": "2026-10-13T11:22:57.351Z", "interactions": [ { "request": { "body": { "type": "json", "value": { - "description": "Test-Create_a_geomap_widget_using_an_event_list_request-1731699148", + "description": "Test-Create_a_geomap_widget_using_an_event_list_request-1791890577", "layout_type": "ordered", "notify_list": [], "reflow_type": "fixed", "tags": [], "template_variables": [], - "title": "Test-Create_a_geomap_widget_using_an_event_list_request-1731699148", + "title": "Test-Create_a_geomap_widget_using_an_event_list_request-1791890577", "widgets": [ { "definition": { @@ -452,10 +452,6 @@ { "field": "classic", "width": "auto" - }, - { - "field": "", - "width": "auto" } ], "query": { @@ -496,7 +492,7 @@ "response": { "body": { "encoding": "text", - "value": "{\"id\":\"85y-teg-6gs\",\"title\":\"Test-Create_a_geomap_widget_using_an_event_list_request-1731699148\",\"description\":\"Test-Create_a_geomap_widget_using_an_event_list_request-1731699148\",\"author_handle\":\"frog@datadoghq.com\",\"author_name\":null,\"layout_type\":\"ordered\",\"url\":\"/dashboard/85y-teg-6gs/test-createageomapwidgetusinganeventlistrequest-1731699148\",\"is_read_only\":false,\"template_variables\":[],\"widgets\":[{\"definition\":{\"requests\":[{\"columns\":[{\"field\":\"@network.client.geoip.location.latitude\",\"width\":\"auto\"},{\"field\":\"@network.client.geoip.location.longitude\",\"width\":\"auto\"},{\"field\":\"@network.client.geoip.country.iso_code\",\"width\":\"auto\"},{\"field\":\"@network.client.geoip.subdivision.name\",\"width\":\"auto\"},{\"field\":\"classic\",\"width\":\"auto\"},{\"field\":\"\",\"width\":\"auto\"}],\"query\":{\"data_source\":\"logs_stream\",\"indexes\":[],\"query_string\":\"\"},\"response_format\":\"event_list\"}],\"style\":{\"palette\":\"hostmap_blues\",\"palette_flip\":false},\"title\":\"\",\"title_align\":\"left\",\"title_size\":\"16\",\"type\":\"geomap\",\"view\":{\"focus\":\"WORLD\"}},\"layout\":{\"height\":6,\"width\":12,\"x\":0,\"y\":0},\"id\":303965122186527}],\"notify_list\":[],\"created_at\":\"2024-11-15T19:32:28.542191+00:00\",\"modified_at\":\"2024-11-15T19:32:28.542191+00:00\",\"reflow_type\":\"fixed\",\"tags\":[],\"restricted_roles\":[]}\n" + "value": "{\"id\":\"gze-tdp-qmk\",\"title\":\"Test-Create_a_geomap_widget_using_an_event_list_request-1791890577\",\"description\":\"Test-Create_a_geomap_widget_using_an_event_list_request-1791890577\",\"author_handle\":\"cedric.vanrompay@datadoghq.com\",\"author_name\":\"C\u00e9dric Van Rompay\",\"layout_type\":\"ordered\",\"url\":\"/dashboard/gze-tdp-qmk/test-createageomapwidgetusinganeventlistrequest-1791890577\",\"template_variables\":[],\"widgets\":[{\"definition\":{\"requests\":[{\"columns\":[{\"field\":\"@network.client.geoip.location.latitude\",\"width\":\"auto\"},{\"field\":\"@network.client.geoip.location.longitude\",\"width\":\"auto\"},{\"field\":\"@network.client.geoip.country.iso_code\",\"width\":\"auto\"},{\"field\":\"@network.client.geoip.subdivision.name\",\"width\":\"auto\"},{\"field\":\"classic\",\"width\":\"auto\"}],\"query\":{\"data_source\":\"logs_stream\",\"indexes\":[],\"query_string\":\"\"},\"response_format\":\"event_list\"}],\"style\":{\"palette\":\"hostmap_blues\",\"palette_flip\":false},\"title\":\"\",\"title_align\":\"left\",\"title_size\":\"16\",\"type\":\"geomap\",\"view\":{\"focus\":\"WORLD\"}},\"layout\":{\"height\":6,\"width\":12,\"x\":0,\"y\":0},\"id\":6435549160153121}],\"notify_list\":[],\"created_at\":\"2026-10-13T11:22:57.973294+00:00\",\"modified_at\":\"2026-10-13T11:22:57.973294+00:00\",\"experience_type\":\"default\",\"reflow_type\":\"fixed\",\"tags\":[],\"restricted_roles\":[]}" }, "headers": { "content-type": "application/json" @@ -513,13 +509,13 @@ }, "content_type": "", "method": "DELETE", - "path": "/api/v1/dashboard/85y-teg-6gs", + "path": "/api/v1/dashboard/gze-tdp-qmk", "query": [] }, "response": { "body": { "encoding": "text", - "value": "{\"deleted_dashboard_id\":\"85y-teg-6gs\"}\n" + "value": "{\"deleted_dashboard_id\":\"gze-tdp-qmk\"}" }, "headers": { "content-type": "application/json" diff --git a/tests/generated-test/test-server-data/v2/csm-threats.json b/tests/generated-test/test-server-data/v2/csm-threats.json index 3848994db7..77c5a4f64a 100644 --- a/tests/generated-test/test-server-data/v2/csm-threats.json +++ b/tests/generated-test/test-server-data/v2/csm-threats.json @@ -31,7 +31,7 @@ "response": { "body": { "encoding": "text", - "value": "{\"data\":{\"id\":\"rcu-vlu-ths\",\"type\":\"policy\",\"attributes\":{\"blockingRulesCount\":0,\"contentPackUpdateAvailable\":null,\"datadogManaged\":false,\"description\":\"My agent policy\",\"disabledRulesCount\":0,\"enabled\":false,\"hostTagsLists\":[[\"env:staging\"]],\"monitoringRulesCount\":260,\"name\":\"testcreateaworkloadprotectionagentruleus1fedreturnsbadrequestresponse1791584398\",\"pinned\":false,\"policyType\":\"custom\",\"policyVersion\":\"1\",\"ruleCount\":260,\"updateDate\":1791584400171,\"updater\":{\"name\":\"David Tapiador del Dujo\",\"handle\":\"david.tapiadordeldujo@datadoghq.com\"}}}}" + "value": "{\"data\":{\"id\":\"rcu-vlu-ths\",\"type\":\"policy\",\"attributes\":{\"blockingRulesCount\":0,\"contentPackUpdateAvailable\":null,\"datadogManaged\":false,\"description\":\"My agent policy\",\"disabledRulesCount\":0,\"enabled\":false,\"hostTagsLists\":[[\"env:staging\"]],\"monitoringRulesCount\":260,\"name\":\"testcreateaworkloadprotectionagentruleus1fedreturnsbadrequestresponse1791584398\",\"pinned\":false,\"policyType\":\"custom\",\"policyVersion\":\"1\",\"ruleCount\":260,\"updateDate\":1791584400171,\"updater\":{\"name\":\"C\u00e9dric Van Rompay\",\"handle\":\"cedric.vanrompay@datadoghq.com\"}}}}" }, "headers": { "content-type": "application/vnd.api+json" @@ -129,7 +129,7 @@ "response": { "body": { "encoding": "text", - "value": "{\"data\":{\"id\":\"rva-ljb-ty3\",\"type\":\"policy\",\"attributes\":{\"blockingRulesCount\":0,\"contentPackUpdateAvailable\":null,\"datadogManaged\":false,\"description\":\"My agent policy\",\"disabledRulesCount\":0,\"enabled\":false,\"hostTagsLists\":[[\"env:staging\"]],\"monitoringRulesCount\":260,\"name\":\"testcreateaworkloadprotectionagentruleus1fedreturnsokresponse1791584402\",\"pinned\":false,\"policyType\":\"custom\",\"policyVersion\":\"1\",\"ruleCount\":260,\"updateDate\":1791584402268,\"updater\":{\"name\":\"David Tapiador del Dujo\",\"handle\":\"david.tapiadordeldujo@datadoghq.com\"}}}}" + "value": "{\"data\":{\"id\":\"rva-ljb-ty3\",\"type\":\"policy\",\"attributes\":{\"blockingRulesCount\":0,\"contentPackUpdateAvailable\":null,\"datadogManaged\":false,\"description\":\"My agent policy\",\"disabledRulesCount\":0,\"enabled\":false,\"hostTagsLists\":[[\"env:staging\"]],\"monitoringRulesCount\":260,\"name\":\"testcreateaworkloadprotectionagentruleus1fedreturnsokresponse1791584402\",\"pinned\":false,\"policyType\":\"custom\",\"policyVersion\":\"1\",\"ruleCount\":260,\"updateDate\":1791584402268,\"updater\":{\"name\":\"C\u00e9dric Van Rompay\",\"handle\":\"cedric.vanrompay@datadoghq.com\"}}}}" }, "headers": { "content-type": "application/vnd.api+json" @@ -163,7 +163,7 @@ "response": { "body": { "encoding": "text", - "value": "{\"data\":{\"id\":\"sb9-egs-p1s\",\"attributes\":{\"version\":1,\"name\":\"testcreateaworkloadprotectionagentruleus1fedreturnsokresponse1791584402\",\"description\":\"My Agent rule\",\"expression\":\"exec.file.name == \\\"sh\\\"\",\"category\":\"Process Activity\",\"defaultRule\":false,\"enabled\":true,\"creationAuthorUuId\":\"30924c52-076c-4642-b292-7c122aaced8d\",\"creationDate\":1791584402827,\"updateAuthorUuId\":\"30924c52-076c-4642-b292-7c122aaced8d\",\"updateDate\":1791584402827,\"filters\":[],\"actions\":[],\"agentConstraint\":\"\",\"creator\":{\"name\":\"David Tapiador del Dujo\",\"handle\":\"david.tapiadordeldujo@datadoghq.com\"},\"updater\":{\"name\":\"David Tapiador del Dujo\",\"handle\":\"david.tapiadordeldujo@datadoghq.com\"}},\"type\":\"agent_rule\"}}\n" + "value": "{\"data\":{\"id\":\"sb9-egs-p1s\",\"attributes\":{\"version\":1,\"name\":\"testcreateaworkloadprotectionagentruleus1fedreturnsokresponse1791584402\",\"description\":\"My Agent rule\",\"expression\":\"exec.file.name == \\\"sh\\\"\",\"category\":\"Process Activity\",\"defaultRule\":false,\"enabled\":true,\"creationAuthorUuId\":\"30924c52-076c-4642-b292-7c122aaced8d\",\"creationDate\":1791584402827,\"updateAuthorUuId\":\"30924c52-076c-4642-b292-7c122aaced8d\",\"updateDate\":1791584402827,\"filters\":[],\"actions\":[],\"agentConstraint\":\"\",\"creator\":{\"name\":\"C\u00e9dric Van Rompay\",\"handle\":\"cedric.vanrompay@datadoghq.com\"},\"updater\":{\"name\":\"C\u00e9dric Van Rompay\",\"handle\":\"cedric.vanrompay@datadoghq.com\"}},\"type\":\"agent_rule\"}}\n" }, "headers": { "content-type": "application/json" @@ -220,7 +220,7 @@ }, { "feature": "CSM Threats", - "frozen_at": "2026-10-08T15:55:42.387Z", + "frozen_at": "2026-10-13T11:39:15.370Z", "interactions": [ { "request": { @@ -234,7 +234,7 @@ "hostTags": [ "env:staging" ], - "name": "testcreateaworkloadprotectionagentrulereturnsbadrequestresponse1791474942" + "name": "testcreateaworkloadprotectionagentrulereturnsbadrequestresponse1791891555" }, "type": "policy" } @@ -248,7 +248,7 @@ "response": { "body": { "encoding": "text", - "value": "{\"data\":{\"id\":\"x9j-mc7-jer\",\"type\":\"policy\",\"attributes\":{\"blockingRulesCount\":0,\"contentPackUpdateAvailable\":null,\"datadogManaged\":false,\"description\":\"My agent policy\",\"disabledRulesCount\":0,\"enabled\":false,\"hostTagsLists\":[[\"env:staging\"]],\"monitoringRulesCount\":9,\"name\":\"testcreateaworkloadprotectionagentrulereturnsbadrequestresponse1791474942\",\"pinned\":false,\"policyType\":\"custom\",\"policyVersion\":\"1\",\"ruleCount\":9,\"updateDate\":1791474943587,\"updater\":{\"name\":\"David Tapiador del Dujo\",\"handle\":\"david.tapiadordeldujo@datadoghq.com\"}}}}" + "value": "{\"data\":{\"id\":\"uaq-ecd-4oz\",\"type\":\"policy\",\"attributes\":{\"blockingRulesCount\":0,\"contentPackUpdateAvailable\":null,\"datadogManaged\":false,\"description\":\"My agent policy\",\"disabledRulesCount\":0,\"enabled\":false,\"hostTagsLists\":[[\"env:staging\"]],\"monitoringRulesCount\":92,\"name\":\"testcreateaworkloadprotectionagentrulereturnsbadrequestresponse1791891555\",\"pinned\":false,\"policyType\":\"custom\",\"policyVersion\":\"1\",\"ruleCount\":92,\"updateDate\":1791891556363,\"updater\":{\"name\":\"C\u00e9dric Van Rompay\",\"handle\":\"cedric.vanrompay@datadoghq.com\"}}}}" }, "headers": { "content-type": "application/vnd.api+json" @@ -269,7 +269,7 @@ "expression": "exec.file.name", "filters": [], "name": "my_agent_rule", - "policy_id": "x9j-mc7-jer", + "policy_id": "uaq-ecd-4oz", "product_tags": [] }, "type": "agent_rule" @@ -301,7 +301,7 @@ }, "content_type": "", "method": "DELETE", - "path": "/api/v2/remote_config/products/cws/policy/x9j-mc7-jer", + "path": "/api/v2/remote_config/products/cws/policy/uaq-ecd-4oz", "query": [] }, "response": { @@ -320,7 +320,7 @@ }, { "feature": "CSM Threats", - "frozen_at": "2026-10-08T15:55:44.934Z", + "frozen_at": "2026-10-13T11:39:17.800Z", "interactions": [ { "request": { @@ -334,7 +334,7 @@ "hostTags": [ "env:staging" ], - "name": "testcreateaworkloadprotectionagentrulereturnsokresponse1791474944" + "name": "testcreateaworkloadprotectionagentrulereturnsokresponse1791891557" }, "type": "policy" } @@ -348,7 +348,7 @@ "response": { "body": { "encoding": "text", - "value": "{\"data\":{\"id\":\"xte-bxy-h2s\",\"type\":\"policy\",\"attributes\":{\"blockingRulesCount\":0,\"contentPackUpdateAvailable\":null,\"datadogManaged\":false,\"description\":\"My agent policy\",\"disabledRulesCount\":0,\"enabled\":false,\"hostTagsLists\":[[\"env:staging\"]],\"monitoringRulesCount\":260,\"name\":\"testcreateaworkloadprotectionagentrulereturnsokresponse1791474944\",\"pinned\":false,\"policyType\":\"custom\",\"policyVersion\":\"1\",\"ruleCount\":260,\"updateDate\":1791474945149,\"updater\":{\"name\":\"David Tapiador del Dujo\",\"handle\":\"david.tapiadordeldujo@datadoghq.com\"}}}}" + "value": "{\"data\":{\"id\":\"3bd-rhe-gjp\",\"type\":\"policy\",\"attributes\":{\"blockingRulesCount\":0,\"contentPackUpdateAvailable\":null,\"datadogManaged\":false,\"description\":\"My agent policy\",\"disabledRulesCount\":0,\"enabled\":false,\"hostTagsLists\":[[\"env:staging\"]],\"monitoringRulesCount\":260,\"name\":\"testcreateaworkloadprotectionagentrulereturnsokresponse1791891557\",\"pinned\":false,\"policyType\":\"custom\",\"policyVersion\":\"1\",\"ruleCount\":260,\"updateDate\":1791891557906,\"updater\":{\"name\":\"C\u00e9dric Van Rompay\",\"handle\":\"cedric.vanrompay@datadoghq.com\"}}}}" }, "headers": { "content-type": "application/vnd.api+json" @@ -369,8 +369,8 @@ "enabled": true, "expression": "exec.file.name == \"sh\"", "filters": [], - "name": "testcreateaworkloadprotectionagentrulereturnsokresponse1791474944", - "policy_id": "xte-bxy-h2s", + "name": "testcreateaworkloadprotectionagentrulereturnsokresponse1791891557", + "policy_id": "3bd-rhe-gjp", "product_tags": [] }, "type": "agent_rule" @@ -385,7 +385,7 @@ "response": { "body": { "encoding": "text", - "value": "{\"data\":{\"id\":\"wjq-srg-dxo\",\"type\":\"agent_rule\",\"attributes\":{\"blocking\":[],\"category\":\"Process Activity\",\"creationDate\":1791474945624,\"creator\":{\"name\":\"David Tapiador del Dujo\",\"handle\":\"david.tapiadordeldujo@datadoghq.com\"},\"defaultRule\":false,\"description\":\"My Agent rule\",\"disabled\":[],\"enabled\":true,\"expression\":\"exec.file.name == \\\"sh\\\"\",\"filters\":[\"os == \\\"linux\\\"\"],\"monitoring\":[\"xte-bxy-h2s\"],\"name\":\"testcreateaworkloadprotectionagentrulereturnsokresponse1791474944\",\"product_tags\":[],\"updateDate\":1791474945624,\"updater\":{\"name\":\"David Tapiador del Dujo\",\"handle\":\"david.tapiadordeldujo@datadoghq.com\"}}}}" + "value": "{\"data\":{\"id\":\"itu-ua4-aha\",\"type\":\"agent_rule\",\"attributes\":{\"blocking\":[],\"category\":\"Process Activity\",\"creationDate\":1791891558603,\"creator\":{\"name\":\"C\u00e9dric Van Rompay\",\"handle\":\"cedric.vanrompay@datadoghq.com\"},\"defaultRule\":false,\"description\":\"My Agent rule\",\"disabled\":[],\"enabled\":true,\"expression\":\"exec.file.name == \\\"sh\\\"\",\"filters\":[\"os == \\\"linux\\\"\"],\"monitoring\":[\"3bd-rhe-gjp\"],\"name\":\"testcreateaworkloadprotectionagentrulereturnsokresponse1791891557\",\"product_tags\":[],\"updateDate\":1791891558603,\"updater\":{\"name\":\"C\u00e9dric Van Rompay\",\"handle\":\"cedric.vanrompay@datadoghq.com\"}}}}" }, "headers": { "content-type": "application/vnd.api+json" @@ -402,7 +402,7 @@ }, "content_type": "", "method": "DELETE", - "path": "/api/v2/remote_config/products/cws/agent_rules/wjq-srg-dxo", + "path": "/api/v2/remote_config/products/cws/agent_rules/itu-ua4-aha", "query": [] }, "response": { @@ -423,7 +423,7 @@ }, "content_type": "", "method": "DELETE", - "path": "/api/v2/remote_config/products/cws/policy/xte-bxy-h2s", + "path": "/api/v2/remote_config/products/cws/policy/3bd-rhe-gjp", "query": [] }, "response": { @@ -442,7 +442,7 @@ }, { "feature": "CSM Threats", - "frozen_at": "2026-10-08T15:55:47.403Z", + "frozen_at": "2026-10-13T11:39:20.016Z", "interactions": [ { "request": { @@ -456,7 +456,7 @@ "hostTags": [ "env:staging" ], - "name": "testcreateaworkloadprotectionagentrulewithsetactionreturnsokresponse1791474947" + "name": "testcreateaworkloadprotectionagentrulewithsetactionreturnsokresponse1791891560" }, "type": "policy" } @@ -470,7 +470,7 @@ "response": { "body": { "encoding": "text", - "value": "{\"data\":{\"id\":\"uqk-ror-ggv\",\"type\":\"policy\",\"attributes\":{\"blockingRulesCount\":0,\"contentPackUpdateAvailable\":null,\"datadogManaged\":false,\"description\":\"My agent policy\",\"disabledRulesCount\":0,\"enabled\":false,\"hostTagsLists\":[[\"env:staging\"]],\"monitoringRulesCount\":9,\"name\":\"testcreateaworkloadprotectionagentrulewithsetactionreturnsokresponse1791474947\",\"pinned\":false,\"policyType\":\"custom\",\"policyVersion\":\"1\",\"ruleCount\":9,\"updateDate\":1791474947608,\"updater\":{\"name\":\"David Tapiador del Dujo\",\"handle\":\"david.tapiadordeldujo@datadoghq.com\"}}}}" + "value": "{\"data\":{\"id\":\"kdi-7uh-phv\",\"type\":\"policy\",\"attributes\":{\"blockingRulesCount\":0,\"contentPackUpdateAvailable\":null,\"datadogManaged\":false,\"description\":\"My agent policy\",\"disabledRulesCount\":0,\"enabled\":false,\"hostTagsLists\":[[\"env:staging\"]],\"monitoringRulesCount\":92,\"name\":\"testcreateaworkloadprotectionagentrulewithsetactionreturnsokresponse1791891560\",\"pinned\":false,\"policyType\":\"custom\",\"policyVersion\":\"1\",\"ruleCount\":92,\"updateDate\":1791891560124,\"updater\":{\"name\":\"C\u00e9dric Van Rompay\",\"handle\":\"cedric.vanrompay@datadoghq.com\"}}}}" }, "headers": { "content-type": "application/vnd.api+json" @@ -505,8 +505,8 @@ "enabled": true, "expression": "exec.file.name == \"sh\"", "filters": [], - "name": "testcreateaworkloadprotectionagentrulewithsetactionreturnsokresponse1791474947", - "policy_id": "uqk-ror-ggv", + "name": "testcreateaworkloadprotectionagentrulewithsetactionreturnsokresponse1791891560", + "policy_id": "kdi-7uh-phv", "product_tags": [] }, "type": "agent_rule" @@ -521,7 +521,7 @@ "response": { "body": { "encoding": "text", - "value": "{\"data\":{\"id\":\"ale-bhs-cmw\",\"type\":\"agent_rule\",\"attributes\":{\"actions\":[{\"set\":{\"name\":\"test_set\",\"value\":\"test_value\",\"scope\":\"process\",\"inherited\":true},\"disabled\":false},{\"hash\":{\"field\":\"exec.file\"},\"disabled\":false}],\"blocking\":[],\"category\":\"Process Activity\",\"creationDate\":1791474948032,\"creator\":{\"name\":\"David Tapiador del Dujo\",\"handle\":\"david.tapiadordeldujo@datadoghq.com\"},\"defaultRule\":false,\"description\":\"My Agent rule with set action\",\"disabled\":[],\"enabled\":true,\"expression\":\"exec.file.name == \\\"sh\\\"\",\"filters\":[\"os == \\\"linux\\\"\"],\"monitoring\":[\"uqk-ror-ggv\"],\"name\":\"testcreateaworkloadprotectionagentrulewithsetactionreturnsokresponse1791474947\",\"product_tags\":[],\"updateDate\":1791474948032,\"updater\":{\"name\":\"David Tapiador del Dujo\",\"handle\":\"david.tapiadordeldujo@datadoghq.com\"}}}}" + "value": "{\"data\":{\"id\":\"jok-6aq-saf\",\"type\":\"agent_rule\",\"attributes\":{\"actions\":[{\"set\":{\"name\":\"test_set\",\"value\":\"test_value\",\"scope\":\"process\",\"inherited\":true},\"disabled\":false},{\"hash\":{\"field\":\"exec.file\"},\"disabled\":false}],\"blocking\":[],\"category\":\"Process Activity\",\"creationDate\":1791891560555,\"creator\":{\"name\":\"C\u00e9dric Van Rompay\",\"handle\":\"cedric.vanrompay@datadoghq.com\"},\"defaultRule\":false,\"description\":\"My Agent rule with set action\",\"disabled\":[],\"enabled\":true,\"expression\":\"exec.file.name == \\\"sh\\\"\",\"filters\":[\"os == \\\"linux\\\"\"],\"monitoring\":[\"kdi-7uh-phv\"],\"name\":\"testcreateaworkloadprotectionagentrulewithsetactionreturnsokresponse1791891560\",\"product_tags\":[],\"updateDate\":1791891560555,\"updater\":{\"name\":\"C\u00e9dric Van Rompay\",\"handle\":\"cedric.vanrompay@datadoghq.com\"}}}}" }, "headers": { "content-type": "application/vnd.api+json" @@ -538,7 +538,7 @@ }, "content_type": "", "method": "DELETE", - "path": "/api/v2/remote_config/products/cws/agent_rules/ale-bhs-cmw", + "path": "/api/v2/remote_config/products/cws/agent_rules/jok-6aq-saf", "query": [] }, "response": { @@ -559,7 +559,7 @@ }, "content_type": "", "method": "DELETE", - "path": "/api/v2/remote_config/products/cws/policy/uqk-ror-ggv", + "path": "/api/v2/remote_config/products/cws/policy/kdi-7uh-phv", "query": [] }, "response": { @@ -578,7 +578,7 @@ }, { "feature": "CSM Threats", - "frozen_at": "2026-10-08T15:55:49.756Z", + "frozen_at": "2026-10-13T11:39:21.848Z", "interactions": [ { "request": { @@ -592,7 +592,7 @@ "hostTags": [ "env:staging" ], - "name": "testcreateaworkloadprotectionagentrulewithsetactionwithexpressionreturnsokresponse1791474949" + "name": "testcreateaworkloadprotectionagentrulewithsetactionwithexpressionreturnsokresponse1791891561" }, "type": "policy" } @@ -606,7 +606,7 @@ "response": { "body": { "encoding": "text", - "value": "{\"data\":{\"id\":\"ewe-a6f-o0a\",\"type\":\"policy\",\"attributes\":{\"blockingRulesCount\":0,\"contentPackUpdateAvailable\":null,\"datadogManaged\":false,\"description\":\"My agent policy\",\"disabledRulesCount\":0,\"enabled\":false,\"hostTagsLists\":[[\"env:staging\"]],\"monitoringRulesCount\":260,\"name\":\"testcreateaworkloadprotectionagentrulewithsetactionwithexpressionreturnsokresponse1791474949\",\"pinned\":false,\"policyType\":\"custom\",\"policyVersion\":\"1\",\"ruleCount\":260,\"updateDate\":1791474949965,\"updater\":{\"name\":\"David Tapiador del Dujo\",\"handle\":\"david.tapiadordeldujo@datadoghq.com\"}}}}" + "value": "{\"data\":{\"id\":\"8tm-2vc-kgn\",\"type\":\"policy\",\"attributes\":{\"blockingRulesCount\":0,\"contentPackUpdateAvailable\":null,\"datadogManaged\":false,\"description\":\"My agent policy\",\"disabledRulesCount\":0,\"enabled\":false,\"hostTagsLists\":[[\"env:staging\"]],\"monitoringRulesCount\":260,\"name\":\"testcreateaworkloadprotectionagentrulewithsetactionwithexpressionreturnsokresponse1791891561\",\"pinned\":false,\"policyType\":\"custom\",\"policyVersion\":\"1\",\"ruleCount\":260,\"updateDate\":1791891561967,\"updater\":{\"name\":\"C\u00e9dric Van Rompay\",\"handle\":\"cedric.vanrompay@datadoghq.com\"}}}}" }, "headers": { "content-type": "application/vnd.api+json" @@ -636,8 +636,8 @@ "enabled": true, "expression": "exec.file.name == \"sh\"", "filters": [], - "name": "testcreateaworkloadprotectionagentrulewithsetactionwithexpressionreturnsokresponse1791474949", - "policy_id": "ewe-a6f-o0a", + "name": "testcreateaworkloadprotectionagentrulewithsetactionwithexpressionreturnsokresponse1791891561", + "policy_id": "8tm-2vc-kgn", "product_tags": [] }, "type": "agent_rule" @@ -652,7 +652,7 @@ "response": { "body": { "encoding": "text", - "value": "{\"data\":{\"id\":\"c0i-2ab-6sf\",\"type\":\"agent_rule\",\"attributes\":{\"actions\":[{\"set\":{\"name\":\"test_set\",\"default_value\":\"/dev/null\",\"expression\":\"exec.file.path\",\"scope\":\"process\"},\"disabled\":false}],\"blocking\":[],\"category\":\"Process Activity\",\"creationDate\":1791474950521,\"creator\":{\"name\":\"David Tapiador del Dujo\",\"handle\":\"david.tapiadordeldujo@datadoghq.com\"},\"defaultRule\":false,\"description\":\"My Agent rule with set action with expression\",\"disabled\":[],\"enabled\":true,\"expression\":\"exec.file.name == \\\"sh\\\"\",\"filters\":[\"os == \\\"linux\\\"\"],\"monitoring\":[\"ewe-a6f-o0a\"],\"name\":\"testcreateaworkloadprotectionagentrulewithsetactionwithexpressionreturnsokresponse1791474949\",\"product_tags\":[],\"updateDate\":1791474950521,\"updater\":{\"name\":\"David Tapiador del Dujo\",\"handle\":\"david.tapiadordeldujo@datadoghq.com\"}}}}" + "value": "{\"data\":{\"id\":\"fux-fml-nm1\",\"type\":\"agent_rule\",\"attributes\":{\"actions\":[{\"set\":{\"name\":\"test_set\",\"default_value\":\"/dev/null\",\"expression\":\"exec.file.path\",\"scope\":\"process\"},\"disabled\":false}],\"blocking\":[],\"category\":\"Process Activity\",\"creationDate\":1791891562386,\"creator\":{\"name\":\"C\u00e9dric Van Rompay\",\"handle\":\"cedric.vanrompay@datadoghq.com\"},\"defaultRule\":false,\"description\":\"My Agent rule with set action with expression\",\"disabled\":[],\"enabled\":true,\"expression\":\"exec.file.name == \\\"sh\\\"\",\"filters\":[\"os == \\\"linux\\\"\"],\"monitoring\":[\"8tm-2vc-kgn\"],\"name\":\"testcreateaworkloadprotectionagentrulewithsetactionwithexpressionreturnsokresponse1791891561\",\"product_tags\":[],\"updateDate\":1791891562386,\"updater\":{\"name\":\"C\u00e9dric Van Rompay\",\"handle\":\"cedric.vanrompay@datadoghq.com\"}}}}" }, "headers": { "content-type": "application/vnd.api+json" @@ -669,7 +669,7 @@ }, "content_type": "", "method": "DELETE", - "path": "/api/v2/remote_config/products/cws/agent_rules/c0i-2ab-6sf", + "path": "/api/v2/remote_config/products/cws/agent_rules/fux-fml-nm1", "query": [] }, "response": { @@ -690,7 +690,7 @@ }, "content_type": "", "method": "DELETE", - "path": "/api/v2/remote_config/products/cws/policy/ewe-a6f-o0a", + "path": "/api/v2/remote_config/products/cws/policy/8tm-2vc-kgn", "query": [] }, "response": { @@ -964,7 +964,7 @@ }, { "feature": "CSM Threats", - "frozen_at": "2026-10-08T15:55:52.105Z", + "frozen_at": "2026-10-13T11:39:24.018Z", "interactions": [ { "request": { @@ -978,7 +978,7 @@ "hostTags": [ "env:staging" ], - "name": "testdeleteaworkloadprotectionagentrulereturnsokresponse1791474952" + "name": "testdeleteaworkloadprotectionagentrulereturnsokresponse1791891564" }, "type": "policy" } @@ -992,7 +992,7 @@ "response": { "body": { "encoding": "text", - "value": "{\"data\":{\"id\":\"n52-jig-xvp\",\"type\":\"policy\",\"attributes\":{\"blockingRulesCount\":0,\"contentPackUpdateAvailable\":null,\"datadogManaged\":false,\"description\":\"My agent policy\",\"disabledRulesCount\":0,\"enabled\":false,\"hostTagsLists\":[[\"env:staging\"]],\"monitoringRulesCount\":9,\"name\":\"testdeleteaworkloadprotectionagentrulereturnsokresponse1791474952\",\"pinned\":false,\"policyType\":\"custom\",\"policyVersion\":\"1\",\"ruleCount\":9,\"updateDate\":1791474952345,\"updater\":{\"name\":\"David Tapiador del Dujo\",\"handle\":\"david.tapiadordeldujo@datadoghq.com\"}}}}" + "value": "{\"data\":{\"id\":\"ilo-ejm-glm\",\"type\":\"policy\",\"attributes\":{\"blockingRulesCount\":0,\"contentPackUpdateAvailable\":null,\"datadogManaged\":false,\"description\":\"My agent policy\",\"disabledRulesCount\":0,\"enabled\":false,\"hostTagsLists\":[[\"env:staging\"]],\"monitoringRulesCount\":92,\"name\":\"testdeleteaworkloadprotectionagentrulereturnsokresponse1791891564\",\"pinned\":false,\"policyType\":\"custom\",\"policyVersion\":\"1\",\"ruleCount\":92,\"updateDate\":1791891564121,\"updater\":{\"name\":\"C\u00e9dric Van Rompay\",\"handle\":\"cedric.vanrompay@datadoghq.com\"}}}}" }, "headers": { "content-type": "application/vnd.api+json" @@ -1023,8 +1023,8 @@ "description": "My Agent rule", "enabled": true, "expression": "exec.file.name == \"sh\"", - "name": "testdeleteaworkloadprotectionagentrulereturnsokresponse1791474952", - "policy_id": "n52-jig-xvp", + "name": "testdeleteaworkloadprotectionagentrulereturnsokresponse1791891564", + "policy_id": "ilo-ejm-glm", "product_tags": [ "security:attack", "technique:T1059" @@ -1042,7 +1042,7 @@ "response": { "body": { "encoding": "text", - "value": "{\"data\":{\"id\":\"u4t-xik-znp\",\"type\":\"agent_rule\",\"attributes\":{\"actions\":[{\"set\":{\"name\":\"test_set\",\"value\":\"test_value\",\"scope\":\"process\"},\"disabled\":false},{\"hash\":{},\"disabled\":false}],\"blocking\":[],\"category\":\"Process Activity\",\"creationDate\":1791474952946,\"creator\":{\"name\":\"David Tapiador del Dujo\",\"handle\":\"david.tapiadordeldujo@datadoghq.com\"},\"defaultRule\":false,\"description\":\"My Agent rule\",\"disabled\":[],\"enabled\":true,\"expression\":\"exec.file.name == \\\"sh\\\"\",\"filters\":[\"os == \\\"linux\\\"\"],\"monitoring\":[\"n52-jig-xvp\"],\"name\":\"testdeleteaworkloadprotectionagentrulereturnsokresponse1791474952\",\"product_tags\":[\"security:attack\",\"technique:T1059\"],\"updateDate\":1791474952946,\"updater\":{\"name\":\"David Tapiador del Dujo\",\"handle\":\"david.tapiadordeldujo@datadoghq.com\"}}}}" + "value": "{\"data\":{\"id\":\"e0e-ihn-bg7\",\"type\":\"agent_rule\",\"attributes\":{\"actions\":[{\"set\":{\"name\":\"test_set\",\"value\":\"test_value\",\"scope\":\"process\"},\"disabled\":false},{\"hash\":{},\"disabled\":false}],\"blocking\":[],\"category\":\"Process Activity\",\"creationDate\":1791891564485,\"creator\":{\"name\":\"C\u00e9dric Van Rompay\",\"handle\":\"cedric.vanrompay@datadoghq.com\"},\"defaultRule\":false,\"description\":\"My Agent rule\",\"disabled\":[],\"enabled\":true,\"expression\":\"exec.file.name == \\\"sh\\\"\",\"filters\":[\"os == \\\"linux\\\"\"],\"monitoring\":[\"ilo-ejm-glm\"],\"name\":\"testdeleteaworkloadprotectionagentrulereturnsokresponse1791891564\",\"product_tags\":[\"security:attack\",\"technique:T1059\"],\"updateDate\":1791891564485,\"updater\":{\"name\":\"C\u00e9dric Van Rompay\",\"handle\":\"cedric.vanrompay@datadoghq.com\"}}}}" }, "headers": { "content-type": "application/vnd.api+json" @@ -1059,11 +1059,11 @@ }, "content_type": "", "method": "DELETE", - "path": "/api/v2/remote_config/products/cws/agent_rules/u4t-xik-znp", + "path": "/api/v2/remote_config/products/cws/agent_rules/e0e-ihn-bg7", "query": [ [ "policy_id", - "n52-jig-xvp" + "ilo-ejm-glm" ] ] }, @@ -1085,13 +1085,13 @@ }, "content_type": "", "method": "DELETE", - "path": "/api/v2/remote_config/products/cws/agent_rules/u4t-xik-znp", + "path": "/api/v2/remote_config/products/cws/agent_rules/e0e-ihn-bg7", "query": [] }, "response": { "body": { "encoding": "text", - "value": "{\"errors\":[{\"title\":\"Generic Error\",\"detail\":\"rule \\\"u4t-xik-znp\\\" not found\"}]}" + "value": "{\"errors\":[{\"title\":\"Generic Error\",\"detail\":\"rule \\\"e0e-ihn-bg7\\\" not found\"}]}" }, "headers": { "content-type": "application/vnd.api+json" @@ -1108,7 +1108,7 @@ }, "content_type": "", "method": "DELETE", - "path": "/api/v2/remote_config/products/cws/policy/n52-jig-xvp", + "path": "/api/v2/remote_config/products/cws/policy/ilo-ejm-glm", "query": [] }, "response": { @@ -1158,7 +1158,7 @@ }, { "feature": "CSM Threats", - "frozen_at": "2026-10-08T15:55:55.045Z", + "frozen_at": "2026-10-13T11:39:26.381Z", "interactions": [ { "request": { @@ -1172,7 +1172,7 @@ "hostTags": [ "env:staging" ], - "name": "testdeleteaworkloadprotectionpolicyreturnsokresponse1791474955" + "name": "testdeleteaworkloadprotectionpolicyreturnsokresponse1791891566" }, "type": "policy" } @@ -1186,7 +1186,7 @@ "response": { "body": { "encoding": "text", - "value": "{\"data\":{\"id\":\"tpm-uvd-t8s\",\"type\":\"policy\",\"attributes\":{\"blockingRulesCount\":0,\"contentPackUpdateAvailable\":null,\"datadogManaged\":false,\"description\":\"My agent policy\",\"disabledRulesCount\":0,\"enabled\":false,\"hostTagsLists\":[[\"env:staging\"]],\"monitoringRulesCount\":260,\"name\":\"testdeleteaworkloadprotectionpolicyreturnsokresponse1791474955\",\"pinned\":false,\"policyType\":\"custom\",\"policyVersion\":\"1\",\"ruleCount\":260,\"updateDate\":1791474955254,\"updater\":{\"name\":\"David Tapiador del Dujo\",\"handle\":\"david.tapiadordeldujo@datadoghq.com\"}}}}" + "value": "{\"data\":{\"id\":\"yki-89z-oxn\",\"type\":\"policy\",\"attributes\":{\"blockingRulesCount\":0,\"contentPackUpdateAvailable\":null,\"datadogManaged\":false,\"description\":\"My agent policy\",\"disabledRulesCount\":0,\"enabled\":false,\"hostTagsLists\":[[\"env:staging\"]],\"monitoringRulesCount\":92,\"name\":\"testdeleteaworkloadprotectionpolicyreturnsokresponse1791891566\",\"pinned\":false,\"policyType\":\"custom\",\"policyVersion\":\"1\",\"ruleCount\":92,\"updateDate\":1791891566486,\"updater\":{\"name\":\"C\u00e9dric Van Rompay\",\"handle\":\"cedric.vanrompay@datadoghq.com\"}}}}" }, "headers": { "content-type": "application/vnd.api+json" @@ -1203,7 +1203,7 @@ }, "content_type": "", "method": "DELETE", - "path": "/api/v2/remote_config/products/cws/policy/tpm-uvd-t8s", + "path": "/api/v2/remote_config/products/cws/policy/yki-89z-oxn", "query": [] }, "response": { @@ -1224,13 +1224,13 @@ }, "content_type": "", "method": "DELETE", - "path": "/api/v2/remote_config/products/cws/policy/tpm-uvd-t8s", + "path": "/api/v2/remote_config/products/cws/policy/yki-89z-oxn", "query": [] }, "response": { "body": { "encoding": "text", - "value": "{\"errors\":[{\"title\":\"Generic Error\",\"detail\":\"policy \\\"tpm-uvd-t8s\\\" not found\"}]}" + "value": "{\"errors\":[{\"title\":\"Generic Error\",\"detail\":\"policy \\\"yki-89z-oxn\\\" not found\"}]}" }, "headers": { "content-type": "application/vnd.api+json" @@ -1454,7 +1454,7 @@ }, { "feature": "CSM Threats", - "frozen_at": "2026-10-08T15:55:56.630Z", + "frozen_at": "2026-10-13T11:39:27.632Z", "interactions": [ { "request": { @@ -1468,7 +1468,7 @@ "hostTags": [ "env:staging" ], - "name": "testgetaworkloadprotectionagentrulereturnsokresponse1791474956" + "name": "testgetaworkloadprotectionagentrulereturnsokresponse1791891567" }, "type": "policy" } @@ -1482,7 +1482,7 @@ "response": { "body": { "encoding": "text", - "value": "{\"data\":{\"id\":\"4d5-arg-zrn\",\"type\":\"policy\",\"attributes\":{\"blockingRulesCount\":0,\"contentPackUpdateAvailable\":null,\"datadogManaged\":false,\"description\":\"My agent policy\",\"disabledRulesCount\":0,\"enabled\":false,\"hostTagsLists\":[[\"env:staging\"]],\"monitoringRulesCount\":9,\"name\":\"testgetaworkloadprotectionagentrulereturnsokresponse1791474956\",\"pinned\":false,\"policyType\":\"custom\",\"policyVersion\":\"1\",\"ruleCount\":9,\"updateDate\":1791474956840,\"updater\":{\"name\":\"David Tapiador del Dujo\",\"handle\":\"david.tapiadordeldujo@datadoghq.com\"}}}}" + "value": "{\"data\":{\"id\":\"huf-hf4-pgg\",\"type\":\"policy\",\"attributes\":{\"blockingRulesCount\":0,\"contentPackUpdateAvailable\":null,\"datadogManaged\":false,\"description\":\"My agent policy\",\"disabledRulesCount\":0,\"enabled\":false,\"hostTagsLists\":[[\"env:staging\"]],\"monitoringRulesCount\":92,\"name\":\"testgetaworkloadprotectionagentrulereturnsokresponse1791891567\",\"pinned\":false,\"policyType\":\"custom\",\"policyVersion\":\"1\",\"ruleCount\":92,\"updateDate\":1791891567738,\"updater\":{\"name\":\"C\u00e9dric Van Rompay\",\"handle\":\"cedric.vanrompay@datadoghq.com\"}}}}" }, "headers": { "content-type": "application/vnd.api+json" @@ -1513,8 +1513,8 @@ "description": "My Agent rule", "enabled": true, "expression": "exec.file.name == \"sh\"", - "name": "testgetaworkloadprotectionagentrulereturnsokresponse1791474956", - "policy_id": "4d5-arg-zrn", + "name": "testgetaworkloadprotectionagentrulereturnsokresponse1791891567", + "policy_id": "huf-hf4-pgg", "product_tags": [ "security:attack", "technique:T1059" @@ -1532,7 +1532,7 @@ "response": { "body": { "encoding": "text", - "value": "{\"data\":{\"id\":\"wlk-lsz-ols\",\"type\":\"agent_rule\",\"attributes\":{\"actions\":[{\"set\":{\"name\":\"test_set\",\"value\":\"test_value\",\"scope\":\"process\"},\"disabled\":false},{\"hash\":{},\"disabled\":false}],\"blocking\":[],\"category\":\"Process Activity\",\"creationDate\":1791474957247,\"creator\":{\"name\":\"David Tapiador del Dujo\",\"handle\":\"david.tapiadordeldujo@datadoghq.com\"},\"defaultRule\":false,\"description\":\"My Agent rule\",\"disabled\":[],\"enabled\":true,\"expression\":\"exec.file.name == \\\"sh\\\"\",\"filters\":[\"os == \\\"linux\\\"\"],\"monitoring\":[\"4d5-arg-zrn\"],\"name\":\"testgetaworkloadprotectionagentrulereturnsokresponse1791474956\",\"product_tags\":[\"security:attack\",\"technique:T1059\"],\"updateDate\":1791474957247,\"updater\":{\"name\":\"David Tapiador del Dujo\",\"handle\":\"david.tapiadordeldujo@datadoghq.com\"}}}}" + "value": "{\"data\":{\"id\":\"zxk-owp-ac7\",\"type\":\"agent_rule\",\"attributes\":{\"actions\":[{\"set\":{\"name\":\"test_set\",\"value\":\"test_value\",\"scope\":\"process\"},\"disabled\":false},{\"hash\":{},\"disabled\":false}],\"blocking\":[],\"category\":\"Process Activity\",\"creationDate\":1791891568051,\"creator\":{\"name\":\"C\u00e9dric Van Rompay\",\"handle\":\"cedric.vanrompay@datadoghq.com\"},\"defaultRule\":false,\"description\":\"My Agent rule\",\"disabled\":[],\"enabled\":true,\"expression\":\"exec.file.name == \\\"sh\\\"\",\"filters\":[\"os == \\\"linux\\\"\"],\"monitoring\":[\"huf-hf4-pgg\"],\"name\":\"testgetaworkloadprotectionagentrulereturnsokresponse1791891567\",\"product_tags\":[\"security:attack\",\"technique:T1059\"],\"updateDate\":1791891568051,\"updater\":{\"name\":\"C\u00e9dric Van Rompay\",\"handle\":\"cedric.vanrompay@datadoghq.com\"}}}}" }, "headers": { "content-type": "application/vnd.api+json" @@ -1549,18 +1549,18 @@ }, "content_type": "", "method": "GET", - "path": "/api/v2/remote_config/products/cws/agent_rules/wlk-lsz-ols", + "path": "/api/v2/remote_config/products/cws/agent_rules/zxk-owp-ac7", "query": [ [ "policy_id", - "4d5-arg-zrn" + "huf-hf4-pgg" ] ] }, "response": { "body": { "encoding": "text", - "value": "{\"data\":{\"id\":\"wlk-lsz-ols\",\"type\":\"agent_rule\",\"attributes\":{\"actions\":[{\"set\":{\"name\":\"test_set\",\"value\":\"test_value\",\"scope\":\"process\"},\"disabled\":false},{\"hash\":{},\"disabled\":false}],\"category\":\"Process Activity\",\"creationDate\":1791474957247,\"creator\":{\"name\":\"David Tapiador del Dujo\",\"handle\":\"david.tapiadordeldujo@datadoghq.com\"},\"defaultRule\":false,\"description\":\"My Agent rule\",\"enabled\":true,\"expression\":\"exec.file.name == \\\"sh\\\"\",\"filters\":[\"os == \\\"linux\\\"\"],\"monitoring\":[\"4d5-arg-zrn\"],\"name\":\"testgetaworkloadprotectionagentrulereturnsokresponse1791474956\",\"product_tags\":[\"security:attack\",\"technique:T1059\"],\"updateDate\":1791474957247,\"updater\":{\"name\":\"David Tapiador del Dujo\",\"handle\":\"david.tapiadordeldujo@datadoghq.com\"}}}}" + "value": "{\"data\":{\"id\":\"zxk-owp-ac7\",\"type\":\"agent_rule\",\"attributes\":{\"actions\":[{\"set\":{\"name\":\"test_set\",\"value\":\"test_value\",\"scope\":\"process\"},\"disabled\":false},{\"hash\":{},\"disabled\":false}],\"category\":\"Process Activity\",\"creationDate\":1791891568051,\"creator\":{\"name\":\"C\u00e9dric Van Rompay\",\"handle\":\"cedric.vanrompay@datadoghq.com\"},\"defaultRule\":false,\"description\":\"My Agent rule\",\"enabled\":true,\"expression\":\"exec.file.name == \\\"sh\\\"\",\"filters\":[\"os == \\\"linux\\\"\"],\"monitoring\":[\"huf-hf4-pgg\"],\"name\":\"testgetaworkloadprotectionagentrulereturnsokresponse1791891567\",\"product_tags\":[\"security:attack\",\"technique:T1059\"],\"updateDate\":1791891568051,\"updater\":{\"name\":\"C\u00e9dric Van Rompay\",\"handle\":\"cedric.vanrompay@datadoghq.com\"}}}}" }, "headers": { "content-type": "application/vnd.api+json" @@ -1577,7 +1577,7 @@ }, "content_type": "", "method": "DELETE", - "path": "/api/v2/remote_config/products/cws/agent_rules/wlk-lsz-ols", + "path": "/api/v2/remote_config/products/cws/agent_rules/zxk-owp-ac7", "query": [] }, "response": { @@ -1598,7 +1598,7 @@ }, "content_type": "", "method": "DELETE", - "path": "/api/v2/remote_config/products/cws/policy/4d5-arg-zrn", + "path": "/api/v2/remote_config/products/cws/policy/huf-hf4-pgg", "query": [] }, "response": { @@ -1648,7 +1648,7 @@ }, { "feature": "CSM Threats", - "frozen_at": "2026-10-08T15:55:59.149Z", + "frozen_at": "2026-10-13T11:39:29.733Z", "interactions": [ { "request": { @@ -1662,7 +1662,7 @@ "hostTags": [ "env:staging" ], - "name": "testgetaworkloadprotectionpolicyreturnsokresponse1791474959" + "name": "testgetaworkloadprotectionpolicyreturnsokresponse1791891569" }, "type": "policy" } @@ -1676,7 +1676,7 @@ "response": { "body": { "encoding": "text", - "value": "{\"data\":{\"id\":\"fl1-qbh-z9h\",\"type\":\"policy\",\"attributes\":{\"blockingRulesCount\":0,\"contentPackUpdateAvailable\":null,\"datadogManaged\":false,\"description\":\"My agent policy\",\"disabledRulesCount\":0,\"enabled\":false,\"hostTagsLists\":[[\"env:staging\"]],\"monitoringRulesCount\":92,\"name\":\"testgetaworkloadprotectionpolicyreturnsokresponse1791474959\",\"pinned\":false,\"policyType\":\"custom\",\"policyVersion\":\"1\",\"ruleCount\":92,\"updateDate\":1791474959359,\"updater\":{\"name\":\"David Tapiador del Dujo\",\"handle\":\"david.tapiadordeldujo@datadoghq.com\"}}}}" + "value": "{\"data\":{\"id\":\"t3h-1qw-dt8\",\"type\":\"policy\",\"attributes\":{\"blockingRulesCount\":0,\"contentPackUpdateAvailable\":null,\"datadogManaged\":false,\"description\":\"My agent policy\",\"disabledRulesCount\":0,\"enabled\":false,\"hostTagsLists\":[[\"env:staging\"]],\"monitoringRulesCount\":9,\"name\":\"testgetaworkloadprotectionpolicyreturnsokresponse1791891569\",\"pinned\":false,\"policyType\":\"custom\",\"policyVersion\":\"1\",\"ruleCount\":9,\"updateDate\":1791891569832,\"updater\":{\"name\":\"C\u00e9dric Van Rompay\",\"handle\":\"cedric.vanrompay@datadoghq.com\"}}}}" }, "headers": { "content-type": "application/vnd.api+json" @@ -1693,13 +1693,13 @@ }, "content_type": "", "method": "GET", - "path": "/api/v2/remote_config/products/cws/policy/fl1-qbh-z9h", + "path": "/api/v2/remote_config/products/cws/policy/t3h-1qw-dt8", "query": [] }, "response": { "body": { "encoding": "text", - "value": "{\"data\":{\"id\":\"fl1-qbh-z9h\",\"type\":\"policy\",\"attributes\":{\"blockingRulesCount\":0,\"contentPackUpdateAvailable\":null,\"datadogManaged\":false,\"description\":\"My agent policy\",\"disabledRulesCount\":0,\"enabled\":false,\"hostTagsLists\":[[\"env:staging\"]],\"monitoringRulesCount\":0,\"name\":\"testgetaworkloadprotectionpolicyreturnsokresponse1791474959\",\"pinned\":false,\"policyType\":\"custom\",\"policyVersion\":\"1\",\"ruleCount\":0,\"updateDate\":1791474959359,\"updater\":{\"name\":\"David Tapiador del Dujo\",\"handle\":\"david.tapiadordeldujo@datadoghq.com\"}}}}" + "value": "{\"data\":{\"id\":\"t3h-1qw-dt8\",\"type\":\"policy\",\"attributes\":{\"blockingRulesCount\":0,\"contentPackUpdateAvailable\":null,\"datadogManaged\":false,\"description\":\"My agent policy\",\"disabledRulesCount\":0,\"enabled\":false,\"hostTagsLists\":[[\"env:staging\"]],\"monitoringRulesCount\":0,\"name\":\"testgetaworkloadprotectionpolicyreturnsokresponse1791891569\",\"pinned\":false,\"policyType\":\"custom\",\"policyVersion\":\"1\",\"ruleCount\":0,\"updateDate\":1791891569832,\"updater\":{\"name\":\"C\u00e9dric Van Rompay\",\"handle\":\"cedric.vanrompay@datadoghq.com\"}}}}" }, "headers": { "content-type": "application/vnd.api+json" @@ -1716,7 +1716,7 @@ }, "content_type": "", "method": "DELETE", - "path": "/api/v2/remote_config/products/cws/policy/fl1-qbh-z9h", + "path": "/api/v2/remote_config/products/cws/policy/t3h-1qw-dt8", "query": [] }, "response": { @@ -2058,7 +2058,7 @@ }, { "feature": "CSM Threats", - "frozen_at": "2026-10-08T15:56:00.491Z", + "frozen_at": "2026-10-13T11:39:30.785Z", "interactions": [ { "request": { @@ -2072,7 +2072,7 @@ "hostTags": [ "env:staging" ], - "name": "testupdateaworkloadprotectionagentrulereturnsbadrequestresponse1791474960" + "name": "testupdateaworkloadprotectionagentrulereturnsbadrequestresponse1791891570" }, "type": "policy" } @@ -2086,7 +2086,7 @@ "response": { "body": { "encoding": "text", - "value": "{\"data\":{\"id\":\"lzv-9ap-4iw\",\"type\":\"policy\",\"attributes\":{\"blockingRulesCount\":0,\"contentPackUpdateAvailable\":null,\"datadogManaged\":false,\"description\":\"My agent policy\",\"disabledRulesCount\":0,\"enabled\":false,\"hostTagsLists\":[[\"env:staging\"]],\"monitoringRulesCount\":92,\"name\":\"testupdateaworkloadprotectionagentrulereturnsbadrequestresponse1791474960\",\"pinned\":false,\"policyType\":\"custom\",\"policyVersion\":\"1\",\"ruleCount\":92,\"updateDate\":1791474960694,\"updater\":{\"name\":\"David Tapiador del Dujo\",\"handle\":\"david.tapiadordeldujo@datadoghq.com\"}}}}" + "value": "{\"data\":{\"id\":\"lau-cdn-6h2\",\"type\":\"policy\",\"attributes\":{\"blockingRulesCount\":0,\"contentPackUpdateAvailable\":null,\"datadogManaged\":false,\"description\":\"My agent policy\",\"disabledRulesCount\":0,\"enabled\":false,\"hostTagsLists\":[[\"env:staging\"]],\"monitoringRulesCount\":92,\"name\":\"testupdateaworkloadprotectionagentrulereturnsbadrequestresponse1791891570\",\"pinned\":false,\"policyType\":\"custom\",\"policyVersion\":\"1\",\"ruleCount\":92,\"updateDate\":1791891570891,\"updater\":{\"name\":\"C\u00e9dric Van Rompay\",\"handle\":\"cedric.vanrompay@datadoghq.com\"}}}}" }, "headers": { "content-type": "application/vnd.api+json" @@ -2117,8 +2117,8 @@ "description": "My Agent rule", "enabled": true, "expression": "exec.file.name == \"sh\"", - "name": "testupdateaworkloadprotectionagentrulereturnsbadrequestresponse1791474960", - "policy_id": "lzv-9ap-4iw", + "name": "testupdateaworkloadprotectionagentrulereturnsbadrequestresponse1791891570", + "policy_id": "lau-cdn-6h2", "product_tags": [ "security:attack", "technique:T1059" @@ -2136,7 +2136,7 @@ "response": { "body": { "encoding": "text", - "value": "{\"data\":{\"id\":\"wpz-ibl-vhv\",\"type\":\"agent_rule\",\"attributes\":{\"actions\":[{\"set\":{\"name\":\"test_set\",\"value\":\"test_value\",\"scope\":\"process\"},\"disabled\":false},{\"hash\":{},\"disabled\":false}],\"blocking\":[],\"category\":\"Process Activity\",\"creationDate\":1791474961337,\"creator\":{\"name\":\"David Tapiador del Dujo\",\"handle\":\"david.tapiadordeldujo@datadoghq.com\"},\"defaultRule\":false,\"description\":\"My Agent rule\",\"disabled\":[],\"enabled\":true,\"expression\":\"exec.file.name == \\\"sh\\\"\",\"filters\":[\"os == \\\"linux\\\"\"],\"monitoring\":[\"lzv-9ap-4iw\"],\"name\":\"testupdateaworkloadprotectionagentrulereturnsbadrequestresponse1791474960\",\"product_tags\":[\"security:attack\",\"technique:T1059\"],\"updateDate\":1791474961337,\"updater\":{\"name\":\"David Tapiador del Dujo\",\"handle\":\"david.tapiadordeldujo@datadoghq.com\"}}}}" + "value": "{\"data\":{\"id\":\"btd-i6r-zmn\",\"type\":\"agent_rule\",\"attributes\":{\"actions\":[{\"set\":{\"name\":\"test_set\",\"value\":\"test_value\",\"scope\":\"process\"},\"disabled\":false},{\"hash\":{},\"disabled\":false}],\"blocking\":[],\"category\":\"Process Activity\",\"creationDate\":1791891571284,\"creator\":{\"name\":\"C\u00e9dric Van Rompay\",\"handle\":\"cedric.vanrompay@datadoghq.com\"},\"defaultRule\":false,\"description\":\"My Agent rule\",\"disabled\":[],\"enabled\":true,\"expression\":\"exec.file.name == \\\"sh\\\"\",\"filters\":[\"os == \\\"linux\\\"\"],\"monitoring\":[\"lau-cdn-6h2\"],\"name\":\"testupdateaworkloadprotectionagentrulereturnsbadrequestresponse1791891570\",\"product_tags\":[\"security:attack\",\"technique:T1059\"],\"updateDate\":1791891571284,\"updater\":{\"name\":\"C\u00e9dric Van Rompay\",\"handle\":\"cedric.vanrompay@datadoghq.com\"}}}}" }, "headers": { "content-type": "application/vnd.api+json" @@ -2155,7 +2155,7 @@ "description": "My Agent rule", "enabled": true, "expression": "exec.file.name == \"sh\"", - "policy_id": "lzv-9ap-4iw", + "policy_id": "lau-cdn-6h2", "product_tags": [] }, "id": "invalid-agent-rule-id", @@ -2165,7 +2165,7 @@ }, "content_type": "application/json", "method": "PATCH", - "path": "/api/v2/remote_config/products/cws/agent_rules/wpz-ibl-vhv", + "path": "/api/v2/remote_config/products/cws/agent_rules/btd-i6r-zmn", "query": [] }, "response": { @@ -2188,7 +2188,7 @@ }, "content_type": "", "method": "DELETE", - "path": "/api/v2/remote_config/products/cws/agent_rules/wpz-ibl-vhv", + "path": "/api/v2/remote_config/products/cws/agent_rules/btd-i6r-zmn", "query": [] }, "response": { @@ -2209,7 +2209,7 @@ }, "content_type": "", "method": "DELETE", - "path": "/api/v2/remote_config/products/cws/policy/lzv-9ap-4iw", + "path": "/api/v2/remote_config/products/cws/policy/lau-cdn-6h2", "query": [] }, "response": { @@ -2228,7 +2228,7 @@ }, { "feature": "CSM Threats", - "frozen_at": "2026-10-08T15:56:03.268Z", + "frozen_at": "2026-10-13T11:39:32.945Z", "interactions": [ { "request": { @@ -2242,7 +2242,7 @@ "hostTags": [ "env:staging" ], - "name": "testupdateaworkloadprotectionagentrulereturnsnotfoundresponse1791474963" + "name": "testupdateaworkloadprotectionagentrulereturnsnotfoundresponse1791891572" }, "type": "policy" } @@ -2256,7 +2256,7 @@ "response": { "body": { "encoding": "text", - "value": "{\"data\":{\"id\":\"p7i-nhp-ijn\",\"type\":\"policy\",\"attributes\":{\"blockingRulesCount\":0,\"contentPackUpdateAvailable\":null,\"datadogManaged\":false,\"description\":\"My agent policy\",\"disabledRulesCount\":0,\"enabled\":false,\"hostTagsLists\":[[\"env:staging\"]],\"monitoringRulesCount\":260,\"name\":\"testupdateaworkloadprotectionagentrulereturnsnotfoundresponse1791474963\",\"pinned\":false,\"policyType\":\"custom\",\"policyVersion\":\"1\",\"ruleCount\":260,\"updateDate\":1791474963470,\"updater\":{\"name\":\"David Tapiador del Dujo\",\"handle\":\"david.tapiadordeldujo@datadoghq.com\"}}}}" + "value": "{\"data\":{\"id\":\"pup-pgi-rte\",\"type\":\"policy\",\"attributes\":{\"blockingRulesCount\":0,\"contentPackUpdateAvailable\":null,\"datadogManaged\":false,\"description\":\"My agent policy\",\"disabledRulesCount\":0,\"enabled\":false,\"hostTagsLists\":[[\"env:staging\"]],\"monitoringRulesCount\":260,\"name\":\"testupdateaworkloadprotectionagentrulereturnsnotfoundresponse1791891572\",\"pinned\":false,\"policyType\":\"custom\",\"policyVersion\":\"1\",\"ruleCount\":260,\"updateDate\":1791891573042,\"updater\":{\"name\":\"C\u00e9dric Van Rompay\",\"handle\":\"cedric.vanrompay@datadoghq.com\"}}}}" }, "headers": { "content-type": "application/vnd.api+json" @@ -2275,7 +2275,7 @@ "description": "My Agent rule", "enabled": true, "expression": "exec.file.name == \"sh\"", - "policy_id": "p7i-nhp-ijn", + "policy_id": "pup-pgi-rte", "product_tags": [] }, "id": "non-existent-rule-id", @@ -2308,7 +2308,7 @@ }, "content_type": "", "method": "DELETE", - "path": "/api/v2/remote_config/products/cws/policy/p7i-nhp-ijn", + "path": "/api/v2/remote_config/products/cws/policy/pup-pgi-rte", "query": [] }, "response": { @@ -2327,7 +2327,7 @@ }, { "feature": "CSM Threats", - "frozen_at": "2026-10-08T15:56:04.783Z", + "frozen_at": "2026-10-13T11:39:34.393Z", "interactions": [ { "request": { @@ -2341,7 +2341,7 @@ "hostTags": [ "env:staging" ], - "name": "testupdateaworkloadprotectionpolicyreturnsbadrequestresponse1791474964" + "name": "testupdateaworkloadprotectionpolicyreturnsbadrequestresponse1791891574" }, "type": "policy" } @@ -2355,7 +2355,7 @@ "response": { "body": { "encoding": "text", - "value": "{\"data\":{\"id\":\"gzr-six-xb9\",\"type\":\"policy\",\"attributes\":{\"blockingRulesCount\":0,\"contentPackUpdateAvailable\":null,\"datadogManaged\":false,\"description\":\"My agent policy\",\"disabledRulesCount\":0,\"enabled\":false,\"hostTagsLists\":[[\"env:staging\"]],\"monitoringRulesCount\":260,\"name\":\"testupdateaworkloadprotectionpolicyreturnsbadrequestresponse1791474964\",\"pinned\":false,\"policyType\":\"custom\",\"policyVersion\":\"1\",\"ruleCount\":260,\"updateDate\":1791474964990,\"updater\":{\"name\":\"David Tapiador del Dujo\",\"handle\":\"david.tapiadordeldujo@datadoghq.com\"}}}}" + "value": "{\"data\":{\"id\":\"lc7-aps-hdo\",\"type\":\"policy\",\"attributes\":{\"blockingRulesCount\":0,\"contentPackUpdateAvailable\":null,\"datadogManaged\":false,\"description\":\"My agent policy\",\"disabledRulesCount\":0,\"enabled\":false,\"hostTagsLists\":[[\"env:staging\"]],\"monitoringRulesCount\":9,\"name\":\"testupdateaworkloadprotectionpolicyreturnsbadrequestresponse1791891574\",\"pinned\":false,\"policyType\":\"custom\",\"policyVersion\":\"1\",\"ruleCount\":9,\"updateDate\":1791891574492,\"updater\":{\"name\":\"C\u00e9dric Van Rompay\",\"handle\":\"cedric.vanrompay@datadoghq.com\"}}}}" }, "headers": { "content-type": "application/vnd.api+json" @@ -2383,14 +2383,14 @@ ], "name": "" }, - "id": "gzr-six-xb9", + "id": "lc7-aps-hdo", "type": "policy" } } }, "content_type": "application/json", "method": "PATCH", - "path": "/api/v2/remote_config/products/cws/policy/gzr-six-xb9", + "path": "/api/v2/remote_config/products/cws/policy/lc7-aps-hdo", "query": [] }, "response": { @@ -2413,7 +2413,7 @@ }, "content_type": "", "method": "DELETE", - "path": "/api/v2/remote_config/products/cws/policy/gzr-six-xb9", + "path": "/api/v2/remote_config/products/cws/policy/lc7-aps-hdo", "query": [] }, "response": { diff --git a/tests/v1/features/dashboards.feature b/tests/v1/features/dashboards.feature index be69220359..680f0edda6 100644 --- a/tests/v1/features/dashboards.feature +++ b/tests/v1/features/dashboards.feature @@ -65,7 +65,7 @@ Feature: Dashboards @team:ddoghq/dashboards-backend Scenario: Create a geomap widget using an event_list request Given new "CreateDashboard" request - And body with value {"title": "{{ unique }}","description": "{{ unique }}","widgets":[{"definition":{"title":"","title_size":"16","title_align":"left","type":"geomap","requests":[{"response_format":"event_list","query":{"data_source":"logs_stream","query_string":"","indexes":[]},"columns":[{"field":"@network.client.geoip.location.latitude","width":"auto"},{"field":"@network.client.geoip.location.longitude","width":"auto"},{"field":"@network.client.geoip.country.iso_code","width":"auto"},{"field":"@network.client.geoip.subdivision.name","width":"auto"},{"field":"classic","width":"auto"},{"field":"","width":"auto"}]}],"style":{"palette":"hostmap_blues","palette_flip":false},"view":{"focus":"WORLD"}},"layout":{"x":0,"y":0,"width":12,"height":6}}],"template_variables":[],"layout_type":"ordered","notify_list":[],"reflow_type":"fixed","tags":[]} + And body with value {"title": "{{ unique }}","description": "{{ unique }}","widgets":[{"definition":{"title":"","title_size":"16","title_align":"left","type":"geomap","requests":[{"response_format":"event_list","query":{"data_source":"logs_stream","query_string":"","indexes":[]},"columns":[{"field":"@network.client.geoip.location.latitude","width":"auto"},{"field":"@network.client.geoip.location.longitude","width":"auto"},{"field":"@network.client.geoip.country.iso_code","width":"auto"},{"field":"@network.client.geoip.subdivision.name","width":"auto"},{"field":"classic","width":"auto"}]}],"style":{"palette":"hostmap_blues","palette_flip":false},"view":{"focus":"WORLD"}},"layout":{"x":0,"y":0,"width":12,"height":6}}],"template_variables":[],"layout_type":"ordered","notify_list":[],"reflow_type":"fixed","tags":[]} When the request is sent Then the response status is 200 OK And the response "widgets[0].definition.requests[0].response_format" is equal to "event_list"