From 723b0f4cc66ed3b07228457bba0dcb12809d5013 Mon Sep 17 00:00:00 2001 From: Matanga1-2 Date: Wed, 1 Jan 2025 13:32:12 +0200 Subject: [PATCH 1/2] Add "expand" parameter (#1901) Following this commit to Ocean https://github.com/port-labs/ocean/commit/32bf474df287d2a4fed9fb25d28389ca9d74ba46#diff-583fc09eda27e4b801bb21bda7ef9e6502dff16173d527aac0445005035a29e2R73 --- .../_azuredevops_exporter_example_work_item_port_app_config.mdx | 1 + 1 file changed, 1 insertion(+) diff --git a/docs/build-your-software-catalog/sync-data-to-catalog/git/azure-devops/example-project/_azuredevops_exporter_example_work_item_port_app_config.mdx b/docs/build-your-software-catalog/sync-data-to-catalog/git/azure-devops/example-project/_azuredevops_exporter_example_work_item_port_app_config.mdx index 927fa0804..c1fb0c825 100644 --- a/docs/build-your-software-catalog/sync-data-to-catalog/git/azure-devops/example-project/_azuredevops_exporter_example_work_item_port_app_config.mdx +++ b/docs/build-your-software-catalog/sync-data-to-catalog/git/azure-devops/example-project/_azuredevops_exporter_example_work_item_port_app_config.mdx @@ -7,6 +7,7 @@ resources: - kind: work-item selector: query: 'true' + expand: 'All' wiql: '[System.WorkItemType] = "Task" order by [System.CreatedDate] desc' port: entity: From ab52ef3eda82632474a3a7f2dba1edb10290c5bb Mon Sep 17 00:00:00 2001 From: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com> Date: Wed, 1 Jan 2025 11:56:17 +0000 Subject: [PATCH 2/2] docs: add User and Team resources to Datadog documentation --- .../apm-alerting/datadog/datadog.md | 69 +++++++++++++++++++ 1 file changed, 69 insertions(+) diff --git a/docs/build-your-software-catalog/sync-data-to-catalog/apm-alerting/datadog/datadog.md b/docs/build-your-software-catalog/sync-data-to-catalog/apm-alerting/datadog/datadog.md index 66c0bf9f5..97d7018ae 100644 --- a/docs/build-your-software-catalog/sync-data-to-catalog/apm-alerting/datadog/datadog.md +++ b/docs/build-your-software-catalog/sync-data-to-catalog/apm-alerting/datadog/datadog.md @@ -31,6 +31,8 @@ This integration allows you to: - [`SLO`](https://docs.datadoghq.com/api/latest/service-level-objectives/#get-all-slos) - [`SLO History`](https://docs.datadoghq.com/api/latest/service-level-objectives/#get-an-slos-history) - [`Service Metric`](https://docs.datadoghq.com/api/latest/metrics/#query-timeseries-points) +- [`User`](https://docs.datadoghq.com/api/latest/users/#list-all-users) +- [`Team`](https://docs.datadoghq.com/api/latest/teams/#get-all-teams) @@ -772,6 +774,49 @@ This enrichment significantly enhances the usability of the Datadog response by +
+ User response data + +```json showLineNumbers +{ + "type": "users", + "id": "468a7e28-4d70-11ef-9b68-c2d109cdf094", + "attributes": { + "name": "", + "handle": " ", + "created_at": "2024-07-29T06:03:28.693227+00:00", + "modified_at": "2024-07-29T06:05:30.392353+00:00", + "email": " ", + "icon": "", + "title": "", + "verified": true, + "service_account": false, + "disabled": false, + "allowed_login_methods": [], + "status": "Active", + "mfa_enabled": false + }, + "relationships": { + "roles": { + "data": [ + { + "type": "roles", + "id": "dbc3577a-396e-11ef-b12b-da7ad0900002" + } + ] + }, + "org": { + "data": { + "type": "orgs", + "id": "dbb758e9-396e-11ef-800c-bea43249b5f6" + } + } + } +} +``` + +
+ ### Mapping Result The combination of the sample payload and the Ocean configuration generates the following Port entity: @@ -941,6 +986,30 @@ The combination of the sample payload and the Ocean configuration generates the +
+User entity in Port + +```json showLineNumbers +{ + "identifier": "1e675d18-b002-11ef-9df4-2a2722803530", + "title": "Matan Grady", + "team": [], + "properties": { + "email": " ", + "handle": " ", + "status": "Active", + "disabled": false, + "verified": true + }, + "relations": { + "team": [] + }, + "icon": "Datadog" +} +``` + +
+ ## Relevant Guides