Skip to content

Commit 7cd15a7

Browse files
api-clients-generation-pipeline[bot]ci.datadog-api-spec
andauthored
Add more Security Monitoring Data Source enum values (#2999)
Co-authored-by: ci.datadog-api-spec <[email protected]>
1 parent e91b37d commit 7cd15a7

File tree

3 files changed

+22
-6
lines changed

3 files changed

+22
-6
lines changed

.apigentools-info

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,13 @@
44
"spec_versions": {
55
"v1": {
66
"apigentools_version": "1.6.6",
7-
"regenerated": "2025-04-01 23:26:28.438369",
8-
"spec_repo_commit": "2000c9c8"
7+
"regenerated": "2025-04-02 19:55:32.383429",
8+
"spec_repo_commit": "1cc45c45"
99
},
1010
"v2": {
1111
"apigentools_version": "1.6.6",
12-
"regenerated": "2025-04-01 23:26:28.453981",
13-
"spec_repo_commit": "2000c9c8"
12+
"regenerated": "2025-04-02 19:55:32.399089",
13+
"spec_repo_commit": "1cc45c45"
1414
}
1515
}
1616
}

.generator/schemas/v2/openapi.yaml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27702,11 +27702,19 @@ components:
2770227702
enum:
2770327703
- logs
2770427704
- audit
27705+
- app_sec_spans
27706+
- spans
27707+
- security_runtime
27708+
- network
2770527709
example: logs
2770627710
type: string
2770727711
x-enum-varnames:
2770827712
- LOGS
2770927713
- AUDIT
27714+
- APP_SEC_SPANS
27715+
- SPANS
27716+
- SECURITY_RUNTIME
27717+
- NETWORK
2771027718
SecurityMonitoringStandardRuleCreatePayload:
2771127719
description: Create a new rule.
2771227720
properties:

api/datadogV2/model_security_monitoring_standard_data_source.go

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,13 +15,21 @@ type SecurityMonitoringStandardDataSource string
1515

1616
// List of SecurityMonitoringStandardDataSource.
1717
const (
18-
SECURITYMONITORINGSTANDARDDATASOURCE_LOGS SecurityMonitoringStandardDataSource = "logs"
19-
SECURITYMONITORINGSTANDARDDATASOURCE_AUDIT SecurityMonitoringStandardDataSource = "audit"
18+
SECURITYMONITORINGSTANDARDDATASOURCE_LOGS SecurityMonitoringStandardDataSource = "logs"
19+
SECURITYMONITORINGSTANDARDDATASOURCE_AUDIT SecurityMonitoringStandardDataSource = "audit"
20+
SECURITYMONITORINGSTANDARDDATASOURCE_APP_SEC_SPANS SecurityMonitoringStandardDataSource = "app_sec_spans"
21+
SECURITYMONITORINGSTANDARDDATASOURCE_SPANS SecurityMonitoringStandardDataSource = "spans"
22+
SECURITYMONITORINGSTANDARDDATASOURCE_SECURITY_RUNTIME SecurityMonitoringStandardDataSource = "security_runtime"
23+
SECURITYMONITORINGSTANDARDDATASOURCE_NETWORK SecurityMonitoringStandardDataSource = "network"
2024
)
2125

2226
var allowedSecurityMonitoringStandardDataSourceEnumValues = []SecurityMonitoringStandardDataSource{
2327
SECURITYMONITORINGSTANDARDDATASOURCE_LOGS,
2428
SECURITYMONITORINGSTANDARDDATASOURCE_AUDIT,
29+
SECURITYMONITORINGSTANDARDDATASOURCE_APP_SEC_SPANS,
30+
SECURITYMONITORINGSTANDARDDATASOURCE_SPANS,
31+
SECURITYMONITORINGSTANDARDDATASOURCE_SECURITY_RUNTIME,
32+
SECURITYMONITORINGSTANDARDDATASOURCE_NETWORK,
2533
}
2634

2735
// GetAllowedValues reeturns the list of possible values.

0 commit comments

Comments
 (0)