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.
27139
+
example:
27140
+
enabled_repos:
27141
+
- github_org_name: myorg
27142
+
hostname: github.com
27143
+
repo_name: myrepo
27144
+
type: object
27145
+
EntityIntegrationConfigRequest:
27146
+
description: Request body used to create or replace the configuration for a given integration.
summary: Delete an entity integration configuration
113823
+
tags:
113824
+
- Entity Integration Configs
113825
+
x-permission:
113826
+
operator: OR
113827
+
permissions:
113828
+
- manage_integrations
113829
+
x-unstable: |-
113830
+
**Note**: This endpoint is in preview and is subject to change.
113831
+
If you have any feedback, contact [Datadog support](https://docs.datadoghq.com/help/).
113832
+
get:
113833
+
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.
113881
+
If you have any feedback, contact [Datadog support](https://docs.datadoghq.com/help/).
113882
+
put:
113883
+
description: |-
113884
+
Create or replace the configuration for a given integration in the caller's organization. The shape of `data.attributes.config` depends on the integration:
113885
+
113886
+
- For `github`: `config` must contain an `enabled_repos` array of objects with `hostname`, `github_org_name`, and `repo_name`.
113887
+
- For `jira`: `config` must contain an `enabled_projects` array of objects with `hostname`, `account_id`, and `project_key`.
113888
+
- 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 config
113961
+
tags:
113962
+
- Entity Integration Configs
113963
+
x-codegen-request-body-name: body
113964
+
x-permission:
113965
+
operator: OR
113966
+
permissions:
113967
+
- integrations_read
113968
+
x-unstable: |-
113969
+
**Note**: This endpoint is in preview and is subject to change.
113970
+
If you have any feedback, contact [Datadog support](https://docs.datadoghq.com/help/).
113692
113971
/api/v2/incidents:
113693
113972
get:
113694
113973
description: >-
@@ -160136,6 +160415,8 @@ tags:
160136
160415
scopes from alerting. Downtime settings, which can be scheduled with start and
160137
160416
end times, prevent all alerting related to specified Datadog tags.
160138
160417
name: Downtimes
160418
+
- 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.
160419
+
name: Entity Integration Configs
160139
160420
- description: Retrieves security risk scores for entities in your organization.
160140
160421
name: Entity Risk Scores
160141
160422
- 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 config 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