Using Artifactory 6.x ?
JFrog Artifactory 6.x User Guide
Still using Artifactory 4.x ?
JFrog Artifactory 4.x User Guide
Have a question? Want to report an issue? Contact JFrog support
Logging audit trail events is enabled by default. It can be disabled and re-enabled using the following REST API endpoint:
This is a REST API endpoint of the Access Service
Enabling or disabling the audit trail log is a feature of the Access Service. Therefore, this call is to the Access Service whose default port is 8040.
Description: Enables or disables Audit Trail Logging
Security: Requires a user with Admin privileges to the Access service
Usage: PATCH /api/v1/config
Sample usage showing how to disable Audit Trail Logging:
An entry in the Audit Trail Log has the following format:
A date and time stamp for the log entry formatted:
|The IP address of the user that performed the operation in Artifactory|
|The username of the user that performed the operation in Artifactory|
|The login information of the Artifactory service that performed the operation against Access|
|The security entity that the operation modified. For example, permission target name, group name, username etc.|
|The type of operation performed where: C = Create, U = Update, D = Delete|
|The security entity on which the operation was performed where: USR = user, GRP = Group, PRM = Permission, TKN = Token|
A JSON describing the data that was changed
The following describes a map that specifies permissions when creating or updating a permission target:
r = Read
An admin user named admin created a user named bob and added him to 3 groups named: dev-team, code-reviewers, rnd-team-leaders.
An admin user named devops-admin added a user named dylan to a permission target named nodejs-developers with read, annotate, deploy and delete permissions.
The Audit Trail Log size is managed as a series of a files which are configured with a maximal size. By default, this log is limited to a size of 1GB split into 10 files each of which is up to 100MB in size.
To change the number of files or their maximal size, change the following tags of the
SECURITY.AUDIT log appender in
Maximum number of files:
Maximum size of each file: