Closed arthurpitman closed 2 years ago
In #701:
dynatrace-api-token-scopes.md
has been added specifying with API token scopes are required for which functionality.project-setup.md
enable all functionality. Scopes which are not currently needed have been removed.Open tasks:
I guess we can close this as well @arthurpitman ?
Describe the bug Right now, the documentation suggests creating a Dynatrace API token with a limited but standard set of scopes:
While this will work for basic SLIs using the Metrics v2 API, SLIs targeting SLOs, USQL queries and security problems will require additional scopes. The documentation should be updates to reflect this, in particular which SLI types need which scopes. Furthermore, it includes some scopes that users don't automatically need.
Versions
Expected behavior Users should be guided to assign only the scopes the need to the their Dynatrace API tokens. Error messages should be checked to ensure they guide the user to the problem if their token is missing scopes.
Additional context The default scopes suggested in the documentation should be reevaluated