View Audit Trail

Updated 1 month ago by Rashmi Nanda Sahoo

With Audit Trail in Harness, you can view and track changes to your Harness resources within your Harness account.

The audit data retention period is 2 years. Harness reserves the right to delete audit data after 2 years. You can request a longer retention period by contacting Harness. For example, if you require audit data for legal discoveries, etc, contact Harness and we can help.

This topic shows you how to view Audit Trails for your Harness account.

In this topic:

Before You Begin

Step: View an Audit Trail

You can view Audit Trail data at Account/Org/Project scope. This topic explains how to view Audit Trail data at the account scope.

The events in the scope of accounts will not be displayed if you are viewing the Audit Trail at the Org or Project scope.

In Harness, go to Account Settings.

Click Audit Trail.

The Audit Trail page appears, displaying a record for each event that changed the setup of your Harness account, Modules, or Harness entities. By default, Harness shows the Audit logs for the previous 7 days.

It may take a few minutes for events to appear on the Audit Trail. Wait a minute and then refresh your browser if you don't notice an event right away.

For each event record, this view shows the:

  • Date and time (Time).
  • The user who made the change (User).
  • Action by the user like create, update, delete.
  • Harness entity affected (Resource).
  • Organization corresponding to the affected entity.
  • Project corresponding to the affected entity.
  • Module corresponding to the affected entity.
  • Event Summary with YAML difference.

From here, you have multiple options to Modify the Audit Trail View.

Step: Set Date/Time Range

You can restrict the Audit Trail's displayed events by date and time.

Use the Date Picker to restrict events to a predefined date range, or to a custom date/time range:

Selecting Custom Date Range enables you to set arbitrary limits by date and time of day.

Option: Add a Filter

To add a Filter, perform the following steps:

  1. In Harness, in Account Settings click Audit Trail.
  2. In Account Audit Trail, click the filter icon.
  3. In the New Filter settings, select the filters to scope down the viewable audit events.
    You can scope down the viewable audit events by adding Filters and selecting:
    • User
    • Organization
    • Project
    • Resource Type
    • Action
  4. In Filter Name, enter a name for your filter.
  5. In Who can view and edit the filter? select Only Me or Everyone based on the visibility you want to set for this filter.
  6. Click Save. Your filter is now created.

Click Apply to view the Audit Events as per the filter you just created.

By default, the events of the last 7 days are returned for the filter. To view more results, you can select the date range accordingly.


Please Provide Feedback