versitygw icon indicating copy to clipboard operation
versitygw copied to clipboard

add requestid for better request tracking

Open benmcclelland opened this issue 1 year ago • 0 comments

This looks promising: https://docs.gofiber.io/api/middleware/requestid/ and we will want to fill in the requestid in the error responses here: https://github.com/versity/versitygw/blob/main/s3api/controllers/base.go#L425 https://github.com/versity/versitygw/blob/main/s3api/controllers/base.go#L428 https://github.com/versity/versitygw/blob/main/s3api/controllers/base.go#L442 https://github.com/versity/versitygw/blob/main/s3api/controllers/base.go#L449

and this will need to work with audit logs to also track requestid there as well

benmcclelland avatar Jun 12 '23 22:06 benmcclelland