Discussion:
Svn access auditing?
Bo Berglund
2018-01-09 06:49:18 UTC
Permalink
I have moved from CVS(nt) to Svn 1.9.7 for our company version
control.
In CVS(nt) we had set up the auditing system, which records repository
activity into an MSSQL database.
Now I am looking for how to implement this in the Svn case.
AFAICT I can do most of what is needed for auditing the *changes* in
the post-commit hook, so I see no real problems there.
But I cannot find any hook for getting information on users accessing
the server to view or download content.
Is there some way to audit non-commit activity in Svn, specifically
checkouts?
--
Bo Berglund
Developer in Sweden
Daniel Shahaf
2018-01-09 07:18:48 UTC
Permalink
Post by Bo Berglund
Is there some way to audit non-commit activity in Svn, specifically
checkouts?
Yes, it's called "operational logging". See http://svnbook.red-bean.com/nightly/en/svn.serverconfig.httpd.html#svn.serverconfig.httpd.extra.logging
Bo Berglund
2018-01-09 14:29:09 UTC
Permalink
On Tue, 09 Jan 2018 07:18:48 +0000, Daniel Shahaf
Post by Daniel Shahaf
Post by Bo Berglund
Is there some way to audit non-commit activity in Svn, specifically
checkouts?
Yes, it's called "operational logging".
See http://svnbook.red-bean.com/nightly/en/svn.sererconfig.httpd.html#svn.serverconfig.httpd.extra.logging
v
Thanks, I found a section on this in the pdf book for svn 1.7
(chapter 6, page 202 "Apache logging"
So now I just have to enable it without breaking Apache, I guess...
--
Bo Berglund
Developer in Sweden
Ryan Schmidt
2018-01-11 16:01:34 UTC
Permalink
Post by Daniel Shahaf
Post by Bo Berglund
Is there some way to audit non-commit activity in Svn, specifically
checkouts?
Yes, it's called "operational logging". See http://svnbook.red-bean.com/nightly/en/svn.serverconfig.httpd.html#svn.serverconfig.httpd.extra.logging
Using this operational log, I wrote a script that effectively gives you post-checkout and post-update hook scripts that you can write to do whatever you want:

http://ryandesign.com/svnhookdispatcher/

I wrote this a long time ago and don't know if it still works.

Continue reading on narkive:
Loading...