From f5c0655b388b5e78c741090a9cb03c6b7d1af1b6 Mon Sep 17 00:00:00 2001 From: "api-clients-generation-pipeline[bot]" <54105614+api-clients-generation-pipeline[bot]@users.noreply.github.com> Date: Wed, 1 Mar 2023 20:02:51 +0000 Subject: [PATCH] Update cws group in CODEOWNERS (#1890) 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 +++--- .../v2/cloud_workload_security.feature | 26 +++++++++---------- 2 files changed, 17 insertions(+), 17 deletions(-) diff --git a/.apigentools-info b/.apigentools-info index 5ce0c9cab24..53182058c34 100644 --- a/.apigentools-info +++ b/.apigentools-info @@ -4,13 +4,13 @@ "spec_versions": { "v1": { "apigentools_version": "1.6.4", - "regenerated": "2023-03-01 15:45:35.664586", - "spec_repo_commit": "8905444b" + "regenerated": "2023-03-01 19:51:30.039125", + "spec_repo_commit": "fc9468ac" }, "v2": { "apigentools_version": "1.6.4", - "regenerated": "2023-03-01 15:45:35.677341", - "spec_repo_commit": "8905444b" + "regenerated": "2023-03-01 19:51:30.051769", + "spec_repo_commit": "fc9468ac" } } } \ No newline at end of file diff --git a/tests/scenarios/features/v2/cloud_workload_security.feature b/tests/scenarios/features/v2/cloud_workload_security.feature index c78e496c041..ca0850217fb 100644 --- a/tests/scenarios/features/v2/cloud_workload_security.feature +++ b/tests/scenarios/features/v2/cloud_workload_security.feature @@ -8,21 +8,21 @@ Feature: Cloud Workload Security And a valid "appKeyAuth" key in the system And an instance of "CloudWorkloadSecurity" API - @team:DataDog/cws-backend @team:DataDog/k9-cloud-security-platform + @team:DataDog/k9-cloud-security-platform @team:DataDog/k9-cws-backend Scenario: Create a Cloud Workload Security Agent rule returns "Bad Request" response Given new "CreateCloudWorkloadSecurityAgentRule" request And body with value {"data": {"attributes": {"description": "Test Agent rule", "enabled": true, "expression": "open.file.path = sh", "name": "{{ unique_lower_alnum }}"}, "type": "agent_rule"}} When the request is sent Then the response status is 400 Bad Request - @skip @team:DataDog/cws-backend @team:DataDog/k9-cloud-security-platform + @skip @team:DataDog/k9-cloud-security-platform @team:DataDog/k9-cws-backend Scenario: Create a Cloud Workload Security Agent rule returns "Conflict" response Given new "CreateCloudWorkloadSecurityAgentRule" request And body with value {"data": {"attributes": {"description": "Test Agent rule", "enabled": true, "expression": "exec.file.name == \"sh\"", "name": "{{ unique_lower_alnum }}"}, "type": "agent_rule"}} When the request is sent Then the response status is 409 Conflict - @team:DataDog/cws-backend @team:DataDog/k9-cloud-security-platform + @team:DataDog/k9-cloud-security-platform @team:DataDog/k9-cws-backend Scenario: Create a Cloud Workload Security Agent rule returns "OK" response Given new "CreateCloudWorkloadSecurityAgentRule" request And body with value {"data": {"attributes": {"description": "Test Agent rule", "enabled": true, "expression": "exec.file.name == \"sh\"", "name": "{{ unique_lower_alnum }}"}, "type": "agent_rule"}} @@ -31,14 +31,14 @@ Feature: Cloud Workload Security And the response "data.type" is equal to "agent_rule" And the response "data.attributes.description" is equal to "Test Agent rule" - @team:DataDog/cws-backend @team:DataDog/k9-cloud-security-platform + @team:DataDog/k9-cloud-security-platform @team:DataDog/k9-cws-backend Scenario: Delete a Cloud Workload Security Agent rule returns "Not Found" response Given new "DeleteCloudWorkloadSecurityAgentRule" request And request contains "agent_rule_id" parameter with value "abc-123-xyz" When the request is sent Then the response status is 404 Not Found - @team:DataDog/cws-backend @team:DataDog/k9-cloud-security-platform + @team:DataDog/k9-cloud-security-platform @team:DataDog/k9-cws-backend Scenario: Delete a Cloud Workload Security Agent rule returns "OK" response Given there is a valid "agent_rule" in the system And new "DeleteCloudWorkloadSecurityAgentRule" request @@ -46,14 +46,14 @@ Feature: Cloud Workload Security When the request is sent Then the response status is 204 OK - @team:DataDog/cws-backend @team:DataDog/k9-cloud-security-platform + @team:DataDog/k9-cloud-security-platform @team:DataDog/k9-cws-backend Scenario: Get a Cloud Workload Security Agent rule returns "Not Found" response Given new "GetCloudWorkloadSecurityAgentRule" request And request contains "agent_rule_id" parameter with value "abc-123-xyz" When the request is sent Then the response status is 404 Not Found - @team:DataDog/cws-backend @team:DataDog/k9-cloud-security-platform + @team:DataDog/k9-cloud-security-platform @team:DataDog/k9-cws-backend Scenario: Get a Cloud Workload Security Agent rule returns "OK" response Given there is a valid "agent_rule" in the system And new "GetCloudWorkloadSecurityAgentRule" request @@ -63,7 +63,7 @@ Feature: Cloud Workload Security And the response "data.type" is equal to "agent_rule" And the response "data.attributes.description" is equal to "My Agent rule" - @team:DataDog/cws-backend @team:DataDog/k9-cloud-security-platform + @team:DataDog/k9-cloud-security-platform @team:DataDog/k9-cws-backend Scenario: Get all Cloud Workload Security Agent rules returns "OK" response Given there is a valid "agent_rule" in the system And new "ListCloudWorkloadSecurityAgentRules" request @@ -71,13 +71,13 @@ Feature: Cloud Workload Security Then the response status is 200 OK And the response "data[0].type" is equal to "agent_rule" - @team:DataDog/cws-backend @team:DataDog/k9-cloud-security-platform + @team:DataDog/k9-cloud-security-platform @team:DataDog/k9-cws-backend Scenario: Get the latest Cloud Workload Security policy returns "OK" response Given new "DownloadCloudWorkloadPolicyFile" request When the request is sent Then the response status is 200 OK - @team:DataDog/cws-backend @team:DataDog/k9-cloud-security-platform + @team:DataDog/k9-cloud-security-platform @team:DataDog/k9-cws-backend Scenario: Update a Cloud Workload Security Agent rule returns "Bad Request" response Given there is a valid "agent_rule" in the system And new "UpdateCloudWorkloadSecurityAgentRule" request @@ -86,7 +86,7 @@ Feature: Cloud Workload Security When the request is sent Then the response status is 400 Bad Request - @skip @team:DataDog/cws-backend @team:DataDog/k9-cloud-security-platform + @skip @team:DataDog/k9-cloud-security-platform @team:DataDog/k9-cws-backend Scenario: Update a Cloud Workload Security Agent rule returns "Concurrent Modification" response Given there is a valid "agent_rule" in the system And new "UpdateCloudWorkloadSecurityAgentRule" request @@ -95,7 +95,7 @@ Feature: Cloud Workload Security When the request is sent Then the response status is 409 Concurrent Modification - @team:DataDog/cws-backend @team:DataDog/k9-cloud-security-platform + @team:DataDog/k9-cloud-security-platform @team:DataDog/k9-cws-backend Scenario: Update a Cloud Workload Security Agent rule returns "Not Found" response Given new "UpdateCloudWorkloadSecurityAgentRule" request And request contains "agent_rule_id" parameter with value "abc-123-xyz" @@ -103,7 +103,7 @@ Feature: Cloud Workload Security When the request is sent Then the response status is 404 Not Found - @team:DataDog/cws-backend @team:DataDog/k9-cloud-security-platform + @team:DataDog/k9-cloud-security-platform @team:DataDog/k9-cws-backend Scenario: Update a Cloud Workload Security Agent rule returns "OK" response Given there is a valid "agent_rule" in the system And new "UpdateCloudWorkloadSecurityAgentRule" request