@Override
    protected void buildAuditMessage(StringBuilder builder) {
      super.buildAuditMessage(builder);

      builder
        .append(", Operation(")
        .append(httpMethodName)
        .append("), ResourcePath(")
        .append(resourcePath)
        .append("), Status(Failed), Reason(Access not authorized)");
    }
Appends to the aduit event detail the list of the privileges
possessed by the principal requesting access to a resource.

@param builder builder for the audit event details.
ambari-server/src/main/java/org/apache/ambari/server/audit/event/AccessUnauthorizedAuditEvent.java