Skip to content

Commit 2d78bbe

Browse files
ahenawyclaude
andcommitted
docs(voice-call): lead msteams setup snippets with the safe allowlist posture
Reviewer follow-up: the setup examples showed `inboundPolicy: "open"` as the headline, which undercuts the safe default. The README and public-docs snippets now use `inboundPolicy: "allowlist"` with a sample AAD `allowFrom` entry, and note `"open"` only as the explicit accept-all alternative. Matches the code/ schema default (allowlist) and the now-corrected PR description. Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>
1 parent f896caf commit 2d78bbe

2 files changed

Lines changed: 7 additions & 5 deletions

File tree

docs/plugins/voice-call.md

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -669,10 +669,11 @@ calls).
669669
```json5
670670
{
671671
provider: "msteams",
672-
// Inbound default is a safe "allowlist" (never "open"): with an empty
673-
// allowFrom no caller is accepted until you opt callers in, or set
674-
// inboundPolicy: "open" explicitly to accept any authenticated Teams caller.
675-
inboundPolicy: "open",
672+
// Inbound default is a safe "allowlist" (never "open"). List the caller's AAD
673+
// object id in allowFrom; an empty allowFrom accepts no one. Set
674+
// inboundPolicy: "open" only to accept any authenticated Teams caller.
675+
inboundPolicy: "allowlist",
676+
allowFrom: ["00000000-0000-0000-0000-000000000000"], // caller AAD object ids
676677
responseModel: "openai/gpt-5.4", // agent model for the streaming path
677678

678679
msteams: {

extensions/voice-call/README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,8 @@ When `inboundPolicy` is unset, msteams defaults to a **safe `"allowlist"`** (nev
112112
```json5
113113
{
114114
provider: "msteams",
115-
inboundPolicy: "open", // accept any authenticated Teams caller; or "allowlist" + allowFrom (the safe default)
115+
inboundPolicy: "allowlist", // safe default; accept only listed callers
116+
allowFrom: ["00000000-0000-0000-0000-000000000000"], // caller AAD object ids (use "open" to accept any authenticated Teams caller)
116117
responseModel: "microsoft-foundry/gpt-5.4", // agent model for the streaming path
117118

118119
msteams: {

0 commit comments

Comments
 (0)