We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Issue:
ziti edge create service-policy test Dial -p "#test" --output-request-json
see the posture check role:
ziti edge list service-policies 'name contains "test"' ╭────────────┬──────┬──────────┬───────────────┬────────────────┬─────────────────────╮ │ ID │ NAME │ SEMANTIC │ SERVICE ROLES │ IDENTITY ROLES │ POSTURE CHECK ROLES │ ├────────────┼──────┼──────────┼───────────────┼────────────────┼─────────────────────┤ │ .iOx0fOlV1 │ test │ AllOf │ │ │ #test │ ╰────────────┴──────┴──────────┴───────────────┴────────────────┴─────────────────────╯
issue and see postureCheckRoles: null:
ziti edge update service-policy test -p "" --output-request-json PATCH to https://__controller__:18441/edge/management/v1//service-policies/.iOx0fOlV1 { "postureCheckRoles": null }
get the token and issue curl, replacing null with []:
curl -k -X PATCH -H "Content-Type:application/json" -H "zt-session:42297671-7190-4023-ae6f-15c8a8f1a999" https://ec2-18-188-201-183.us-east-2.compute.amazonaws.com:18441/edge/management/v1/service-policies/.iOx0fOlV1 -d '{"postureCheckRoles": []}' {"data":{},"meta":{}}
now check and posture checks are gone from the policy:
ziti edge list service-policies 'name contains "test"' ╭────────────┬──────┬──────────┬───────────────┬────────────────┬─────────────────────╮ │ ID │ NAME │ SEMANTIC │ SERVICE ROLES │ IDENTITY ROLES │ POSTURE CHECK ROLES │ ├────────────┼──────┼──────────┼───────────────┼────────────────┼─────────────────────┤ │ .iOx0fOlV1 │ test │ AllOf │ │ │ │ ╰────────────┴──────┴──────────┴───────────────┴────────────────┴─────────────────────╯
The text was updated successfully, but these errors were encountered:
Fix set of empty roles from CLI. Fixes #785
70850b8
Also includes removal of an unused method
12202b7
845fb23
00aa6ed
Merge pull request #2211 from openziti/fix-785
cffcdac
plorenz
No branches or pull requests
Issue:
see the posture check role:
issue and see postureCheckRoles: null:
get the token and issue curl, replacing null with []:
now check and posture checks are gone from the policy:
The text was updated successfully, but these errors were encountered: