Commit graph

18 commits

Author SHA1 Message Date
GitLab Bot
202268ad93 Add latest changes from gitlab-org/gitlab@master 2020-08-21 09:10:08 +00:00
GitLab Bot
e69e3f1eb6 Add latest changes from gitlab-org/gitlab@master 2020-07-15 15:09:21 +00:00
GitLab Bot
0254867cf0 Add latest changes from gitlab-org/gitlab@master 2020-07-07 12:09:16 +00:00
GitLab Bot
c4c1fc5fe7 Add latest changes from gitlab-org/gitlab@master 2020-05-15 15:08:04 +00:00
GitLab Bot
546ddc3f6a Add latest changes from gitlab-org/gitlab@master 2020-04-03 12:09:52 +00:00
GitLab Bot
4e9acbfba3 Add latest changes from gitlab-org/gitlab@master 2020-03-30 15:07:51 +00:00
GitLab Bot
6348b76e4b Add latest changes from gitlab-org/gitlab@master 2020-03-27 00:08:09 +00:00
GitLab Bot
b98fa9ef3d Add latest changes from gitlab-org/gitlab@master 2020-02-25 09:09:10 +00:00
GitLab Bot
c1fc5da123 Add latest changes from gitlab-org/gitlab@master 2020-02-19 09:08:59 +00:00
GitLab Bot
cfbaef3f1c Add latest changes from gitlab-org/gitlab@master 2020-02-06 03:08:47 +00:00
GitLab Bot
b7dfe2ae40 Add latest changes from gitlab-org/gitlab@master 2019-09-13 13:26:31 +00:00
Oswaldo Ferreira
b332caa4eb Backport "Track repository pushes as audit events" 2019-09-04 10:19:33 -03:00
Stan Hu
e19499caf5 Format from and to fields in JSON audit log
To make it possible to index the `from` and `to` fields with
Elasticsearch and other tools, we need the types to be the same.
Currently they are a mix of boolean and string values.

Part of https://gitlab.com/gitlab-org/gitlab-ee/issues/12599
2019-07-11 13:46:51 -07:00
Stan Hu
143d0e2666 Add support for JSON logging for audit events
This will add audit_json.log that writes one line per audit event. For
example:

{
       "severity":"INFO",
       "time":"2018-10-17T17:38:22.523Z",
       "author_id":3,
       "entity_id":2,
       "entity_type":"Project",
       "change":"visibility",
       "from":"Private",
       "to":"Public",
       "author_name":"John Doe4",
       "target_id":2,
       "target_type":"Project",
       "target_details":"namespace2/project2"
}
2018-10-18 15:59:12 -07:00
gfyoung
ddca49e4b5 Enable frozen string in apps/uploaders/*.rb
Partially addresses #47424.
2018-07-16 06:41:59 -07:00
Rémy Coutable
d40e1f547e Enable the Style/TrailingCommaInLiteral cop
Use the EnforcedStyleForMultiline: no_comma option.

Signed-off-by: Rémy Coutable <remy@rymai.me>
2017-05-10 18:25:45 +02:00
Valery Sizov
3baed8cb6d Services: code style fixes, minor refactoring 2016-07-06 20:58:43 +03:00
Valery Sizov
411829fdb5 Audit log for user authentication 2015-07-06 12:36:08 +03:00