这个
audit events page of gitlab
项目
>
设置
审核事件
.
所以我试着跑步
git clone http://gitlab.example.com/testauditlog.git
下载我的一个项目。但是我在审计事件中找不到任何与下载相关的东西。为什么会这样?
git clone
我发现是在
/var/log/gitlab/nginx/gitlab_access.log
172.17.0.1 - - [03/Jan/2020:03:28:56 +0000] "GET /testauditlog.git/info/refs?service=git-upload-pack HTTP/1.1" 200 254 "" "git/2.21.0 (Apple Git-122.2)"
172.17.0.1 - - [03/Jan/2020:03:28:56 +0000] "POST /testauditlog.git/git-upload-pack HTTP/1.1" 200 949 "" "git/2.21.0 (Apple Git-122.2)"
我用过
gitlab/gitlab-ee at dockerhub
拥有30天的评估许可证,可以尝试gitlab的审核事件功能。