diff --git a/.generator/schemas/v2/openapi.yaml b/.generator/schemas/v2/openapi.yaml index ea8f0cd3e16b..dc0f066c079d 100644 --- a/.generator/schemas/v2/openapi.yaml +++ b/.generator/schemas/v2/openapi.yaml @@ -57944,6 +57944,7 @@ components: - none - false_positive - testing_or_maintenance + - remediated - investigated_case_opened - true_positive_benign - true_positive_malicious @@ -57953,6 +57954,7 @@ components: - NONE - FALSE_POSITIVE - TESTING_OR_MAINTENANCE + - REMEDIATED - INVESTIGATED_CASE_OPENED - TRUE_POSITIVE_BENIGN - TRUE_POSITIVE_MALICIOUS @@ -103305,6 +103307,8 @@ paths: schema: $ref: "#/components/schemas/SecurityMonitoringSignalResponse" description: OK + "403": + $ref: "#/components/responses/NotAuthorizedResponse" "404": $ref: "#/components/responses/NotFoundResponse" "429": @@ -103342,25 +103346,17 @@ paths: $ref: "#/components/schemas/SecurityMonitoringSignalTriageUpdateResponse" description: OK "400": - content: - application/json: - schema: - $ref: "#/components/schemas/APIErrorResponse" - description: Bad Request + $ref: "#/components/responses/BadRequestResponse" "403": - content: - application/json: - schema: - $ref: "#/components/schemas/APIErrorResponse" - description: Forbidden + $ref: "#/components/responses/NotAuthorizedResponse" "404": - content: - application/json: - schema: - $ref: "#/components/schemas/APIErrorResponse" - description: Not Found + $ref: "#/components/responses/NotFoundResponse" "429": $ref: "#/components/responses/TooManyRequestsResponse" + security: + - apiKeyAuth: [] + appKeyAuth: [] + - AuthZ: [] summary: Modify the triage assignee of a security signal tags: ["Security Monitoring"] x-codegen-request-body-name: body @@ -103390,25 +103386,17 @@ paths: $ref: "#/components/schemas/SecurityMonitoringSignalTriageUpdateResponse" description: OK "400": - content: - application/json: - schema: - $ref: "#/components/schemas/APIErrorResponse" - description: Bad Request + $ref: "#/components/responses/BadRequestResponse" "403": - content: - application/json: - schema: - $ref: "#/components/schemas/APIErrorResponse" - description: Forbidden + $ref: "#/components/responses/NotAuthorizedResponse" "404": - content: - application/json: - schema: - $ref: "#/components/schemas/APIErrorResponse" - description: Not Found + $ref: "#/components/responses/NotFoundResponse" "429": $ref: "#/components/responses/TooManyRequestsResponse" + security: + - apiKeyAuth: [] + appKeyAuth: [] + - AuthZ: [] summary: Change the related incidents of a security signal tags: ["Security Monitoring"] x-codegen-request-body-name: body @@ -103438,25 +103426,17 @@ paths: $ref: "#/components/schemas/SecurityMonitoringSignalTriageUpdateResponse" description: OK "400": - content: - application/json: - schema: - $ref: "#/components/schemas/APIErrorResponse" - description: Bad Request + $ref: "#/components/responses/BadRequestResponse" "403": - content: - application/json: - schema: - $ref: "#/components/schemas/APIErrorResponse" - description: Forbidden + $ref: "#/components/responses/NotAuthorizedResponse" "404": - content: - application/json: - schema: - $ref: "#/components/schemas/APIErrorResponse" - description: Not Found + $ref: "#/components/responses/NotFoundResponse" "429": $ref: "#/components/responses/TooManyRequestsResponse" + security: + - apiKeyAuth: [] + appKeyAuth: [] + - AuthZ: [] summary: Change the triage state of a security signal tags: ["Security Monitoring"] x-codegen-request-body-name: body diff --git a/lib/datadog_api_client/v2/api/security_monitoring_api.rb b/lib/datadog_api_client/v2/api/security_monitoring_api.rb index e7f624de8a1f..546aee0e48d5 100644 --- a/lib/datadog_api_client/v2/api/security_monitoring_api.rb +++ b/lib/datadog_api_client/v2/api/security_monitoring_api.rb @@ -1925,7 +1925,7 @@ def edit_security_monitoring_signal_assignee_with_http_info(signal_id, body, opt return_type = opts[:debug_return_type] || 'SecurityMonitoringSignalTriageUpdateResponse' # auth_names - auth_names = opts[:debug_auth_names] || [:apiKeyAuth, :appKeyAuth] + auth_names = opts[:debug_auth_names] || [:apiKeyAuth, :appKeyAuth, :AuthZ] new_options = opts.merge( :operation => :edit_security_monitoring_signal_assignee, @@ -1997,7 +1997,7 @@ def edit_security_monitoring_signal_incidents_with_http_info(signal_id, body, op return_type = opts[:debug_return_type] || 'SecurityMonitoringSignalTriageUpdateResponse' # auth_names - auth_names = opts[:debug_auth_names] || [:apiKeyAuth, :appKeyAuth] + auth_names = opts[:debug_auth_names] || [:apiKeyAuth, :appKeyAuth, :AuthZ] new_options = opts.merge( :operation => :edit_security_monitoring_signal_incidents, @@ -2069,7 +2069,7 @@ def edit_security_monitoring_signal_state_with_http_info(signal_id, body, opts = return_type = opts[:debug_return_type] || 'SecurityMonitoringSignalTriageUpdateResponse' # auth_names - auth_names = opts[:debug_auth_names] || [:apiKeyAuth, :appKeyAuth] + auth_names = opts[:debug_auth_names] || [:apiKeyAuth, :appKeyAuth, :AuthZ] new_options = opts.merge( :operation => :edit_security_monitoring_signal_state, diff --git a/lib/datadog_api_client/v2/models/security_monitoring_signal_archive_reason.rb b/lib/datadog_api_client/v2/models/security_monitoring_signal_archive_reason.rb index 7cea17a372e1..1e4628de7aec 100644 --- a/lib/datadog_api_client/v2/models/security_monitoring_signal_archive_reason.rb +++ b/lib/datadog_api_client/v2/models/security_monitoring_signal_archive_reason.rb @@ -24,6 +24,7 @@ class SecurityMonitoringSignalArchiveReason NONE = "none".freeze FALSE_POSITIVE = "false_positive".freeze TESTING_OR_MAINTENANCE = "testing_or_maintenance".freeze + REMEDIATED = "remediated".freeze INVESTIGATED_CASE_OPENED = "investigated_case_opened".freeze TRUE_POSITIVE_BENIGN = "true_positive_benign".freeze TRUE_POSITIVE_MALICIOUS = "true_positive_malicious".freeze