diff --git a/service/cziti/sdk.go b/service/cziti/sdk.go index 5f1dbf7f..b9e36b85 100644 --- a/service/cziti/sdk.go +++ b/service/cziti/sdk.go @@ -425,6 +425,7 @@ func serviceCB(ziti_ctx C.ziti_context, service *C.ziti_service, status C.int, z if C.GoString(pqs.policy_type) == "Bind" { log.Tracef("Posture Query set returned a Bind policy: %s [ignored]", C.GoString(pqs.policy_id)) // posture check does not consider bind policies + it = C.model_map_it_next(it) continue } else { log.Tracef("Posture Query set returned a %s policy: %s, is_passing %t", C.GoString(pqs.policy_type), C.GoString(pqs.policy_id), pqs.is_passing) @@ -486,7 +487,6 @@ func serviceCB(ziti_ctx C.ziti_context, service *C.ziti_service, status C.int, z it = C.model_map_it_next(it) } - //find all posture checks sets... for setIdx := 0; true; setIdx++ { pqs := C.posture_query_set_get(service.posture_query_set, C.int(setIdx)) @@ -494,7 +494,6 @@ func serviceCB(ziti_ctx C.ziti_context, service *C.ziti_service, status C.int, z break } - } svc = &dto.Service{ diff --git a/service/ziti-tunnel/service/ipc.go b/service/ziti-tunnel/service/ipc.go index cc27d7ff..7b76aa54 100644 --- a/service/ziti-tunnel/service/ipc.go +++ b/service/ziti-tunnel/service/ipc.go @@ -1207,9 +1207,9 @@ func broadcastNotification() { var notificationMaxTimeout int32 = -1 switch mfaState := id.CId.GetMFAState(int32((constants.MaximumFrequency + rts.state.NotificationFrequency) * 60)); mfaState { case constants.MfaAllSvcTimeout: - notificationMessage = fmt.Sprintf("All of the services of identity %s are timed out", id.Name) + notificationMessage = fmt.Sprintf("All of the services of identity %s have timed out", id.Name) case constants.MfaFewSvcTimeout: - notificationMessage = fmt.Sprintf("Some of the services of identity %s are timed out", id.Name) + notificationMessage = fmt.Sprintf("Some of the services of identity %s have timed out", id.Name) case constants.MfaNearingTimeout: notificationMinTimeout = id.CId.GetRemainingTime(id.CId.MfaMinTimeout, id.CId.MfaMinTimeoutRem) notificationMessage = fmt.Sprintf("Some of the services of identity %s are timing out in %s", id.Name, secondsToReadableFmt(notificationMinTimeout))