Skip to content

Audit Token's expiry is now computed from API if null#1991

Draft
sana-faraz wants to merge 1 commit intomainfrom
AuditTrailExpiredAt
Draft

Audit Token's expiry is now computed from API if null#1991
sana-faraz wants to merge 1 commit intomainfrom
AuditTrailExpiredAt

Conversation

@sana-faraz
Copy link
Copy Markdown
Contributor

@sana-faraz sana-faraz commented Mar 10, 2026

Description

If a user provides an empty expiry_at for an audit trail token previously it would be set to null in the state file.
Now, owing to the new TTL restrictions the default expired_at is 2 yrs which is what is returned from the backend.
This causes discrepancy between what is planned(null) and what is applied(2yrs).

Remember to:

Testing plan

  1. Create an audit trail token with empty expired_at
  2. Plan and then apply

External links

@sana-faraz sana-faraz marked this pull request as ready for review March 10, 2026 11:35
@sana-faraz sana-faraz requested a review from a team as a code owner March 10, 2026 11:35
@debrin-hc debrin-hc marked this pull request as draft March 10, 2026 14:46
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.

1 participant