@@ -581,6 +581,8 @@ func (s *sessionRpcServer) RevokeSession(ctx context.Context,
581581 return & litrpc.RevokeSessionResponse {}, nil
582582}
583583
584+ // PrivacyMapConversion can be used map real values to their pseudo counterpart
585+ // and vice versa.
584586func (s * sessionRpcServer ) PrivacyMapConversion (_ context.Context ,
585587 req * litrpc.PrivacyMapConversionRequest ) (
586588 * litrpc.PrivacyMapConversionResponse , error ) {
@@ -611,7 +613,16 @@ func (s *sessionRpcServer) PrivacyMapConversion(_ context.Context,
611613 }, nil
612614}
613615
614- // ListActions lists all actions attempted on the Litd server.
616+ // ListActions will return a list of actions that have been performed on the
617+ // node. The actions that will be persisted depends on the value of the
618+ // `--firewall.request-logger.level` config option. The default value of the
619+ // option is the "interceptor" mode which will persist only the actions (with
620+ // all request parameters) made with macaroons with caveats that force them to
621+ // be checked by an rpc middleware interceptor. If the "all" mode is used then
622+ // all actions will be persisted but only full request parameters will only be
623+ // stored if the actions are interceptor actions, otherwise only the URI and
624+ // timestamp of the actions will be stored. The "full" mode will persist all
625+ // request data for all actions.
615626func (s * sessionRpcServer ) ListActions (_ context.Context ,
616627 req * litrpc.ListActionsRequest ) (* litrpc.ListActionsResponse , error ) {
617628
0 commit comments