You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ambari.apache.org by "Krisztian Kasa (JIRA)" <ji...@apache.org> on 2019/04/10 06:07:00 UTC
[jira] [Created] (AMBARI-25237) Ambari audit log shows "null" user
when executing an API call as admin
Krisztian Kasa created AMBARI-25237:
---------------------------------------
Summary: Ambari audit log shows "null" user when executing an API call as admin
Key: AMBARI-25237
URL: https://issues.apache.org/jira/browse/AMBARI-25237
Project: Ambari
Issue Type: Bug
Components: ambari-server
Affects Versions: 2.7.3
Environment: When running a simple REST API call from CLI, I could see two entries in ambari-audit.log file.
Following is my API call:
{{curl -k -i -u admin:<passwd> -H "X-Requested-By: ambari" -X GET http://<ambari-host>:8080/api/v1/clusters}}
Following are the 2 entries in ambari-audit.log:
bq.2019-04-08T10:19:04.991Z, User(null), RemoteIp(x.x.x.x), Operation(User login), Roles(), Status(Failed), Reason(Authentication required), Consecutive failures(UNKNOWN USER)
bq.2019-04-08T10:19:04.999Z, User(admin), RemoteIp(x.x.x.x), Operation(User login), Roles(Ambari: Ambari Administrator), Status(Success)
The second line seems to be valid. However, the first line (with the null user) shouldn't be there.
Reporter: Krisztian Kasa
Assignee: Krisztian Kasa
Fix For: 2.7.4
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)