security: harden Slack approval handling

This commit is contained in:
Rohit P
2026-07-24 22:33:13 -07:00
parent 56b3c62864
commit 7656952692
21 changed files with 931 additions and 33 deletions
+3
View File
@@ -358,7 +358,10 @@ class SlackRelayAdapter(BasePlatformAdapter):
chat_id=qualify(team_id, channel),
message_id=ts,
value=str(value),
user_id=user.get("id"),
user_name=user.get("username") or user.get("name"),
team_id=team_id,
response_url=interaction.get("response_url"),
)
)