-
Notifications
You must be signed in to change notification settings - Fork 485
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
Update agents listing service with "CanReAttest" filter #3880
Update agents listing service with "CanReAttest" filter #3880
Conversation
I can review |
@@ -266,7 +266,7 @@ func TestList(t *testing.T) { | |||
expectedReturnCode: 0, |
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.
can you add a test case where an agent that is re_attestable is returned?
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.
@@ -289,6 +289,7 @@ StoreSvid : true | |||
}, | |||
"entry": { | |||
"id": "entry-id", | |||
"hint": "", |
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.
why hint is required here? looks like it is not related with this PR (the same comment is for all files with the same change)
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.
The new version of spire-api-sdk comes with the hint field change; that's why I had to include those here. This field will be effectively included in #3926
I recommend reviewing #3926 before this PR, since it will include the "hint" field which will also be added with the new spire-api-sdk version required by this PR. |
59baf1f
to
659d2fc
Compare
Signed-off-by: Guilherme Carvalho <guilhermbrsp@gmail.com>
Signed-off-by: Guilherme Carvalho <guilhermbrsp@gmail.com>
Signed-off-by: Guilherme Carvalho <guilhermbrsp@gmail.com>
Signed-off-by: Guilherme Carvalho <guilhermbrsp@gmail.com>
Signed-off-by: Guilherme Carvalho <guilhermbrsp@gmail.com>
659d2fc
to
4b05585
Compare
Signed-off-by: Guilherme Carvalho <guilhermbrsp@gmail.com>
Signed-off-by: Guilherme Carvalho <guilhermbrsp@gmail.com>
4bd9a7e
to
25f6a60
Compare
- Add "CanReAttest" boolean filter in list agents method - Update spire-server agent and entry commands to add new response fields: registration entry hint and agent canReAttest. --------- Signed-off-by: Guilherme Carvalho <guilhermbrsp@gmail.com> Signed-off-by: mo omar <momar@confluent.io>
Pull Request check list
Affected functionality
spire-server agents listing.
Description of change
agent
andentry
commands to add new response fields: registration entryhint
and agentcanReAttest
.Which issue this PR fixes
Ongoing work for #1836
Dependencies
⚠️ This PR depends on spiffe/spire-api-sdk#36. After it's merge, go mod file should be updated to remove temporary local spire-api-sdk reference. ⚠️