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
+2
View File
@@ -243,7 +243,9 @@ class SlackAdapter(BasePlatformAdapter):
chat_id=str(channel),
message_id=ts,
value=str(value),
user_id=user.get("id"),
user_name=user.get("username") or user.get("name"),
response_url=body.get("response_url"),
)
)