Skip to content
Snippets Groups Projects
Commit 6cfd1372 authored by Manoj M J's avatar Manoj M J
Browse files

CE: Add project download & project export audit event

This change adds audit events for
download of repository and export of
project.
parent 2a072751
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -73,6 +73,8 @@ From there, you can see the following actions:
- User was added to project and with which [permissions]
- Permission changes of a user assigned to a project
- User was removed from project
- Project export was downloaded
- Project repository was downloaded
 
### Instance events **(PREMIUM ONLY)**
 
Loading
Loading
Loading
Loading
@@ -544,5 +544,9 @@ module API
 
params[:archived]
end
def ip_address
env["action_dispatch.remote_ip"].to_s || request.ip
end
end
end
Loading
Loading
@@ -25,7 +25,7 @@ module API
end
 
def get_runner_ip
{ ip_address: env["action_dispatch.remote_ip"].to_s || request.ip }
{ ip_address: ip_address }
end
 
def current_runner
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment