1
0
mirror of https://github.com/minio/minio.git synced 2025-03-26 07:20:56 -04:00

13 Commits

Author SHA1 Message Date
Harshavardhana
f7c1a59de1
add validation logs for configured Logger/Audit HTTP targets ()
extra logs in-case of misconfiguration of audit/logger targets
2020-08-16 10:25:00 -07:00
Harshavardhana
d93bdea433
fix remove LDAPPassword from audit logs ()
the previous fix for  was not correct,
fix this properly passing the right filter
keys to be filtered from the audit
log output.

Fixes 
2020-06-04 22:07:55 -07:00
Praveen raj Mani
0cc2ed04f5
humanize timeToFirstByte and timeToResponse upto nanoseconds () 2020-05-19 18:34:02 -07:00
Anis Elleuch
27632ca6ec
audit: Merge ResponseWriter with RecordAPIStats ()
ResponseWriter & RecordAPIStats has similar role, merge them.

This commit will also fix wrong auditing for STS and Web and others
since they are using ResponseWriter instead of the RecordAPIStats.
2020-04-30 11:27:19 -07:00
Anis Elleuch
d090a17ed0
fix: Audit tests on the correct response writer type () 2020-04-29 22:17:36 -07:00
Harshavardhana
c56c2f5fd3
fix routing issue for esoteric characters in gorilla/mux ()
First step is to ensure that Path component is not decoded
by gorilla/mux to avoid routing issues while handling
certain characters while uploading through PutObject()

Delay the decoding and use PathUnescape() to escape
the `object` path component.

Thanks to @buengese and @ncw for neat test cases for us
to test with.

Fixes 
Fixes 
2020-02-12 09:08:02 +05:30
poornas
d7060c4c32 Allow logging targets to be configured to receive minio ()
specific errors, `application` errors or `all` by default.

console logging on server by default lists all logs -
enhance admin console API to accept `type` as query parameter to
subscribe to application/minio logs.
2019-10-11 18:50:54 -07:00
poornas
2e02e1889b Cleanup ResponseWriter function for audit and trace () 2019-09-24 02:04:28 +05:30
Harshavardhana
8ce424bacd Enhance audit logging to capture responseTimes ()
Audit logging requires to have

- timeToFirstByte
- timeToResponse

timing information
2019-08-12 20:32:34 -07:00
kannappanr
70b350c383
Remove DeploymentID from response headers ()
Response headers need not contain deployment ID.
2019-07-01 12:22:01 -07:00
kannappanr
5ecac91a55
Replace Minio refs in docs with MinIO and links () 2019-04-09 11:39:42 -07:00
Harshavardhana
9e3fce441e Audit log claims from token () 2018-11-22 09:33:24 +05:30
Harshavardhana
bfb505aa8e Refactor logging in more Go idiomatic style ()
This refactor brings a change which allows
targets to be added in a cleaner way and also
audit is now moved out.

This PR also simplifies logger dependency for auditing
2018-11-19 14:47:03 -08:00