Bruno Oliveira de Souza
a2c467cc22
VAULT-31409: trace postUnseal function ( #28895 )
...
* initial implementation of unseal trace
* close file if we fail to start the trace
didn't bother to check the error from traceFile.Close()
* use reloadable config instead of env var
* license
* remove leftover
* allow setting custom dir and remove new package
* bring back StartDebugTrace
after talking to Kuba it sounds like it's a good idea to try to move stuff out of core, so even if there's no immediate need for a generic debug trace function it's still fair to add it
* track postUnseal instead of unsealInternal
also some usability improvements from manual testing
* address PR comments
* address security review
there were concerns about using the /tmp directory because of permissions, or having a default dir at all, so now it's required to set a dir in order to generate the traces.
* add unit tests to StartDebugTrace
* move back to default dir
* document new parameters
* add tiny integration test
* avoid column in trace filename
sounds like it might be forbidden in Windows and possibly cause problems in some MacOS applications.
* address PR feedback
* add go doc to test
CI was complaining about missing comments on the new test function. It feels a bit silly to require this of tests but whatever XD
* fix tests
2024-11-26 15:04:34 -03:00
..
2024-10-02 13:41:55 -04:00
2024-11-18 11:18:50 -08:00
2024-11-19 14:08:37 -08:00
2024-03-04 18:29:20 +00:00
2024-04-17 11:14:14 -07:00
2024-10-02 13:41:55 -04:00
2024-11-26 15:04:34 -03:00
2023-08-10 18:14:03 -07:00
2024-03-05 13:27:26 +00:00
2024-03-04 18:29:20 +00:00
2024-01-03 15:06:41 -05:00
2024-01-03 15:06:41 -05:00
2024-06-17 17:10:00 +00:00
2024-06-17 17:10:00 +00:00
2023-08-10 18:14:03 -07:00
2023-12-04 11:05:02 -08:00
2023-12-04 11:05:02 -08:00
2024-04-18 17:43:07 +00:00
2023-12-04 11:05:02 -08:00
2023-12-04 11:05:02 -08:00
2023-12-04 11:05:02 -08:00
2023-12-04 11:05:02 -08:00
2023-12-04 11:05:02 -08:00
2023-12-04 11:05:02 -08:00
2024-10-24 10:47:17 -05:00
2024-10-24 10:47:17 -05:00
2024-02-13 14:07:02 -08:00
2023-12-04 11:05:02 -08:00
2023-12-04 11:05:02 -08:00
2023-12-04 11:05:02 -08:00
2023-12-04 11:05:02 -08:00
2023-12-04 11:05:02 -08:00
2024-02-13 14:07:02 -08:00
2024-10-24 10:47:17 -05:00
2024-10-24 10:47:17 -05:00
2023-12-04 11:05:02 -08:00
2023-08-10 18:14:03 -07:00
2023-08-10 18:14:03 -07:00
2023-08-10 18:14:03 -07:00
2023-08-10 18:14:03 -07:00
2024-05-20 17:49:47 +00:00
2024-03-04 18:29:20 +00:00
2024-02-13 14:07:02 -08:00
2024-10-04 11:29:03 -07:00
2024-10-04 13:48:16 -04:00
2024-11-19 11:13:10 +01:00
2024-06-18 15:17:40 +00:00
2024-06-18 15:17:40 +00:00
2024-06-18 15:17:40 +00:00
2023-08-10 18:14:03 -07:00
2024-06-18 15:17:40 +00:00
2023-08-10 18:14:03 -07:00
2024-10-24 10:47:17 -05:00
2024-05-27 16:28:25 -04:00
2024-05-27 16:28:25 -04:00
2023-12-04 11:05:02 -08:00
2023-12-04 11:05:02 -08:00
2023-12-04 11:05:02 -08:00
2023-12-04 11:05:02 -08:00
2023-10-09 12:53:13 -05:00
2024-11-19 11:13:10 +01:00
2024-04-17 11:14:14 -07:00
2023-12-04 11:05:02 -08:00
2023-12-04 11:05:02 -08:00
2023-12-04 11:05:02 -08:00
2023-12-04 11:05:02 -08:00
2023-08-10 18:14:03 -07:00
2023-12-04 11:05:02 -08:00
2023-12-04 11:05:02 -08:00
2023-12-04 11:05:02 -08:00
2023-12-04 11:05:02 -08:00
2023-12-04 11:05:02 -08:00
2023-12-04 11:05:02 -08:00
2024-01-18 20:00:00 +00:00
2023-12-04 11:05:02 -08:00
2023-12-04 11:05:02 -08:00
2023-12-14 11:28:58 -08:00
2023-12-04 11:05:02 -08:00
2023-12-14 11:28:58 -08:00
2023-12-04 11:05:02 -08:00
2023-12-04 11:05:02 -08:00
2023-12-04 11:05:02 -08:00
2023-12-04 11:05:02 -08:00
2023-12-04 11:05:02 -08:00
2023-12-04 11:05:02 -08:00
2023-12-04 11:05:02 -08:00
2023-12-04 11:05:02 -08:00
2023-12-04 11:05:02 -08:00
2023-12-04 11:05:02 -08:00
2023-12-04 11:05:02 -08:00
2023-12-04 11:05:02 -08:00
2023-08-10 18:14:03 -07:00
2023-12-11 08:08:48 -08:00
2024-02-13 14:07:02 -08:00
2023-08-10 18:14:03 -07:00
2024-10-04 11:14:21 -07:00
2023-12-04 11:05:02 -08:00
2023-12-04 11:05:02 -08:00
2023-12-04 11:05:02 -08:00
2023-12-04 11:05:02 -08:00
2023-12-04 11:05:02 -08:00
2023-12-04 11:05:02 -08:00
2023-12-04 11:05:02 -08:00
2023-12-04 11:05:02 -08:00
2023-12-04 11:05:02 -08:00
2023-12-04 11:05:02 -08:00
2024-03-22 14:23:05 +00:00
2024-06-18 15:17:40 +00:00
2023-12-04 11:05:02 -08:00
2024-04-17 11:14:14 -07:00
2023-12-04 11:05:02 -08:00
2024-02-13 14:07:02 -08:00
2023-12-04 11:05:02 -08:00
2023-12-04 11:05:02 -08:00
2023-12-04 11:05:02 -08:00
2024-06-18 15:17:40 +00:00
2023-12-04 11:05:02 -08:00
2023-12-04 11:05:02 -08:00
2023-12-04 11:05:02 -08:00
2023-12-04 11:05:02 -08:00
2023-12-04 11:05:02 -08:00
2023-12-04 11:05:02 -08:00
2023-12-04 11:05:02 -08:00
2023-12-04 11:05:02 -08:00
2023-12-04 11:05:02 -08:00
2023-12-04 11:05:02 -08:00
2023-12-04 11:05:02 -08:00
2023-12-04 11:05:02 -08:00
2023-12-04 11:05:02 -08:00
2024-02-13 14:07:02 -08:00
2023-12-04 11:05:02 -08:00
2023-12-04 11:05:02 -08:00
2023-12-04 11:05:02 -08:00
2023-12-04 11:05:02 -08:00
2023-12-04 11:05:02 -08:00
2023-12-04 11:05:02 -08:00
2023-12-04 11:05:02 -08:00
2024-08-14 09:31:02 -04:00
2024-01-26 13:00:38 -08:00
2023-12-04 11:05:02 -08:00
2023-12-04 11:05:02 -08:00
2023-12-04 11:05:02 -08:00
2023-12-04 11:05:02 -08:00
2023-12-04 11:05:02 -08:00
2024-02-13 14:07:02 -08:00
2024-02-13 14:07:02 -08:00
2024-02-13 14:07:02 -08:00
2023-08-10 18:14:03 -07:00
2023-08-10 18:14:03 -07:00
2023-08-10 18:14:03 -07:00
2024-02-13 14:07:02 -08:00
2023-08-10 18:14:03 -07:00
2024-07-22 16:53:02 -04:00
2023-08-10 18:14:03 -07:00
2024-02-13 14:07:02 -08:00
2023-12-04 11:05:02 -08:00
2023-12-07 12:36:17 +00:00
2023-12-04 11:05:02 -08:00
2023-12-07 12:36:17 +00:00
2023-12-04 11:05:02 -08:00
2023-12-04 11:05:02 -08:00
2023-12-04 11:05:02 -08:00
2024-01-17 15:46:27 +00:00
2023-12-04 11:05:02 -08:00
2023-12-04 11:05:02 -08:00
2024-01-17 15:46:27 +00:00
2024-01-17 15:46:27 +00:00
2023-12-04 11:05:02 -08:00
2023-12-04 11:05:02 -08:00
2023-12-04 11:05:02 -08:00
2023-12-04 11:05:02 -08:00
2024-01-16 16:36:07 +00:00
2023-12-04 11:05:02 -08:00
2023-12-04 11:05:02 -08:00
2023-12-04 11:05:02 -08:00
2023-12-04 11:05:02 -08:00
2023-08-10 18:14:03 -07:00
2023-12-04 11:05:02 -08:00
2023-12-04 11:05:02 -08:00
2023-12-04 11:05:02 -08:00
2023-12-04 11:05:02 -08:00
2023-12-04 11:05:02 -08:00
2023-12-04 11:05:02 -08:00
2023-12-04 11:05:02 -08:00
2023-12-04 11:05:02 -08:00
2023-12-04 11:05:02 -08:00
2023-12-04 11:05:02 -08:00
2023-12-04 11:05:02 -08:00
2023-12-04 11:05:02 -08:00
2023-12-04 11:05:02 -08:00
2023-12-04 11:05:02 -08:00
2024-06-17 17:10:00 +00:00
2024-06-17 17:10:00 +00:00
2023-12-04 11:05:02 -08:00
2024-08-09 11:48:21 -04:00
2023-12-04 11:05:02 -08:00
2023-12-04 11:05:02 -08:00
2023-12-04 11:05:02 -08:00
2023-12-04 11:05:02 -08:00
2024-10-24 10:47:17 -05:00
2024-10-24 10:47:17 -05:00
2023-12-04 11:05:02 -08:00
2023-12-04 11:05:02 -08:00
2023-12-04 11:05:02 -08:00
2023-12-04 11:05:02 -08:00
2024-10-24 10:47:17 -05:00
2024-10-24 10:47:17 -05:00
2023-12-04 11:05:02 -08:00
2023-08-10 18:14:03 -07:00
2023-08-10 18:14:03 -07:00
2024-03-27 13:57:46 -04:00
2024-07-03 13:31:56 -04:00
2024-10-04 13:48:16 -04:00
2023-12-04 11:05:02 -08:00
2023-12-04 11:05:02 -08:00
2024-11-19 11:13:10 +01:00
2023-12-04 11:05:02 -08:00
2023-12-13 11:15:21 -05:00
2023-12-13 11:15:21 -05:00
2023-12-04 11:05:02 -08:00
2023-12-04 11:05:02 -08:00
2023-12-04 11:05:02 -08:00
2023-12-04 11:05:02 -08:00
2023-12-04 11:05:02 -08:00
2023-12-04 11:05:02 -08:00
2023-12-04 11:05:02 -08:00
2023-12-04 11:05:02 -08:00
2023-12-04 11:05:02 -08:00
2023-12-04 11:05:02 -08:00
2023-12-04 11:05:02 -08:00
2023-12-04 11:05:02 -08:00
2024-02-13 14:07:02 -08:00
2023-12-04 11:05:02 -08:00
2024-08-21 14:25:07 -04:00
2023-12-04 11:05:02 -08:00
2023-12-04 11:05:02 -08:00
2023-12-04 11:05:02 -08:00
2024-06-17 17:10:00 +00:00
2023-12-04 11:05:02 -08:00
2023-12-04 11:05:02 -08:00
2023-12-04 11:05:02 -08:00
2023-12-04 11:05:02 -08:00
2023-12-04 11:05:02 -08:00
2024-08-09 11:48:21 -04:00