datadog_api_client 2.44.0 → 2.45.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/.generator/schemas/v1/openapi.yaml +564 -36
- data/.generator/schemas/v2/openapi.yaml +3946 -412
- data/CHANGELOG.md +25 -0
- data/examples/v2/aws-integration/CreateAWSEventBridgeSource.rb +17 -0
- data/examples/v2/aws-integration/DeleteAWSEventBridgeSource.rb +16 -0
- data/examples/v2/aws-integration/ListAWSEventBridgeSources.rb +5 -0
- data/examples/v2/fleet-automation/CreateFleetDeploymentConfigure.rb +1 -1
- data/examples/v2/fleet-automation/CreateFleetDeploymentUpgrade.rb +23 -0
- data/examples/v2/fleet-automation/CreateFleetSchedule.rb +30 -0
- data/examples/v2/fleet-automation/DeleteFleetSchedule.rb +8 -0
- data/examples/v2/fleet-automation/GetFleetDeployment.rb +2 -5
- data/examples/v2/fleet-automation/GetFleetDeployment_1482493803.rb +11 -0
- data/examples/v2/fleet-automation/GetFleetSchedule.rb +8 -0
- data/examples/v2/fleet-automation/ListFleetAgentVersions.rb +8 -0
- data/examples/v2/fleet-automation/ListFleetSchedules.rb +8 -0
- data/examples/v2/fleet-automation/TriggerFleetSchedule.rb +8 -0
- data/examples/v2/fleet-automation/UpdateFleetSchedule.rb +30 -0
- data/examples/v2/reference-tables/UpdateReferenceTable.rb +0 -1
- data/examples/v2/rum-audience-management/CreateConnection.rb +36 -0
- data/examples/v2/rum-audience-management/DeleteConnection.rb +8 -0
- data/examples/v2/rum-audience-management/GetAccountFacetInfo.rb +25 -0
- data/examples/v2/rum-audience-management/GetMapping.rb +8 -0
- data/examples/v2/rum-audience-management/GetUserFacetInfo.rb +25 -0
- data/examples/v2/rum-audience-management/ListConnections.rb +8 -0
- data/examples/v2/rum-audience-management/QueryAccounts.rb +34 -0
- data/examples/v2/rum-audience-management/QueryEventFilteredUsers.rb +37 -0
- data/examples/v2/rum-audience-management/QueryUsers.rb +34 -0
- data/examples/v2/rum-audience-management/UpdateConnection.rb +43 -0
- data/examples/v2/security-monitoring/CancelThreatHuntingJob.rb +8 -0
- data/examples/v2/security-monitoring/CancelThreatHuntingJob_1945505845.rb +12 -0
- data/examples/v2/security-monitoring/CreateSecurityMonitoringSuppression.rb +4 -0
- data/examples/v2/security-monitoring/{DeleteHistoricalJob.rb → DeleteThreatHuntingJob.rb} +2 -2
- data/examples/v2/security-monitoring/GetSecretsRules.rb +8 -0
- data/examples/v2/security-monitoring/GetThreatHuntingJob.rb +12 -0
- data/examples/v2/security-monitoring/ListMultipleRulesets.rb +17 -0
- data/examples/v2/security-monitoring/ListThreatHuntingJobs.rb +8 -0
- data/examples/v2/security-monitoring/ListThreatHuntingJobs_1365512061.rb +15 -0
- data/examples/v2/security-monitoring/{RunHistoricalJob.rb → RunThreatHuntingJob.rb} +9 -9
- data/examples/v2/software-catalog/PreviewCatalogEntities.rb +5 -0
- data/examples/v2/team-connections/CreateTeamConnections.rb +37 -0
- data/examples/v2/team-connections/DeleteTeamConnections.rb +17 -0
- data/examples/v2/team-connections/ListTeamConnections.rb +8 -0
- data/examples/v2/team-connections/ListTeamConnections_1473516764.rb +14 -0
- data/examples/v2/team-connections/ListTeamConnections_2418873869.rb +8 -0
- data/lib/datadog_api_client/configuration.rb +28 -5
- data/lib/datadog_api_client/inflector.rb +172 -12
- data/lib/datadog_api_client/v1/api/aws_integration_api.rb +18 -9
- data/lib/datadog_api_client/v1/api/aws_logs_integration_api.rb +1 -1
- data/lib/datadog_api_client/v1/api/key_management_api.rb +5 -0
- data/lib/datadog_api_client/v1/api/metrics_api.rb +5 -0
- data/lib/datadog_api_client/v1/models/aws_account.rb +5 -3
- data/lib/datadog_api_client/v1/models/formula_and_function_events_data_source.rb +1 -0
- data/lib/datadog_api_client/v1/models/usage_summary_date.rb +304 -4
- data/lib/datadog_api_client/v1/models/usage_summary_date_org.rb +304 -4
- data/lib/datadog_api_client/v1/models/usage_summary_response.rb +301 -1
- data/lib/datadog_api_client/v2/api/aws_integration_api.rb +194 -0
- data/lib/datadog_api_client/v2/api/error_tracking_api.rb +2 -2
- data/lib/datadog_api_client/v2/api/events_api.rb +2 -0
- data/lib/datadog_api_client/v2/api/fleet_automation_api.rb +683 -8
- data/lib/datadog_api_client/v2/api/incidents_api.rb +3 -0
- data/lib/datadog_api_client/v2/api/key_management_api.rb +4 -2
- data/lib/datadog_api_client/v2/api/reference_tables_api.rb +20 -16
- data/lib/datadog_api_client/v2/api/restriction_policies_api.rb +5 -3
- data/lib/datadog_api_client/v2/api/rum_audience_management_api.rb +765 -0
- data/lib/datadog_api_client/v2/api/security_monitoring_api.rb +344 -205
- data/lib/datadog_api_client/v2/api/software_catalog_api.rb +57 -0
- data/lib/datadog_api_client/v2/api/team_connections_api.rb +272 -0
- data/lib/datadog_api_client/v2/api/usage_metering_api.rb +1 -1
- data/lib/datadog_api_client/v2/models/aws_account_create_request_attributes.rb +2 -1
- data/lib/datadog_api_client/v2/models/aws_account_partition.rb +2 -1
- data/lib/datadog_api_client/v2/models/aws_account_response_attributes.rb +2 -1
- data/lib/datadog_api_client/v2/models/aws_account_response_data.rb +2 -1
- data/lib/datadog_api_client/v2/models/aws_account_update_request_attributes.rb +2 -1
- data/lib/datadog_api_client/v2/models/aws_account_update_request_data.rb +2 -1
- data/lib/datadog_api_client/v2/models/aws_event_bridge_account_configuration.rb +130 -0
- data/lib/datadog_api_client/v2/models/aws_event_bridge_create_request.rb +123 -0
- data/lib/datadog_api_client/v2/models/aws_event_bridge_create_request_attributes.rb +178 -0
- data/lib/datadog_api_client/v2/models/aws_event_bridge_create_request_data.rb +144 -0
- data/lib/datadog_api_client/v2/models/aws_event_bridge_create_response.rb +123 -0
- data/lib/datadog_api_client/v2/models/aws_event_bridge_create_response_attributes.rb +136 -0
- data/lib/datadog_api_client/v2/models/aws_event_bridge_create_response_data.rb +154 -0
- data/lib/datadog_api_client/v2/models/aws_event_bridge_create_status.rb +26 -0
- data/lib/datadog_api_client/v2/models/aws_event_bridge_delete_request.rb +123 -0
- data/lib/datadog_api_client/v2/models/aws_event_bridge_delete_request_attributes.rb +166 -0
- data/lib/datadog_api_client/v2/models/aws_event_bridge_delete_request_data.rb +144 -0
- data/lib/datadog_api_client/v2/models/aws_event_bridge_delete_response.rb +123 -0
- data/lib/datadog_api_client/v2/models/aws_event_bridge_delete_response_attributes.rb +105 -0
- data/lib/datadog_api_client/v2/models/aws_event_bridge_delete_response_data.rb +154 -0
- data/lib/datadog_api_client/v2/models/aws_event_bridge_delete_status.rb +26 -0
- data/lib/datadog_api_client/v2/models/aws_event_bridge_list_response.rb +123 -0
- data/lib/datadog_api_client/v2/models/aws_event_bridge_list_response_attributes.rb +117 -0
- data/lib/datadog_api_client/v2/models/aws_event_bridge_list_response_data.rb +165 -0
- data/lib/datadog_api_client/v2/models/aws_event_bridge_source.rb +116 -0
- data/lib/datadog_api_client/v2/models/aws_event_bridge_type.rb +26 -0
- data/lib/datadog_api_client/v2/models/aws_lambda_forwarder_config.rb +7 -4
- data/lib/datadog_api_client/v2/models/aws_log_source_tag_filter.rb +7 -3
- data/lib/datadog_api_client/v2/models/aws_logs_config.rb +3 -2
- data/lib/datadog_api_client/v2/models/aws_namespace_filters_exclude_only.rb +8 -4
- data/lib/datadog_api_client/v2/models/aws_namespace_tag_filter.rb +6 -4
- data/lib/datadog_api_client/v2/models/aws_resources_config.rb +5 -2
- data/lib/datadog_api_client/v2/models/connected_team_ref.rb +105 -0
- data/lib/datadog_api_client/v2/models/connected_team_ref_data.rb +144 -0
- data/lib/datadog_api_client/v2/models/connected_team_ref_data_type.rb +26 -0
- data/lib/datadog_api_client/v2/models/connections_page_pagination.rb +184 -0
- data/lib/datadog_api_client/v2/models/connections_response_meta.rb +105 -0
- data/lib/datadog_api_client/v2/models/convert_job_results_to_signals_attributes.rb +1 -1
- data/lib/datadog_api_client/v2/models/convert_job_results_to_signals_data.rb +2 -2
- data/lib/datadog_api_client/v2/models/convert_job_results_to_signals_request.rb +2 -2
- data/lib/datadog_api_client/v2/models/{historical_job_response.rb → create_connection_request.rb} +5 -5
- data/lib/datadog_api_client/v2/models/create_connection_request_data.rb +143 -0
- data/lib/datadog_api_client/v2/models/create_connection_request_data_attributes.rb +187 -0
- data/lib/datadog_api_client/v2/models/create_connection_request_data_attributes_fields_items.rb +197 -0
- data/lib/datadog_api_client/v2/models/create_table_request.rb +2 -2
- data/lib/datadog_api_client/v2/models/create_table_request_data.rb +6 -41
- data/lib/datadog_api_client/v2/models/create_table_request_data_attributes.rb +6 -6
- data/lib/datadog_api_client/v2/models/create_table_request_data_attributes_file_metadata.rb +1 -1
- data/lib/datadog_api_client/v2/models/create_table_request_data_attributes_file_metadata_cloud_storage.rb +1 -1
- data/lib/datadog_api_client/v2/models/create_table_request_data_attributes_file_metadata_one_of_access_details.rb +4 -4
- data/lib/datadog_api_client/v2/models/create_table_request_data_attributes_file_metadata_one_of_access_details_aws_detail.rb +3 -3
- data/lib/datadog_api_client/v2/models/create_table_request_data_attributes_file_metadata_one_of_access_details_azure_detail.rb +5 -5
- data/lib/datadog_api_client/v2/models/create_table_request_data_attributes_file_metadata_one_of_access_details_gcp_detail.rb +4 -4
- data/lib/datadog_api_client/v2/models/create_table_request_data_attributes_schema.rb +2 -2
- data/lib/datadog_api_client/v2/models/create_table_request_data_attributes_schema_fields_items.rb +1 -1
- data/lib/datadog_api_client/v2/models/create_upload_request.rb +2 -2
- data/lib/datadog_api_client/v2/models/create_upload_request_data.rb +6 -41
- data/lib/datadog_api_client/v2/models/create_upload_request_data_attributes.rb +5 -5
- data/lib/datadog_api_client/v2/models/create_upload_response.rb +2 -2
- data/lib/datadog_api_client/v2/models/create_upload_response_data.rb +7 -32
- data/lib/datadog_api_client/v2/models/create_upload_response_data_attributes.rb +2 -2
- data/lib/datadog_api_client/v2/models/entity_response_array.rb +125 -0
- data/lib/datadog_api_client/v2/models/entity_response_data_attributes.rb +187 -0
- data/lib/datadog_api_client/v2/models/entity_response_data_relationships.rb +145 -0
- data/lib/datadog_api_client/v2/models/entity_response_data_relationships_incidents.rb +107 -0
- data/lib/datadog_api_client/v2/models/entity_response_data_relationships_incidents_data_items.rb +144 -0
- data/lib/datadog_api_client/v2/models/entity_response_data_relationships_incidents_data_items_type.rb +26 -0
- data/lib/datadog_api_client/v2/models/entity_response_data_relationships_oncalls.rb +107 -0
- data/lib/datadog_api_client/v2/models/entity_response_data_relationships_oncalls_data_items.rb +144 -0
- data/lib/datadog_api_client/v2/models/entity_response_data_relationships_oncalls_data_items_type.rb +26 -0
- data/lib/datadog_api_client/v2/models/entity_response_data_relationships_raw_schema.rb +123 -0
- data/lib/datadog_api_client/v2/models/entity_response_data_relationships_raw_schema_data.rb +144 -0
- data/lib/datadog_api_client/v2/models/entity_response_data_relationships_raw_schema_data_type.rb +26 -0
- data/lib/datadog_api_client/v2/models/entity_response_data_relationships_related_entities.rb +107 -0
- data/lib/datadog_api_client/v2/models/entity_response_data_relationships_related_entities_data_items.rb +144 -0
- data/lib/datadog_api_client/v2/models/entity_response_data_relationships_related_entities_data_items_type.rb +26 -0
- data/lib/datadog_api_client/v2/models/entity_response_data_relationships_schema.rb +123 -0
- data/lib/datadog_api_client/v2/models/entity_response_data_relationships_schema_data.rb +144 -0
- data/lib/datadog_api_client/v2/models/entity_response_data_relationships_schema_data_type.rb +26 -0
- data/lib/datadog_api_client/v2/models/entity_response_data_type.rb +26 -0
- data/lib/datadog_api_client/v2/models/facet_info_request.rb +105 -0
- data/lib/datadog_api_client/v2/models/facet_info_request_data.rb +143 -0
- data/lib/datadog_api_client/v2/models/facet_info_request_data_attributes.rb +164 -0
- data/lib/datadog_api_client/v2/models/facet_info_request_data_attributes_search.rb +105 -0
- data/lib/datadog_api_client/v2/models/facet_info_request_data_attributes_term_search.rb +105 -0
- data/lib/datadog_api_client/v2/models/facet_info_request_data_type.rb +26 -0
- data/lib/datadog_api_client/v2/models/facet_info_response.rb +105 -0
- data/lib/datadog_api_client/v2/models/facet_info_response_data.rb +143 -0
- data/lib/datadog_api_client/v2/models/facet_info_response_data_attributes.rb +105 -0
- data/lib/datadog_api_client/v2/models/facet_info_response_data_attributes_result.rb +117 -0
- data/lib/datadog_api_client/v2/models/facet_info_response_data_attributes_result_range.rb +115 -0
- data/lib/datadog_api_client/v2/models/facet_info_response_data_attributes_result_values_items.rb +115 -0
- data/lib/datadog_api_client/v2/models/facet_info_response_data_type.rb +26 -0
- data/lib/datadog_api_client/v2/models/fleet_agent_version.rb +154 -0
- data/lib/datadog_api_client/v2/models/fleet_agent_version_attributes.rb +105 -0
- data/lib/datadog_api_client/v2/models/fleet_agent_version_resource_type.rb +26 -0
- data/lib/datadog_api_client/v2/models/fleet_agent_versions_response.rb +125 -0
- data/lib/datadog_api_client/v2/models/fleet_deployment_attributes.rb +29 -2
- data/lib/datadog_api_client/v2/models/fleet_deployment_configure_create.rb +1 -1
- data/lib/datadog_api_client/v2/models/fleet_deployment_configure_create_request.rb +2 -2
- data/lib/datadog_api_client/v2/models/fleet_deployment_host.rb +137 -0
- data/lib/datadog_api_client/v2/models/fleet_deployment_host_package.rb +136 -0
- data/lib/datadog_api_client/v2/models/fleet_deployment_hosts_page.rb +135 -0
- data/lib/datadog_api_client/v2/models/fleet_deployment_operation.rb +2 -2
- data/lib/datadog_api_client/v2/models/fleet_deployment_package.rb +144 -0
- data/lib/datadog_api_client/v2/models/fleet_deployment_package_upgrade_attributes.rb +135 -0
- data/lib/datadog_api_client/v2/models/fleet_deployment_package_upgrade_create.rb +144 -0
- data/lib/datadog_api_client/v2/models/fleet_deployment_package_upgrade_create_request.rb +123 -0
- data/lib/datadog_api_client/v2/models/fleet_deployment_response.rb +13 -3
- data/lib/datadog_api_client/v2/models/fleet_deployment_response_meta.rb +105 -0
- data/lib/datadog_api_client/v2/models/fleet_schedule.rb +165 -0
- data/lib/datadog_api_client/v2/models/fleet_schedule_attributes.rb +214 -0
- data/lib/datadog_api_client/v2/models/fleet_schedule_create.rb +144 -0
- data/lib/datadog_api_client/v2/models/fleet_schedule_create_attributes.rb +207 -0
- data/lib/datadog_api_client/v2/models/fleet_schedule_create_request.rb +123 -0
- data/lib/datadog_api_client/v2/models/fleet_schedule_patch.rb +133 -0
- data/lib/datadog_api_client/v2/models/fleet_schedule_patch_attributes.rb +174 -0
- data/lib/datadog_api_client/v2/models/fleet_schedule_patch_request.rb +123 -0
- data/lib/datadog_api_client/v2/models/fleet_schedule_recurrence_rule.rb +191 -0
- data/lib/datadog_api_client/v2/models/fleet_schedule_resource_type.rb +26 -0
- data/lib/datadog_api_client/v2/models/fleet_schedule_response.rb +105 -0
- data/lib/datadog_api_client/v2/models/fleet_schedule_status.rb +29 -0
- data/lib/datadog_api_client/v2/models/fleet_schedules_response.rb +125 -0
- data/lib/datadog_api_client/v2/models/gcp_metric_namespace_config.rb +13 -1
- data/lib/datadog_api_client/v2/models/get_mapping_response.rb +105 -0
- data/lib/datadog_api_client/v2/models/get_mapping_response_data.rb +143 -0
- data/lib/datadog_api_client/v2/models/get_mapping_response_data_attributes.rb +107 -0
- data/lib/datadog_api_client/v2/models/get_mapping_response_data_attributes_attributes_items.rb +157 -0
- data/lib/datadog_api_client/v2/models/get_mapping_response_data_type.rb +26 -0
- data/lib/datadog_api_client/v2/models/get_multiple_rulesets_request.rb +105 -0
- data/lib/datadog_api_client/v2/models/get_multiple_rulesets_request_data.rb +143 -0
- data/lib/datadog_api_client/v2/models/get_multiple_rulesets_request_data_attributes.rb +127 -0
- data/lib/datadog_api_client/v2/models/get_multiple_rulesets_request_data_type.rb +26 -0
- data/lib/datadog_api_client/v2/models/get_multiple_rulesets_response.rb +105 -0
- data/lib/datadog_api_client/v2/models/get_multiple_rulesets_response_data.rb +143 -0
- data/lib/datadog_api_client/v2/models/get_multiple_rulesets_response_data_attributes.rb +107 -0
- data/lib/datadog_api_client/v2/models/get_multiple_rulesets_response_data_attributes_rulesets_items.rb +165 -0
- data/lib/datadog_api_client/v2/models/get_multiple_rulesets_response_data_attributes_rulesets_items_data.rb +133 -0
- data/lib/datadog_api_client/v2/models/get_multiple_rulesets_response_data_attributes_rulesets_items_data_type.rb +26 -0
- data/lib/datadog_api_client/v2/models/get_multiple_rulesets_response_data_attributes_rulesets_items_rules_items.rb +367 -0
- data/lib/datadog_api_client/v2/models/get_multiple_rulesets_response_data_attributes_rulesets_items_rules_items_arguments_items.rb +115 -0
- data/lib/datadog_api_client/v2/models/get_multiple_rulesets_response_data_attributes_rulesets_items_rules_items_data.rb +133 -0
- data/lib/datadog_api_client/v2/models/get_multiple_rulesets_response_data_attributes_rulesets_items_rules_items_data_type.rb +26 -0
- data/lib/datadog_api_client/v2/models/get_multiple_rulesets_response_data_attributes_rulesets_items_rules_items_tests_items.rb +147 -0
- data/lib/datadog_api_client/v2/models/get_multiple_rulesets_response_data_type.rb +26 -0
- data/lib/datadog_api_client/v2/models/job_create_response.rb +1 -1
- data/lib/datadog_api_client/v2/models/job_create_response_data.rb +1 -1
- data/lib/datadog_api_client/v2/models/job_definition.rb +3 -3
- data/lib/datadog_api_client/v2/models/job_definition_from_rule.rb +1 -1
- data/lib/datadog_api_client/v2/models/{run_historical_job_request.rb → list_connections_response.rb} +5 -5
- data/lib/datadog_api_client/v2/models/list_connections_response_data.rb +143 -0
- data/lib/datadog_api_client/v2/models/list_connections_response_data_attributes.rb +107 -0
- data/lib/datadog_api_client/v2/models/list_connections_response_data_attributes_connections_items.rb +187 -0
- data/lib/datadog_api_client/v2/models/list_connections_response_data_attributes_connections_items_join.rb +115 -0
- data/lib/datadog_api_client/v2/models/list_connections_response_data_type.rb +26 -0
- data/lib/datadog_api_client/v2/models/{list_historical_jobs_response.rb → list_threat_hunting_jobs_response.rb} +6 -6
- data/lib/datadog_api_client/v2/models/patch_table_request.rb +2 -2
- data/lib/datadog_api_client/v2/models/patch_table_request_data.rb +6 -41
- data/lib/datadog_api_client/v2/models/patch_table_request_data_attributes.rb +5 -5
- data/lib/datadog_api_client/v2/models/patch_table_request_data_attributes_file_metadata.rb +1 -1
- data/lib/datadog_api_client/v2/models/patch_table_request_data_attributes_file_metadata_cloud_storage.rb +1 -1
- data/lib/datadog_api_client/v2/models/patch_table_request_data_attributes_file_metadata_one_of_access_details.rb +4 -4
- data/lib/datadog_api_client/v2/models/patch_table_request_data_attributes_file_metadata_one_of_access_details_aws_detail.rb +3 -3
- data/lib/datadog_api_client/v2/models/patch_table_request_data_attributes_file_metadata_one_of_access_details_azure_detail.rb +5 -5
- data/lib/datadog_api_client/v2/models/patch_table_request_data_attributes_file_metadata_one_of_access_details_gcp_detail.rb +4 -4
- data/lib/datadog_api_client/v2/models/patch_table_request_data_attributes_schema.rb +3 -3
- data/lib/datadog_api_client/v2/models/patch_table_request_data_attributes_schema_fields_items.rb +1 -1
- data/lib/datadog_api_client/v2/models/preview_entity_response_data.rb +153 -0
- data/lib/datadog_api_client/v2/models/query_account_request.rb +105 -0
- data/lib/datadog_api_client/v2/models/query_account_request_data.rb +143 -0
- data/lib/datadog_api_client/v2/models/query_account_request_data_attributes.rb +147 -0
- data/lib/datadog_api_client/v2/models/query_account_request_data_attributes_sort.rb +115 -0
- data/lib/datadog_api_client/v2/models/query_account_request_data_type.rb +26 -0
- data/lib/datadog_api_client/v2/models/query_event_filtered_users_request.rb +105 -0
- data/lib/datadog_api_client/v2/models/query_event_filtered_users_request_data.rb +143 -0
- data/lib/datadog_api_client/v2/models/query_event_filtered_users_request_data_attributes.rb +147 -0
- data/lib/datadog_api_client/v2/models/query_event_filtered_users_request_data_attributes_event_query.rb +115 -0
- data/lib/datadog_api_client/v2/models/query_event_filtered_users_request_data_attributes_event_query_time_frame.rb +115 -0
- data/lib/datadog_api_client/v2/models/query_event_filtered_users_request_data_type.rb +26 -0
- data/lib/datadog_api_client/v2/models/query_response.rb +105 -0
- data/lib/datadog_api_client/v2/models/query_response_data.rb +143 -0
- data/lib/datadog_api_client/v2/models/query_response_data_attributes.rb +117 -0
- data/lib/datadog_api_client/v2/models/query_response_data_type.rb +26 -0
- data/lib/datadog_api_client/v2/models/query_users_request.rb +105 -0
- data/lib/datadog_api_client/v2/models/query_users_request_data.rb +143 -0
- data/lib/datadog_api_client/v2/models/query_users_request_data_attributes.rb +147 -0
- data/lib/datadog_api_client/v2/models/query_users_request_data_attributes_sort.rb +115 -0
- data/lib/datadog_api_client/v2/models/query_users_request_data_type.rb +26 -0
- data/lib/datadog_api_client/v2/models/run_threat_hunting_job_request.rb +105 -0
- data/lib/datadog_api_client/v2/models/{run_historical_job_request_attributes.rb → run_threat_hunting_job_request_attributes.rb} +5 -5
- data/lib/datadog_api_client/v2/models/{run_historical_job_request_data.rb → run_threat_hunting_job_request_data.rb} +6 -6
- data/lib/datadog_api_client/v2/models/{run_historical_job_request_data_type.rb → run_threat_hunting_job_request_data_type.rb} +1 -1
- data/lib/datadog_api_client/v2/models/secret_rule_array.rb +125 -0
- data/lib/datadog_api_client/v2/models/secret_rule_data.rb +143 -0
- data/lib/datadog_api_client/v2/models/secret_rule_data_attributes.rb +189 -0
- data/lib/datadog_api_client/v2/models/secret_rule_data_attributes_match_validation.rb +203 -0
- data/lib/datadog_api_client/v2/models/secret_rule_data_attributes_match_validation_invalid_http_status_code_items.rb +152 -0
- data/lib/datadog_api_client/v2/models/secret_rule_data_attributes_match_validation_valid_http_status_code_items.rb +152 -0
- data/lib/datadog_api_client/v2/models/secret_rule_data_type.rb +26 -0
- data/lib/datadog_api_client/v2/models/security_monitoring_signal_archive_reason.rb +2 -0
- data/lib/datadog_api_client/v2/models/security_monitoring_suppression_attributes.rb +13 -1
- data/lib/datadog_api_client/v2/models/security_monitoring_suppression_create_attributes.rb +15 -3
- data/lib/datadog_api_client/v2/models/security_monitoring_suppression_update_attributes.rb +13 -1
- data/lib/datadog_api_client/v2/models/table_result_v2.rb +2 -2
- data/lib/datadog_api_client/v2/models/table_result_v2_array.rb +1 -1
- data/lib/datadog_api_client/v2/models/table_result_v2_data.rb +7 -32
- data/lib/datadog_api_client/v2/models/table_result_v2_data_attributes.rb +8 -8
- data/lib/datadog_api_client/v2/models/table_result_v2_data_attributes_file_metadata.rb +1 -1
- data/lib/datadog_api_client/v2/models/table_result_v2_data_attributes_file_metadata_cloud_storage.rb +19 -26
- data/lib/datadog_api_client/v2/models/table_result_v2_data_attributes_file_metadata_local_file.rb +7 -42
- data/lib/datadog_api_client/v2/models/table_result_v2_data_attributes_file_metadata_one_of_access_details.rb +4 -4
- data/lib/datadog_api_client/v2/models/table_result_v2_data_attributes_file_metadata_one_of_access_details_aws_detail.rb +3 -3
- data/lib/datadog_api_client/v2/models/table_result_v2_data_attributes_file_metadata_one_of_access_details_azure_detail.rb +5 -5
- data/lib/datadog_api_client/v2/models/table_result_v2_data_attributes_file_metadata_one_of_access_details_gcp_detail.rb +4 -4
- data/lib/datadog_api_client/v2/models/table_result_v2_data_attributes_schema.rb +2 -2
- data/lib/datadog_api_client/v2/models/table_result_v2_data_attributes_schema_fields_items.rb +1 -1
- data/lib/datadog_api_client/v2/models/table_row_resource_array.rb +1 -1
- data/lib/datadog_api_client/v2/models/table_row_resource_data.rb +7 -32
- data/lib/datadog_api_client/v2/models/table_row_resource_data_attributes.rb +7 -32
- data/lib/datadog_api_client/v2/models/team_connection.rb +164 -0
- data/lib/datadog_api_client/v2/models/team_connection_attributes.rb +115 -0
- data/lib/datadog_api_client/v2/models/team_connection_create_data.rb +143 -0
- data/lib/datadog_api_client/v2/models/team_connection_create_request.rb +125 -0
- data/lib/datadog_api_client/v2/models/team_connection_delete_request.rb +125 -0
- data/lib/datadog_api_client/v2/models/team_connection_delete_request_data_item.rb +144 -0
- data/lib/datadog_api_client/v2/models/team_connection_relationships.rb +115 -0
- data/lib/datadog_api_client/v2/models/team_connection_type.rb +26 -0
- data/lib/datadog_api_client/v2/models/team_connections_response.rb +117 -0
- data/lib/datadog_api_client/v2/models/team_ref.rb +105 -0
- data/lib/datadog_api_client/v2/models/team_ref_data.rb +144 -0
- data/lib/datadog_api_client/v2/models/team_ref_data_type.rb +26 -0
- data/lib/datadog_api_client/v2/models/{historical_job_data_type.rb → threat_hunting_job_data_type.rb} +1 -1
- data/lib/datadog_api_client/v2/models/{historical_job_list_meta.rb → threat_hunting_job_list_meta.rb} +2 -2
- data/lib/datadog_api_client/v2/models/{historical_job_options.rb → threat_hunting_job_options.rb} +2 -2
- data/lib/datadog_api_client/v2/models/{historical_job_query.rb → threat_hunting_job_query.rb} +3 -3
- data/lib/datadog_api_client/v2/models/threat_hunting_job_response.rb +105 -0
- data/lib/datadog_api_client/v2/models/{historical_job_response_attributes.rb → threat_hunting_job_response_attributes.rb} +4 -4
- data/lib/datadog_api_client/v2/models/{historical_job_response_data.rb → threat_hunting_job_response_data.rb} +6 -6
- data/lib/datadog_api_client/v2/models/update_connection_request.rb +105 -0
- data/lib/datadog_api_client/v2/models/update_connection_request_data.rb +154 -0
- data/lib/datadog_api_client/v2/models/update_connection_request_data_attributes.rb +131 -0
- data/lib/datadog_api_client/v2/models/update_connection_request_data_attributes_fields_to_update_items.rb +165 -0
- data/lib/datadog_api_client/v2/models/update_connection_request_data_type.rb +26 -0
- data/lib/datadog_api_client/v2/models/user_attributes.rb +12 -1
- data/lib/datadog_api_client/version.rb +1 -1
- metadata +210 -18
- data/examples/v2/security-monitoring/CancelHistoricalJob.rb +0 -12
- data/examples/v2/security-monitoring/GetHistoricalJob.rb +0 -12
- data/examples/v2/security-monitoring/ListHistoricalJobs.rb +0 -15
|
@@ -0,0 +1,152 @@
|
|
|
1
|
+
=begin
|
|
2
|
+
#Datadog API V2 Collection
|
|
3
|
+
|
|
4
|
+
#Collection of all Datadog Public endpoints.
|
|
5
|
+
|
|
6
|
+
The version of the OpenAPI document: 1.0
|
|
7
|
+
Contact: support@datadoghq.com
|
|
8
|
+
Generated by: https://github.com/DataDog/datadog-api-client-ruby/tree/master/.generator
|
|
9
|
+
|
|
10
|
+
Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.
|
|
11
|
+
This product includes software developed at Datadog (https://www.datadoghq.com/).
|
|
12
|
+
Copyright 2020-Present Datadog, Inc.
|
|
13
|
+
|
|
14
|
+
=end
|
|
15
|
+
|
|
16
|
+
require 'date'
|
|
17
|
+
require 'time'
|
|
18
|
+
|
|
19
|
+
module DatadogAPIClient::V2
|
|
20
|
+
#
|
|
21
|
+
class SecretRuleDataAttributesMatchValidationInvalidHttpStatusCodeItems
|
|
22
|
+
include BaseGenericModel
|
|
23
|
+
|
|
24
|
+
#
|
|
25
|
+
attr_reader :_end
|
|
26
|
+
|
|
27
|
+
#
|
|
28
|
+
attr_reader :start
|
|
29
|
+
|
|
30
|
+
attr_accessor :additional_properties
|
|
31
|
+
|
|
32
|
+
# Attribute mapping from ruby-style variable name to JSON key.
|
|
33
|
+
# @!visibility private
|
|
34
|
+
def self.attribute_map
|
|
35
|
+
{
|
|
36
|
+
:'_end' => :'end',
|
|
37
|
+
:'start' => :'start'
|
|
38
|
+
}
|
|
39
|
+
end
|
|
40
|
+
|
|
41
|
+
# Attribute type mapping.
|
|
42
|
+
# @!visibility private
|
|
43
|
+
def self.openapi_types
|
|
44
|
+
{
|
|
45
|
+
:'_end' => :'Integer',
|
|
46
|
+
:'start' => :'Integer'
|
|
47
|
+
}
|
|
48
|
+
end
|
|
49
|
+
|
|
50
|
+
# Initializes the object
|
|
51
|
+
# @param attributes [Hash] Model attributes in the form of hash
|
|
52
|
+
# @!visibility private
|
|
53
|
+
def initialize(attributes = {})
|
|
54
|
+
if (!attributes.is_a?(Hash))
|
|
55
|
+
fail ArgumentError, "The input argument (attributes) must be a hash in `DatadogAPIClient::V2::SecretRuleDataAttributesMatchValidationInvalidHttpStatusCodeItems` initialize method"
|
|
56
|
+
end
|
|
57
|
+
|
|
58
|
+
self.additional_properties = {}
|
|
59
|
+
# check to see if the attribute exists and convert string to symbol for hash key
|
|
60
|
+
attributes = attributes.each_with_object({}) { |(k, v), h|
|
|
61
|
+
if (!self.class.attribute_map.key?(k.to_sym))
|
|
62
|
+
self.additional_properties[k.to_sym] = v
|
|
63
|
+
else
|
|
64
|
+
h[k.to_sym] = v
|
|
65
|
+
end
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
if attributes.key?(:'_end')
|
|
69
|
+
self._end = attributes[:'_end']
|
|
70
|
+
end
|
|
71
|
+
|
|
72
|
+
if attributes.key?(:'start')
|
|
73
|
+
self.start = attributes[:'start']
|
|
74
|
+
end
|
|
75
|
+
end
|
|
76
|
+
|
|
77
|
+
# Check to see if the all the properties in the model are valid
|
|
78
|
+
# @return true if the model is valid
|
|
79
|
+
# @!visibility private
|
|
80
|
+
def valid?
|
|
81
|
+
return false if !@_end.nil? && @_end > 1.8446744073709552e+19
|
|
82
|
+
return false if !@_end.nil? && @_end < 0
|
|
83
|
+
return false if !@start.nil? && @start > 1.8446744073709552e+19
|
|
84
|
+
return false if !@start.nil? && @start < 0
|
|
85
|
+
true
|
|
86
|
+
end
|
|
87
|
+
|
|
88
|
+
# Custom attribute writer method with validation
|
|
89
|
+
# @param _end [Object] Object to be assigned
|
|
90
|
+
# @!visibility private
|
|
91
|
+
def _end=(_end)
|
|
92
|
+
if !_end.nil? && _end > 1.8446744073709552e+19
|
|
93
|
+
fail ArgumentError, 'invalid value for "_end", must be smaller than or equal to 1.8446744073709552e+19.'
|
|
94
|
+
end
|
|
95
|
+
if !_end.nil? && _end < 0
|
|
96
|
+
fail ArgumentError, 'invalid value for "_end", must be greater than or equal to 0.'
|
|
97
|
+
end
|
|
98
|
+
@_end = _end
|
|
99
|
+
end
|
|
100
|
+
|
|
101
|
+
# Custom attribute writer method with validation
|
|
102
|
+
# @param start [Object] Object to be assigned
|
|
103
|
+
# @!visibility private
|
|
104
|
+
def start=(start)
|
|
105
|
+
if !start.nil? && start > 1.8446744073709552e+19
|
|
106
|
+
fail ArgumentError, 'invalid value for "start", must be smaller than or equal to 1.8446744073709552e+19.'
|
|
107
|
+
end
|
|
108
|
+
if !start.nil? && start < 0
|
|
109
|
+
fail ArgumentError, 'invalid value for "start", must be greater than or equal to 0.'
|
|
110
|
+
end
|
|
111
|
+
@start = start
|
|
112
|
+
end
|
|
113
|
+
|
|
114
|
+
# Returns the object in the form of hash, with additionalProperties support.
|
|
115
|
+
# @return [Hash] Returns the object in the form of hash
|
|
116
|
+
# @!visibility private
|
|
117
|
+
def to_hash
|
|
118
|
+
hash = {}
|
|
119
|
+
self.class.attribute_map.each_pair do |attr, param|
|
|
120
|
+
value = self.send(attr)
|
|
121
|
+
if value.nil?
|
|
122
|
+
is_nullable = self.class.openapi_nullable.include?(attr)
|
|
123
|
+
next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}"))
|
|
124
|
+
end
|
|
125
|
+
|
|
126
|
+
hash[param] = _to_hash(value)
|
|
127
|
+
end
|
|
128
|
+
self.additional_properties.each_pair do |attr, value|
|
|
129
|
+
hash[attr] = value
|
|
130
|
+
end
|
|
131
|
+
hash
|
|
132
|
+
end
|
|
133
|
+
|
|
134
|
+
# Checks equality by comparing each attribute.
|
|
135
|
+
# @param o [Object] Object to be compared
|
|
136
|
+
# @!visibility private
|
|
137
|
+
def ==(o)
|
|
138
|
+
return true if self.equal?(o)
|
|
139
|
+
self.class == o.class &&
|
|
140
|
+
_end == o._end &&
|
|
141
|
+
start == o.start &&
|
|
142
|
+
additional_properties == o.additional_properties
|
|
143
|
+
end
|
|
144
|
+
|
|
145
|
+
# Calculates hash code according to all attributes.
|
|
146
|
+
# @return [Integer] Hash code
|
|
147
|
+
# @!visibility private
|
|
148
|
+
def hash
|
|
149
|
+
[_end, start, additional_properties].hash
|
|
150
|
+
end
|
|
151
|
+
end
|
|
152
|
+
end
|
|
@@ -0,0 +1,152 @@
|
|
|
1
|
+
=begin
|
|
2
|
+
#Datadog API V2 Collection
|
|
3
|
+
|
|
4
|
+
#Collection of all Datadog Public endpoints.
|
|
5
|
+
|
|
6
|
+
The version of the OpenAPI document: 1.0
|
|
7
|
+
Contact: support@datadoghq.com
|
|
8
|
+
Generated by: https://github.com/DataDog/datadog-api-client-ruby/tree/master/.generator
|
|
9
|
+
|
|
10
|
+
Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.
|
|
11
|
+
This product includes software developed at Datadog (https://www.datadoghq.com/).
|
|
12
|
+
Copyright 2020-Present Datadog, Inc.
|
|
13
|
+
|
|
14
|
+
=end
|
|
15
|
+
|
|
16
|
+
require 'date'
|
|
17
|
+
require 'time'
|
|
18
|
+
|
|
19
|
+
module DatadogAPIClient::V2
|
|
20
|
+
#
|
|
21
|
+
class SecretRuleDataAttributesMatchValidationValidHttpStatusCodeItems
|
|
22
|
+
include BaseGenericModel
|
|
23
|
+
|
|
24
|
+
#
|
|
25
|
+
attr_reader :_end
|
|
26
|
+
|
|
27
|
+
#
|
|
28
|
+
attr_reader :start
|
|
29
|
+
|
|
30
|
+
attr_accessor :additional_properties
|
|
31
|
+
|
|
32
|
+
# Attribute mapping from ruby-style variable name to JSON key.
|
|
33
|
+
# @!visibility private
|
|
34
|
+
def self.attribute_map
|
|
35
|
+
{
|
|
36
|
+
:'_end' => :'end',
|
|
37
|
+
:'start' => :'start'
|
|
38
|
+
}
|
|
39
|
+
end
|
|
40
|
+
|
|
41
|
+
# Attribute type mapping.
|
|
42
|
+
# @!visibility private
|
|
43
|
+
def self.openapi_types
|
|
44
|
+
{
|
|
45
|
+
:'_end' => :'Integer',
|
|
46
|
+
:'start' => :'Integer'
|
|
47
|
+
}
|
|
48
|
+
end
|
|
49
|
+
|
|
50
|
+
# Initializes the object
|
|
51
|
+
# @param attributes [Hash] Model attributes in the form of hash
|
|
52
|
+
# @!visibility private
|
|
53
|
+
def initialize(attributes = {})
|
|
54
|
+
if (!attributes.is_a?(Hash))
|
|
55
|
+
fail ArgumentError, "The input argument (attributes) must be a hash in `DatadogAPIClient::V2::SecretRuleDataAttributesMatchValidationValidHttpStatusCodeItems` initialize method"
|
|
56
|
+
end
|
|
57
|
+
|
|
58
|
+
self.additional_properties = {}
|
|
59
|
+
# check to see if the attribute exists and convert string to symbol for hash key
|
|
60
|
+
attributes = attributes.each_with_object({}) { |(k, v), h|
|
|
61
|
+
if (!self.class.attribute_map.key?(k.to_sym))
|
|
62
|
+
self.additional_properties[k.to_sym] = v
|
|
63
|
+
else
|
|
64
|
+
h[k.to_sym] = v
|
|
65
|
+
end
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
if attributes.key?(:'_end')
|
|
69
|
+
self._end = attributes[:'_end']
|
|
70
|
+
end
|
|
71
|
+
|
|
72
|
+
if attributes.key?(:'start')
|
|
73
|
+
self.start = attributes[:'start']
|
|
74
|
+
end
|
|
75
|
+
end
|
|
76
|
+
|
|
77
|
+
# Check to see if the all the properties in the model are valid
|
|
78
|
+
# @return true if the model is valid
|
|
79
|
+
# @!visibility private
|
|
80
|
+
def valid?
|
|
81
|
+
return false if !@_end.nil? && @_end > 1.8446744073709552e+19
|
|
82
|
+
return false if !@_end.nil? && @_end < 0
|
|
83
|
+
return false if !@start.nil? && @start > 1.8446744073709552e+19
|
|
84
|
+
return false if !@start.nil? && @start < 0
|
|
85
|
+
true
|
|
86
|
+
end
|
|
87
|
+
|
|
88
|
+
# Custom attribute writer method with validation
|
|
89
|
+
# @param _end [Object] Object to be assigned
|
|
90
|
+
# @!visibility private
|
|
91
|
+
def _end=(_end)
|
|
92
|
+
if !_end.nil? && _end > 1.8446744073709552e+19
|
|
93
|
+
fail ArgumentError, 'invalid value for "_end", must be smaller than or equal to 1.8446744073709552e+19.'
|
|
94
|
+
end
|
|
95
|
+
if !_end.nil? && _end < 0
|
|
96
|
+
fail ArgumentError, 'invalid value for "_end", must be greater than or equal to 0.'
|
|
97
|
+
end
|
|
98
|
+
@_end = _end
|
|
99
|
+
end
|
|
100
|
+
|
|
101
|
+
# Custom attribute writer method with validation
|
|
102
|
+
# @param start [Object] Object to be assigned
|
|
103
|
+
# @!visibility private
|
|
104
|
+
def start=(start)
|
|
105
|
+
if !start.nil? && start > 1.8446744073709552e+19
|
|
106
|
+
fail ArgumentError, 'invalid value for "start", must be smaller than or equal to 1.8446744073709552e+19.'
|
|
107
|
+
end
|
|
108
|
+
if !start.nil? && start < 0
|
|
109
|
+
fail ArgumentError, 'invalid value for "start", must be greater than or equal to 0.'
|
|
110
|
+
end
|
|
111
|
+
@start = start
|
|
112
|
+
end
|
|
113
|
+
|
|
114
|
+
# Returns the object in the form of hash, with additionalProperties support.
|
|
115
|
+
# @return [Hash] Returns the object in the form of hash
|
|
116
|
+
# @!visibility private
|
|
117
|
+
def to_hash
|
|
118
|
+
hash = {}
|
|
119
|
+
self.class.attribute_map.each_pair do |attr, param|
|
|
120
|
+
value = self.send(attr)
|
|
121
|
+
if value.nil?
|
|
122
|
+
is_nullable = self.class.openapi_nullable.include?(attr)
|
|
123
|
+
next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}"))
|
|
124
|
+
end
|
|
125
|
+
|
|
126
|
+
hash[param] = _to_hash(value)
|
|
127
|
+
end
|
|
128
|
+
self.additional_properties.each_pair do |attr, value|
|
|
129
|
+
hash[attr] = value
|
|
130
|
+
end
|
|
131
|
+
hash
|
|
132
|
+
end
|
|
133
|
+
|
|
134
|
+
# Checks equality by comparing each attribute.
|
|
135
|
+
# @param o [Object] Object to be compared
|
|
136
|
+
# @!visibility private
|
|
137
|
+
def ==(o)
|
|
138
|
+
return true if self.equal?(o)
|
|
139
|
+
self.class == o.class &&
|
|
140
|
+
_end == o._end &&
|
|
141
|
+
start == o.start &&
|
|
142
|
+
additional_properties == o.additional_properties
|
|
143
|
+
end
|
|
144
|
+
|
|
145
|
+
# Calculates hash code according to all attributes.
|
|
146
|
+
# @return [Integer] Hash code
|
|
147
|
+
# @!visibility private
|
|
148
|
+
def hash
|
|
149
|
+
[_end, start, additional_properties].hash
|
|
150
|
+
end
|
|
151
|
+
end
|
|
152
|
+
end
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
=begin
|
|
2
|
+
#Datadog API V2 Collection
|
|
3
|
+
|
|
4
|
+
#Collection of all Datadog Public endpoints.
|
|
5
|
+
|
|
6
|
+
The version of the OpenAPI document: 1.0
|
|
7
|
+
Contact: support@datadoghq.com
|
|
8
|
+
Generated by: https://github.com/DataDog/datadog-api-client-ruby/tree/master/.generator
|
|
9
|
+
|
|
10
|
+
Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.
|
|
11
|
+
This product includes software developed at Datadog (https://www.datadoghq.com/).
|
|
12
|
+
Copyright 2020-Present Datadog, Inc.
|
|
13
|
+
|
|
14
|
+
=end
|
|
15
|
+
|
|
16
|
+
require 'date'
|
|
17
|
+
require 'time'
|
|
18
|
+
|
|
19
|
+
module DatadogAPIClient::V2
|
|
20
|
+
# Secret rule resource type.
|
|
21
|
+
class SecretRuleDataType
|
|
22
|
+
include BaseEnumModel
|
|
23
|
+
|
|
24
|
+
SECRET_RULE = "secret_rule".freeze
|
|
25
|
+
end
|
|
26
|
+
end
|
|
@@ -25,6 +25,8 @@ module DatadogAPIClient::V2
|
|
|
25
25
|
FALSE_POSITIVE = "false_positive".freeze
|
|
26
26
|
TESTING_OR_MAINTENANCE = "testing_or_maintenance".freeze
|
|
27
27
|
INVESTIGATED_CASE_OPENED = "investigated_case_opened".freeze
|
|
28
|
+
TRUE_POSITIVE_BENIGN = "true_positive_benign".freeze
|
|
29
|
+
TRUE_POSITIVE_MALICIOUS = "true_positive_malicious".freeze
|
|
28
30
|
OTHER = "other".freeze
|
|
29
31
|
end
|
|
30
32
|
end
|
|
@@ -54,6 +54,9 @@ module DatadogAPIClient::V2
|
|
|
54
54
|
# The suppression query of the suppression rule. If a signal matches this query, it is suppressed and not triggered. Same syntax as the queries to search signals in the signal explorer.
|
|
55
55
|
attr_accessor :suppression_query
|
|
56
56
|
|
|
57
|
+
# List of tags associated with the suppression rule.
|
|
58
|
+
attr_accessor :tags
|
|
59
|
+
|
|
57
60
|
# A Unix millisecond timestamp given the update date of the suppression rule.
|
|
58
61
|
attr_accessor :update_date
|
|
59
62
|
|
|
@@ -80,6 +83,7 @@ module DatadogAPIClient::V2
|
|
|
80
83
|
:'rule_query' => :'rule_query',
|
|
81
84
|
:'start_date' => :'start_date',
|
|
82
85
|
:'suppression_query' => :'suppression_query',
|
|
86
|
+
:'tags' => :'tags',
|
|
83
87
|
:'update_date' => :'update_date',
|
|
84
88
|
:'updater' => :'updater',
|
|
85
89
|
:'version' => :'version'
|
|
@@ -101,6 +105,7 @@ module DatadogAPIClient::V2
|
|
|
101
105
|
:'rule_query' => :'String',
|
|
102
106
|
:'start_date' => :'Integer',
|
|
103
107
|
:'suppression_query' => :'String',
|
|
108
|
+
:'tags' => :'Array<String>',
|
|
104
109
|
:'update_date' => :'Integer',
|
|
105
110
|
:'updater' => :'SecurityMonitoringUser',
|
|
106
111
|
:'version' => :'Integer'
|
|
@@ -169,6 +174,12 @@ module DatadogAPIClient::V2
|
|
|
169
174
|
self.suppression_query = attributes[:'suppression_query']
|
|
170
175
|
end
|
|
171
176
|
|
|
177
|
+
if attributes.key?(:'tags')
|
|
178
|
+
if (value = attributes[:'tags']).is_a?(Array)
|
|
179
|
+
self.tags = value
|
|
180
|
+
end
|
|
181
|
+
end
|
|
182
|
+
|
|
172
183
|
if attributes.key?(:'update_date')
|
|
173
184
|
self.update_date = attributes[:'update_date']
|
|
174
185
|
end
|
|
@@ -237,6 +248,7 @@ module DatadogAPIClient::V2
|
|
|
237
248
|
rule_query == o.rule_query &&
|
|
238
249
|
start_date == o.start_date &&
|
|
239
250
|
suppression_query == o.suppression_query &&
|
|
251
|
+
tags == o.tags &&
|
|
240
252
|
update_date == o.update_date &&
|
|
241
253
|
updater == o.updater &&
|
|
242
254
|
version == o.version &&
|
|
@@ -247,7 +259,7 @@ module DatadogAPIClient::V2
|
|
|
247
259
|
# @return [Integer] Hash code
|
|
248
260
|
# @!visibility private
|
|
249
261
|
def hash
|
|
250
|
-
[creation_date, creator, data_exclusion_query, description, editable, enabled, expiration_date, name, rule_query, start_date, suppression_query, update_date, updater, version, additional_properties].hash
|
|
262
|
+
[creation_date, creator, data_exclusion_query, description, editable, enabled, expiration_date, name, rule_query, start_date, suppression_query, tags, update_date, updater, version, additional_properties].hash
|
|
251
263
|
end
|
|
252
264
|
end
|
|
253
265
|
end
|
|
@@ -45,6 +45,9 @@ module DatadogAPIClient::V2
|
|
|
45
45
|
# The suppression query of the suppression rule. If a signal matches this query, it is suppressed and is not triggered. It uses the same syntax as the queries to search signals in the Signals Explorer.
|
|
46
46
|
attr_accessor :suppression_query
|
|
47
47
|
|
|
48
|
+
# List of tags associated with the suppression rule.
|
|
49
|
+
attr_accessor :tags
|
|
50
|
+
|
|
48
51
|
attr_accessor :additional_properties
|
|
49
52
|
|
|
50
53
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
@@ -58,7 +61,8 @@ module DatadogAPIClient::V2
|
|
|
58
61
|
:'name' => :'name',
|
|
59
62
|
:'rule_query' => :'rule_query',
|
|
60
63
|
:'start_date' => :'start_date',
|
|
61
|
-
:'suppression_query' => :'suppression_query'
|
|
64
|
+
:'suppression_query' => :'suppression_query',
|
|
65
|
+
:'tags' => :'tags'
|
|
62
66
|
}
|
|
63
67
|
end
|
|
64
68
|
|
|
@@ -73,7 +77,8 @@ module DatadogAPIClient::V2
|
|
|
73
77
|
:'name' => :'String',
|
|
74
78
|
:'rule_query' => :'String',
|
|
75
79
|
:'start_date' => :'Integer',
|
|
76
|
-
:'suppression_query' => :'String'
|
|
80
|
+
:'suppression_query' => :'String',
|
|
81
|
+
:'tags' => :'Array<String>'
|
|
77
82
|
}
|
|
78
83
|
end
|
|
79
84
|
|
|
@@ -126,6 +131,12 @@ module DatadogAPIClient::V2
|
|
|
126
131
|
if attributes.key?(:'suppression_query')
|
|
127
132
|
self.suppression_query = attributes[:'suppression_query']
|
|
128
133
|
end
|
|
134
|
+
|
|
135
|
+
if attributes.key?(:'tags')
|
|
136
|
+
if (value = attributes[:'tags']).is_a?(Array)
|
|
137
|
+
self.tags = value
|
|
138
|
+
end
|
|
139
|
+
end
|
|
129
140
|
end
|
|
130
141
|
|
|
131
142
|
# Check to see if the all the properties in the model are valid
|
|
@@ -202,6 +213,7 @@ module DatadogAPIClient::V2
|
|
|
202
213
|
rule_query == o.rule_query &&
|
|
203
214
|
start_date == o.start_date &&
|
|
204
215
|
suppression_query == o.suppression_query &&
|
|
216
|
+
tags == o.tags &&
|
|
205
217
|
additional_properties == o.additional_properties
|
|
206
218
|
end
|
|
207
219
|
|
|
@@ -209,7 +221,7 @@ module DatadogAPIClient::V2
|
|
|
209
221
|
# @return [Integer] Hash code
|
|
210
222
|
# @!visibility private
|
|
211
223
|
def hash
|
|
212
|
-
[data_exclusion_query, description, enabled, expiration_date, name, rule_query, start_date, suppression_query, additional_properties].hash
|
|
224
|
+
[data_exclusion_query, description, enabled, expiration_date, name, rule_query, start_date, suppression_query, tags, additional_properties].hash
|
|
213
225
|
end
|
|
214
226
|
end
|
|
215
227
|
end
|
|
@@ -45,6 +45,9 @@ module DatadogAPIClient::V2
|
|
|
45
45
|
# The suppression query of the suppression rule. If a signal matches this query, it is suppressed and not triggered. Same syntax as the queries to search signals in the signal explorer.
|
|
46
46
|
attr_accessor :suppression_query
|
|
47
47
|
|
|
48
|
+
# List of tags associated with the suppression rule.
|
|
49
|
+
attr_accessor :tags
|
|
50
|
+
|
|
48
51
|
# The current version of the suppression. This is optional, but it can help prevent concurrent modifications.
|
|
49
52
|
attr_reader :version
|
|
50
53
|
|
|
@@ -62,6 +65,7 @@ module DatadogAPIClient::V2
|
|
|
62
65
|
:'rule_query' => :'rule_query',
|
|
63
66
|
:'start_date' => :'start_date',
|
|
64
67
|
:'suppression_query' => :'suppression_query',
|
|
68
|
+
:'tags' => :'tags',
|
|
65
69
|
:'version' => :'version'
|
|
66
70
|
}
|
|
67
71
|
end
|
|
@@ -78,6 +82,7 @@ module DatadogAPIClient::V2
|
|
|
78
82
|
:'rule_query' => :'String',
|
|
79
83
|
:'start_date' => :'Integer',
|
|
80
84
|
:'suppression_query' => :'String',
|
|
85
|
+
:'tags' => :'Array<String>',
|
|
81
86
|
:'version' => :'Integer'
|
|
82
87
|
}
|
|
83
88
|
end
|
|
@@ -141,6 +146,12 @@ module DatadogAPIClient::V2
|
|
|
141
146
|
self.suppression_query = attributes[:'suppression_query']
|
|
142
147
|
end
|
|
143
148
|
|
|
149
|
+
if attributes.key?(:'tags')
|
|
150
|
+
if (value = attributes[:'tags']).is_a?(Array)
|
|
151
|
+
self.tags = value
|
|
152
|
+
end
|
|
153
|
+
end
|
|
154
|
+
|
|
144
155
|
if attributes.key?(:'version')
|
|
145
156
|
self.version = attributes[:'version']
|
|
146
157
|
end
|
|
@@ -198,6 +209,7 @@ module DatadogAPIClient::V2
|
|
|
198
209
|
rule_query == o.rule_query &&
|
|
199
210
|
start_date == o.start_date &&
|
|
200
211
|
suppression_query == o.suppression_query &&
|
|
212
|
+
tags == o.tags &&
|
|
201
213
|
version == o.version &&
|
|
202
214
|
additional_properties == o.additional_properties
|
|
203
215
|
end
|
|
@@ -206,7 +218,7 @@ module DatadogAPIClient::V2
|
|
|
206
218
|
# @return [Integer] Hash code
|
|
207
219
|
# @!visibility private
|
|
208
220
|
def hash
|
|
209
|
-
[data_exclusion_query, description, enabled, expiration_date, name, rule_query, start_date, suppression_query, version, additional_properties].hash
|
|
221
|
+
[data_exclusion_query, description, enabled, expiration_date, name, rule_query, start_date, suppression_query, tags, version, additional_properties].hash
|
|
210
222
|
end
|
|
211
223
|
end
|
|
212
224
|
end
|
|
@@ -17,11 +17,11 @@ require 'date'
|
|
|
17
17
|
require 'time'
|
|
18
18
|
|
|
19
19
|
module DatadogAPIClient::V2
|
|
20
|
-
#
|
|
20
|
+
# A reference table resource containing its full configuration and state.
|
|
21
21
|
class TableResultV2
|
|
22
22
|
include BaseGenericModel
|
|
23
23
|
|
|
24
|
-
# The
|
|
24
|
+
# The data object containing the reference table configuration and state.
|
|
25
25
|
attr_accessor :data
|
|
26
26
|
|
|
27
27
|
attr_accessor :additional_properties
|
|
@@ -17,21 +17,19 @@ require 'date'
|
|
|
17
17
|
require 'time'
|
|
18
18
|
|
|
19
19
|
module DatadogAPIClient::V2
|
|
20
|
-
# The
|
|
20
|
+
# The data object containing the reference table configuration and state.
|
|
21
21
|
class TableResultV2Data
|
|
22
22
|
include BaseGenericModel
|
|
23
23
|
|
|
24
|
-
#
|
|
24
|
+
# Attributes that define the reference table's configuration and properties.
|
|
25
25
|
attr_accessor :attributes
|
|
26
26
|
|
|
27
|
-
#
|
|
27
|
+
# Unique identifier for the reference table.
|
|
28
28
|
attr_accessor :id
|
|
29
29
|
|
|
30
30
|
# Reference table resource type.
|
|
31
31
|
attr_reader :type
|
|
32
32
|
|
|
33
|
-
attr_accessor :additional_properties
|
|
34
|
-
|
|
35
33
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
36
34
|
# @!visibility private
|
|
37
35
|
def self.attribute_map
|
|
@@ -60,14 +58,12 @@ module DatadogAPIClient::V2
|
|
|
60
58
|
fail ArgumentError, "The input argument (attributes) must be a hash in `DatadogAPIClient::V2::TableResultV2Data` initialize method"
|
|
61
59
|
end
|
|
62
60
|
|
|
63
|
-
self.additional_properties = {}
|
|
64
61
|
# check to see if the attribute exists and convert string to symbol for hash key
|
|
65
62
|
attributes = attributes.each_with_object({}) { |(k, v), h|
|
|
66
63
|
if (!self.class.attribute_map.key?(k.to_sym))
|
|
67
|
-
|
|
68
|
-
else
|
|
69
|
-
h[k.to_sym] = v
|
|
64
|
+
fail ArgumentError, "`#{k}` is not a valid attribute in `DatadogAPIClient::V2::TableResultV2Data`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
|
|
70
65
|
end
|
|
66
|
+
h[k.to_sym] = v
|
|
71
67
|
}
|
|
72
68
|
|
|
73
69
|
if attributes.key?(:'attributes')
|
|
@@ -101,26 +97,6 @@ module DatadogAPIClient::V2
|
|
|
101
97
|
@type = type
|
|
102
98
|
end
|
|
103
99
|
|
|
104
|
-
# Returns the object in the form of hash, with additionalProperties support.
|
|
105
|
-
# @return [Hash] Returns the object in the form of hash
|
|
106
|
-
# @!visibility private
|
|
107
|
-
def to_hash
|
|
108
|
-
hash = {}
|
|
109
|
-
self.class.attribute_map.each_pair do |attr, param|
|
|
110
|
-
value = self.send(attr)
|
|
111
|
-
if value.nil?
|
|
112
|
-
is_nullable = self.class.openapi_nullable.include?(attr)
|
|
113
|
-
next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}"))
|
|
114
|
-
end
|
|
115
|
-
|
|
116
|
-
hash[param] = _to_hash(value)
|
|
117
|
-
end
|
|
118
|
-
self.additional_properties.each_pair do |attr, value|
|
|
119
|
-
hash[attr] = value
|
|
120
|
-
end
|
|
121
|
-
hash
|
|
122
|
-
end
|
|
123
|
-
|
|
124
100
|
# Checks equality by comparing each attribute.
|
|
125
101
|
# @param o [Object] Object to be compared
|
|
126
102
|
# @!visibility private
|
|
@@ -129,15 +105,14 @@ module DatadogAPIClient::V2
|
|
|
129
105
|
self.class == o.class &&
|
|
130
106
|
attributes == o.attributes &&
|
|
131
107
|
id == o.id &&
|
|
132
|
-
type == o.type
|
|
133
|
-
additional_properties == o.additional_properties
|
|
108
|
+
type == o.type
|
|
134
109
|
end
|
|
135
110
|
|
|
136
111
|
# Calculates hash code according to all attributes.
|
|
137
112
|
# @return [Integer] Hash code
|
|
138
113
|
# @!visibility private
|
|
139
114
|
def hash
|
|
140
|
-
[attributes, id, type
|
|
115
|
+
[attributes, id, type].hash
|
|
141
116
|
end
|
|
142
117
|
end
|
|
143
118
|
end
|
|
@@ -17,17 +17,17 @@ require 'date'
|
|
|
17
17
|
require 'time'
|
|
18
18
|
|
|
19
19
|
module DatadogAPIClient::V2
|
|
20
|
-
#
|
|
20
|
+
# Attributes that define the reference table's configuration and properties.
|
|
21
21
|
class TableResultV2DataAttributes
|
|
22
22
|
include BaseGenericModel
|
|
23
23
|
|
|
24
24
|
# UUID of the user who created the reference table.
|
|
25
25
|
attr_accessor :created_by
|
|
26
26
|
|
|
27
|
-
#
|
|
27
|
+
# Optional text describing the purpose or contents of this reference table.
|
|
28
28
|
attr_accessor :description
|
|
29
29
|
|
|
30
|
-
#
|
|
30
|
+
# Metadata specifying where and how to access the reference table's data file.
|
|
31
31
|
attr_accessor :file_metadata
|
|
32
32
|
|
|
33
33
|
# UUID of the user who last updated the reference table.
|
|
@@ -36,22 +36,22 @@ module DatadogAPIClient::V2
|
|
|
36
36
|
# The number of successfully processed rows in the reference table.
|
|
37
37
|
attr_accessor :row_count
|
|
38
38
|
|
|
39
|
-
#
|
|
39
|
+
# Schema defining the structure and columns of the reference table.
|
|
40
40
|
attr_accessor :schema
|
|
41
41
|
|
|
42
42
|
# The source type for reference table data. Includes all possible source types that can appear in responses.
|
|
43
43
|
attr_accessor :source
|
|
44
44
|
|
|
45
|
-
# The status of the
|
|
45
|
+
# The processing status of the table.
|
|
46
46
|
attr_accessor :status
|
|
47
47
|
|
|
48
|
-
#
|
|
48
|
+
# Unique name to identify this reference table. Used in enrichment processors and API calls.
|
|
49
49
|
attr_accessor :table_name
|
|
50
50
|
|
|
51
|
-
#
|
|
51
|
+
# Tags for organizing and filtering reference tables.
|
|
52
52
|
attr_accessor :tags
|
|
53
53
|
|
|
54
|
-
#
|
|
54
|
+
# When the reference table was last updated, in ISO 8601 format.
|
|
55
55
|
attr_accessor :updated_at
|
|
56
56
|
|
|
57
57
|
attr_accessor :additional_properties
|
|
@@ -17,7 +17,7 @@ require 'date'
|
|
|
17
17
|
require 'time'
|
|
18
18
|
|
|
19
19
|
module DatadogAPIClient::V2
|
|
20
|
-
#
|
|
20
|
+
# Metadata specifying where and how to access the reference table's data file.
|
|
21
21
|
module TableResultV2DataAttributesFileMetadata
|
|
22
22
|
class << self
|
|
23
23
|
include BaseOneOfModel
|