Open ks-yim opened 1 year ago
Thanks, @ks-yim!
That's a good idea and I totally agree with you. 😉
I think we can disable all options for WebOperationService
by default and enable TransientServiceOption
s using a filed(e.g. actuator-transient-service-options) in InternalServiceProperties
Does it make sense? 😄
WebOperationService
, the backing implementation to bridge spring-actuator's management endpoints and Armeria, does not implementTransientService
so access to those endpoints leaves access or service logs which may even contain request and response body.Given that Armeria's native internal services(e.g.
HealthCheckService
,PrometheusExpositionService
) implementTransientService
, it looks quite natural to makeWebOperationService
implementsTransientService
, too.And I believe it is the right choice in the security point of view, because it is quite easy for users to leak sensitive data in access logs for management endpoints without awareness, if they were enabled content logging in access logs.