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
4 changes: 4 additions & 0 deletions .generator/schemas/v2/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -123847,7 +123847,10 @@ paths:
If you have any feedback, contact [Datadog support](https://docs.datadoghq.com/help/).
/api/v2/compliance_findings/rule_based_view:
get:
deprecated: true
description: |-
**This endpoint is deprecated.** Use the [Security Monitoring - Search Security Findings](https://docs.datadoghq.com/api/latest/security-monitoring/search-security-findings/) endpoint instead.

Get an aggregated view of compliance rules with their pass, fail, and muted finding counts.
Supports filtering by compliance framework, framework version, and additional query filters.
operationId: GetRuleBasedView
Expand Down Expand Up @@ -123925,6 +123928,7 @@ paths:
operator: OR
permissions:
- security_monitoring_findings_read
x-sunset: "2027-06-26"
x-unstable: |-
**Note**: This endpoint is in Preview and subject to change.
If you have any feedback, contact [Datadog support](https://docs.datadoghq.com/help/).
Expand Down
5 changes: 5 additions & 0 deletions lib/datadog_api_client/v2/api/compliance_api.rb
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,13 @@ def get_rule_based_view(to, opts = {})

# Get the rule-based view of compliance findings.
#
# **This endpoint is deprecated.** Use the [Security Monitoring - Search Security Findings](https://docs.datadoghq.com/api/latest/security-monitoring/search-security-findings/) endpoint instead.
#
# Get an aggregated view of compliance rules with their pass, fail, and muted finding counts.
# Supports filtering by compliance framework, framework version, and additional query filters.
#
# @deprecated This API is deprecated.
#
# @param to [Integer] Timestamp of the query end, in milliseconds since the Unix epoch.
# @param opts [Hash] the optional parameters
# @option opts [String] :framework Compliance framework handle to filter rules and findings by.
Expand All @@ -46,6 +50,7 @@ def get_rule_based_view(to, opts = {})
# @option opts [String] :query Additional event-platform filters applied to the underlying findings query. For example, `scored:true project_id:datadog-prod-us5`.
# @return [Array<(RuleBasedViewResponse, Integer, Hash)>] RuleBasedViewResponse data, response status code and response headers
def get_rule_based_view_with_http_info(to, opts = {})
warn "[DEPRECATION] `GetRuleBasedView` is deprecated."
unstable_enabled = @api_client.config.unstable_operations["v2.get_rule_based_view".to_sym]
if unstable_enabled
@api_client.config.logger.warn format("Using unstable operation '%s'", "v2.get_rule_based_view")
Expand Down
Loading