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
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion .generator/schemas/v2/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -38013,7 +38013,6 @@ components:
type: array
required:
- name
- tags
- pattern
- scope
- on_match
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ pub struct ObservabilityPipelineSensitiveDataScannerProcessorRule {
pub scope: crate::datadogV2::model::ObservabilityPipelineSensitiveDataScannerProcessorScope,
/// Tags assigned to this rule for filtering and classification.
#[serde(rename = "tags")]
pub tags: Vec<String>,
pub tags: Option<Vec<String>>,
#[serde(flatten)]
pub additional_properties: std::collections::BTreeMap<String, serde_json::Value>,
#[serde(skip)]
Expand All @@ -44,15 +44,14 @@ impl ObservabilityPipelineSensitiveDataScannerProcessorRule {
on_match: crate::datadogV2::model::ObservabilityPipelineSensitiveDataScannerProcessorAction,
pattern: crate::datadogV2::model::ObservabilityPipelineSensitiveDataScannerProcessorPattern,
scope: crate::datadogV2::model::ObservabilityPipelineSensitiveDataScannerProcessorScope,
tags: Vec<String>,
) -> ObservabilityPipelineSensitiveDataScannerProcessorRule {
ObservabilityPipelineSensitiveDataScannerProcessorRule {
keyword_options: None,
name,
on_match,
pattern,
scope,
tags,
tags: None,
additional_properties: std::collections::BTreeMap::new(),
_unparsed: false,
}
Expand All @@ -66,6 +65,11 @@ impl ObservabilityPipelineSensitiveDataScannerProcessorRule {
self
}

pub fn tags(mut self, value: Vec<String>) -> Self {
self.tags = Some(value);
self
}

pub fn additional_properties(
mut self,
value: std::collections::BTreeMap<String, serde_json::Value>,
Expand Down Expand Up @@ -150,6 +154,9 @@ impl<'de> Deserialize<'de> for ObservabilityPipelineSensitiveDataScannerProcesso
}
}
"tags" => {
if v.is_null() {
continue;
}
tags = Some(serde_json::from_value(v).map_err(M::Error::custom)?);
}
&_ => {
Expand All @@ -163,7 +170,6 @@ impl<'de> Deserialize<'de> for ObservabilityPipelineSensitiveDataScannerProcesso
let on_match = on_match.ok_or_else(|| M::Error::missing_field("on_match"))?;
let pattern = pattern.ok_or_else(|| M::Error::missing_field("pattern"))?;
let scope = scope.ok_or_else(|| M::Error::missing_field("scope"))?;
let tags = tags.ok_or_else(|| M::Error::missing_field("tags"))?;

let content = ObservabilityPipelineSensitiveDataScannerProcessorRule {
keyword_options,
Expand Down
Original file line number Diff line number Diff line change
@@ -1 +1 @@
2025-12-18T16:15:15.575Z
2025-12-29T13:36:16.648Z
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
"message": "Bad Request"
}
},
"recorded_at": "Thu, 18 Dec 2025 16:15:15 GMT"
"recorded_at": "Mon, 29 Dec 2025 13:36:16 GMT"
}
],
"recorded_with": "VCR 6.0.0"
Expand Down
Original file line number Diff line number Diff line change
@@ -1 +1 @@
2025-12-18T16:15:16.062Z
2025-12-29T13:36:17.096Z
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
},
"response": {
"body": {
"string": "{\"data\":{\"id\":\"bd8d693c-dc2c-11f0-bf69-da7ad0900002\",\"type\":\"pipelines\",\"attributes\":{\"name\":\"Main Observability Pipeline\",\"config\":{\"destinations\":[{\"id\":\"datadog-logs-destination\",\"inputs\":[\"my-processor-group\"],\"type\":\"datadog_logs\"}],\"processors\":[{\"enabled\":true,\"id\":\"my-processor-group\",\"include\":\"service:my-service\",\"inputs\":[\"datadog-agent-source\"],\"processors\":[{\"enabled\":true,\"id\":\"filter-processor\",\"include\":\"status:error\",\"type\":\"filter\"}]}],\"sources\":[{\"id\":\"datadog-agent-source\",\"type\":\"datadog_agent\"}]}}}}\n",
"string": "{\"data\":{\"id\":\"5a66a868-e4bb-11f0-860b-da7ad0900002\",\"type\":\"pipelines\",\"attributes\":{\"name\":\"Main Observability Pipeline\",\"config\":{\"destinations\":[{\"id\":\"datadog-logs-destination\",\"inputs\":[\"my-processor-group\"],\"type\":\"datadog_logs\"}],\"processors\":[{\"enabled\":true,\"id\":\"my-processor-group\",\"include\":\"service:my-service\",\"inputs\":[\"datadog-agent-source\"],\"processors\":[{\"enabled\":true,\"id\":\"filter-processor\",\"include\":\"status:error\",\"type\":\"filter\"}]}],\"sources\":[{\"id\":\"datadog-agent-source\",\"type\":\"datadog_agent\"}]}}}}\n",
"encoding": null
},
"headers": {
Expand All @@ -32,7 +32,7 @@
"message": "Created"
}
},
"recorded_at": "Thu, 18 Dec 2025 16:15:16 GMT"
"recorded_at": "Mon, 29 Dec 2025 13:36:17 GMT"
},
{
"request": {
Expand All @@ -43,7 +43,7 @@
]
},
"method": "delete",
"uri": "https://api.datadoghq.com/api/v2/remote_config/products/obs_pipelines/pipelines/bd8d693c-dc2c-11f0-bf69-da7ad0900002"
"uri": "https://api.datadoghq.com/api/v2/remote_config/products/obs_pipelines/pipelines/5a66a868-e4bb-11f0-860b-da7ad0900002"
},
"response": {
"body": {
Expand All @@ -60,7 +60,7 @@
"message": "No Content"
}
},
"recorded_at": "Thu, 18 Dec 2025 16:15:16 GMT"
"recorded_at": "Mon, 29 Dec 2025 13:36:17 GMT"
}
],
"recorded_with": "VCR 6.0.0"
Expand Down
Original file line number Diff line number Diff line change
@@ -1 +1 @@
2025-12-18T16:15:17.165Z
2025-12-29T13:36:18.302Z
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
"message": "Not Found"
}
},
"recorded_at": "Thu, 18 Dec 2025 16:15:17 GMT"
"recorded_at": "Mon, 29 Dec 2025 13:36:18 GMT"
}
],
"recorded_with": "VCR 6.0.0"
Expand Down
Original file line number Diff line number Diff line change
@@ -1 +1 @@
2025-12-18T16:15:17.716Z
2025-12-29T13:36:18.797Z
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
},
"response": {
"body": {
"string": "{\"data\":{\"id\":\"be89fea4-dc2c-11f0-bdea-da7ad0900002\",\"type\":\"pipelines\",\"attributes\":{\"name\":\"Main Observability Pipeline\",\"config\":{\"destinations\":[{\"id\":\"datadog-logs-destination\",\"inputs\":[\"processor-group-0\"],\"type\":\"datadog_logs\"}],\"processors\":[{\"display_name\":\"My Processor Group\",\"enabled\":true,\"id\":\"processor-group-0\",\"include\":\"service:my-service\",\"inputs\":[\"datadog-agent-source\"],\"processors\":[{\"display_name\":\"My Filter Processor\",\"enabled\":true,\"id\":\"filter-processor\",\"include\":\"status:error\",\"type\":\"filter\"}]}],\"sources\":[{\"id\":\"datadog-agent-source\",\"type\":\"datadog_agent\"}]}}}}\n",
"string": "{\"data\":{\"id\":\"5b68c5de-e4bb-11f0-860d-da7ad0900002\",\"type\":\"pipelines\",\"attributes\":{\"name\":\"Main Observability Pipeline\",\"config\":{\"destinations\":[{\"id\":\"datadog-logs-destination\",\"inputs\":[\"processor-group-0\"],\"type\":\"datadog_logs\"}],\"processors\":[{\"display_name\":\"My Processor Group\",\"enabled\":true,\"id\":\"processor-group-0\",\"include\":\"service:my-service\",\"inputs\":[\"datadog-agent-source\"],\"processors\":[{\"display_name\":\"My Filter Processor\",\"enabled\":true,\"id\":\"filter-processor\",\"include\":\"status:error\",\"type\":\"filter\"}]}],\"sources\":[{\"id\":\"datadog-agent-source\",\"type\":\"datadog_agent\"}]}}}}\n",
"encoding": null
},
"headers": {
Expand All @@ -32,7 +32,7 @@
"message": "Created"
}
},
"recorded_at": "Thu, 18 Dec 2025 16:15:17 GMT"
"recorded_at": "Mon, 29 Dec 2025 13:36:18 GMT"
},
{
"request": {
Expand All @@ -43,7 +43,7 @@
]
},
"method": "delete",
"uri": "https://api.datadoghq.com/api/v2/remote_config/products/obs_pipelines/pipelines/be89fea4-dc2c-11f0-bdea-da7ad0900002"
"uri": "https://api.datadoghq.com/api/v2/remote_config/products/obs_pipelines/pipelines/5b68c5de-e4bb-11f0-860d-da7ad0900002"
},
"response": {
"body": {
Expand All @@ -60,7 +60,7 @@
"message": "No Content"
}
},
"recorded_at": "Thu, 18 Dec 2025 16:15:17 GMT"
"recorded_at": "Mon, 29 Dec 2025 13:36:18 GMT"
},
{
"request": {
Expand All @@ -71,7 +71,7 @@
]
},
"method": "delete",
"uri": "https://api.datadoghq.com/api/v2/remote_config/products/obs_pipelines/pipelines/be89fea4-dc2c-11f0-bdea-da7ad0900002"
"uri": "https://api.datadoghq.com/api/v2/remote_config/products/obs_pipelines/pipelines/5b68c5de-e4bb-11f0-860d-da7ad0900002"
},
"response": {
"body": {
Expand All @@ -88,7 +88,7 @@
"message": "Not Found"
}
},
"recorded_at": "Thu, 18 Dec 2025 16:15:17 GMT"
"recorded_at": "Mon, 29 Dec 2025 13:36:18 GMT"
}
],
"recorded_with": "VCR 6.0.0"
Expand Down
Original file line number Diff line number Diff line change
@@ -1 +1 @@
2025-12-18T16:15:20.018Z
2025-12-29T13:36:20.717Z
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
},
"response": {
"body": {
"string": "{\"data\":{\"id\":\"bfe664a4-dc2c-11f0-bdec-da7ad0900002\",\"type\":\"pipelines\",\"attributes\":{\"name\":\"Main Observability Pipeline\",\"config\":{\"destinations\":[{\"id\":\"datadog-logs-destination\",\"inputs\":[\"processor-group-0\"],\"type\":\"datadog_logs\"}],\"processors\":[{\"display_name\":\"My Processor Group\",\"enabled\":true,\"id\":\"processor-group-0\",\"include\":\"service:my-service\",\"inputs\":[\"datadog-agent-source\"],\"processors\":[{\"display_name\":\"My Filter Processor\",\"enabled\":true,\"id\":\"filter-processor\",\"include\":\"status:error\",\"type\":\"filter\"}]}],\"sources\":[{\"id\":\"datadog-agent-source\",\"type\":\"datadog_agent\"}]}}}}\n",
"string": "{\"data\":{\"id\":\"5c8efa0a-e4bb-11f0-860f-da7ad0900002\",\"type\":\"pipelines\",\"attributes\":{\"name\":\"Main Observability Pipeline\",\"config\":{\"destinations\":[{\"id\":\"datadog-logs-destination\",\"inputs\":[\"processor-group-0\"],\"type\":\"datadog_logs\"}],\"processors\":[{\"display_name\":\"My Processor Group\",\"enabled\":true,\"id\":\"processor-group-0\",\"include\":\"service:my-service\",\"inputs\":[\"datadog-agent-source\"],\"processors\":[{\"display_name\":\"My Filter Processor\",\"enabled\":true,\"id\":\"filter-processor\",\"include\":\"status:error\",\"type\":\"filter\"}]}],\"sources\":[{\"id\":\"datadog-agent-source\",\"type\":\"datadog_agent\"}]}}}}\n",
"encoding": null
},
"headers": {
Expand All @@ -32,7 +32,7 @@
"message": "Created"
}
},
"recorded_at": "Thu, 18 Dec 2025 16:15:20 GMT"
"recorded_at": "Mon, 29 Dec 2025 13:36:20 GMT"
},
{
"request": {
Expand All @@ -43,11 +43,11 @@
]
},
"method": "get",
"uri": "https://api.datadoghq.com/api/v2/remote_config/products/obs_pipelines/pipelines/bfe664a4-dc2c-11f0-bdec-da7ad0900002"
"uri": "https://api.datadoghq.com/api/v2/remote_config/products/obs_pipelines/pipelines/5c8efa0a-e4bb-11f0-860f-da7ad0900002"
},
"response": {
"body": {
"string": "{\"data\":{\"id\":\"bfe664a4-dc2c-11f0-bdec-da7ad0900002\",\"type\":\"pipelines\",\"attributes\":{\"name\":\"Main Observability Pipeline\",\"config\":{\"destinations\":[{\"id\":\"datadog-logs-destination\",\"inputs\":[\"processor-group-0\"],\"type\":\"datadog_logs\"}],\"processors\":[{\"display_name\":\"My Processor Group\",\"enabled\":true,\"id\":\"processor-group-0\",\"include\":\"service:my-service\",\"inputs\":[\"datadog-agent-source\"],\"processors\":[{\"display_name\":\"My Filter Processor\",\"enabled\":true,\"id\":\"filter-processor\",\"include\":\"status:error\",\"type\":\"filter\"}]}],\"sources\":[{\"id\":\"datadog-agent-source\",\"type\":\"datadog_agent\"}]}}}}\n",
"string": "{\"data\":{\"id\":\"5c8efa0a-e4bb-11f0-860f-da7ad0900002\",\"type\":\"pipelines\",\"attributes\":{\"name\":\"Main Observability Pipeline\",\"config\":{\"destinations\":[{\"id\":\"datadog-logs-destination\",\"inputs\":[\"processor-group-0\"],\"type\":\"datadog_logs\"}],\"processors\":[{\"display_name\":\"My Processor Group\",\"enabled\":true,\"id\":\"processor-group-0\",\"include\":\"service:my-service\",\"inputs\":[\"datadog-agent-source\"],\"processors\":[{\"display_name\":\"My Filter Processor\",\"enabled\":true,\"id\":\"filter-processor\",\"include\":\"status:error\",\"type\":\"filter\"}]}],\"sources\":[{\"id\":\"datadog-agent-source\",\"type\":\"datadog_agent\"}]}}}}\n",
"encoding": null
},
"headers": {
Expand All @@ -60,7 +60,7 @@
"message": "OK"
}
},
"recorded_at": "Thu, 18 Dec 2025 16:15:20 GMT"
"recorded_at": "Mon, 29 Dec 2025 13:36:20 GMT"
},
{
"request": {
Expand All @@ -71,7 +71,7 @@
]
},
"method": "delete",
"uri": "https://api.datadoghq.com/api/v2/remote_config/products/obs_pipelines/pipelines/bfe664a4-dc2c-11f0-bdec-da7ad0900002"
"uri": "https://api.datadoghq.com/api/v2/remote_config/products/obs_pipelines/pipelines/5c8efa0a-e4bb-11f0-860f-da7ad0900002"
},
"response": {
"body": {
Expand All @@ -88,7 +88,7 @@
"message": "No Content"
}
},
"recorded_at": "Thu, 18 Dec 2025 16:15:20 GMT"
"recorded_at": "Mon, 29 Dec 2025 13:36:20 GMT"
}
],
"recorded_with": "VCR 6.0.0"
Expand Down
Original file line number Diff line number Diff line change
@@ -1 +1 @@
2025-12-18T16:15:22.038Z
2025-12-29T13:36:22.931Z
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
"message": "Bad Request"
}
},
"recorded_at": "Thu, 18 Dec 2025 16:15:22 GMT"
"recorded_at": "Mon, 29 Dec 2025 13:36:22 GMT"
}
],
"recorded_with": "VCR 6.0.0"
Expand Down
Original file line number Diff line number Diff line change
@@ -1 +1 @@
2025-12-18T16:15:22.507Z
2025-12-29T13:36:23.399Z
Loading
Loading