Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
4 changes: 2 additions & 2 deletions .generator/schemas/v2/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1452,7 +1452,7 @@ components:
format: int64
type: integer
PageSize:
description: Size for a given page. The maximum allowed value is 100.
description: Number of items to return per page. The maximum allowed value is 100.
in: query
name: page[size]
required: false
Expand Down Expand Up @@ -7702,7 +7702,7 @@ components:
description: An arbitrary object value with additional properties.
type: object
AnyValueString:
description: A scalar string value.
description: A scalar value represented as a string.
type: string
ApiID:
description: API identifier.
Expand Down
2 changes: 1 addition & 1 deletion packages/datadog-api-client-v2/apis/AuthNMappingsApi.ts
Original file line number Diff line number Diff line change
Expand Up @@ -579,7 +579,7 @@ export interface AuthNMappingsApiGetAuthNMappingRequest {

export interface AuthNMappingsApiListAuthNMappingsRequest {
/**
* Size for a given page. The maximum allowed value is 100.
* Number of items to return per page. The maximum allowed value is 100.
* @type number
*/
pageSize?: number;
Expand Down
2 changes: 1 addition & 1 deletion packages/datadog-api-client-v2/apis/CaseManagementApi.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7726,7 +7726,7 @@ export interface CaseManagementApiRemoveCaseInsightsRequest {

export interface CaseManagementApiSearchCasesRequest {
/**
* Size for a given page. The maximum allowed value is 100.
* Number of items to return per page. The maximum allowed value is 100.
* @type number
*/
pageSize?: number;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -447,7 +447,7 @@ export interface IdentityProvidersApiListIdentityProviderUsersRequest {
*/
idpId: string;
/**
* Size for a given page. The maximum allowed value is 100.
* Number of items to return per page. The maximum allowed value is 100.
* @type number
*/
pageSize?: number;
Expand Down
4 changes: 2 additions & 2 deletions packages/datadog-api-client-v2/apis/IncidentsApi.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11913,7 +11913,7 @@ export interface IncidentsApiListIncidentsRequest {
*/
include?: Array<IncidentRelatedObject>;
/**
* Size for a given page. The maximum allowed value is 100.
* Number of items to return per page. The maximum allowed value is 100.
* @type number
*/
pageSize?: number;
Expand Down Expand Up @@ -12054,7 +12054,7 @@ export interface IncidentsApiSearchIncidentsRequest {
*/
sort?: IncidentSearchSortOrder;
/**
* Size for a given page. The maximum allowed value is 100.
* Number of items to return per page. The maximum allowed value is 100.
* @type number
*/
pageSize?: number;
Expand Down
8 changes: 4 additions & 4 deletions packages/datadog-api-client-v2/apis/KeyManagementApi.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2434,7 +2434,7 @@ export interface KeyManagementApiGetPersonalAccessTokenRequest {

export interface KeyManagementApiListAPIKeysRequest {
/**
* Size for a given page. The maximum allowed value is 100.
* Number of items to return per page. The maximum allowed value is 100.
* @type number
*/
pageSize?: number;
Expand Down Expand Up @@ -2494,7 +2494,7 @@ export interface KeyManagementApiListAPIKeysRequest {

export interface KeyManagementApiListApplicationKeysRequest {
/**
* Size for a given page. The maximum allowed value is 100.
* Number of items to return per page. The maximum allowed value is 100.
* @type number
*/
pageSize?: number;
Expand Down Expand Up @@ -2539,7 +2539,7 @@ export interface KeyManagementApiListApplicationKeysRequest {

export interface KeyManagementApiListCurrentUserApplicationKeysRequest {
/**
* Size for a given page. The maximum allowed value is 100.
* Number of items to return per page. The maximum allowed value is 100.
* @type number
*/
pageSize?: number;
Expand Down Expand Up @@ -2579,7 +2579,7 @@ export interface KeyManagementApiListCurrentUserApplicationKeysRequest {

export interface KeyManagementApiListPersonalAccessTokensRequest {
/**
* Size for a given page. The maximum allowed value is 100.
* Number of items to return per page. The maximum allowed value is 100.
* @type number
*/
pageSize?: number;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1301,7 +1301,7 @@ export interface LogsRestrictionQueriesApiGetRoleRestrictionQueryRequest {

export interface LogsRestrictionQueriesApiListRestrictionQueriesRequest {
/**
* Size for a given page. The maximum allowed value is 100.
* Number of items to return per page. The maximum allowed value is 100.
* @type number
*/
pageSize?: number;
Expand All @@ -1319,7 +1319,7 @@ export interface LogsRestrictionQueriesApiListRestrictionQueryRolesRequest {
*/
restrictionQueryId: string;
/**
* Size for a given page. The maximum allowed value is 100.
* Number of items to return per page. The maximum allowed value is 100.
* @type number
*/
pageSize?: number;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -655,7 +655,7 @@ export interface ObservabilityPipelinesApiGetPipelineRequest {

export interface ObservabilityPipelinesApiListPipelinesRequest {
/**
* Size for a given page. The maximum allowed value is 100.
* Number of items to return per page. The maximum allowed value is 100.
* @type number
*/
pageSize?: number;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1093,7 +1093,7 @@ export interface OrgAuthorizedClientsApiGetOrgAuthorizedClientRequest {

export interface OrgAuthorizedClientsApiListOrgAuthorizedClientsRequest {
/**
* Size for a given page. The maximum allowed value is 100.
* Number of items to return per page. The maximum allowed value is 100.
* @type number
*/
pageSize?: number;
Expand Down Expand Up @@ -1137,7 +1137,7 @@ export interface OrgAuthorizedClientsApiListOrgAuthorizedClientUserAuthorization
*/
orgAuthorizedClientId: string;
/**
* Size for a given page. The maximum allowed value is 100.
* Number of items to return per page. The maximum allowed value is 100.
* @type number
*/
pageSize?: number;
Expand Down
4 changes: 2 additions & 2 deletions packages/datadog-api-client-v2/apis/RolesApi.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1595,7 +1595,7 @@ export interface RolesApiListRolePermissionsRequest {

export interface RolesApiListRolesRequest {
/**
* Size for a given page. The maximum allowed value is 100.
* Number of items to return per page. The maximum allowed value is 100.
* @type number
*/
pageSize?: number;
Expand Down Expand Up @@ -1630,7 +1630,7 @@ export interface RolesApiListRoleUsersRequest {
*/
roleId: string;
/**
* Size for a given page. The maximum allowed value is 100.
* Number of items to return per page. The maximum allowed value is 100.
* @type number
*/
pageSize?: number;
Expand Down
4 changes: 2 additions & 2 deletions packages/datadog-api-client-v2/apis/ScorecardsApi.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1949,7 +1949,7 @@ export interface ScorecardsApiListScorecardCampaignsRequest {

export interface ScorecardsApiListScorecardOutcomesRequest {
/**
* Size for a given page. The maximum allowed value is 100.
* Number of items to return per page. The maximum allowed value is 100.
* @type number
*/
pageSize?: number;
Expand Down Expand Up @@ -2002,7 +2002,7 @@ export interface ScorecardsApiListScorecardOutcomesRequest {

export interface ScorecardsApiListScorecardRulesRequest {
/**
* Size for a given page. The maximum allowed value is 100.
* Number of items to return per page. The maximum allowed value is 100.
* @type number
*/
pageSize?: number;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19893,7 +19893,7 @@ export interface SecurityMonitoringApiGetRuleVersionHistoryRequest {
*/
ruleId: string;
/**
* Size for a given page. The maximum allowed value is 100.
* Number of items to return per page. The maximum allowed value is 100.
* @type number
*/
pageSize?: number;
Expand Down Expand Up @@ -20204,7 +20204,7 @@ export interface SecurityMonitoringApiGetSuppressionVersionHistoryRequest {
*/
suppressionId: string;
/**
* Size for a given page. The maximum allowed value is 100.
* Number of items to return per page. The maximum allowed value is 100.
* @type number
*/
pageSize?: number;
Expand Down Expand Up @@ -20353,7 +20353,7 @@ export interface SecurityMonitoringApiListFindingsRequest {

export interface SecurityMonitoringApiListHistoricalJobsRequest {
/**
* Size for a given page. The maximum allowed value is 100.
* Number of items to return per page. The maximum allowed value is 100.
* @type number
*/
pageSize?: number;
Expand Down Expand Up @@ -20608,7 +20608,7 @@ export interface SecurityMonitoringApiListSecurityMonitoringIntegrationConfigsRe

export interface SecurityMonitoringApiListSecurityMonitoringRulesRequest {
/**
* Size for a given page. The maximum allowed value is 100.
* Number of items to return per page. The maximum allowed value is 100.
* @type number
*/
pageSize?: number;
Expand Down
4 changes: 2 additions & 2 deletions packages/datadog-api-client-v2/apis/ServiceAccountsApi.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1405,7 +1405,7 @@ export interface ServiceAccountsApiListServiceAccountAccessTokensRequest {
*/
serviceAccountId: string;
/**
* Size for a given page. The maximum allowed value is 100.
* Number of items to return per page. The maximum allowed value is 100.
* @type number
*/
pageSize?: number;
Expand Down Expand Up @@ -1435,7 +1435,7 @@ export interface ServiceAccountsApiListServiceAccountApplicationKeysRequest {
*/
serviceAccountId: string;
/**
* Size for a given page. The maximum allowed value is 100.
* Number of items to return per page. The maximum allowed value is 100.
* @type number
*/
pageSize?: number;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -479,7 +479,7 @@ export interface ServiceDefinitionApiGetServiceDefinitionRequest {

export interface ServiceDefinitionApiListServiceDefinitionsRequest {
/**
* Size for a given page. The maximum allowed value is 100.
* Number of items to return per page. The maximum allowed value is 100.
* @type number
*/
pageSize?: number;
Expand Down
10 changes: 5 additions & 5 deletions packages/datadog-api-client-v2/apis/TeamsApi.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3825,7 +3825,7 @@ export interface TeamsApiGetTeamMembershipsRequest {
*/
teamId: string;
/**
* Size for a given page. The maximum allowed value is 100.
* Number of items to return per page. The maximum allowed value is 100.
* @type number
*/
pageSize?: number;
Expand Down Expand Up @@ -3898,7 +3898,7 @@ export interface TeamsApiListMemberTeamsRequest {
*/
superTeamId: string;
/**
* Size for a given page. The maximum allowed value is 100.
* Number of items to return per page. The maximum allowed value is 100.
* @type number
*/
pageSize?: number;
Expand All @@ -3916,7 +3916,7 @@ export interface TeamsApiListMemberTeamsRequest {

export interface TeamsApiListTeamConnectionsRequest {
/**
* Size for a given page. The maximum allowed value is 100.
* Number of items to return per page. The maximum allowed value is 100.
* @type number
*/
pageSize?: number;
Expand Down Expand Up @@ -3954,7 +3954,7 @@ export interface TeamsApiListTeamHierarchyLinksRequest {
*/
pageNumber?: number;
/**
* Size for a given page. The maximum allowed value is 100.
* Number of items to return per page. The maximum allowed value is 100.
* @type number
*/
pageSize?: number;
Expand All @@ -3977,7 +3977,7 @@ export interface TeamsApiListTeamsRequest {
*/
pageNumber?: number;
/**
* Size for a given page. The maximum allowed value is 100.
* Number of items to return per page. The maximum allowed value is 100.
* @type number
*/
pageSize?: number;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -547,7 +547,7 @@ export interface UserAuthorizedClientsApiGetUserAuthorizedClientRequest {

export interface UserAuthorizedClientsApiListUserAuthorizedClientsRequest {
/**
* Size for a given page. The maximum allowed value is 100.
* Number of items to return per page. The maximum allowed value is 100.
* @type number
*/
pageSize?: number;
Expand Down
2 changes: 1 addition & 1 deletion packages/datadog-api-client-v2/apis/UsersApi.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1619,7 +1619,7 @@ export interface UsersApiListUserPermissionsRequest {

export interface UsersApiListUsersRequest {
/**
* Size for a given page. The maximum allowed value is 100.
* Number of items to return per page. The maximum allowed value is 100.
* @type number
*/
pageSize?: number;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1089,7 +1089,7 @@ export interface WorkflowAutomationApiListWorkflowInstancesRequest {
*/
workflowId: string;
/**
* Size for a given page. The maximum allowed value is 100.
* Number of items to return per page. The maximum allowed value is 100.
* @type number
*/
pageSize?: number;
Expand Down
29 changes: 29 additions & 0 deletions test-runner-data/features/v1/authentication.feature
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
@endpoint(authentication) @endpoint(authentication-v1)
Feature: Authentication
All requests to Datadog’s API must be authenticated. Requests that write
data require reporting access and require an `API key`. Requests that read
data require full access and also require an `application key`. **Note:**
All Datadog API clients are configured by default to consume Datadog US
site APIs. If you are on the Datadog EU site, set the environment variable
`DATADOG_HOST` to `https://api.datadoghq.eu` or override this value
directly when creating your client. [Manage your account’s API and
application keys](https://app.datadoghq.com/organization-settings/) in
Datadog, and see the [API and Application Keys
page](https://docs.datadoghq.com/account_management/api-app-keys/) in the
documentation.

Background:
Given an instance of "Authentication" API
And new "Validate" request

@skip-validation @team:DataDog/credentials-management
Scenario: Validate API key returns "Forbidden" response
When the request is sent
Then the response status is 403 OK

@team:DataDog/credentials-management
Scenario: Validate API key returns "OK" response
Given a valid "apiKeyAuth" key in the system
When the request is sent
Then the response status is 200 OK
And the response "valid" is equal to true
Loading
Loading