Files
teleport/lib/service/servicecfg
Jeff Pihach 1513294b7b Add CreatedBy and CreatedOn fields to locks. (#22667)
* Add CreatedBy and CreatedOn fields to locks.

* Move the setting of the CreatedBy and CreatedOn for locks to the server instead of the client.

* Add tests for the tctl resource lock import and for the tctl lock create command.

* Use clockwork for time in lock creation tests.

* Make fake clock optional and use the golang 0 date.

* Change CreatedOn to CreatedAt.

* Allow a custom time to be passed through as a fake clock.

* Actually accept a fake clock with useFakeClock.

* Pass Clock through as a configuration value when initializing Teleport for the tests.

* Test cleanup

* Set CreatedBy and CreatedAt values in test mocks.

* Fix failing test from enabling clock passthrough to auth.
2023-03-13 16:14:24 +00:00
..
2023-03-09 17:48:36 +00:00
2023-03-09 17:48:36 +00:00
2023-03-09 17:48:36 +00:00
2023-03-09 17:48:36 +00:00
2023-03-09 17:48:36 +00:00
2023-03-09 17:48:36 +00:00
2023-03-09 17:48:36 +00:00