diff --git a/CHANGELOG.md b/CHANGELOG.md index 5ce0a2b56..54353768c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,7 +2,7 @@ ## What's New -* Bug fix: Management and Client API nested resources now support `limit` and `offset` outside of `filter` as query params +* Bug fix: [edge#641](https://github.com/openziti/edge/issues/641)Management and Client API nested resources now support `limit` and `offset` outside of `filter` as query params * Feature: MFA Timeout Options ## MFA Timeout Options diff --git a/ziti/cmd/ziti/cmd/edge_controller/create_posture_check.go b/ziti/cmd/ziti/cmd/edge_controller/create_posture_check.go index 388e39c15..caa732171 100644 --- a/ziti/cmd/ziti/cmd/edge_controller/create_posture_check.go +++ b/ziti/cmd/ziti/cmd/edge_controller/create_posture_check.go @@ -499,7 +499,10 @@ func runCreatePostureCheckProcessMulti(options *createPostureCheckProcessMultiOp Processes: processes, Semantic: &semantic, } - params.PostureCheck.SetRoleAttributes(options.roleAttributes) + + attributes := rest_model.Attributes(options.roleAttributes) + + params.PostureCheck.SetRoleAttributes(&attributes) params.PostureCheck.SetName(&options.name) resp, err := managementClient.PostureChecks.CreatePostureCheck(params, nil)