You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
description: Integration-specific configuration payload. The shape of this object depends on the integration identified by the path parameter. For `github`, the object must contain an `enabled_repos` array. For `jira`, it must contain an `enabled_projects` array. For `pagerduty`, it must contain the PagerDuty-specific configuration.
26905
+
example:
26906
+
enabled_repos:
26907
+
- github_org_name: myorg
26908
+
hostname: github.com
26909
+
repo_name: myrepo
26910
+
type: object
26911
+
EntityIntegrationConfigRequest:
26912
+
description: Request body used to create or replace the configuration for a given integration.
description: JSON:API resource type for an entity integration configuration. Always `entity_integration_configs`.
26958
+
enum:
26959
+
- entity_integration_configs
26960
+
example: entity_integration_configs
26961
+
type: string
26962
+
x-enum-varnames:
26963
+
- ENTITY_INTEGRATION_CONFIGS
26859
26964
EntityMeta:
26860
26965
description: Entity metadata.
26861
26966
properties:
@@ -113005,6 +113110,170 @@ paths:
113005
113110
x-unstable: |-
113006
113111
**Note**: This endpoint is in public beta and is subject to change.
113007
113112
If you have any feedback, contact [Datadog support](https://docs.datadoghq.com/help/).
113113
+
/api/v2/idp/entity_integrations/{integration_id}:
113114
+
delete:
113115
+
description: Delete the configuration stored for a given integration in the caller's organization. The integration is identified by the `integration_id` path parameter.
summary: Delete an entity integration configuration
113139
+
tags:
113140
+
- Entity Integration Configs
113141
+
x-permission:
113142
+
operator: OR
113143
+
permissions:
113144
+
- manage_integrations
113145
+
x-unstable: |-
113146
+
**Note**: This endpoint is in preview and is subject to change.
113147
+
If you have any feedback, contact [Datadog support](https://docs.datadoghq.com/help/).
113148
+
get:
113149
+
description: Retrieve the configuration currently stored for a given integration in the caller's organization. The integration is identified by the `integration_id` path parameter.
**Note**: This endpoint is in preview and is subject to change.
113197
+
If you have any feedback, contact [Datadog support](https://docs.datadoghq.com/help/).
113198
+
put:
113199
+
description: |-
113200
+
Create or replace the configuration for a given integration in the caller's organization. The integration is identified by the `integration_id` path parameter. The shape of `data.attributes.config` depends on the integration:
113201
+
113202
+
- For `github`: `config` must contain an `enabled_repos` array of objects with `hostname`, `github_org_name`, and `repo_name`.
113203
+
- For `jira`: `config` must contain an `enabled_projects` array of objects with `hostname`, `account_id`, and `project_key`.
113204
+
- For `pagerduty`: `config` must follow the PagerDuty-specific schema.
summary: Update an entity integration configuration
113267
+
tags:
113268
+
- Entity Integration Configs
113269
+
x-codegen-request-body-name: body
113270
+
x-permission:
113271
+
operator: OR
113272
+
permissions:
113273
+
- integrations_read
113274
+
x-unstable: |-
113275
+
**Note**: This endpoint is in preview and is subject to change.
113276
+
If you have any feedback, contact [Datadog support](https://docs.datadoghq.com/help/).
113008
113277
/api/v2/incidents:
113009
113278
get:
113010
113279
description: >-
@@ -159452,6 +159721,8 @@ tags:
159452
159721
scopes from alerting. Downtime settings, which can be scheduled with start and
159453
159722
end times, prevent all alerting related to specified Datadog tags.
159454
159723
name: Downtimes
159724
+
- description: Manage per-integration configurations for the Internal Developer Portal (IDP). These configurations control which external resources (for example, GitHub repositories, Jira projects, or PagerDuty services) are synced as entities into the Software Catalog.
159725
+
name: Entity Integration Configs
159455
159726
- description: Retrieves security risk scores for entities in your organization.
159456
159727
name: Entity Risk Scores
159457
159728
- description: View and manage issues within Error Tracking. See the [Error Tracking page](https://docs.datadoghq.com/error_tracking/) for more information.
Manage per-integration configurations for the Internal Developer Portal
4
+
(IDP). These configurations control which external resources (for example,
5
+
GitHub repositories, Jira projects, or PagerDuty services) are synced as
6
+
entities into the Software Catalog.
7
+
8
+
Background:
9
+
Given a valid "apiKeyAuth" key in the system
10
+
And a valid "appKeyAuth" key in the system
11
+
And an instance of "EntityIntegrationConfigs" API
12
+
13
+
@generated@skip@team:DataDog/idp
14
+
Scenario: Delete an entity integration configuration returns "Bad Request" response
15
+
Given operation "DeleteEntityIntegrationConfig" enabled
16
+
And new "DeleteEntityIntegrationConfig" request
17
+
And request contains "integration_id" parameter from "REPLACE.ME"
18
+
When the request is sent
19
+
Then the response status is 400 Bad Request
20
+
21
+
@generated@skip@team:DataDog/idp
22
+
Scenario: Delete an entity integration configuration returns "No Content" response
23
+
Given operation "DeleteEntityIntegrationConfig" enabled
24
+
And new "DeleteEntityIntegrationConfig" request
25
+
And request contains "integration_id" parameter from "REPLACE.ME"
26
+
When the request is sent
27
+
Then the response status is 204 No Content
28
+
29
+
@generated@skip@team:DataDog/idp
30
+
Scenario: Delete an entity integration configuration returns "Not Found" response
31
+
Given operation "DeleteEntityIntegrationConfig" enabled
32
+
And new "DeleteEntityIntegrationConfig" request
33
+
And request contains "integration_id" parameter from "REPLACE.ME"
34
+
When the request is sent
35
+
Then the response status is 404 Not Found
36
+
37
+
@generated@skip@team:DataDog/idp
38
+
Scenario: Get an entity integration configuration returns "Bad Request" response
39
+
Given operation "GetEntityIntegrationConfig" enabled
40
+
And new "GetEntityIntegrationConfig" request
41
+
And request contains "integration_id" parameter from "REPLACE.ME"
42
+
When the request is sent
43
+
Then the response status is 400 Bad Request
44
+
45
+
@generated@skip@team:DataDog/idp
46
+
Scenario: Get an entity integration configuration returns "Not Found" response
47
+
Given operation "GetEntityIntegrationConfig" enabled
48
+
And new "GetEntityIntegrationConfig" request
49
+
And request contains "integration_id" parameter from "REPLACE.ME"
50
+
When the request is sent
51
+
Then the response status is 404 Not Found
52
+
53
+
@generated@skip@team:DataDog/idp
54
+
Scenario: Get an entity integration configuration returns "OK" response
55
+
Given operation "GetEntityIntegrationConfig" enabled
56
+
And new "GetEntityIntegrationConfig" request
57
+
And request contains "integration_id" parameter from "REPLACE.ME"
58
+
When the request is sent
59
+
Then the response status is 200 OK
60
+
61
+
@generated@skip@team:DataDog/idp
62
+
Scenario: Update an entity integration configuration returns "Bad Request" response
63
+
Given operation "UpdateEntityIntegrationConfig" enabled
64
+
And new "UpdateEntityIntegrationConfig" request
65
+
And request contains "integration_id" parameter from "REPLACE.ME"
66
+
And body with value {"data": {"attributes": {"config": {"enabled_repos": [{"github_org_name": "myorg", "hostname": "github.com", "repo_name": "myrepo"}]}}, "type": "entity_integration_config_requests"}}
67
+
When the request is sent
68
+
Then the response status is 400 Bad Request
69
+
70
+
@generated@skip@team:DataDog/idp
71
+
Scenario: Update an entity integration configuration returns "OK" response
72
+
Given operation "UpdateEntityIntegrationConfig" enabled
73
+
And new "UpdateEntityIntegrationConfig" request
74
+
And request contains "integration_id" parameter from "REPLACE.ME"
75
+
And body with value {"data": {"attributes": {"config": {"enabled_repos": [{"github_org_name": "myorg", "hostname": "github.com", "repo_name": "myrepo"}]}}, "type": "entity_integration_config_requests"}}
0 commit comments