Artfifactory show users that downloaded file

删除回忆录丶 提交于 2019-12-11 15:10:45

问题


I want to find out which users have downloaded a file from Artifactory. Actually, I only see the user that performed the last download in the Artifactory "GUI". I tried to find a corresponding resource in the REST API but wasn't able to find one.

My question: Does Artifactory offer a web API to find out which users have downloaded a specific file?

Thx


回答1:


There is no UI for your requested behavior in Artifactory.

You can look at the "request.log" located in $ARTIFACTORY_HOME/logs and search for the requested file, there you will see all users that requested this file (please note that all log files have rotation enabled, so you will have more than one "request.log").

Example of a log entry of downloading a file: 20180115190621|48|REQUEST|10.0.0.1|admin|GET|/generic-local/demo_copy.key|HTTP/1.1|200|3272

Hope this helps!



来源:https://stackoverflow.com/questions/57387376/artfifactory-show-users-that-downloaded-file

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!