Skip to content

Include 'nextAuditDate' in 'CreateAccessListReview' method#33479

Merged
jakule merged 2 commits intomasterfrom
jakule/review-date-return
Oct 13, 2023
Merged

Include 'nextAuditDate' in 'CreateAccessListReview' method#33479
jakule merged 2 commits intomasterfrom
jakule/review-date-return

Conversation

@jakule
Copy link
Copy Markdown
Contributor

@jakule jakule commented Oct 13, 2023

The 'CreateAccessListReview' method in the 'AccessListService' and 'Client' interfaces was altered to include the 'nextAuditDate'. The 'nextAuditDate' is now being collected during the review creation process and returned as a part of the result along with the created review.

The 'CreateAccessListReview' method in the 'AccessListService' and 'Client' interfaces was altered to include the 'nextAuditDate'. The 'nextAuditDate' is now being collected during the review creation process and returned as a part of the result along with the created review.

// CreateAccessListReview will create a new review for an access list.
func (c *Client) CreateAccessListReview(ctx context.Context, review *accesslist.Review) (*accesslist.Review, error) {
func (c *Client) CreateAccessListReview(ctx context.Context, review *accesslist.Review) (*accesslist.Review, time.Time, error) {
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

@mdwn Do you know if this API has already been released?

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

It looks like it was in v14.0.3. The gRPC method for it didn't work then, however, so I'm unsure if we should concern ourselves too much with this.

Copy link
Copy Markdown
Contributor

@kimlisa kimlisa left a comment

Choose a reason for hiding this comment

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

tysm!

@jakule jakule enabled auto-merge October 13, 2023 19:55
@jakule jakule added this pull request to the merge queue Oct 13, 2023
Merged via the queue into master with commit 1f38b96 Oct 13, 2023
@jakule jakule deleted the jakule/review-date-return branch October 13, 2023 20:27
@public-teleport-github-review-bot
Copy link
Copy Markdown

@jakule See the table below for backport results.

Branch Result
branch/v13 Create PR
branch/v14 Create PR

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants