Uploaded image for project: 'Bitbucket Data Center'
  1. Bitbucket Data Center
  2. BSERV-19005

Audit logs do not show the 'old setting' for "Repository hook settings changed for repository" and "Repository hook settings changed for project" events

    XMLWordPrintable

Details

    Description

      Issue Summary

      Whenever changes are made to the hook settings, the Audit logs do not show the 'old setting' for “Repository hook settings changed for repository” and “Repository hook settings changed for project” events.

      This is reproducible on Data Center: (yes)

      Steps to Reproduce

      1. Add a test hook plugin to your Bitbucket instance repo/project.
      2. Change some settings in the hook plugin.
      3. Check the audit log event logged for “Repository hook settings changed for repository” or “Repository hook settings changed for project”.

      Expected Results

      Audit logs should show the 'old setting' for “Repository hook settings changed for repository” or “Repository hook settings changed for project” events.

      Actual Results

      The 'old setting' is missing from the Repository hook settings changed for repository Audit event that is logged. Also the JAVA Event API repositoryHookSettingsChangedEvent.getOldSettings() is empty.

      Workaround

      There are no workarounds for this. A workaround will be added once it is available.

      Attachments

        Issue Links

          Activity

            People

              mgoyal2@atlassian.com Manish
              ce91f45cf510 Karthik Mahesh
              Votes:
              1 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: