Use GitLab for Workflows to integrate your Dynatrace environment with GitLab repositories. This integration enables you to use GitLab for Workflows actions in your workflow to manage issues and merge requests automatically based on your monitoring data and events.
Install GitLab for Workflows
Add a host to the Allow-list in Limit outbound connections
Grant permissions to Workflows
Authorize connection to GitLab
To use GitLab workflow actions, you need to install GitLab for Workflows from Dynatrace Hub.
By adding the GitLab host called *.gitlab.com
to the Allow-list in Limit outbound connections, you can granularly control the web services connected to your Dynatrace environment.
To set up the connection between GitLab and your Dynatrace environment
*.gitlab.com
.Aside from permissions required by Workflows to run actions on your behalf, there are additional permissions required to use GitLab for Workflows actions.
To fine-tune permissions granted to Workflows
app-settings:objects:read
To learn more about Workflows user permissions, see User permissions for workflows.
You need a configured connection for each of your GitLab environments.
To configure a connection
Go to Settings and select Connections > Connectors > GitLab.
Select Connection.
Define your GitLab connection.
Select Create.