Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-75458

Audit Trail running config is corrupted and flushed if Elastic credentials can't be resolved

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • None
    • 421.v661a_59fb_0ee8

      When Audit Trail is configured with Elastic Search server as Logger backend, and credentials for Elastic is provided by a Hashicorp Vault "mapped" user/pass credential configuration in Jenkins, the running/live configuration is corrupted if the credential can not be reolved.

      If the Unreadable Data is discarded in Manage Old Data, the Audit Trail Logger configuration is lost and needs to be recreated.

      However, the $JENKINS_HOME/audit-trail.xml is still intact, so if connection with the Vault backend is restored and the Jenkins controller is restarted without changing any system configurations, the running configuration is restored (just reloading Jenkins configurations is not enough).

            njesper Jesper Andersson
            njesper Jesper Andersson
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: