Skip to content

[v15] Make tctl bots add prompt for MFA just once#37224

Merged
Joerger merged 2 commits intobranch/v15from
joerger/v15/reuse-mfa-tctl-bots-add
Jan 25, 2024
Merged

[v15] Make tctl bots add prompt for MFA just once#37224
Joerger merged 2 commits intobranch/v15from
joerger/v15/reuse-mfa-tctl-bots-add

Conversation

@Joerger
Copy link
Copy Markdown
Contributor

@Joerger Joerger commented Jan 24, 2024

Backport #37121 to branch/v15

Depends on #37198

@github-actions github-actions Bot added size/sm tctl tctl - Teleport admin tool labels Jan 24, 2024
@github-actions
Copy link
Copy Markdown
Contributor

The PR changelog entry failed validation: Changelog entry not found in the PR body. Please add a "no-changelog" label to the PR, or changelog lines starting with changelog: followed by the changelog entries for the PR.

@Joerger Joerger added no-changelog Indicates that a PR does not require a changelog entry backport labels Jan 24, 2024
@Joerger Joerger changed the base branch from joerger/v15/reuse-mfa-tctl-users-add to branch/v15 January 24, 2024 23:49
@Joerger Joerger added this pull request to the merge queue Jan 24, 2024
@Joerger Joerger removed this pull request from the merge queue due to a manual request Jan 24, 2024
@Joerger Joerger force-pushed the joerger/v15/reuse-mfa-tctl-bots-add branch from 54e6e4f to 393afda Compare January 24, 2024 23:54
* Reuse MFA for tctl bots add.

* Fix MFA required check for admin role.

* Remove broken auth preference check; Fix IsMFARequiredCheck for built in Admin role.

* Check for nil MFA response in MFA retry logic.

* Refactor MFA ceremony to return a custom error when MFA is not required.

* Fix TestAdminActionMFA unit tests.

* Fix unit test.
@Joerger Joerger force-pushed the joerger/v15/reuse-mfa-tctl-bots-add branch from 393afda to fbcd038 Compare January 25, 2024 00:56
@Joerger Joerger enabled auto-merge January 25, 2024 00:57
@Joerger Joerger added this pull request to the merge queue Jan 25, 2024
@github-merge-queue github-merge-queue Bot removed this pull request from the merge queue due to failed status checks Jan 25, 2024
@Joerger Joerger added this pull request to the merge queue Jan 25, 2024
Merged via the queue into branch/v15 with commit 610b95e Jan 25, 2024
@Joerger Joerger deleted the joerger/v15/reuse-mfa-tctl-bots-add branch January 25, 2024 05:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport no-changelog Indicates that a PR does not require a changelog entry size/sm tctl tctl - Teleport admin tool

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants