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 an `accounts` array.
27248
+
example:
27249
+
enabled_repos:
27250
+
- github_org_name: myorg
27251
+
hostname: github.com
27252
+
repo_name: myrepo
27253
+
type: object
27254
+
EntityIntegrationConfigRequest:
27255
+
description: Request body used to create or replace the configuration for a given integration.
**Note**: This endpoint is in preview and is subject to change.
114693
+
If you have any feedback, contact [Datadog support](https://docs.datadoghq.com/help/).
114694
+
put:
114695
+
description: |-
114696
+
Create or replace the configuration for a given integration in the caller's organization. The shape of `data.attributes.config` depends on the integration:
114697
+
114698
+
- For `github`: `config` must contain an `enabled_repos` array of objects with `hostname`, `github_org_name`, and `repo_name`.
114699
+
- For `jira`: `config` must contain an `enabled_projects` array of objects with `hostname`, `account_id`, and `project_key`.
114700
+
- For `pagerduty`: `config` must contain an `accounts` array of objects with a required `enabled` boolean and an optional `subdomain` string.
summary: Create or update entity integration configuration
114773
+
tags:
114774
+
- Entity Integration Configs
114775
+
x-codegen-request-body-name: body
114776
+
x-permission:
114777
+
operator: OR
114778
+
permissions:
114779
+
- integrations_read
114780
+
x-unstable: |-
114781
+
**Note**: This endpoint is in preview and is subject to change.
114782
+
If you have any feedback, contact [Datadog support](https://docs.datadoghq.com/help/).
114504
114783
/api/v2/incidents:
114505
114784
get:
114506
114785
description: >-
@@ -161782,6 +162061,8 @@ tags:
161782
162061
scopes from alerting. Downtime settings, which can be scheduled with start and
161783
162062
end times, prevent all alerting related to specified Datadog tags.
161784
162063
name: Downtimes
162064
+
- 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.
162065
+
name: Entity Integration Configs
161785
162066
- description: Retrieves security risk scores for entities in your organization.
161786
162067
name: Entity Risk Scores
161787
162068
- description: View and manage issues within Error Tracking. See the [Error Tracking page](https://docs.datadoghq.com/error_tracking/) for more information.
Given operation "UpdateEntityIntegrationConfig" enabled
16
+
And new "UpdateEntityIntegrationConfig" request
17
+
And request contains "integration_id" parameter from "REPLACE.ME"
18
+
And body with value {"data": {"attributes": {"config": {"enabled_repos": [{"github_org_name": "myorg", "hostname": "github.com", "repo_name": "myrepo"}]}}, "type": "entity_integration_config_requests"}}
19
+
When the request is sent
20
+
Then the response status is 400 Bad Request
21
+
22
+
@generated@skip@team:DataDog/idp
23
+
Scenario: Create or update entity integration configuration returns "OK" response
24
+
Given operation "UpdateEntityIntegrationConfig" enabled
25
+
And new "UpdateEntityIntegrationConfig" request
26
+
And request contains "integration_id" parameter from "REPLACE.ME"
27
+
And body with value {"data": {"attributes": {"config": {"enabled_repos": [{"github_org_name": "myorg", "hostname": "github.com", "repo_name": "myrepo"}]}}, "type": "entity_integration_config_requests"}}
28
+
When the request is sent
29
+
Then the response status is 200 OK
30
+
31
+
@generated@skip@team:DataDog/idp
32
+
Scenario: Delete an entity integration configuration returns "Bad Request" response
33
+
Given operation "DeleteEntityIntegrationConfig" enabled
34
+
And new "DeleteEntityIntegrationConfig" request
35
+
And request contains "integration_id" parameter from "REPLACE.ME"
36
+
When the request is sent
37
+
Then the response status is 400 Bad Request
38
+
39
+
@generated@skip@team:DataDog/idp
40
+
Scenario: Delete an entity integration configuration returns "No Content" response
41
+
Given operation "DeleteEntityIntegrationConfig" enabled
42
+
And new "DeleteEntityIntegrationConfig" request
43
+
And request contains "integration_id" parameter from "REPLACE.ME"
44
+
When the request is sent
45
+
Then the response status is 204 No Content
46
+
47
+
@generated@skip@team:DataDog/idp
48
+
Scenario: Delete an entity integration configuration returns "Not Found" response
49
+
Given operation "DeleteEntityIntegrationConfig" enabled
50
+
And new "DeleteEntityIntegrationConfig" request
51
+
And request contains "integration_id" parameter from "REPLACE.ME"
52
+
When the request is sent
53
+
Then the response status is 404 Not Found
54
+
55
+
@generated@skip@team:DataDog/idp
56
+
Scenario: Get an entity integration configuration returns "Bad Request" response
57
+
Given operation "GetEntityIntegrationConfig" enabled
58
+
And new "GetEntityIntegrationConfig" request
59
+
And request contains "integration_id" parameter from "REPLACE.ME"
60
+
When the request is sent
61
+
Then the response status is 400 Bad Request
62
+
63
+
@generated@skip@team:DataDog/idp
64
+
Scenario: Get an entity integration configuration returns "Not Found" response
65
+
Given operation "GetEntityIntegrationConfig" enabled
66
+
And new "GetEntityIntegrationConfig" request
67
+
And request contains "integration_id" parameter from "REPLACE.ME"
68
+
When the request is sent
69
+
Then the response status is 404 Not Found
70
+
71
+
@generated@skip@team:DataDog/idp
72
+
Scenario: Get an entity integration configuration returns "OK" response
73
+
Given operation "GetEntityIntegrationConfig" enabled
74
+
And new "GetEntityIntegrationConfig" request
75
+
And request contains "integration_id" parameter from "REPLACE.ME"
0 commit comments