@@ -581,6 +581,8 @@ func (s *sessionRpcServer) RevokeSession(ctx context.Context,
581
581
return & litrpc.RevokeSessionResponse {}, nil
582
582
}
583
583
584
+ // PrivacyMapConversion can be used map real values to their pseudo counterpart
585
+ // and vice versa.
584
586
func (s * sessionRpcServer ) PrivacyMapConversion (_ context.Context ,
585
587
req * litrpc.PrivacyMapConversionRequest ) (
586
588
* litrpc.PrivacyMapConversionResponse , error ) {
@@ -611,7 +613,16 @@ func (s *sessionRpcServer) PrivacyMapConversion(_ context.Context,
611
613
}, nil
612
614
}
613
615
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.
615
626
func (s * sessionRpcServer ) ListActions (_ context.Context ,
616
627
req * litrpc.ListActionsRequest ) (* litrpc.ListActionsResponse , error ) {
617
628
0 commit comments