Skip to content

Commit

Permalink
✨ add isDelegatedAdming to google workspace users (#4283)
Browse files Browse the repository at this point in the history
Signed-off-by: Ivan Milchev <[email protected]>
  • Loading branch information
imilchev authored Jun 21, 2024
1 parent f3bcc47 commit 88e18f0
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 0 deletions.
2 changes: 2 additions & 0 deletions providers/google-workspace/resources/google-workspace.lr
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,8 @@ private googleworkspace.user @defaults("primaryEmail") {
archived bool
// Indicates a user with super administrator privileges
isAdmin bool
// Indicates if a user is a delegated administrator
isDelegatedAdmin bool
// Is 2-step verification enforced
isEnforcedIn2Sv bool
// Is enrolled in 2-step verification
Expand Down
12 changes: 12 additions & 0 deletions providers/google-workspace/resources/google-workspace.lr.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -126,6 +126,7 @@ resources:
givenName: {}
id: {}
isAdmin: {}
isDelegatedAdmin: {}
isEnforcedIn2Sv: {}
isEnrolledIn2Sv: {}
isMailboxSetup: {}
Expand Down
1 change: 1 addition & 0 deletions providers/google-workspace/resources/users.go
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,7 @@ func newMqlGoogleWorkspaceUser(runtime *plugin.Runtime, entry *directory.User) (
"suspensionReason": llx.StringData(entry.SuspensionReason),
"archived": llx.BoolData(entry.Archived),
"isAdmin": llx.BoolData(entry.IsAdmin),
"isDelegatedAdmin": llx.BoolData(entry.IsDelegatedAdmin),
"isEnforcedIn2Sv": llx.BoolData(entry.IsEnforcedIn2Sv),
"isEnrolledIn2Sv": llx.BoolData(entry.IsEnrolledIn2Sv),
"isMailboxSetup": llx.BoolData(entry.IsMailboxSetup),
Expand Down

0 comments on commit 88e18f0

Please sign in to comment.