Jeff Mitchell
170521481d
Create sdk/ and api/ submodules ( #6583 )
2019-04-12 17:54:35 -04:00
Brian Kassouf
c0815bd2b0
Add context to the NewSalt function ( #4102 )
2018-03-08 11:21:11 -08:00
Jeff Mitchell
dd26071875
Delay salt initialization for audit backends
2017-05-23 20:36:20 -04:00
Tommy Murphy
57aac16cd2
audit: support a configurable prefix string to write before each message ( #2359 )
...
A static token at the beginning of a log line can help systems parse
logs better. For example, rsyslog and syslog-ng will recognize the
'@cee: ' prefix and will parse the rest of the line as a valid json message.
This is useful in environments where there is a mix of structured and
unstructured logs.
2017-02-10 16:56:28 -08:00
Jeff Mitchell
8482118ac6
Transit and audit enhancements
2016-09-21 10:49:26 -04:00
Laura Bennett
ce6bc51c23
Merge pull request #1650 from hashicorp/request-uuid
...
Added unique identifier to each request. Closes hashicorp/vault#1617
2016-07-27 09:40:48 -04:00
Laura Bennett
bcb2f3e962
fixes based proper interpretation of comments
2016-07-26 12:20:27 -04:00
Jeff Mitchell
5be8189e72
Use RFC3339Nano for better precision
2016-07-25 14:11:57 -04:00
Jeff Mitchell
47dc1ccd25
Add token accessor to wrap information if one exists
2016-06-13 23:58:17 +00:00
Jeff Mitchell
8dffc64388
Use time.Time which does RFC3339 across the wire to handle time zones. Arguably we should change the API to always do this...
2016-06-07 16:01:09 -04:00
Jeff Mitchell
91053b7471
Add creation time to returned wrapped token info
...
This makes it easier to understand the expected lifetime without a
lookup call that uses the single use left on the token.
This also adds a couple of safety checks and for JSON uses int, rather
than int64, for the TTL for the wrapped token.
2016-06-07 15:00:35 -04:00
Jeff Mitchell
fdde9e1697
Audit wrap info
2016-05-07 19:19:19 -04:00
Jeff Mitchell
28c1498151
Add DisplayName to request audit object in response audit object
2016-05-07 18:57:38 -04:00
vishalnayak
c75cb1678d
Enable printing of accessor in audit logs
2016-03-09 16:18:36 -05:00
Jeff Mitchell
1cd129015f
Write HMAC-SHA256'd client token to audited requests
...
Fixes #713
2015-10-29 13:26:18 -04:00
Erik Kristensen
79dcffd4ac
add a time field to the log entries
2015-08-05 07:47:39 -06:00
Armon Dadgar
1a085c1c89
vault: cleanups for the audit log changes
2015-06-29 15:27:28 -07:00
Nate Brown
55e37392ad
Actually not logging auth in the response if nil
2015-06-18 19:48:00 -07:00
Nate Brown
71a738ad7d
Logging authentication errors and bad token usage
2015-06-18 18:30:18 -07:00
Nate Brown
314eea7ff0
Adding error and remote_address to audit log lines
2015-06-18 17:17:18 -07:00
Mitchell Hashimoto
7015882b5c
audit: add display name to auth [GH-176]
2015-05-11 10:40:32 -07:00
Mitchell Hashimoto
8cab481400
audit/file: append
2015-04-19 22:43:39 -07:00
Mitchell Hashimoto
f7fa1df974
audit: JSON formatter
2015-04-13 14:12:03 -07:00