Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Suspended as valid acct state #11

Merged
merged 3 commits into from
Jan 16, 2021
Merged

Conversation

PabloValarezo
Copy link

Add Okta status SUSPENDED as valid state. This is to prevent users who are in suspended status from blocking eng_meta PRs. Typically, immediate terminations and 60-day inactive accounts result in a Suspended status.
While terra_org could demand the suspended account be removed, it feels pretty heavy-handed. (app depro's and such)

Add Okta status SUSPENDED as valid state. This is to prevent users who are in suspended status from blocking eng_meta PRs. Typically, immediate terminations and 60-day inactive accounts result in a Suspended status.
While terra_org could demand the suspended account be removed, it feels pretty heavy-handed. (app depro's and such)
@joshk0
Copy link
Owner

joshk0 commented Jan 15, 2021

This is interesting, how often do SUSPENDED's go back to ACTIVE? Isn't it a pretty 'terminal' thing?

@PabloValarezo
Copy link
Author

it's not as rare as you'd expect... maybe 5 times in 2020. Sometimes triggered by suspicious activity which turns out to be a false positive.

@PabloValarezo
Copy link
Author

also, if an actual term, since the access is effectively removed for the user (we're even locking the device), there is not a lot of risk in leaving this in until the actual termination date.

@joshk0
Copy link
Owner

joshk0 commented Jan 16, 2021

Seems fine. Can you take care of the version bump and this would be good to go!

As a bonus, you could document the rationale for including each active state right above the variable.

Add Suspended as valid status
Describing why ACTIVE, PASSWORD_EXPIRED, and SUSPENDED are considered ACTIVE by terraorg
Copy link
Author

@PabloValarezo PabloValarezo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Bumped version and adding comment on statuses.

@joshk0 joshk0 merged commit 5e9008f into joshk0:master Jan 16, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants