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 @@ -51424,23 +51424,27 @@ components:
- start_date
- expiration_date
- update_date
- creation_date
- enabled
- -name
- -start_date
- -expiration_date
- -update_date
- -creation_date
- -enabled
type: string
x-enum-varnames:
- NAME
- START_DATE
- EXPIRATION_DATE
- UPDATE_DATE
- CREATION_DATE
- ENABLED
- NAME_DESCENDING
- START_DATE_DESCENDING
- EXPIRATION_DATE_DESCENDING
- UPDATE_DATE_DESCENDING
- CREATION_DATE_DESCENDING
- ENABLED_DESCENDING
SecurityMonitoringSuppressionType:
default: suppressions
Expand Down
2 changes: 1 addition & 1 deletion lib/datadog_api_client/v2/api/security_monitoring_api.rb
Original file line number Diff line number Diff line change
Expand Up @@ -4393,7 +4393,7 @@ def list_security_monitoring_suppressions_with_http_info(opts = {})
if @api_client.config.debugging
@api_client.config.logger.debug 'Calling API: SecurityMonitoringAPI.list_security_monitoring_suppressions ...'
end
allowable_values = ['name', 'start_date', 'expiration_date', 'update_date', 'enabled', '-name', '-start_date', '-expiration_date', '-update_date', '-enabled']
allowable_values = ['name', 'start_date', 'expiration_date', 'update_date', 'creation_date', 'enabled', '-name', '-start_date', '-expiration_date', '-update_date', '-creation_date', '-enabled']
if @api_client.config.client_side_validation && opts[:'sort'] && !allowable_values.include?(opts[:'sort'])
fail ArgumentError, "invalid value for \"sort\", must be one of #{allowable_values}"
end
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,13 @@ class SecurityMonitoringSuppressionSort
START_DATE = "start_date".freeze
EXPIRATION_DATE = "expiration_date".freeze
UPDATE_DATE = "update_date".freeze
CREATION_DATE = "creation_date".freeze
ENABLED = "enabled".freeze
NAME_DESCENDING = "-name".freeze
START_DATE_DESCENDING = "-start_date".freeze
EXPIRATION_DATE_DESCENDING = "-expiration_date".freeze
UPDATE_DATE_DESCENDING = "-update_date".freeze
CREATION_DATE_DESCENDING = "-creation_date".freeze
ENABLED_DESCENDING = "-enabled".freeze
end
end
Loading