lightning-terminal/firewall
Elle Mouton a89b3502e4
firewall: extract SessionID from gRPC metadata
In this commit, we update our various firewall interceptors so that they
rely on the session ID passed via gRPC metadata to extract a session ID.
For the PrivacyMapper and RuleEnforcer, these _MUST_ always contain a
session ID and so we error out if one was not found. For the request
logger, the session ID is optional and so we pass it to the new
SessionID field in the AddActionReq - our bbolt actions DB will not make
use of this field on persistence (but our incoming SQL version will).
2025-05-16 11:57:39 +02:00
..
caveats.go multi: update lnd dependency to v0.16.0-beta.rc3 2023-03-15 08:36:23 -07:00
caveats_test.go firewall: changes to initial structure 2023-01-27 06:47:11 +02:00
config.go golangci: enable line length linter 2025-02-13 15:50:48 +02:00
log.go multi: update LND and friends 2025-03-26 09:20:52 -05:00
privacy_mapper.go firewall: extract SessionID from gRPC metadata 2025-05-16 11:57:39 +02:00
privacy_mapper_test.go firewall: extract SessionID from gRPC metadata 2025-05-16 11:57:39 +02:00
request_info.go firewall: extract SessionID from gRPC metadata 2025-05-16 11:57:39 +02:00
request_logger.go firewall: extract SessionID from gRPC metadata 2025-05-16 11:57:39 +02:00
rule_enforcer.go firewall: extract SessionID from gRPC metadata 2025-05-16 11:57:39 +02:00