Skip to content

Commit

Permalink
Regenerate client from commit 3e12345a of spec repo
Browse files Browse the repository at this point in the history
  • Loading branch information
ci.datadog-api-spec committed Feb 6, 2025
1 parent dea7b7d commit 9d18c4e
Show file tree
Hide file tree
Showing 107 changed files with 1,167 additions and 970 deletions.
8 changes: 4 additions & 4 deletions .apigentools-info
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@
"spec_versions": {
"v1": {
"apigentools_version": "1.6.6",
"regenerated": "2025-02-04 14:10:02.073714",
"spec_repo_commit": "4fb9047a"
"regenerated": "2025-02-06 16:51:29.162841",
"spec_repo_commit": "3e12345a"
},
"v2": {
"apigentools_version": "1.6.6",
"regenerated": "2025-02-04 14:10:02.090085",
"spec_repo_commit": "4fb9047a"
"regenerated": "2025-02-06 16:51:29.181155",
"spec_repo_commit": "3e12345a"
}
}
}
117 changes: 104 additions & 13 deletions .generator/schemas/v2/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15657,6 +15657,15 @@ components:
example: 1729843470000
format: int64
type: integer
groupSignalsBy:
description: Additional grouping to perform on top of the existing groups
in the query section. Must be a subset of the existing groups
example:
- service
items:
description: Field to group by.
type: string
type: array
index:
description: Index used to load the data.
example: cloud_siem
Expand Down Expand Up @@ -23184,16 +23193,15 @@ components:
x-enum-varnames:
- RULE
RuleTypes:
description: Security rule types used to filter signals and vulnerabilities
generating notifications.
description: Security rule types used as filters in security rules.
example:
- misconfiguration
- attack_path
items:
$ref: '#/components/schemas/RuleTypesItems'
type: array
RuleTypesItems:
description: 'Security rule types which can be used in notification rules.
description: 'Security rule type which can be used in security rules.

Signal-based notification rules can filter signals based on rule types application_security,
log_detection,
Expand Down Expand Up @@ -24243,6 +24251,11 @@ components:
SecurityMonitoringRuleCase:
description: Case when signal is generated.
properties:
actions:
description: Action to perform for each rule case.
items:
$ref: '#/components/schemas/SecurityMonitoringRuleCaseAction'
type: array
condition:
description: 'A rule case contains logical operations (`>`,`>=`, `&&`, `||`)
to determine if a signal should be generated
Expand All @@ -24261,9 +24274,42 @@ components:
status:
$ref: '#/components/schemas/SecurityMonitoringRuleSeverity'
type: object
SecurityMonitoringRuleCaseAction:
description: Action to perform when a signals trigger. Only available for Application
Security rule type
properties:
options:
$ref: '#/components/schemas/SecurityMonitoringRuleCaseActionOptions'
type:
$ref: '#/components/schemas/SecurityMonitoringRuleCaseActionType'
type: object
SecurityMonitoringRuleCaseActionOptions:
description: Options for the rule action
properties:
duration:
description: Duration of the action in seconds. 0 means no expiration
example: 0
format: int64
minimum: 0
type: integer
type: object
SecurityMonitoringRuleCaseActionType:
description: Type of the action
enum:
- block_ip
- block_user
type: string
x-enum-varnames:
- BLOCK_IP
- BLOCK_USER
SecurityMonitoringRuleCaseCreate:
description: Case when signal is generated.
properties:
actions:
description: Action to perform for each rule case.
items:
$ref: '#/components/schemas/SecurityMonitoringRuleCaseAction'
type: array
condition:
description: 'A case contains logical operations (`>`,`>=`, `&&`, `||`)
to determine if a signal should be generated
Expand Down Expand Up @@ -24725,6 +24771,15 @@ components:
items:
$ref: '#/components/schemas/SecurityMonitoringFilter'
type: array
groupSignalsBy:
description: Additional grouping to perform on top of the existing groups
in the query section. Must be a subset of the existing groups
example:
- service
items:
description: Field to group by.
type: string
type: array
hasExtendedTitle:
description: Whether the notifications include the triggering group-by values
in their title.
Expand Down Expand Up @@ -25430,6 +25485,15 @@ components:
items:
$ref: '#/components/schemas/SecurityMonitoringFilter'
type: array
groupSignalsBy:
description: Additional grouping to perform on top of the existing groups
in the query section. Must be a subset of the existing groups
example:
- service
items:
description: Field to group by.
type: string
type: array
hasExtendedTitle:
description: Whether the notifications include the triggering group-by values
in their title.
Expand Down Expand Up @@ -25502,6 +25566,15 @@ components:
items:
$ref: '#/components/schemas/SecurityMonitoringFilter'
type: array
groupSignalsBy:
description: Additional grouping to perform on top of the existing groups
in the query section. Must be a subset of the existing groups
example:
- service
items:
description: Field to group by.
type: string
type: array
hasExtendedTitle:
description: Whether the notifications include the triggering group-by values
in their title.
Expand Down Expand Up @@ -25643,6 +25716,15 @@ components:
items:
$ref: '#/components/schemas/SecurityMonitoringFilter'
type: array
groupSignalsBy:
description: Additional grouping to perform on top of the existing groups
in the query section. Must be a subset of the existing groups
example:
- service
items:
description: Field to group by.
type: string
type: array
hasExtendedTitle:
description: Whether the notifications include the triggering group-by values
in their title.
Expand Down Expand Up @@ -25720,6 +25802,15 @@ components:
items:
$ref: '#/components/schemas/SecurityMonitoringFilter'
type: array
groupSignalsBy:
description: Additional grouping to perform on top of the existing groups
in the query section. Must be a subset of the existing groups
example:
- service
items:
description: Field to group by.
type: string
type: array
hasExtendedTitle:
description: Whether the notifications include the triggering group-by values
in their title.
Expand Down Expand Up @@ -44078,7 +44169,7 @@ paths:
appKeyAuth: []
- AuthZ:
- security_monitoring_notification_profiles_read
summary: Get the list of signal-based rules
summary: Get the list of signal-based notification rules
tags:
- Security Monitoring
x-permission:
Expand Down Expand Up @@ -44120,7 +44211,7 @@ paths:
appKeyAuth: []
- AuthZ:
- security_monitoring_notification_profiles_write
summary: Create a new signal-based rule
summary: Create a new signal-based notification rule
tags:
- Security Monitoring
x-codegen-request-body-name: body
Expand Down Expand Up @@ -44153,7 +44244,7 @@ paths:
appKeyAuth: []
- AuthZ:
- security_monitoring_notification_profiles_write
summary: Delete a signal-based rule
summary: Delete a signal-based notification rule
tags:
- Security Monitoring
x-permission:
Expand Down Expand Up @@ -44190,7 +44281,7 @@ paths:
appKeyAuth: []
- AuthZ:
- security_monitoring_notification_profiles_read
summary: Get details of a signal-based rule
summary: Get details of a signal-based notification rule
tags:
- Security Monitoring
x-permission:
Expand Down Expand Up @@ -44236,7 +44327,7 @@ paths:
appKeyAuth: []
- AuthZ:
- security_monitoring_notification_profiles_write
summary: Patch a signal-based rule
summary: Patch a signal-based notification rule
tags:
- Security Monitoring
x-codegen-request-body-name: body
Expand Down Expand Up @@ -44636,7 +44727,7 @@ paths:
appKeyAuth: []
- AuthZ:
- security_monitoring_notification_profiles_read
summary: Get the list of vulnerability-based rules
summary: Get the list of vulnerability notification rules
tags:
- Security Monitoring
x-permission:
Expand Down Expand Up @@ -44678,7 +44769,7 @@ paths:
appKeyAuth: []
- AuthZ:
- security_monitoring_notification_profiles_write
summary: Create a new vulnerability-based rule
summary: Create a new vulnerability-based notification rule
tags:
- Security Monitoring
x-codegen-request-body-name: body
Expand Down Expand Up @@ -44711,7 +44802,7 @@ paths:
appKeyAuth: []
- AuthZ:
- security_monitoring_notification_profiles_write
summary: Delete a vulnerability-based rule
summary: Delete a vulnerability-based notification rule
tags:
- Security Monitoring
x-permission:
Expand Down Expand Up @@ -44748,7 +44839,7 @@ paths:
appKeyAuth: []
- AuthZ:
- security_monitoring_notification_profiles_read
summary: Get details of a vulnerability-based rule
summary: Get details of a vulnerability notification rule
tags:
- Security Monitoring
x-permission:
Expand Down Expand Up @@ -44794,7 +44885,7 @@ paths:
appKeyAuth: []
- AuthZ:
- security_monitoring_notification_profiles_write
summary: Patch a vulnerability-based rule
summary: Patch a vulnerability-based notification rule
tags:
- Security Monitoring
x-codegen-request-body-name: body
Expand Down
20 changes: 10 additions & 10 deletions api/datadogV2/api_security_monitoring.go
Original file line number Diff line number Diff line change
Expand Up @@ -529,7 +529,7 @@ func (a *SecurityMonitoringApi) CreateSecurityMonitoringSuppression(ctx _context
return localVarReturnValue, localVarHTTPResponse, nil
}

// CreateSignalNotificationRule Create a new signal-based rule.
// CreateSignalNotificationRule Create a new signal-based notification rule.
// Create a new notification rule for security signals and return the created rule.
func (a *SecurityMonitoringApi) CreateSignalNotificationRule(ctx _context.Context, body CreateNotificationRuleParameters) (NotificationRuleResponse, *_nethttp.Response, error) {
var (
Expand Down Expand Up @@ -602,7 +602,7 @@ func (a *SecurityMonitoringApi) CreateSignalNotificationRule(ctx _context.Contex
return localVarReturnValue, localVarHTTPResponse, nil
}

// CreateVulnerabilityNotificationRule Create a new vulnerability-based rule.
// CreateVulnerabilityNotificationRule Create a new vulnerability-based notification rule.
// Create a new notification rule for security vulnerabilities and return the created rule.
func (a *SecurityMonitoringApi) CreateVulnerabilityNotificationRule(ctx _context.Context, body CreateNotificationRuleParameters) (NotificationRuleResponse, *_nethttp.Response, error) {
var (
Expand Down Expand Up @@ -928,7 +928,7 @@ func (a *SecurityMonitoringApi) DeleteSecurityMonitoringSuppression(ctx _context
return localVarHTTPResponse, nil
}

// DeleteSignalNotificationRule Delete a signal-based rule.
// DeleteSignalNotificationRule Delete a signal-based notification rule.
// Delete a notification rule for security signals.
func (a *SecurityMonitoringApi) DeleteSignalNotificationRule(ctx _context.Context, id string) (*_nethttp.Response, error) {
var (
Expand Down Expand Up @@ -989,7 +989,7 @@ func (a *SecurityMonitoringApi) DeleteSignalNotificationRule(ctx _context.Contex
return localVarHTTPResponse, nil
}

// DeleteVulnerabilityNotificationRule Delete a vulnerability-based rule.
// DeleteVulnerabilityNotificationRule Delete a vulnerability-based notification rule.
// Delete a notification rule for security vulnerabilities.
func (a *SecurityMonitoringApi) DeleteVulnerabilityNotificationRule(ctx _context.Context, id string) (*_nethttp.Response, error) {
var (
Expand Down Expand Up @@ -1856,7 +1856,7 @@ func (a *SecurityMonitoringApi) GetSecurityMonitoringSuppression(ctx _context.Co
return localVarReturnValue, localVarHTTPResponse, nil
}

// GetSignalNotificationRule Get details of a signal-based rule.
// GetSignalNotificationRule Get details of a signal-based notification rule.
// Get the details of a notification rule for security signals.
func (a *SecurityMonitoringApi) GetSignalNotificationRule(ctx _context.Context, id string) (NotificationRuleResponse, *_nethttp.Response, error) {
var (
Expand Down Expand Up @@ -1927,7 +1927,7 @@ func (a *SecurityMonitoringApi) GetSignalNotificationRule(ctx _context.Context,
return localVarReturnValue, localVarHTTPResponse, nil
}

// GetSignalNotificationRules Get the list of signal-based rules.
// GetSignalNotificationRules Get the list of signal-based notification rules.
// Returns the list of notification rules for security signals.
func (a *SecurityMonitoringApi) GetSignalNotificationRules(ctx _context.Context) (interface{}, *_nethttp.Response, error) {
var (
Expand Down Expand Up @@ -1997,7 +1997,7 @@ func (a *SecurityMonitoringApi) GetSignalNotificationRules(ctx _context.Context)
return localVarReturnValue, localVarHTTPResponse, nil
}

// GetVulnerabilityNotificationRule Get details of a vulnerability-based rule.
// GetVulnerabilityNotificationRule Get details of a vulnerability notification rule.
// Get the details of a notification rule for security vulnerabilities.
func (a *SecurityMonitoringApi) GetVulnerabilityNotificationRule(ctx _context.Context, id string) (NotificationRuleResponse, *_nethttp.Response, error) {
var (
Expand Down Expand Up @@ -2068,7 +2068,7 @@ func (a *SecurityMonitoringApi) GetVulnerabilityNotificationRule(ctx _context.Co
return localVarReturnValue, localVarHTTPResponse, nil
}

// GetVulnerabilityNotificationRules Get the list of vulnerability-based rules.
// GetVulnerabilityNotificationRules Get the list of vulnerability notification rules.
// Returns the list of notification rules for security vulnerabilities.
func (a *SecurityMonitoringApi) GetVulnerabilityNotificationRules(ctx _context.Context) (interface{}, *_nethttp.Response, error) {
var (
Expand Down Expand Up @@ -3985,7 +3985,7 @@ func (a *SecurityMonitoringApi) MuteFindings(ctx _context.Context, body BulkMute
return localVarReturnValue, localVarHTTPResponse, nil
}

// PatchSignalNotificationRule Patch a signal-based rule.
// PatchSignalNotificationRule Patch a signal-based notification rule.
// Partially update the notification rule. All fields are optional; if a field is not provided, it is not updated.
func (a *SecurityMonitoringApi) PatchSignalNotificationRule(ctx _context.Context, id string, body PatchNotificationRuleParameters) (NotificationRuleResponse, *_nethttp.Response, error) {
var (
Expand Down Expand Up @@ -4068,7 +4068,7 @@ func (a *SecurityMonitoringApi) PatchSignalNotificationRule(ctx _context.Context
return localVarReturnValue, localVarHTTPResponse, nil
}

// PatchVulnerabilityNotificationRule Patch a vulnerability-based rule.
// PatchVulnerabilityNotificationRule Patch a vulnerability-based notification rule.
// Partially update the notification rule. All fields are optional; if a field is not provided, it is not updated.
func (a *SecurityMonitoringApi) PatchVulnerabilityNotificationRule(ctx _context.Context, id string, body PatchNotificationRuleParameters) (NotificationRuleResponse, *_nethttp.Response, error) {
var (
Expand Down
Loading

0 comments on commit 9d18c4e

Please sign in to comment.