-
Notifications
You must be signed in to change notification settings - Fork 2.9k
OpenAPI: Add storage-credentials to CompletedPlanningResult #14563
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
base: main
Are you sure you want to change the base?
Changes from 1 commit
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -3372,6 +3372,10 @@ components: | |
| status: | ||
| $ref: '#/components/schemas/PlanStatus' | ||
| const: "completed" | ||
| storage-credentials: | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I wonder if we should have description here stating these creds are subscoped to scan or something, thoughts ?
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I'm not sure the spec should dictate or be opinionated that the creds are specifically subscoped, just that the client should be able to use these creds to access files returned in the scan result, but if others feel strongly, I'm not totally opposed.
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I agree that we shouldn't have wording in the spec saying that the creds are subscoped. It is up to the server to subscope those or not
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. my understanding if the creds are present in the scan response we should not use the creds that were vended in loadTable ? hence some literature around of these cred should be the one used when server returns it irrespective of what was vended from the loadTable ?
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I added a description, let me know if that works or it needs re-wording |
||
| type: array | ||
| items: | ||
| $ref: '#/components/schemas/StorageCredential' | ||
singhpk234 marked this conversation as resolved.
Show resolved
Hide resolved
|
||
|
|
||
| CompletedPlanningWithIDResult: | ||
| type: object | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I put these as optional, anyone have thoughts or opinions if these should be required?