From 8ab499bd6f0e5a6f06a7127d9b96f4baaaf0d352 Mon Sep 17 00:00:00 2001 From: "ci.datadog-api-spec" Date: Mon, 18 May 2026 18:33:43 +0000 Subject: [PATCH] Regenerate client from commit 1b59d52 of spec repo --- tests/v1/features/authentication.feature | 4 +- tests/v1/features/key_management.feature | 46 +++++------ tests/v2/features/key_management.feature | 92 +++++++++++----------- tests/v2/features/service_accounts.feature | 56 ++++++------- 4 files changed, 99 insertions(+), 99 deletions(-) diff --git a/tests/v1/features/authentication.feature b/tests/v1/features/authentication.feature index b82a231321..29acfedbf0 100644 --- a/tests/v1/features/authentication.feature +++ b/tests/v1/features/authentication.feature @@ -16,12 +16,12 @@ Feature: Authentication Given an instance of "Authentication" API And new "Validate" request - @skip-validation @team:DataDog/credentials-management + @skip-validation @team:DataDog/credential-management Scenario: Validate API key returns "Forbidden" response When the request is sent Then the response status is 403 OK - @team:DataDog/credentials-management + @team:DataDog/credential-management Scenario: Validate API key returns "OK" response Given a valid "apiKeyAuth" key in the system When the request is sent diff --git a/tests/v1/features/key_management.feature b/tests/v1/features/key_management.feature index c3f18c2346..222728688f 100644 --- a/tests/v1/features/key_management.feature +++ b/tests/v1/features/key_management.feature @@ -12,77 +12,77 @@ Feature: Key Management And a valid "appKeyAuth" key in the system And an instance of "KeyManagement" API - @generated @skip @team:DataDog/credentials-management + @generated @skip @team:DataDog/credential-management Scenario: Create an API key returns "Bad Request" response Given new "CreateAPIKey" request And body with value {"name": "example user"} When the request is sent Then the response status is 400 Bad Request - @generated @skip @team:DataDog/credentials-management + @generated @skip @team:DataDog/credential-management Scenario: Create an API key returns "OK" response Given new "CreateAPIKey" request And body with value {"name": "example user"} When the request is sent Then the response status is 200 OK - @generated @skip @team:DataDog/credentials-management + @generated @skip @team:DataDog/credential-management Scenario: Create an application key returns "Bad Request" response Given new "CreateApplicationKey" request And body with value {"name": "example user"} When the request is sent Then the response status is 400 Bad Request - @generated @skip @team:DataDog/credentials-management + @generated @skip @team:DataDog/credential-management Scenario: Create an application key returns "Conflict" response Given new "CreateApplicationKey" request And body with value {"name": "example user"} When the request is sent Then the response status is 409 Conflict - @generated @skip @team:DataDog/credentials-management + @generated @skip @team:DataDog/credential-management Scenario: Create an application key returns "OK" response Given new "CreateApplicationKey" request And body with value {"name": "example user"} When the request is sent Then the response status is 200 OK - @generated @skip @team:DataDog/credentials-management + @generated @skip @team:DataDog/credential-management Scenario: Delete an API key returns "Bad Request" response Given new "DeleteAPIKey" request And request contains "key" parameter from "REPLACE.ME" When the request is sent Then the response status is 400 Bad Request - @generated @skip @team:DataDog/credentials-management + @generated @skip @team:DataDog/credential-management Scenario: Delete an API key returns "Not Found" response Given new "DeleteAPIKey" request And request contains "key" parameter from "REPLACE.ME" When the request is sent Then the response status is 404 Not Found - @generated @skip @team:DataDog/credentials-management + @generated @skip @team:DataDog/credential-management Scenario: Delete an API key returns "OK" response Given new "DeleteAPIKey" request And request contains "key" parameter from "REPLACE.ME" When the request is sent Then the response status is 200 OK - @generated @skip @team:DataDog/credentials-management + @generated @skip @team:DataDog/credential-management Scenario: Delete an application key returns "Not Found" response Given new "DeleteApplicationKey" request And request contains "key" parameter from "REPLACE.ME" When the request is sent Then the response status is 404 Not Found - @generated @skip @team:DataDog/credentials-management + @generated @skip @team:DataDog/credential-management Scenario: Delete an application key returns "OK" response Given new "DeleteApplicationKey" request And request contains "key" parameter from "REPLACE.ME" When the request is sent Then the response status is 200 OK - @generated @skip @team:DataDog/credentials-management + @generated @skip @team:DataDog/credential-management Scenario: Edit an API key returns "Bad Request" response Given new "UpdateAPIKey" request And request contains "key" parameter from "REPLACE.ME" @@ -90,7 +90,7 @@ Feature: Key Management When the request is sent Then the response status is 400 Bad Request - @generated @skip @team:DataDog/credentials-management + @generated @skip @team:DataDog/credential-management Scenario: Edit an API key returns "Not Found" response Given new "UpdateAPIKey" request And request contains "key" parameter from "REPLACE.ME" @@ -98,7 +98,7 @@ Feature: Key Management When the request is sent Then the response status is 404 Not Found - @generated @skip @team:DataDog/credentials-management + @generated @skip @team:DataDog/credential-management Scenario: Edit an API key returns "OK" response Given new "UpdateAPIKey" request And request contains "key" parameter from "REPLACE.ME" @@ -106,7 +106,7 @@ Feature: Key Management When the request is sent Then the response status is 200 OK - @generated @skip @team:DataDog/credentials-management + @generated @skip @team:DataDog/credential-management Scenario: Edit an application key returns "Bad Request" response Given new "UpdateApplicationKey" request And request contains "key" parameter from "REPLACE.ME" @@ -114,7 +114,7 @@ Feature: Key Management When the request is sent Then the response status is 400 Bad Request - @generated @skip @team:DataDog/credentials-management + @generated @skip @team:DataDog/credential-management Scenario: Edit an application key returns "Conflict" response Given new "UpdateApplicationKey" request And request contains "key" parameter from "REPLACE.ME" @@ -122,7 +122,7 @@ Feature: Key Management When the request is sent Then the response status is 409 Conflict - @generated @skip @team:DataDog/credentials-management + @generated @skip @team:DataDog/credential-management Scenario: Edit an application key returns "Not Found" response Given new "UpdateApplicationKey" request And request contains "key" parameter from "REPLACE.ME" @@ -130,7 +130,7 @@ Feature: Key Management When the request is sent Then the response status is 404 Not Found - @generated @skip @team:DataDog/credentials-management + @generated @skip @team:DataDog/credential-management Scenario: Edit an application key returns "OK" response Given new "UpdateApplicationKey" request And request contains "key" parameter from "REPLACE.ME" @@ -138,40 +138,40 @@ Feature: Key Management When the request is sent Then the response status is 200 OK - @generated @skip @team:DataDog/credentials-management + @generated @skip @team:DataDog/credential-management Scenario: Get API key returns "Not Found" response Given new "GetAPIKey" request And request contains "key" parameter from "REPLACE.ME" When the request is sent Then the response status is 404 Not Found - @generated @skip @team:DataDog/credentials-management + @generated @skip @team:DataDog/credential-management Scenario: Get API key returns "OK" response Given new "GetAPIKey" request And request contains "key" parameter from "REPLACE.ME" When the request is sent Then the response status is 200 OK - @generated @skip @team:DataDog/credentials-management + @generated @skip @team:DataDog/credential-management Scenario: Get all API keys returns "OK" response Given new "ListAPIKeys" request When the request is sent Then the response status is 200 OK - @generated @skip @team:DataDog/credentials-management + @generated @skip @team:DataDog/credential-management Scenario: Get all application keys returns "OK" response Given new "ListApplicationKeys" request When the request is sent Then the response status is 200 OK - @generated @skip @team:DataDog/credentials-management + @generated @skip @team:DataDog/credential-management Scenario: Get an application key returns "Not Found" response Given new "GetApplicationKey" request And request contains "key" parameter from "REPLACE.ME" When the request is sent Then the response status is 404 Not Found - @generated @skip @team:DataDog/credentials-management + @generated @skip @team:DataDog/credential-management Scenario: Get an application key returns "OK" response Given new "GetApplicationKey" request And request contains "key" parameter from "REPLACE.ME" diff --git a/tests/v2/features/key_management.feature b/tests/v2/features/key_management.feature index b27f150393..d3a1b5db64 100644 --- a/tests/v2/features/key_management.feature +++ b/tests/v2/features/key_management.feature @@ -11,7 +11,7 @@ Feature: Key Management Given a valid "apiKeyAuth" key in the system And an instance of "KeyManagement" API - @generated @skip @team:DataDog/credentials-management + @generated @skip @team:DataDog/credential-management Scenario: Create a personal access token returns "Bad Request" response Given a valid "appKeyAuth" key in the system And new "CreatePersonalAccessToken" request @@ -19,7 +19,7 @@ Feature: Key Management When the request is sent Then the response status is 400 Bad Request - @team:DataDog/credentials-management + @team:DataDog/credential-management Scenario: Create a personal access token returns "Created" response Given a valid "appKeyAuth" key in the system And new "CreatePersonalAccessToken" request @@ -31,7 +31,7 @@ Feature: Key Management And the response "data.attributes.scopes" is equal to ["dashboards_read"] And the response "data.attributes" has field "key" - @generated @skip @team:DataDog/credentials-management + @generated @skip @team:DataDog/credential-management Scenario: Create an API key returns "Bad Request" response Given a valid "appKeyAuth" key in the system And new "CreateAPIKey" request @@ -39,7 +39,7 @@ Feature: Key Management When the request is sent Then the response status is 400 Bad Request - @team:DataDog/credentials-management + @team:DataDog/credential-management Scenario: Create an API key returns "Created" response Given a valid "appKeyAuth" key in the system And new "CreateAPIKey" request @@ -49,7 +49,7 @@ Feature: Key Management And the response "data.type" is equal to "api_keys" And the response "data.attributes.name" is equal to "{{ unique }}" - @team:DataDog/credentials-management + @team:DataDog/credential-management Scenario: Create an Application key with scopes for current user returns "Created" response Given a valid "appKeyAuth" key in the system And new "CreateCurrentUserApplicationKey" request @@ -59,7 +59,7 @@ Feature: Key Management And the response "data.attributes.name" is equal to "{{ unique }}" And the response "data.attributes.scopes" is equal to ["dashboards_read", "dashboards_write", "dashboards_public_share"] - @generated @skip @team:DataDog/credentials-management + @generated @skip @team:DataDog/credential-management Scenario: Create an application key for current user returns "Bad Request" response Given a valid "appKeyAuth" key in the system And new "CreateCurrentUserApplicationKey" request @@ -67,7 +67,7 @@ Feature: Key Management When the request is sent Then the response status is 400 Bad Request - @team:DataDog/credentials-management + @team:DataDog/credential-management Scenario: Create an application key for current user returns "Created" response Given a valid "appKeyAuth" key in the system And new "CreateCurrentUserApplicationKey" request @@ -77,7 +77,7 @@ Feature: Key Management And the response "data.type" is equal to "application_keys" And the response "data.attributes.name" is equal to "{{ unique }}" - @team:DataDog/credentials-management + @team:DataDog/credential-management Scenario: Delete an API key returns "No Content" response Given a valid "appKeyAuth" key in the system And there is a valid "api_key" in the system @@ -86,7 +86,7 @@ Feature: Key Management When the request is sent Then the response status is 204 No Content - @generated @skip @team:DataDog/credentials-management + @generated @skip @team:DataDog/credential-management Scenario: Delete an API key returns "Not Found" response Given a valid "appKeyAuth" key in the system And new "DeleteAPIKey" request @@ -94,7 +94,7 @@ Feature: Key Management When the request is sent Then the response status is 404 Not Found - @team:DataDog/credentials-management + @team:DataDog/credential-management Scenario: Delete an application key owned by current user returns "No Content" response Given a valid "appKeyAuth" key in the system And there is a valid "application_key" in the system @@ -103,7 +103,7 @@ Feature: Key Management When the request is sent Then the response status is 204 No Content - @generated @skip @team:DataDog/credentials-management + @generated @skip @team:DataDog/credential-management Scenario: Delete an application key owned by current user returns "Not Found" response Given a valid "appKeyAuth" key in the system And new "DeleteCurrentUserApplicationKey" request @@ -111,7 +111,7 @@ Feature: Key Management When the request is sent Then the response status is 404 Not Found - @team:DataDog/credentials-management + @team:DataDog/credential-management Scenario: Delete an application key returns "No Content" response Given a valid "appKeyAuth" key in the system And there is a valid "application_key" in the system @@ -120,7 +120,7 @@ Feature: Key Management When the request is sent Then the response status is 204 No Content - @generated @skip @team:DataDog/credentials-management + @generated @skip @team:DataDog/credential-management Scenario: Delete an application key returns "Not Found" response Given a valid "appKeyAuth" key in the system And new "DeleteApplicationKey" request @@ -128,7 +128,7 @@ Feature: Key Management When the request is sent Then the response status is 404 Not Found - @generated @skip @team:DataDog/credentials-management + @generated @skip @team:DataDog/credential-management Scenario: Edit an API key returns "Bad Request" response Given a valid "appKeyAuth" key in the system And new "UpdateAPIKey" request @@ -137,7 +137,7 @@ Feature: Key Management When the request is sent Then the response status is 400 Bad Request - @generated @skip @team:DataDog/credentials-management + @generated @skip @team:DataDog/credential-management Scenario: Edit an API key returns "Not Found" response Given a valid "appKeyAuth" key in the system And new "UpdateAPIKey" request @@ -146,7 +146,7 @@ Feature: Key Management When the request is sent Then the response status is 404 Not Found - @team:DataDog/credentials-management + @team:DataDog/credential-management Scenario: Edit an API key returns "OK" response Given a valid "appKeyAuth" key in the system And there is a valid "api_key" in the system @@ -159,7 +159,7 @@ Feature: Key Management And the response "data.id" is equal to "{{ api_key.data.id }}" And the response "data.attributes.name" is equal to "{{ unique }}" - @generated @skip @team:DataDog/credentials-management + @generated @skip @team:DataDog/credential-management Scenario: Edit an application key owned by current user returns "Bad Request" response Given a valid "appKeyAuth" key in the system And new "UpdateCurrentUserApplicationKey" request @@ -168,7 +168,7 @@ Feature: Key Management When the request is sent Then the response status is 400 Bad Request - @generated @skip @team:DataDog/credentials-management + @generated @skip @team:DataDog/credential-management Scenario: Edit an application key owned by current user returns "Not Found" response Given a valid "appKeyAuth" key in the system And new "UpdateCurrentUserApplicationKey" request @@ -177,7 +177,7 @@ Feature: Key Management When the request is sent Then the response status is 404 Not Found - @team:DataDog/credentials-management + @team:DataDog/credential-management Scenario: Edit an application key owned by current user returns "OK" response Given a valid "appKeyAuth" key in the system And there is a valid "application_key" in the system @@ -190,7 +190,7 @@ Feature: Key Management And the response "data.id" is equal to "{{ application_key.data.id }}" And the response "data.attributes.name" is equal to "{{ application_key.data.attributes.name }}-updated" - @generated @skip @team:DataDog/credentials-management + @generated @skip @team:DataDog/credential-management Scenario: Edit an application key returns "Bad Request" response Given a valid "appKeyAuth" key in the system And new "UpdateApplicationKey" request @@ -199,7 +199,7 @@ Feature: Key Management When the request is sent Then the response status is 400 Bad Request - @generated @skip @team:DataDog/credentials-management + @generated @skip @team:DataDog/credential-management Scenario: Edit an application key returns "Not Found" response Given a valid "appKeyAuth" key in the system And new "UpdateApplicationKey" request @@ -208,7 +208,7 @@ Feature: Key Management When the request is sent Then the response status is 404 Not Found - @team:DataDog/credentials-management + @team:DataDog/credential-management Scenario: Edit an application key returns "OK" response Given a valid "appKeyAuth" key in the system And there is a valid "application_key" in the system @@ -221,7 +221,7 @@ Feature: Key Management And the response "data.id" is equal to "{{ application_key.data.id }}" And the response "data.attributes.name" is equal to "{{ application_key.data.attributes.name }}-updated" - @team:DataDog/credentials-management + @team:DataDog/credential-management Scenario: Get API key returns "Not Found" response Given a valid "appKeyAuth" key in the system And new "GetAPIKey" request @@ -229,7 +229,7 @@ Feature: Key Management When the request is sent Then the response status is 404 Not Found - @team:DataDog/credentials-management + @team:DataDog/credential-management Scenario: Get API key returns "OK" response Given a valid "appKeyAuth" key in the system And there is a valid "api_key" in the system @@ -241,7 +241,7 @@ Feature: Key Management And the response "data.id" is equal to "{{ api_key.data.id }}" And the response "data.attributes" has field "date_last_used" - @generated @skip @team:DataDog/credentials-management + @generated @skip @team:DataDog/credential-management Scenario: Get a personal access token returns "Not Found" response Given a valid "appKeyAuth" key in the system And new "GetPersonalAccessToken" request @@ -249,7 +249,7 @@ Feature: Key Management When the request is sent Then the response status is 404 Not Found - @team:DataDog/credentials-management + @team:DataDog/credential-management Scenario: Get a personal access token returns "OK" response Given a valid "appKeyAuth" key in the system And there is a valid "personal_access_token" in the system @@ -260,14 +260,14 @@ Feature: Key Management And the response "data.type" is equal to "personal_access_tokens" And the response "data.id" has the same value as "personal_access_token.data.id" - @generated @skip @team:DataDog/credentials-management + @generated @skip @team:DataDog/credential-management Scenario: Get all API keys returns "Bad Request" response Given a valid "appKeyAuth" key in the system And new "ListAPIKeys" request When the request is sent Then the response status is 400 Bad Request - @team:DataDog/credentials-management + @team:DataDog/credential-management Scenario: Get all API keys returns "OK" response Given a valid "appKeyAuth" key in the system And there is a valid "api_key" in the system @@ -278,21 +278,21 @@ Feature: Key Management And the response "data[0].type" is equal to "api_keys" And the response "data[0].attributes" has field "date_last_used" - @generated @skip @team:DataDog/credentials-management + @generated @skip @team:DataDog/credential-management Scenario: Get all application keys owned by current user returns "Bad Request" response Given a valid "appKeyAuth" key in the system And new "ListCurrentUserApplicationKeys" request When the request is sent Then the response status is 400 Bad Request - @generated @skip @team:DataDog/credentials-management + @generated @skip @team:DataDog/credential-management Scenario: Get all application keys owned by current user returns "Not Found" response Given a valid "appKeyAuth" key in the system And new "ListCurrentUserApplicationKeys" request When the request is sent Then the response status is 404 Not Found - @team:DataDog/credentials-management + @team:DataDog/credential-management Scenario: Get all application keys owned by current user returns "OK" response Given a valid "appKeyAuth" key in the system And new "ListCurrentUserApplicationKeys" request @@ -301,21 +301,21 @@ Feature: Key Management And the response "data[0].type" is equal to "application_keys" And the response "data[0].attributes" has field "last_used_at" - @generated @skip @team:DataDog/credentials-management + @generated @skip @team:DataDog/credential-management Scenario: Get all application keys returns "Bad Request" response Given a valid "appKeyAuth" key in the system And new "ListApplicationKeys" request When the request is sent Then the response status is 400 Bad Request - @generated @skip @team:DataDog/credentials-management + @generated @skip @team:DataDog/credential-management Scenario: Get all application keys returns "Not Found" response Given a valid "appKeyAuth" key in the system And new "ListApplicationKeys" request When the request is sent Then the response status is 404 Not Found - @team:DataDog/credentials-management + @team:DataDog/credential-management Scenario: Get all application keys returns "OK" response Given a valid "appKeyAuth" key in the system And there is a valid "application_key" in the system @@ -325,14 +325,14 @@ Feature: Key Management And the response "data[0].type" is equal to "application_keys" And the response "data[0].attributes" has field "last_used_at" - @generated @skip @team:DataDog/credentials-management + @generated @skip @team:DataDog/credential-management Scenario: Get all personal access tokens returns "Bad Request" response Given a valid "appKeyAuth" key in the system And new "ListPersonalAccessTokens" request When the request is sent Then the response status is 400 Bad Request - @team:DataDog/credentials-management + @team:DataDog/credential-management Scenario: Get all personal access tokens returns "OK" response Given a valid "appKeyAuth" key in the system And there is a valid "personal_access_token" in the system @@ -341,7 +341,7 @@ Feature: Key Management Then the response status is 200 OK And the response "data" has item with field "type" with value "personal_access_tokens" - @generated @skip @team:DataDog/credentials-management + @generated @skip @team:DataDog/credential-management Scenario: Get an application key returns "Bad Request" response Given a valid "appKeyAuth" key in the system And new "GetApplicationKey" request @@ -349,7 +349,7 @@ Feature: Key Management When the request is sent Then the response status is 400 Bad Request - @team:DataDog/credentials-management + @team:DataDog/credential-management Scenario: Get an application key returns "Not Found" response Given a valid "appKeyAuth" key in the system And new "GetApplicationKey" request @@ -357,7 +357,7 @@ Feature: Key Management When the request is sent Then the response status is 404 Not Found - @team:DataDog/credentials-management + @team:DataDog/credential-management Scenario: Get an application key returns "OK" response Given a valid "appKeyAuth" key in the system And there is a valid "application_key" in the system @@ -369,7 +369,7 @@ Feature: Key Management And the response "data.id" has the same value as "application_key.data.id" And the response "data.attributes" has field "last_used_at" - @team:DataDog/credentials-management + @team:DataDog/credential-management Scenario: Get one application key owned by current user returns "Not Found" response Given a valid "appKeyAuth" key in the system And new "GetCurrentUserApplicationKey" request @@ -377,7 +377,7 @@ Feature: Key Management When the request is sent Then the response status is 404 Not Found - @team:DataDog/credentials-management + @team:DataDog/credential-management Scenario: Get one application key owned by current user returns "OK" response Given a valid "appKeyAuth" key in the system And there is a valid "application_key" in the system @@ -391,7 +391,7 @@ Feature: Key Management And the response "data.attributes" has field "scopes" And the response "data.attributes" has field "last_used_at" - @team:DataDog/credentials-management + @team:DataDog/credential-management Scenario: Revoke a personal access token returns "No Content" response Given a valid "appKeyAuth" key in the system And there is a valid "personal_access_token" in the system @@ -400,7 +400,7 @@ Feature: Key Management When the request is sent Then the response status is 204 No Content - @generated @skip @team:DataDog/credentials-management + @generated @skip @team:DataDog/credential-management Scenario: Revoke a personal access token returns "Not Found" response Given a valid "appKeyAuth" key in the system And new "RevokePersonalAccessToken" request @@ -408,7 +408,7 @@ Feature: Key Management When the request is sent Then the response status is 404 Not Found - @generated @skip @team:DataDog/credentials-management + @generated @skip @team:DataDog/credential-management Scenario: Update a personal access token returns "Bad Request" response Given a valid "appKeyAuth" key in the system And new "UpdatePersonalAccessToken" request @@ -417,7 +417,7 @@ Feature: Key Management When the request is sent Then the response status is 400 Bad Request - @generated @skip @team:DataDog/credentials-management + @generated @skip @team:DataDog/credential-management Scenario: Update a personal access token returns "Not Found" response Given a valid "appKeyAuth" key in the system And new "UpdatePersonalAccessToken" request @@ -426,7 +426,7 @@ Feature: Key Management When the request is sent Then the response status is 404 Not Found - @team:DataDog/credentials-management + @team:DataDog/credential-management Scenario: Update a personal access token returns "OK" response Given a valid "appKeyAuth" key in the system And there is a valid "personal_access_token" in the system diff --git a/tests/v2/features/service_accounts.feature b/tests/v2/features/service_accounts.feature index fa8c81440e..f0d1eebf49 100644 --- a/tests/v2/features/service_accounts.feature +++ b/tests/v2/features/service_accounts.feature @@ -9,14 +9,14 @@ Feature: Service Accounts And a valid "appKeyAuth" key in the system And an instance of "ServiceAccounts" API - @generated @skip @team:DataDog/credentials-management @team:DataDog/org-management + @generated @skip @team:DataDog/credential-management @team:DataDog/org-management Scenario: Create a service account returns "Bad Request" response Given new "CreateServiceAccount" request And body with value {"data": {"attributes": {"email": "jane.doe@example.com", "service_account": true}, "relationships": {"roles": {"data": [{"id": "3653d3c6-0c75-11ea-ad28-fb5701eabc7d", "type": "roles"}]}}, "type": "users"}} When the request is sent Then the response status is 400 Bad Request - @team:DataDog/credentials-management @team:DataDog/org-management + @team:DataDog/credential-management @team:DataDog/org-management Scenario: Create a service account returns "OK" response Given there is a valid "role" in the system And new "CreateServiceAccount" request @@ -29,7 +29,7 @@ Feature: Service Accounts And the response "data.attributes.service_account" is equal to true And the response "data.relationships.roles.data[0].id" is equal to "{{ role.data.id }}" - @generated @skip @team:DataDog/credentials-management + @generated @skip @team:DataDog/credential-management Scenario: Create an access token for a service account returns "Bad Request" response Given new "CreateServiceAccountAccessToken" request And request contains "service_account_id" parameter from "REPLACE.ME" @@ -37,7 +37,7 @@ Feature: Service Accounts When the request is sent Then the response status is 400 Bad Request - @team:DataDog/credentials-management + @team:DataDog/credential-management Scenario: Create an access token for a service account returns "Created" response Given there is a valid "service_account_user" in the system And new "CreateServiceAccountAccessToken" request @@ -49,7 +49,7 @@ Feature: Service Accounts And the response "data.attributes.name" is equal to "{{ unique }}" And the response "data.relationships.owned_by.data.id" has the same value as "service_account_user.data.id" - @generated @skip @team:DataDog/credentials-management + @generated @skip @team:DataDog/credential-management Scenario: Create an access token for a service account returns "Not Found" response Given new "CreateServiceAccountAccessToken" request And request contains "service_account_id" parameter from "REPLACE.ME" @@ -57,7 +57,7 @@ Feature: Service Accounts When the request is sent Then the response status is 404 Not Found - @generated @skip @team:DataDog/credentials-management @team:DataDog/org-management + @generated @skip @team:DataDog/credential-management @team:DataDog/org-management Scenario: Create an application key for this service account returns "Bad Request" response Given new "CreateServiceAccountApplicationKey" request And request contains "service_account_id" parameter from "REPLACE.ME" @@ -65,7 +65,7 @@ Feature: Service Accounts When the request is sent Then the response status is 400 Bad Request - @team:DataDog/credentials-management @team:DataDog/org-management + @team:DataDog/credential-management @team:DataDog/org-management Scenario: Create an application key for this service account returns "Created" response Given there is a valid "service_account_user" in the system And new "CreateServiceAccountApplicationKey" request @@ -76,7 +76,7 @@ Feature: Service Accounts And the response "data.attributes.name" is equal to "{{ unique }}" And the response "data.relationships.owned_by.data.id" has the same value as "service_account_user.data.id" - @team:DataDog/credentials-management @team:DataDog/org-management + @team:DataDog/credential-management @team:DataDog/org-management Scenario: Create an application key with scopes for this service account returns "Created" response Given there is a valid "service_account_user" in the system And new "CreateServiceAccountApplicationKey" request @@ -88,7 +88,7 @@ Feature: Service Accounts And the response "data.attributes.scopes" is equal to ["dashboards_read", "dashboards_write", "dashboards_public_share"] And the response "data.relationships.owned_by.data.id" has the same value as "service_account_user.data.id" - @team:DataDog/credentials-management @team:DataDog/org-management + @team:DataDog/credential-management @team:DataDog/org-management Scenario: Delete an application key for this service account returns "No Content" response Given there is a valid "service_account_user" in the system And there is a valid "service_account_application_key" for "service_account_user" @@ -98,7 +98,7 @@ Feature: Service Accounts When the request is sent Then the response status is 204 No Content - @generated @skip @team:DataDog/credentials-management @team:DataDog/org-management + @generated @skip @team:DataDog/credential-management @team:DataDog/org-management Scenario: Delete an application key for this service account returns "Not Found" response Given new "DeleteServiceAccountApplicationKey" request And request contains "service_account_id" parameter from "REPLACE.ME" @@ -106,7 +106,7 @@ Feature: Service Accounts When the request is sent Then the response status is 404 Not Found - @generated @skip @team:DataDog/credentials-management @team:DataDog/org-management + @generated @skip @team:DataDog/credential-management @team:DataDog/org-management Scenario: Edit an application key for this service account returns "Bad Request" response Given new "UpdateServiceAccountApplicationKey" request And request contains "service_account_id" parameter from "REPLACE.ME" @@ -115,7 +115,7 @@ Feature: Service Accounts When the request is sent Then the response status is 400 Bad Request - @generated @skip @team:DataDog/credentials-management @team:DataDog/org-management + @generated @skip @team:DataDog/credential-management @team:DataDog/org-management Scenario: Edit an application key for this service account returns "Not Found" response Given new "UpdateServiceAccountApplicationKey" request And request contains "service_account_id" parameter from "REPLACE.ME" @@ -124,7 +124,7 @@ Feature: Service Accounts When the request is sent Then the response status is 404 Not Found - @team:DataDog/credentials-management @team:DataDog/org-management + @team:DataDog/credential-management @team:DataDog/org-management Scenario: Edit an application key for this service account returns "OK" response Given there is a valid "service_account_user" in the system And there is a valid "service_account_application_key" for "service_account_user" @@ -138,7 +138,7 @@ Feature: Service Accounts And the response "data.type" is equal to "application_keys" And the response "data.id" is equal to "{{ service_account_application_key.data.id }}" - @generated @skip @team:DataDog/credentials-management + @generated @skip @team:DataDog/credential-management Scenario: Get an access token for a service account returns "Not Found" response Given new "GetServiceAccountAccessToken" request And request contains "service_account_id" parameter from "REPLACE.ME" @@ -146,7 +146,7 @@ Feature: Service Accounts When the request is sent Then the response status is 404 Not Found - @team:DataDog/credentials-management + @team:DataDog/credential-management Scenario: Get an access token for a service account returns "OK" response Given there is a valid "service_account_user" in the system And there is a valid "service_account_access_token" for "service_account_user" @@ -159,7 +159,7 @@ Feature: Service Accounts And the response "data.type" is equal to "personal_access_tokens" And the response "data.id" is equal to "{{ service_account_access_token.data.id }}" - @generated @skip @team:DataDog/credentials-management @team:DataDog/org-management + @generated @skip @team:DataDog/credential-management @team:DataDog/org-management Scenario: Get one application key for this service account returns "Not Found" response Given new "GetServiceAccountApplicationKey" request And request contains "service_account_id" parameter from "REPLACE.ME" @@ -167,7 +167,7 @@ Feature: Service Accounts When the request is sent Then the response status is 404 Not Found - @team:DataDog/credentials-management @team:DataDog/org-management + @team:DataDog/credential-management @team:DataDog/org-management Scenario: Get one application key for this service account returns "OK" response Given there is a valid "service_account_user" in the system And there is a valid "service_account_application_key" for "service_account_user" @@ -180,21 +180,21 @@ Feature: Service Accounts And the response "data.type" is equal to "application_keys" And the response "data.id" is equal to "{{ service_account_application_key.data.id }}" - @generated @skip @team:DataDog/credentials-management + @generated @skip @team:DataDog/credential-management Scenario: List access tokens for a service account returns "Bad Request" response Given new "ListServiceAccountAccessTokens" request And request contains "service_account_id" parameter from "REPLACE.ME" When the request is sent Then the response status is 400 Bad Request - @generated @skip @team:DataDog/credentials-management + @generated @skip @team:DataDog/credential-management Scenario: List access tokens for a service account returns "Not Found" response Given new "ListServiceAccountAccessTokens" request And request contains "service_account_id" parameter from "REPLACE.ME" When the request is sent Then the response status is 404 Not Found - @team:DataDog/credentials-management + @team:DataDog/credential-management Scenario: List access tokens for a service account returns "OK" response Given there is a valid "service_account_user" in the system And new "ListServiceAccountAccessTokens" request @@ -203,21 +203,21 @@ Feature: Service Accounts Then the response status is 200 OK And the response "data" has length 0 - @generated @skip @team:DataDog/credentials-management @team:DataDog/org-management + @generated @skip @team:DataDog/credential-management @team:DataDog/org-management Scenario: List application keys for this service account returns "Bad Request" response Given new "ListServiceAccountApplicationKeys" request And request contains "service_account_id" parameter from "REPLACE.ME" When the request is sent Then the response status is 400 Bad Request - @generated @skip @team:DataDog/credentials-management @team:DataDog/org-management + @generated @skip @team:DataDog/credential-management @team:DataDog/org-management Scenario: List application keys for this service account returns "Not Found" response Given new "ListServiceAccountApplicationKeys" request And request contains "service_account_id" parameter from "REPLACE.ME" When the request is sent Then the response status is 404 Not Found - @team:DataDog/credentials-management @team:DataDog/org-management + @team:DataDog/credential-management @team:DataDog/org-management Scenario: List application keys for this service account returns "OK" response Given there is a valid "service_account_user" in the system And new "ListServiceAccountApplicationKeys" request @@ -226,7 +226,7 @@ Feature: Service Accounts Then the response status is 200 OK And the response "data" has length 0 - @team:DataDog/credentials-management + @team:DataDog/credential-management Scenario: Revoke an access token for a service account returns "No Content" response Given there is a valid "service_account_user" in the system And there is a valid "service_account_access_token" for "service_account_user" @@ -236,7 +236,7 @@ Feature: Service Accounts When the request is sent Then the response status is 204 No Content - @generated @skip @team:DataDog/credentials-management + @generated @skip @team:DataDog/credential-management Scenario: Revoke an access token for a service account returns "Not Found" response Given new "RevokeServiceAccountAccessToken" request And request contains "service_account_id" parameter from "REPLACE.ME" @@ -244,7 +244,7 @@ Feature: Service Accounts When the request is sent Then the response status is 404 Not Found - @generated @skip @team:DataDog/credentials-management + @generated @skip @team:DataDog/credential-management Scenario: Update an access token for a service account returns "Bad Request" response Given new "UpdateServiceAccountAccessToken" request And request contains "service_account_id" parameter from "REPLACE.ME" @@ -253,7 +253,7 @@ Feature: Service Accounts When the request is sent Then the response status is 400 Bad Request - @generated @skip @team:DataDog/credentials-management + @generated @skip @team:DataDog/credential-management Scenario: Update an access token for a service account returns "Not Found" response Given new "UpdateServiceAccountAccessToken" request And request contains "service_account_id" parameter from "REPLACE.ME" @@ -262,7 +262,7 @@ Feature: Service Accounts When the request is sent Then the response status is 404 Not Found - @team:DataDog/credentials-management + @team:DataDog/credential-management Scenario: Update an access token for a service account returns "OK" response Given there is a valid "service_account_user" in the system And there is a valid "service_account_access_token" for "service_account_user"