From b0762061c094b85944b1b811c7d5a28601a5bf6e Mon Sep 17 00:00:00 2001 From: "api-clients-generation-pipeline[bot]" <54105614+api-clients-generation-pipeline[bot]@users.noreply.github.com> Date: Thu, 3 Jun 2021 15:52:07 +0200 Subject: [PATCH] Regenerate client from commit 32f7494 of spec repo (#980) Co-authored-by: ci.datadog-api-spec Co-authored-by: api-clients-generation-pipeline[bot] <54105614+api-clients-generation-pipeline[bot]@users.noreply.github.com> --- .apigentools-info | 8 ++++---- api/v2/datadog/api/openapi.yaml | 12 ++++++++++-- api/v2/datadog/api_security_monitoring.go | 10 ++++++++-- api/v2/datadog/docs/SecurityMonitoringApi.md | 6 ++++++ 4 files changed, 28 insertions(+), 8 deletions(-) diff --git a/.apigentools-info b/.apigentools-info index f7f0fa9d666..25f2026e76f 100644 --- a/.apigentools-info +++ b/.apigentools-info @@ -4,13 +4,13 @@ "spec_versions": { "v1": { "apigentools_version": "1.4.1.dev8", - "regenerated": "2021-06-03 12:21:12.869496", - "spec_repo_commit": "379360f" + "regenerated": "2021-06-03 13:26:32.727195", + "spec_repo_commit": "32f7494" }, "v2": { "apigentools_version": "1.4.1.dev8", - "regenerated": "2021-06-03 12:21:46.073810", - "spec_repo_commit": "379360f" + "regenerated": "2021-06-03 13:27:06.649071", + "spec_repo_commit": "32f7494" } } } \ No newline at end of file diff --git a/api/v2/datadog/api/openapi.yaml b/api/v2/datadog/api/openapi.yaml index 9867da34781..34fd1122f62 100644 --- a/api/v2/datadog/api/openapi.yaml +++ b/api/v2/datadog/api/openapi.yaml @@ -3419,7 +3419,11 @@ paths: x-undo: type: safe post: - description: Create a security filter. + description: |- + Create a security filter. + + See the [security filter guide](https://docs.datadoghq.com/security_platform/guide/how-to-setup-security-filters-using-security-monitoring-api/) + for more examples. operationId: CreateSecurityFilter requestBody: content: @@ -3538,7 +3542,11 @@ paths: x-undo: type: idempotent get: - description: Get the details of a specific security filter. + description: |- + Get the details of a specific security filter. + + See the [security filter guide](https://docs.datadoghq.com/security_platform/guide/how-to-setup-security-filters-using-security-monitoring-api/) + for more examples. operationId: GetSecurityFilter parameters: - description: The ID of the security filter. diff --git a/api/v2/datadog/api_security_monitoring.go b/api/v2/datadog/api_security_monitoring.go index 6b8b1b71187..d089b1648ff 100644 --- a/api/v2/datadog/api_security_monitoring.go +++ b/api/v2/datadog/api_security_monitoring.go @@ -37,7 +37,10 @@ type apiCreateSecurityFilterRequest struct { /* * CreateSecurityFilter Create a security filter * Create a security filter. - */ + +See the [security filter guide](https://docs.datadoghq.com/security_platform/guide/how-to-setup-security-filters-using-security-monitoring-api/) +for more examples. +*/ func (a *SecurityMonitoringApiService) CreateSecurityFilter(ctx _context.Context, body SecurityFilterCreateRequest) (SecurityFilterResponse, *_nethttp.Response, error) { req := apiCreateSecurityFilterRequest{ ApiService: a, @@ -668,7 +671,10 @@ type apiGetSecurityFilterRequest struct { /* * GetSecurityFilter Get a security filter * Get the details of a specific security filter. - */ + +See the [security filter guide](https://docs.datadoghq.com/security_platform/guide/how-to-setup-security-filters-using-security-monitoring-api/) +for more examples. +*/ func (a *SecurityMonitoringApiService) GetSecurityFilter(ctx _context.Context, securityFilterId string) (SecurityFilterResponse, *_nethttp.Response, error) { req := apiGetSecurityFilterRequest{ ApiService: a, diff --git a/api/v2/datadog/docs/SecurityMonitoringApi.md b/api/v2/datadog/docs/SecurityMonitoringApi.md index 37b884a1c7d..762ed2671d3 100644 --- a/api/v2/datadog/docs/SecurityMonitoringApi.md +++ b/api/v2/datadog/docs/SecurityMonitoringApi.md @@ -25,6 +25,9 @@ Method | HTTP request | Description Create a security filter. +See the [security filter guide](https://docs.datadoghq.com/security_platform/guide/how-to-setup-security-filters-using-security-monitoring-api/) +for more examples. + ### Example ```go @@ -301,6 +304,9 @@ This endpoint does not have optional parameters. Get the details of a specific security filter. +See the [security filter guide](https://docs.datadoghq.com/security_platform/guide/how-to-setup-security-filters-using-security-monitoring-api/) +for more examples. + ### Example ```go