Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
8 changes: 4 additions & 4 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -37,9 +37,9 @@ form-data-builder = "1.0.1"
futures-core = "0.3.30"
lazy_static = "1.4.0"
log = "0.4.20"
reqwest = { version = "0.11.24", features = ["multipart"], default-features = false }
reqwest-middleware = "0.2.5"
reqwest-retry = "0.3.0"
reqwest = { version = "0.12", features = ["multipart"], default-features = false }
reqwest-middleware = "0.4"
reqwest-retry = "0.7"
serde = { version = "1.0.197", features = ["derive"] }
serde_json = "1.0.114"
serde_with = "3.6.1"
Expand All @@ -59,7 +59,7 @@ futures = "0.3.28"
futures-util = "0.3.30"
minijinja = "1.0.10"
regex = "1.9.5"
rvcr = { git = "https://github.com/nkzou/rvcr.git", rev = "cb6911dcd05300a95647ed915b94645679fd80eb" }
rvcr = { git = "https://github.com/whamcloud/rvcr.git", rev = "2af5a6b7313c4ed89e6d7073779268b85d33d06d" }
sha256 = "1.4.0"
tokio = { version = "1.10", features = ["macros", "rt-multi-thread", "time"] }
urlencoding = "2.1.3"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,7 @@
{
"request": {
"body": "",
"headers": {
"Accept": [
"application/json"
]
},
"headers": {},
"method": "get",
"uri": "https://api.datadoghq.com/api/v1/validate"
},
Expand All @@ -30,4 +26,4 @@
}
],
"recorded_with": "VCR 6.0.0"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,7 @@
{
"request": {
"body": "",
"headers": {
"Accept": [
"application/json"
]
},
"headers": {},
"method": "get",
"uri": "https://api.datadoghq.com/api/v1/validate"
},
Expand All @@ -30,4 +26,4 @@
}
],
"recorded_with": "VCR 6.0.0"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,7 @@
"string": "{\"account_id\":\"171234183000\",\"account_specific_namespace_rules\":{\"auto_scaling\":false},\"cspm_resource_collection_enabled\":true,\"excluded_regions\":[\"us-east-1\",\"us-west-2\"],\"extended_resource_collection_enabled\":true,\"filter_tags\":[\"$KEY:$VALUE\"],\"host_tags\":[\"$KEY:$VALUE\"],\"metrics_collection_enabled\":false,\"role_name\":\"DatadogAWSIntegrationRole\"}",
"encoding": null
},
"headers": {
"Accept": [
"application/json"
],
"Content-Type": [
"application/json"
]
},
"headers": {},
"method": "post",
"uri": "https://api.datadoghq.com/api/v1/integration/aws"
},
Expand All @@ -40,14 +33,7 @@
"string": "{\"account_id\":\"171234183000\",\"role_name\":\"DatadogAWSIntegrationRole\"}",
"encoding": null
},
"headers": {
"Accept": [
"application/json"
],
"Content-Type": [
"application/json"
]
},
"headers": {},
"method": "delete",
"uri": "https://api.datadoghq.com/api/v1/integration/aws"
},
Expand All @@ -70,4 +56,4 @@
}
],
"recorded_with": "VCR 6.0.0"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,7 @@
"string": "{\"account_id\":\"171234183200\",\"account_specific_namespace_rules\":{\"auto_scaling\":false},\"cspm_resource_collection_enabled\":true,\"excluded_regions\":[\"us-east-1\",\"us-west-2\"],\"extended_resource_collection_enabled\":true,\"filter_tags\":[\"$KEY:$VALUE\"],\"host_tags\":[\"$KEY:$VALUE\"],\"metrics_collection_enabled\":false,\"role_name\":\"DatadogAWSIntegrationRole\"}",
"encoding": null
},
"headers": {
"Accept": [
"application/json"
],
"Content-Type": [
"application/json"
]
},
"headers": {},
"method": "post",
"uri": "https://api.datadoghq.com/api/v1/integration/aws"
},
Expand All @@ -40,14 +33,7 @@
"string": "{\"account_id\":\"171234183200\",\"role_name\":\"DatadogAWSIntegrationRole\"}",
"encoding": null
},
"headers": {
"Accept": [
"application/json"
],
"Content-Type": [
"application/json"
]
},
"headers": {},
"method": "delete",
"uri": "https://api.datadoghq.com/api/v1/integration/aws"
},
Expand All @@ -74,14 +60,7 @@
"string": "{\"account_id\":\"171234183200\",\"role_name\":\"DatadogAWSIntegrationRole\"}",
"encoding": null
},
"headers": {
"Accept": [
"application/json"
],
"Content-Type": [
"application/json"
]
},
"headers": {},
"method": "delete",
"uri": "https://api.datadoghq.com/api/v1/integration/aws"
},
Expand All @@ -104,4 +83,4 @@
}
],
"recorded_with": "VCR 6.0.0"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,7 @@
"string": "{\"account_id\":\"171234183400\",\"account_specific_namespace_rules\":{\"auto_scaling\":false},\"cspm_resource_collection_enabled\":true,\"excluded_regions\":[\"us-east-1\",\"us-west-2\"],\"extended_resource_collection_enabled\":true,\"filter_tags\":[\"$KEY:$VALUE\"],\"host_tags\":[\"$KEY:$VALUE\"],\"metrics_collection_enabled\":false,\"role_name\":\"DatadogAWSIntegrationRole\"}",
"encoding": null
},
"headers": {
"Accept": [
"application/json"
],
"Content-Type": [
"application/json"
]
},
"headers": {},
"method": "post",
"uri": "https://api.datadoghq.com/api/v1/integration/aws"
},
Expand All @@ -40,14 +33,7 @@
"string": "{\"account_id\":\"171234183400\",\"account_specific_namespace_rules\":{\"auto_scaling\":false},\"cspm_resource_collection_enabled\":false,\"excluded_regions\":[\"us-east-1\",\"us-west-2\"],\"extended_resource_collection_enabled\":true,\"filter_tags\":[\"$KEY:$VALUE\"],\"host_tags\":[\"$KEY:$VALUE\"],\"metrics_collection_enabled\":true,\"role_name\":\"DatadogAWSIntegrationRole\"}",
"encoding": null
},
"headers": {
"Accept": [
"application/json"
],
"Content-Type": [
"application/json"
]
},
"headers": {},
"method": "put",
"uri": "https://api.datadoghq.com/api/v1/integration/aws?account_id=171234183400&role_name=DatadogAWSIntegrationRole"
},
Expand All @@ -74,14 +60,7 @@
"string": "{\"account_id\":\"171234183400\",\"role_name\":\"DatadogAWSIntegrationRole\"}",
"encoding": null
},
"headers": {
"Accept": [
"application/json"
],
"Content-Type": [
"application/json"
]
},
"headers": {},
"method": "delete",
"uri": "https://api.datadoghq.com/api/v1/integration/aws"
},
Expand All @@ -104,4 +83,4 @@
}
],
"recorded_with": "VCR 6.0.0"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,7 @@
"string": "{\"app_service_plan_filters\":\"key:value,filter:example\",\"automute\":true,\"client_id\":\"17219332-0000-0000-0000-172193325500\",\"client_secret\":\"TestingRh2nx664kUy5dIApvM54T4AtO\",\"container_app_filters\":\"key:value,filter:example\",\"cspm_enabled\":true,\"custom_metrics_enabled\":true,\"errors\":[\"*\"],\"host_filters\":\"key:value,filter:example\",\"new_client_id\":\"17219332-0000-0000-0000-172193325500\",\"new_tenant_name\":\"17219332-0000-0000-0000-172193325500\",\"resource_collection_enabled\":true,\"tenant_name\":\"17219332-0000-0000-0000-172193325500\"}",
"encoding": null
},
"headers": {
"Accept": [
"application/json"
],
"Content-Type": [
"application/json"
]
},
"headers": {},
"method": "post",
"uri": "https://api.datadoghq.com/api/v1/integration/azure"
},
Expand All @@ -40,14 +33,7 @@
"string": "{\"client_id\":\"17219332-0000-0000-0000-172193325500\",\"tenant_name\":\"17219332-0000-0000-0000-172193325500\"}",
"encoding": null
},
"headers": {
"Accept": [
"application/json"
],
"Content-Type": [
"application/json"
]
},
"headers": {},
"method": "delete",
"uri": "https://api.datadoghq.com/api/v1/integration/azure"
},
Expand All @@ -70,4 +56,4 @@
}
],
"recorded_with": "VCR 6.0.0"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,7 @@
"string": "{\"app_service_plan_filters\":\"key:value,filter:example\",\"automute\":true,\"client_id\":\"17344717-0000-0000-0000-173447178000\",\"client_secret\":\"TestingRh2nx664kUy5dIApvM54T4AtO\",\"container_app_filters\":\"key:value,filter:example\",\"cspm_enabled\":true,\"custom_metrics_enabled\":true,\"errors\":[\"*\"],\"host_filters\":\"key:value,filter:example\",\"metrics_enabled\":true,\"metrics_enabled_default\":true,\"new_client_id\":\"17344717-0000-0000-0000-173447178000\",\"new_tenant_name\":\"17344717-0000-0000-0000-173447178000\",\"resource_collection_enabled\":true,\"resource_provider_configs\":[{\"metrics_enabled\":false,\"namespace\":\"Microsoft.Compute\"},{\"metrics_enabled\":false,\"namespace\":\"Microsoft.Web\"}],\"tenant_name\":\"17344717-0000-0000-0000-173447178000\",\"usage_metrics_enabled\":true}",
"encoding": null
},
"headers": {
"Accept": [
"application/json"
],
"Content-Type": [
"application/json"
]
},
"headers": {},
"method": "post",
"uri": "https://api.datadoghq.com/api/v1/integration/azure"
},
Expand All @@ -40,14 +33,7 @@
"string": "{\"client_id\":\"17344717-0000-0000-0000-173447178000\",\"tenant_name\":\"17344717-0000-0000-0000-173447178000\"}",
"encoding": null
},
"headers": {
"Accept": [
"application/json"
],
"Content-Type": [
"application/json"
]
},
"headers": {},
"method": "delete",
"uri": "https://api.datadoghq.com/api/v1/integration/azure"
},
Expand All @@ -74,14 +60,7 @@
"string": "{\"client_id\":\"17344717-0000-0000-0000-173447178000\",\"tenant_name\":\"17344717-0000-0000-0000-173447178000\"}",
"encoding": null
},
"headers": {
"Accept": [
"application/json"
],
"Content-Type": [
"application/json"
]
},
"headers": {},
"method": "delete",
"uri": "https://api.datadoghq.com/api/v1/integration/azure"
},
Expand All @@ -104,4 +83,4 @@
}
],
"recorded_with": "VCR 6.0.0"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,7 @@
"string": "{\"app_service_plan_filters\":\"key:value,filter:example\",\"automute\":true,\"client_id\":\"17344717-0000-0000-0000-173447178100\",\"client_secret\":\"TestingRh2nx664kUy5dIApvM54T4AtO\",\"container_app_filters\":\"key:value,filter:example\",\"cspm_enabled\":true,\"custom_metrics_enabled\":true,\"errors\":[\"*\"],\"host_filters\":\"key:value,filter:example\",\"metrics_enabled\":true,\"metrics_enabled_default\":true,\"new_client_id\":\"17344717-0000-0000-0000-173447178100\",\"new_tenant_name\":\"17344717-0000-0000-0000-173447178100\",\"resource_collection_enabled\":true,\"resource_provider_configs\":[{\"metrics_enabled\":false,\"namespace\":\"Microsoft.Compute\"},{\"metrics_enabled\":false,\"namespace\":\"Microsoft.Web\"}],\"tenant_name\":\"17344717-0000-0000-0000-173447178100\",\"usage_metrics_enabled\":true}",
"encoding": null
},
"headers": {
"Accept": [
"application/json"
],
"Content-Type": [
"application/json"
]
},
"headers": {},
"method": "post",
"uri": "https://api.datadoghq.com/api/v1/integration/azure"
},
Expand All @@ -40,14 +33,7 @@
"string": "{\"app_service_plan_filters\":\"key:value,filter:example\",\"automute\":true,\"client_id\":\"17344717-0000-0000-0000-173447178100\",\"client_secret\":\"TestingRh2nx664kUy5dIApvM54T4AtO\",\"container_app_filters\":\"key:value,filter:example\",\"cspm_enabled\":true,\"custom_metrics_enabled\":true,\"errors\":[\"*\"],\"host_filters\":\"key:value,filter:example\",\"new_client_id\":\"17344717-0000-0000-0000-173447178100\",\"new_tenant_name\":\"17344717-0000-0000-0000-173447178100\",\"resource_collection_enabled\":true,\"tenant_name\":\"17344717-0000-0000-0000-173447178100\"}",
"encoding": null
},
"headers": {
"Accept": [
"application/json"
],
"Content-Type": [
"application/json"
]
},
"headers": {},
"method": "put",
"uri": "https://api.datadoghq.com/api/v1/integration/azure"
},
Expand All @@ -74,14 +60,7 @@
"string": "{\"client_id\":\"17344717-0000-0000-0000-173447178100\",\"tenant_name\":\"17344717-0000-0000-0000-173447178100\"}",
"encoding": null
},
"headers": {
"Accept": [
"application/json"
],
"Content-Type": [
"application/json"
]
},
"headers": {},
"method": "delete",
"uri": "https://api.datadoghq.com/api/v1/integration/azure"
},
Expand All @@ -104,4 +83,4 @@
}
],
"recorded_with": "VCR 6.0.0"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,7 @@
"string": "{\"name\":\"Test-Create_a_dashboard_list_returns_OK_response-1641430221\"}",
"encoding": null
},
"headers": {
"Accept": [
"application/json"
],
"Content-Type": [
"application/json"
]
},
"headers": {},
"method": "post",
"uri": "https://api.datadoghq.com/api/v1/dashboard/lists/manual"
},
Expand All @@ -37,11 +30,7 @@
{
"request": {
"body": "",
"headers": {
"Accept": [
"application/json"
]
},
"headers": {},
"method": "delete",
"uri": "https://api.datadoghq.com/api/v1/dashboard/lists/manual/269879"
},
Expand All @@ -64,4 +53,4 @@
}
],
"recorded_with": "VCR 6.0.0"
}
}
Loading