You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
Attempting to unwrap an invalid wrapping token, or unwrapping an already unwrapped wrapping token does not result in any log message appearing in the audit log. This is surprising to me as even requests to the metrics endpoints always generates log messages.
To Reproduce
Steps to reproduce the behavior:
Configure vault with at least one audit device (I used file)
Tail audit log and observe other actions are producing audit log entries
Run vault unwrap invalid-token
See error returned from server * wrapping token is not valid or does not exist
Observe nothing added to the audit log
Expected behavior
I expect every request to Vault to appear in the audit log.
Environment:
Vault Server Version: 1.1.0
Vault CLI Version: 1.1.0
Server Operating System/Architecture: Linux x64
The text was updated successfully, but these errors were encountered:
We do validation checks on wrapping tokens before they hit the main request flow, which is why they don't hit audit. That said, if we're auditing normal invalid tokens, we should audit this too, so we'll get that added!
Describe the bug
Attempting to unwrap an invalid wrapping token, or unwrapping an already unwrapped wrapping token does not result in any log message appearing in the audit log. This is surprising to me as even requests to the metrics endpoints always generates log messages.
To Reproduce
Steps to reproduce the behavior:
vault unwrap invalid-token
* wrapping token is not valid or does not exist
Expected behavior
I expect every request to Vault to appear in the audit log.
Environment:
The text was updated successfully, but these errors were encountered: