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 Account lockout arguments to vcd_org resource and data source #1304

Merged
merged 14 commits into from
Aug 28, 2024

Conversation

adambarreiro
Copy link
Collaborator

@adambarreiro adambarreiro commented Aug 8, 2024

This PR adds the new optional block account_lockout to the vcd_org resource and data source.
This block has the following properties:

  • enabled: Whether the account lockout mechanism is enabled or not
  • invalid_logins_before_lockout: Number of login attempts that will trigger an account lockout for the given user
  • lockout_interval: Once a user is locked out, they will not be able to log back in for this time period

Tests have been updated.

Closes #575

Tests

  • org acceptance tests passed in 10.6.0
  • org binary tests passed in 10.6.0
  • org upgrade tests passed in 10.6.0 (running)

Signed-off-by: abarreiro <[email protected]>
@adambarreiro adambarreiro self-assigned this Aug 8, 2024
abarreiro added 2 commits August 8, 2024 13:53
Signed-off-by: abarreiro <[email protected]>
#
Signed-off-by: abarreiro <[email protected]>
abarreiro added 7 commits August 9, 2024 13:25
Signed-off-by: abarreiro <[email protected]>
#
Signed-off-by: abarreiro <[email protected]>
#
Signed-off-by: abarreiro <[email protected]>
Signed-off-by: abarreiro <[email protected]>
Signed-off-by: abarreiro <[email protected]>
Signed-off-by: abarreiro <[email protected]>
fmt
Signed-off-by: abarreiro <[email protected]>
@adambarreiro adambarreiro marked this pull request as ready for review August 12, 2024 07:19
Copy link
Collaborator

@Didainius Didainius left a comment

Choose a reason for hiding this comment

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

LGTM, modified tst worked on 10.4.0, 10.5.1, 10.6.0

Signed-off-by: abarreiro <[email protected]>
go.mod Outdated Show resolved Hide resolved
website/docs/d/org.html.markdown Outdated Show resolved Hide resolved
website/docs/r/org.html.markdown Outdated Show resolved Hide resolved
Signed-off-by: abarreiro <[email protected]>
abarreiro added 2 commits August 28, 2024 10:26
Signed-off-by: abarreiro <[email protected]>
Signed-off-by: abarreiro <[email protected]>
@adambarreiro adambarreiro merged commit 04b8f78 into vmware:main Aug 28, 2024
3 checks passed
@adambarreiro adambarreiro deleted the add-account-lockout-orgs branch August 28, 2024 08:38
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.

Add resource for ORG Password Policies
3 participants