summaryrefslogtreecommitdiffhomepage
path: root/control/controlhttp/controlhttpserver/controlhttpserver.go
diff options
context:
space:
mode:
authorNick Khyl <nickk@tailscale.com>2024-11-22 09:52:08 -0600
committerNick Khyl <1761190+nickkhyl@users.noreply.github.com>2024-11-22 14:37:38 -0600
commit7c8f663d7059467353d9cd0fdae7b83bb1d4b998 (patch)
tree564e5de816f36d1a65edd22ff06590f75b76dea1 /control/controlhttp/controlhttpserver/controlhttpserver.go
parent50bf32a0ba13935273e200d52b9327821f25efc5 (diff)
downloadtailscale-7c8f663d7059467353d9cd0fdae7b83bb1d4b998.tar.xz
tailscale-7c8f663d7059467353d9cd0fdae7b83bb1d4b998.zip
cmd/tailscaled: log SCM interactions if the policy setting is enabled at the time of interaction
This updates the syspolicy.LogSCMInteractions check to run at the time of an interaction, just before logging a message, instead of during service startup. This ensures the most recent policy setting is used if it has changed since the service started. Updates #12687 Signed-off-by: Nick Khyl <nickk@tailscale.com>
Diffstat (limited to 'control/controlhttp/controlhttpserver/controlhttpserver.go')
0 files changed, 0 insertions, 0 deletions