11 Commits

Author SHA1 Message Date
Harshavardhana
233cc3905a
add batchSize support for webhook endpoints ()
configure batch size to send audit/logger events
in batches instead of sending one event per connection.

this is mainly to optimize the number of requests
we make to webhook endpoint.
2024-03-07 12:17:46 -08:00
Harshavardhana
07b1281046 add queue_dir to help message for logger/audit targets 2023-08-29 16:07:35 -07:00
Aditya Manthramurthy
f3248a4b37
Redact all secrets from config viewing APIs ()
This change adds a `Secret` property to `HelpKV` to identify secrets
like passwords and auth tokens that should not be revealed by the server
in its configuration fetching APIs. Configuration reporting APIs now do
not return secrets.
2023-06-23 07:45:27 -07:00
Shubhendu
6b65ba1551
Added attribute proxy for mc admin config set ALIAS logger_webhook ()
Signed-off-by: Shubhendu Ram Tripathi <shubhendu@minio.io>
2023-02-21 21:19:46 -08:00
Harshavardhana
aa8b9572b9
remove double ENABLED help output () 2023-02-03 05:52:52 -08:00
Klaus Post
111745c564
Add "enable" to config help ()
Most help sections were missing "enable", which means it
is filtered out with `mc admin config get --json`.

Add it where missing.
2022-05-05 04:17:04 -07:00
Shireesh Anjal
1a5496eced
Add enable key to logger webhook help ()
This key is supported by the logger webhook config - but is not returned in the help.
2022-02-16 11:59:50 -08:00
Harshavardhana
499872f31d
Add configurable channel queue_size for audit/logger webhook targets ()
Also log all the missed events and logs instead of silently
swallowing the events.

Bonus: Extend the logger webhook to support mTLS
similar to audit webhook target.
2021-12-20 13:16:53 -08:00
Harshavardhana
e316873f84
feat: Add support for kakfa audit logger target () 2021-07-13 09:39:13 -07:00
Shireesh Anjal
fb140c146b
Redact sensitive values from config in health data ()
The health api returns the server configuration details. Redact
sensitive values from the config values like URLs and credentials.
2021-06-03 08:15:44 -07:00
Harshavardhana
1f262daf6f
rename all remaining packages to internal/ ()
This is to ensure that there are no projects
that try to import `minio/minio/pkg` into
their own repo. Any such common packages should
go to `https://github.com/minio/pkg`
2021-06-01 14:59:40 -07:00