Skip to content

Commit 54bae57

Browse files
api-clients-generation-pipeline[bot]ci.datadog-api-spec
andauthored
Add suppression sort by create date (#3618)
Co-authored-by: ci.datadog-api-spec <packages@datadoghq.com>
1 parent b810aa1 commit 54bae57

2 files changed

Lines changed: 4 additions & 0 deletions

File tree

.generator/schemas/v2/openapi.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55909,6 +55909,7 @@ components:
5590955909
- -start_date
5591055910
- -expiration_date
5591155911
- -update_date
55912+
- -creation_date
5591255913
- -enabled
5591355914
type: string
5591455915
x-enum-varnames:
@@ -55921,6 +55922,7 @@ components:
5592155922
- START_DATE_DESCENDING
5592255923
- EXPIRATION_DATE_DESCENDING
5592355924
- UPDATE_DATE_DESCENDING
55925+
- CREATION_DATE_DESCENDING
5592455926
- ENABLED_DESCENDING
5592555927
SecurityMonitoringSuppressionType:
5592655928
default: suppressions

api/datadogV2/model_security_monitoring_suppression_sort.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ const (
2424
SECURITYMONITORINGSUPPRESSIONSORT_START_DATE_DESCENDING SecurityMonitoringSuppressionSort = "-start_date"
2525
SECURITYMONITORINGSUPPRESSIONSORT_EXPIRATION_DATE_DESCENDING SecurityMonitoringSuppressionSort = "-expiration_date"
2626
SECURITYMONITORINGSUPPRESSIONSORT_UPDATE_DATE_DESCENDING SecurityMonitoringSuppressionSort = "-update_date"
27+
SECURITYMONITORINGSUPPRESSIONSORT_CREATION_DATE_DESCENDING SecurityMonitoringSuppressionSort = "-creation_date"
2728
SECURITYMONITORINGSUPPRESSIONSORT_ENABLED_DESCENDING SecurityMonitoringSuppressionSort = "-enabled"
2829
)
2930

@@ -37,6 +38,7 @@ var allowedSecurityMonitoringSuppressionSortEnumValues = []SecurityMonitoringSup
3738
SECURITYMONITORINGSUPPRESSIONSORT_START_DATE_DESCENDING,
3839
SECURITYMONITORINGSUPPRESSIONSORT_EXPIRATION_DATE_DESCENDING,
3940
SECURITYMONITORINGSUPPRESSIONSORT_UPDATE_DATE_DESCENDING,
41+
SECURITYMONITORINGSUPPRESSIONSORT_CREATION_DATE_DESCENDING,
4042
SECURITYMONITORINGSUPPRESSIONSORT_ENABLED_DESCENDING,
4143
}
4244

0 commit comments

Comments
 (0)