# Audit logs in SaaS

**URL:** <https://community.dynatrace.com/t/audit-logs-in-saas/18674>\
**Category:** Open Q&A\
**Tags:** account-management, data-privacy-and-product-security, dynatrace-saas\
**Created:** [December 3, 2018, 8:08am UTC](https://community.dynatrace.com/t/audit-logs-in-saas/18674 "2018-12-03T08:08:06Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![avdveen](https://avatars.discourse-cdn.com/v4/letter/a/ed8c4c/32.png) [@avdveen](https://community.dynatrace.com/u/avdveen)\
**Post date:** [December 3, 2018, 8:08am UTC](https://community.dynatrace.com/t/audit-logs-in-saas/18674/1 "2018-12-03T08:08:06Z")

</div>

I know there is auditing in Managed, via CMC, but is there an equivalent in SaaS? Perhaps I’m just being slow on this Monday morning, but I cannot find anything. One of our client’s is using SaaS and wants to know if they can track which of their users made configuration changes to their SaaS tenant.

---

<div class="post-metadata">

**Author:** ![larry\_roberts](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/larry_roberts/32/7131_2.png) [@larry\_roberts](https://community.dynatrace.com/u/larry_roberts)\
**Post date:** [December 3, 2018, 12:29pm UTC](https://community.dynatrace.com/t/audit-logs-in-saas/18674/2 "2018-12-03T12:29:18Z")

</div>

Nope, you are correct and it’s driving me crazy 🙂

It seems there are many things missing in the SaaS version VS managed to the point I am starting to wish we would have went managed. We have the exact same need as your client.

---

<div class="post-metadata">

**Author:** ![yasmeen\_hazy1](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/yasmeen_hazy1/32/4040_2.png) [@yasmeen\_hazy1](https://community.dynatrace.com/u/yasmeen_hazy1)\
**Post date:** [March 1, 2019, 5:04pm UTC](https://community.dynatrace.com/t/audit-logs-in-saas/18674/3 "2019-03-01T17:04:18Z")

</div>

My client is also frustrated by this, so I created an RFE:

> **[Login | Dynatrace](https://sso.dynatrace.com/action/signin?goto=https%3A%2F%2Fsso.dynatrace.com%3A443%2Foauth2%2Fauthorize%2Fredirect%3FoAuth2CtxUuid%3De30dfe5c-a8f5-42a1-ba22-fa1b26071923&oAuth2RedirectUri=https%3A%2F%2Fcommunity.dynatrace.com%2Fauth%2Foauth2callback)**

---

<div class="post-metadata">

**Author:** ![larry\_roberts](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/larry_roberts/32/7131_2.png) [@larry\_roberts](https://community.dynatrace.com/u/larry_roberts)\
**Post date:** [April 17, 2019, 1:29pm UTC](https://community.dynatrace.com/t/audit-logs-in-saas/18674/4 "2019-04-17T13:29:04Z")

</div>

I have asked for an update around this in another post. Still waiting to hear anything on this from Dynatrace.

---

<div class="post-metadata">

**Author:** ![chuan\_sern\_wong](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/chuan_sern_wong/32/32488_2.png) [@chuan\_sern\_wong](https://community.dynatrace.com/u/chuan_sern_wong)\
**Post date:** [April 18, 2019, 12:47am UTC](https://community.dynatrace.com/t/audit-logs-in-saas/18674/5 "2019-04-18T00:47:51Z")

</div>

Dynatrace Managed audit trail only provide who log in and log out, is there a roadmap to add in more eventType on CRUD application setting such as naming rules, key user action and etc ?

Next, Dynatrace Mobile App audit trail is missing too, is there a way to track who had used the QR code to register to view the Problem via Mobile App ? This is critical from security audit perspective.

---

<div class="post-metadata">

**Author:** ![avdveen](https://avatars.discourse-cdn.com/v4/letter/a/ed8c4c/32.png) [@avdveen](https://community.dynatrace.com/u/avdveen)\
**Post date:** [April 23, 2019, 8:36pm UTC](https://community.dynatrace.com/t/audit-logs-in-saas/18674/6 "2019-04-23T20:36:56Z")

</div>

Events (Informational) show user login/logout, Audit logs provide detail on e.g. config changes, what the change entailed, the user that performed the change, which environment, timestamp.

How would you know who scanned the code using their mobile device? Closest you’ll get, is to track who browsed to the page where the QR code is displayed?

---

<div class="post-metadata">

**Author:** ![Michael\_Plank](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/michael_plank/32/10140_2.png) [@Michael\_Plank](https://community.dynatrace.com/u/Michael_Plank)\
**Post date:** [June 12, 2019, 1:19pm UTC](https://community.dynatrace.com/t/audit-logs-in-saas/18674/7 "2019-06-12T13:19:24Z")

</div>

Hi everybody,

please see my comment here for an update on the audit logging for SaaS feature:

> **[Login | Dynatrace](https://sso.dynatrace.com/action/signin?goto=https%3A%2F%2Fsso.dynatrace.com%3A443%2Foauth2%2Fauthorize%2Fredirect%3FoAuth2CtxUuid%3De6f150f3-b092-46ec-b145-2cbf63f37fa4&oAuth2RedirectUri=https%3A%2F%2Fcommunity.dynatrace.com%2Fauth%2Foauth2callback)**

---

<div class="post-metadata">

**Author:** ![ctturner](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/ctturner/32/11883_2.png) [@ctturner](https://community.dynatrace.com/u/ctturner)\
**Post date:** [January 16, 2020, 2:04pm UTC](https://community.dynatrace.com/t/audit-logs-in-saas/18674/8 "2020-01-16T14:04:48Z")

</div>

You can now audit the following:

- Login events

- Logout events

- Any change to a configuration

- Any change to API tokens

To enable and use the new environment Audit logs API

1. Go to **Settings** \> **Preferences** \> **Data privacy and security** and enable **Log all audit-related system events**.

 ![23259-step-1.png](https://global.discourse-cdn.com/dynatrace/original/2X/1/191cf0b9325d01be3fa9549d486c3827ab120c15.png)

2. Go to **Settings** \> **Integration** \> **Dynatrace API** \> **Generate token**. Give the token a name and enable **Read audit logs**. Alternatively, use an existing API token by adding this access scope.

 ![23260-step-2.png](https://global.discourse-cdn.com/dynatrace/original/3X/c/0/c0a6d7cf861e1889a404825ea448b7a53c0c841c.png)

1. **Copy** the **Generated token** value.

4. The `/auditlogs` API endpoint is available in the Dynatrace **Environment API v2**

 ![23261-step-3.png](https://global.discourse-cdn.com/dynatrace/original/2X/c/cfa89861d406965610e5c307a59857745134a19e.png)

5. Use the copied API token within the `Authorization` header to get the audit logs for a given timeframe.

Environment audit logs are stored once the audit feature is enabled, as explained in the first step of the setup above. Events that occur before the feature is enabled aren’t stored!

Audit logs are retained for **30 days** and then automatically deleted.

**Note** : If you need to store audit logs for a longer period of time, for example, to meet compliance standards, we recommend that you set up an automated process that downloads audit logs every day and stores them in your own infrastructure.

A full article of this can be found on:

> **[Easily check configuration changes or environment sign ins with the new Audit...](https://www.dynatrace.com/news/blog/easily-check-configuration-changes-or-environment-sign-ins-with-the-new-audit-logs-api/)**
>
> Dynatrace audit logs are now available for Dynatrace SaaS customers. In keeping with our API-first approach, the logs are accessible via REST API.

---

<div class="post-metadata">

**Author:** ![DanielS](https://avatars.discourse-cdn.com/v4/letter/d/3ab097/32.png) [@DanielS](https://community.dynatrace.com/u/DanielS)\
**Post date:** [April 22, 2020, 9:41pm UTC](https://community.dynatrace.com/t/audit-logs-in-saas/18674/9 "2020-04-22T21:41:53Z")

</div>

Thanks, Great Answer.

---

<div class="post-metadata">

**Author:** ![jegron](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/jegron/32/12797_2.png) [@jegron](https://community.dynatrace.com/u/jegron)\
**Post date:** [August 27, 2024, 9:24am UTC](https://community.dynatrace.com/t/audit-logs-in-saas/18674/10 "2024-08-27T09:24:13Z")

</div>

Dynatrace now provides an application called “Privacy Rights” for storing audit logs in Grail and viewing the results:

- [Sensitive Data Center — Dynatrace Docs](https://docs.dynatrace.com/docs/manage/data-privacy-and-security/data-privacy/privacy-rights)
- [https://www.dynatrace.com/hub/detail/privacy-rights/](https://www.dynatrace.com/hub/detail/privacy-rights/)
