Skip to content

Commit

Permalink
add gitlab team
Browse files Browse the repository at this point in the history
  • Loading branch information
hadar-co committed Jan 30, 2025
1 parent 46e0070 commit d32d62b
Showing 1 changed file with 26 additions and 9 deletions.
35 changes: 26 additions & 9 deletions docs/getting-started/set-up-automatic-discovery.md
Original file line number Diff line number Diff line change
Expand Up @@ -203,6 +203,7 @@ Common examples for resources that can be used as a source of truth for `service
entity:
mappings:
identifier: .id
title: .attributes.display_name
blueprint: '"service"'
relations:
snyk_target: .id
Expand All @@ -219,6 +220,7 @@ Common examples for resources that can be used as a source of truth for `service
entity:
mappings:
identifier: .id
title: .name
blueprint: '"service"'
relations:
pager_duty_service: .id
Expand Down Expand Up @@ -299,8 +301,8 @@ Common examples for resources that can be used as a source of truth for `workloa
identifier: .slug + "-" + .__tags.name
title: .name + "-" + .__tags.name
blueprint: '"workload"'
relations:
sentry_project: .id | tostring
relations:
sentry_project: .slug + "-" + .__tags.name
```
</details>

Expand All @@ -320,8 +322,8 @@ Common examples for resources that can be used as a source of truth for `workloa
identifier: .entityId
title: .displayName
blueprint: '"workload"'
relations:
dynatrace_entity: .entityId
relations:
dynatrace_entity: .entityId
```
</details>

Expand All @@ -335,14 +337,11 @@ Common examples for resources that can be used as a source of truth for `workloa
entity:
mappings:
- identifier: >-
.metadata.name + "-Deployment-" + .metadata.namespace + "-" +
env.CLUSTER_NAME
.metadata.name + "-Deployment-" + .metadata.namespace + "-" + env.CLUSTER_NAME
title: .metadata.name
blueprint: '"workload"'
relations:
k8s_workload: >-
.metadata.name + "-Deployment-" + .metadata.namespace + "-" +
env.CLUSTER_NAME
k8s_workload: .metadata.name + "-Deployment-" + .metadata.namespace + "-" + env.CLUSTER_NAME
```
</details>

Expand Down Expand Up @@ -421,6 +420,24 @@ Common examples for resources that can be used as a source of truth for `teams`:
```
</details>

<details>
<summary><LogoImage logo="GitLab" /> **GitLab team (click to expand)**</summary>
```yaml showLineNumbers
- kind: group-with-members
selector:
query: 'true'
includeBotMembers: 'true'
port:
entity:
mappings:
identifier: .full_path
title: .name
blueprint: '"_team"'
relations:
gitlab_group: .full_path
```
</details>

<details>
<summary><LogoImage logo="AzureDevops" /> **Azure DevOps team (click to expand)**</summary>
```yaml showLineNumbers
Expand Down

0 comments on commit d32d62b

Please sign in to comment.