Latest Dynatrace
Your Dynatrace environment can integrate with GitHub repositories using GitHub Connector . After this setup, you can start using GitHub Connector actions in your workflow to manage issues and pull requests automatically based on your monitoring data and events.
You need the app-engine:apps:install
permission.
External requests enable outbound network connections from your Dynatrace environment to external services. They allow you to control access to public endpoints from the AppEngine with app functions and functions in Dashboards, Notebooks, and Automations.
Go to Settings and select General > Environment management, External Requests.
Select New host pattern.
Add the domain names.
Select Add.
This way you can granularly control the web services your functions can connect to.
You need to add the api.github.com
domain name.
Aside from permissions required by Workflows to run actions on your behalf, there are additional permissions required to use GitHub Connector actions.
To fine-tune permissions granted to Workflows
app-settings:objects:read
For more information on general Workflows user permissions, see User permissions for workflows.
You need to configure connections for each of your GitHub environments.
To configure a connection
Create a personal access token for your GitHub account as described in Managing your personal access tokens. We only support cloud-based GitHub plans such as GitHub Enterprise Cloud. GitHub Enterprise Server plans aren't supported.
Go to Settings and select Connections > Connectors > GitHub.
Select Connection.
Define your GitHub connection.
Select Create.
We strongly recommend that you limit the permissions of your personal access tokens to the necessary minimum. The necessary permissions for each action can be found on the GitHub Actions page. For more information, see Managing your personal access tokens for information about limiting the access to a certain repository or permissions/scopes. This ensures that your personal access token can be used for accessing and changing only the permitted repositories.