Skip to content

Commit

Permalink
Add default user status
Browse files Browse the repository at this point in the history
  • Loading branch information
martinalbert committed Sep 11, 2023
1 parent 2e6f5b8 commit 3cb99d2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pkg/connector/user.go
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ func userResource(ctx context.Context, user *splunk.User, parentResourceID *v2.R
[]resource.UserTraitOption{
resource.WithEmail(user.Content.Email, true),
resource.WithUserProfile(profile),
resource.WithStatus(v2.UserTrait_Status_STATUS_ENABLED),
},
resource.WithParentResourceID(parentResourceID),
)
Expand Down

0 comments on commit 3cb99d2

Please sign in to comment.