Skip to content

Commit b8af33d

Browse files
api-clients-generation-pipeline[bot]ci.datadog-api-spec
andauthored
Remove Compliance Findings rule-based view endpoint from OpenAPI v2 (#1790)
Co-authored-by: ci.datadog-api-spec <packages@datadoghq.com>
1 parent c718e44 commit b8af33d

2 files changed

Lines changed: 8 additions & 0 deletions

File tree

.generator/schemas/v2/openapi.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -123939,7 +123939,10 @@ paths:
123939123939
If you have any feedback, contact [Datadog support](https://docs.datadoghq.com/help/).
123940123940
/api/v2/compliance_findings/rule_based_view:
123941123941
get:
123942+
deprecated: true
123942123943
description: |-
123944+
**This endpoint is deprecated.** Use the [Security Monitoring - Search Security Findings](https://docs.datadoghq.com/api/latest/security-monitoring/search-security-findings/) endpoint instead.
123945+
123943123946
Get an aggregated view of compliance rules with their pass, fail, and muted finding counts.
123944123947
Supports filtering by compliance framework, framework version, and additional query filters.
123945123948
operationId: GetRuleBasedView
@@ -124017,6 +124020,7 @@ paths:
124017124020
operator: OR
124018124021
permissions:
124019124022
- security_monitoring_findings_read
124023+
x-sunset: "2027-06-26"
124020124024
x-unstable: |-
124021124025
**Note**: This endpoint is in Preview and subject to change.
124022124026
If you have any feedback, contact [Datadog support](https://docs.datadoghq.com/help/).

src/datadogV2/api/api_compliance.rs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -143,6 +143,8 @@ impl ComplianceAPI {
143143
Self { config, client }
144144
}
145145

146+
/// **This endpoint is deprecated.** Use the [Security Monitoring - Search Security Findings](<https://docs.datadoghq.com/api/latest/security-monitoring/search-security-findings/>) endpoint instead.
147+
///
146148
/// Get an aggregated view of compliance rules with their pass, fail, and muted finding counts.
147149
/// Supports filtering by compliance framework, framework version, and additional query filters.
148150
pub async fn get_rule_based_view(
@@ -165,6 +167,8 @@ impl ComplianceAPI {
165167
}
166168
}
167169

170+
/// **This endpoint is deprecated.** Use the [Security Monitoring - Search Security Findings](<https://docs.datadoghq.com/api/latest/security-monitoring/search-security-findings/>) endpoint instead.
171+
///
168172
/// Get an aggregated view of compliance rules with their pass, fail, and muted finding counts.
169173
/// Supports filtering by compliance framework, framework version, and additional query filters.
170174
pub async fn get_rule_based_view_with_http_info(

0 commit comments

Comments
 (0)