vyommani commented on PR #1380:
URL: https://github.com/apache/ranger/pull/1380#issuecomment-7095949229

   Thanks Mugdha, Solr/OpenSearch write, read, and search look correct. Please 
cover the other stores this API serves:
   
   Elasticsearch: ElasticSearchAuditDestination.toDoc() still writes only 
cliIP, and ElasticSearchAccessAuditsService.populateViewBean() does not read 
cliType. cliType is already in ranger_es_schema.json. Without this, the column 
and filter stay empty on ES-backed installs.
   
   CloudWatch: the writer already stores the whole event, so cliType is in the 
log JSON. CloudWatchAccessAuditsService.populateViewBean() copies client IP and 
never sets clientType, so /assets/accessAudit still omits it for that store. 
Map getClientType() the same way as client IP.
   
   Please add a cliType assertion to the existing writer and reader tests, and 
the same for ES and CloudWatch once those mappings are added.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to