Skip to content

Conversation

@JosephHobbs
Copy link
Contributor

Closes #122 .

Took the same approach as done in #121 by converting the Enum to a string for the Category field of the AuditLogEntry.

@sonarqubecloud
Copy link

@Dynatrace-James-Kitson Dynatrace-James-Kitson merged commit 48d4e2e into dynatrace-oss:main Oct 30, 2025
4 checks passed
@Dynatrace-James-Kitson
Copy link
Collaborator

I agree with this, especially because if 'AGENT' really can be returned by the API given that one is not documented in the schema meaning there may be others.

https://docs.dynatrace.com/docs/discover-dynatrace/references/dynatrace-api/environment-api/audit-logs/get-log#openapi-response-body-objects-openapienv2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

ValueError: 'TENANT_LIFECYCLE' is not a valid Category (also 'AGENT')

2 participants