keptn-contrib / dynatrace-service

Keptn service to integrate Dynatrace in Keptn
Apache License 2.0
14 stars 7 forks source link

Update documentation to indicate which Dynatrace API token scopes are required for which functionalities #634

Closed arthurpitman closed 2 years ago

arthurpitman commented 2 years ago

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

arthurpitman commented 2 years ago

In #701:

Open tasks:

j-poecher commented 2 years ago

I guess we can close this as well @arthurpitman ?