When a permission target is created or modified, the log contains an entry similar to the one below:
The log contains information about:
2022-07-19T10:40:37.457Z|37d38d12c9ed079f|UNKNOWN|UNKNOWN|admin|all-repos|C|PRM|{"added":{"actions.readers(GROUP):ANNOTATE":"readers(GROUP):ANNOTATE","customData.includePattern":"**","displayName":"all-repos","actions.readers(GROUP):READ":"readers(GROUP):READ","customData.repoKeys":"[ANY LOCAL, ANY REMOTE]","name":"jfac@01g85ht2kfeg9e1e8ye5xr0y:bf1279f6-76eb-486e-b1d8-cf8a203d55","customData.excludePattern":"","actions.test(USER):DEPLOY":"test(USER):DEPLOY","serviceId":"jfac@01g85ht2kfeg9e1e8ye5xr0y","actions.test(USER):ANNOTATE":"test(USER):ANNOTATE","actions.test(USER):READ":"test(USER):READ","resourceType":"REPO"}}
The log contains information about:
- The user who created the permissions target (admin)
- The groups that were added (readers)
- The permissions they were granted (read and annotate)
- The permission target name (“all-repos”)
- The included repositories and builds (in this case, any local and any remote repository)
- The permission granted to the users (read permissions for the “test” user)