Skip to content

Commit

Permalink
Add Browser Isolation Non-identity onramp support
Browse files Browse the repository at this point in the history
  • Loading branch information
Pierre Cauchois committed Oct 20, 2023
1 parent 55b6bd5 commit 91181d4
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .changelog/1424.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
```release-note:enhancement
teams: Add `non_identity_enabled` boolean in browser isolation settings
```
1 change: 1 addition & 0 deletions teams_accounts.go
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ type TeamsAccountSettings struct {

type BrowserIsolation struct {
UrlBrowserIsolationEnabled bool `json:"url_browser_isolation_enabled"`
NonIdentityEnabled bool `json:"non_identity_enabled"`
}

type TeamsAntivirus struct {
Expand Down
8 changes: 8 additions & 0 deletions teams_accounts_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,10 @@ func TestTeamsAccountConfiguration(t *testing.T) {
"logo_path": "https://logos.com/a.png",
"background_color": "#ff0000",
"suppress_footer": true
},
"browser_isolation": {
"url_browser_isolation_enabled": true,
"non_identity_enabled": true
}
}
}
Expand Down Expand Up @@ -108,6 +112,10 @@ func TestTeamsAccountConfiguration(t *testing.T) {
MailtoSubject: "Blocked User Inquiry",
SuppressFooter: BoolPtr(true),
},
BrowserIsolation: &BrowserIsolation{
UrlBrowserIsolationEnabled: true,
NonIdentityEnabled: true,
},
})
}
}
Expand Down

0 comments on commit 91181d4

Please sign in to comment.