diff --git a/.apigentools-info b/.apigentools-info index 324aea97d01..d627bc7de9a 100644 --- a/.apigentools-info +++ b/.apigentools-info @@ -4,13 +4,13 @@ "spec_versions": { "v1": { "apigentools_version": "1.6.6", - "regenerated": "2024-11-12 20:16:39.887967", - "spec_repo_commit": "9a869b6b" + "regenerated": "2024-11-13 15:00:50.102105", + "spec_repo_commit": "1406acd6" }, "v2": { "apigentools_version": "1.6.6", - "regenerated": "2024-11-12 20:16:39.908526", - "spec_repo_commit": "9a869b6b" + "regenerated": "2024-11-13 15:00:50.121206", + "spec_repo_commit": "1406acd6" } } } \ No newline at end of file diff --git a/tests/scenarios/features/v2/sensitive_data_scanner.feature b/tests/scenarios/features/v2/sensitive_data_scanner.feature index dd708c38a74..cfe54b0e86f 100644 --- a/tests/scenarios/features/v2/sensitive_data_scanner.feature +++ b/tests/scenarios/features/v2/sensitive_data_scanner.feature @@ -10,14 +10,14 @@ Feature: Sensitive Data Scanner And a valid "appKeyAuth" key in the system And an instance of "SensitiveDataScanner" API - @generated @skip @team:DataDog/logs-app @team:DataDog/sensitive-data-scanner + @generated @skip @team:DataDog/sensitive-data-scanner Scenario: Create Scanning Group returns "Bad Request" response Given new "CreateScanningGroup" request And body with value {"data": {"attributes": {"filter": {}, "product_list": ["logs"]}, "relationships": {"configuration": {"data": {"type": "sensitive_data_scanner_configuration"}}, "rules": {"data": [{"type": "sensitive_data_scanner_rule"}]}}, "type": "sensitive_data_scanner_group"}, "meta": {"version": 0}} When the request is sent Then the response status is 400 Bad Request - @team:DataDog/logs-app @team:DataDog/sensitive-data-scanner + @team:DataDog/sensitive-data-scanner Scenario: Create Scanning Group returns "OK" response Given a valid "configuration" in the system And new "CreateScanningGroup" request @@ -27,7 +27,7 @@ Feature: Sensitive Data Scanner And the response "data.type" is equal to "sensitive_data_scanner_group" And the response "data.attributes.name" is equal to "{{ unique }}" - @team:DataDog/logs-app @team:DataDog/sensitive-data-scanner + @team:DataDog/sensitive-data-scanner Scenario: Create Scanning Rule returns "Bad Request" response Given a valid "configuration" in the system And there is a valid "scanning_group" in the system @@ -36,7 +36,7 @@ Feature: Sensitive Data Scanner When the request is sent Then the response status is 400 Bad Request - @team:DataDog/logs-app @team:DataDog/sensitive-data-scanner + @team:DataDog/sensitive-data-scanner Scenario: Create Scanning Rule returns "OK" response Given a valid "configuration" in the system And there is a valid "scanning_group" in the system @@ -50,7 +50,7 @@ Feature: Sensitive Data Scanner And the response "data.attributes.included_keyword_configuration.character_count" is equal to 35 And the response "data.attributes.included_keyword_configuration.keywords[0]" is equal to "credit card" - @generated @skip @team:DataDog/logs-app @team:DataDog/sensitive-data-scanner + @generated @skip @team:DataDog/sensitive-data-scanner Scenario: Delete Scanning Group returns "Bad Request" response Given new "DeleteScanningGroup" request And request contains "group_id" parameter from "REPLACE.ME" @@ -58,7 +58,7 @@ Feature: Sensitive Data Scanner When the request is sent Then the response status is 400 Bad Request - @generated @skip @team:DataDog/logs-app @team:DataDog/sensitive-data-scanner + @generated @skip @team:DataDog/sensitive-data-scanner Scenario: Delete Scanning Group returns "Not Found" response Given new "DeleteScanningGroup" request And request contains "group_id" parameter from "REPLACE.ME" @@ -66,7 +66,7 @@ Feature: Sensitive Data Scanner When the request is sent Then the response status is 404 Not Found - @team:DataDog/logs-app @team:DataDog/sensitive-data-scanner + @team:DataDog/sensitive-data-scanner Scenario: Delete Scanning Group returns "OK" response Given a valid "configuration" in the system And there is a valid "scanning_group" in the system @@ -76,7 +76,7 @@ Feature: Sensitive Data Scanner When the request is sent Then the response status is 200 OK - @generated @skip @team:DataDog/logs-app @team:DataDog/sensitive-data-scanner + @generated @skip @team:DataDog/sensitive-data-scanner Scenario: Delete Scanning Rule returns "Bad Request" response Given new "DeleteScanningRule" request And request contains "rule_id" parameter from "REPLACE.ME" @@ -84,7 +84,7 @@ Feature: Sensitive Data Scanner When the request is sent Then the response status is 400 Bad Request - @generated @skip @team:DataDog/logs-app @team:DataDog/sensitive-data-scanner + @generated @skip @team:DataDog/sensitive-data-scanner Scenario: Delete Scanning Rule returns "Not Found" response Given new "DeleteScanningRule" request And request contains "rule_id" parameter from "REPLACE.ME" @@ -92,7 +92,7 @@ Feature: Sensitive Data Scanner When the request is sent Then the response status is 404 Not Found - @team:DataDog/logs-app @team:DataDog/sensitive-data-scanner + @team:DataDog/sensitive-data-scanner Scenario: Delete Scanning Rule returns "OK" response Given a valid "configuration" in the system And there is a valid "scanning_group" in the system @@ -103,13 +103,13 @@ Feature: Sensitive Data Scanner When the request is sent Then the response status is 200 OK - @generated @skip @team:DataDog/logs-app @team:DataDog/sensitive-data-scanner + @generated @skip @team:DataDog/sensitive-data-scanner Scenario: List Scanning Groups returns "Bad Request" response Given new "ListScanningGroups" request When the request is sent Then the response status is 400 Bad Request - @team:DataDog/logs-app @team:DataDog/sensitive-data-scanner + @team:DataDog/sensitive-data-scanner Scenario: List Scanning Groups returns "OK" response Given a valid "configuration" in the system And there is a valid "scanning_group" in the system @@ -118,19 +118,19 @@ Feature: Sensitive Data Scanner Then the response status is 200 OK And the response "included" has item with field "id" with value "{{ group.data.id }}" - @generated @skip @team:DataDog/logs-app @team:DataDog/sensitive-data-scanner + @generated @skip @team:DataDog/sensitive-data-scanner Scenario: List standard patterns returns "Bad Request" response Given new "ListStandardPatterns" request When the request is sent Then the response status is 400 Bad Request - @integration-only @team:DataDog/logs-app @team:DataDog/sensitive-data-scanner + @integration-only @team:DataDog/sensitive-data-scanner Scenario: List standard patterns returns "OK" response Given new "ListStandardPatterns" request When the request is sent Then the response status is 200 OK - @team:DataDog/logs-app @team:DataDog/sensitive-data-scanner + @team:DataDog/sensitive-data-scanner Scenario: Reorder Groups returns "Bad Request" response Given a valid "configuration" in the system And there is a valid "scanning_group" in the system @@ -139,7 +139,7 @@ Feature: Sensitive Data Scanner When the request is sent Then the response status is 400 Bad Request - @replay-only @team:DataDog/logs-app @team:DataDog/sensitive-data-scanner + @replay-only @team:DataDog/sensitive-data-scanner Scenario: Reorder Groups returns "OK" response Given a valid "configuration" in the system And there is a valid "scanning_group" in the system @@ -148,7 +148,7 @@ Feature: Sensitive Data Scanner When the request is sent Then the response status is 200 OK - @generated @skip @team:DataDog/logs-app @team:DataDog/sensitive-data-scanner + @generated @skip @team:DataDog/sensitive-data-scanner Scenario: Update Scanning Group returns "Bad Request" response Given new "UpdateScanningGroup" request And request contains "group_id" parameter from "REPLACE.ME" @@ -156,7 +156,7 @@ Feature: Sensitive Data Scanner When the request is sent Then the response status is 400 Bad Request - @generated @skip @team:DataDog/logs-app @team:DataDog/sensitive-data-scanner + @generated @skip @team:DataDog/sensitive-data-scanner Scenario: Update Scanning Group returns "Not Found" response Given new "UpdateScanningGroup" request And request contains "group_id" parameter from "REPLACE.ME" @@ -164,7 +164,7 @@ Feature: Sensitive Data Scanner When the request is sent Then the response status is 404 Not Found - @team:DataDog/logs-app @team:DataDog/sensitive-data-scanner + @team:DataDog/sensitive-data-scanner Scenario: Update Scanning Group returns "OK" response Given a valid "configuration" in the system And there is a valid "scanning_group" in the system @@ -174,7 +174,7 @@ Feature: Sensitive Data Scanner When the request is sent Then the response status is 200 OK - @team:DataDog/logs-app @team:DataDog/sensitive-data-scanner + @team:DataDog/sensitive-data-scanner Scenario: Update Scanning Rule returns "Bad Request" response Given a valid "configuration" in the system And there is a valid "scanning_group" in the system @@ -185,7 +185,7 @@ Feature: Sensitive Data Scanner When the request is sent Then the response status is 400 Bad Request - @generated @skip @team:DataDog/logs-app @team:DataDog/sensitive-data-scanner + @generated @skip @team:DataDog/sensitive-data-scanner Scenario: Update Scanning Rule returns "Not Found" response Given new "UpdateScanningRule" request And request contains "rule_id" parameter from "REPLACE.ME" @@ -193,7 +193,7 @@ Feature: Sensitive Data Scanner When the request is sent Then the response status is 404 Not Found - @team:DataDog/logs-app @team:DataDog/sensitive-data-scanner + @team:DataDog/sensitive-data-scanner Scenario: Update Scanning Rule returns "OK" response Given a valid "configuration" in the system And there is a valid "scanning_group" in the system