From 574c29973a4f467ffef862d073e50ba3e8a332c6 Mon Sep 17 00:00:00 2001 From: pascal Date: Tue, 29 Sep 2026 23:11:41 +0200 Subject: [PATCH] add unsupported flag for mobile devices --- shared/management/http/api/openapi.yml | 2 +- shared/management/http/api/types.gen.go | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/shared/management/http/api/openapi.yml b/shared/management/http/api/openapi.yml index 421b8c944..883270597 100644 --- a/shared/management/http/api/openapi.yml +++ b/shared/management/http/api/openapi.yml @@ -1795,7 +1795,7 @@ components: type: string example: "C:\ProgramData\NetBird\netbird.exe" CertificateCheck: - description: Posture check for a certificate held by the peer that chains to one of the given CA certificates + description: Posture check for a certificate held by the peer that chains to one of the given CA certificates. Not supported on mobile devices (iOS and Android), which always fail this check and are denied access type: object properties: ca_certificates: diff --git a/shared/management/http/api/types.gen.go b/shared/management/http/api/types.gen.go index 8efa8ff0b..e47e53b9b 100644 --- a/shared/management/http/api/types.gen.go +++ b/shared/management/http/api/types.gen.go @@ -2701,7 +2701,7 @@ type BypassResponse struct { PeerId string `json:"peer_id"` } -// CertificateCheck Posture check for a certificate held by the peer that chains to one of the given CA certificates +// CertificateCheck Posture check for a certificate held by the peer that chains to one of the given CA certificates. Not supported on mobile devices (iOS and Android), which always fail this check and are denied access type CertificateCheck struct { // CaCertificates PEM encoded CA certificates the peer's certificate must chain to CaCertificates []string `json:"ca_certificates"` @@ -2718,7 +2718,7 @@ type CheckoutResponse struct { // Checks List of objects that perform the actual checks type Checks struct { - // CertificateCheck Posture check for a certificate held by the peer that chains to one of the given CA certificates + // CertificateCheck Posture check for a certificate held by the peer that chains to one of the given CA certificates. Not supported on mobile devices (iOS and Android), which always fail this check and are denied access CertificateCheck *CertificateCheck `json:"certificate_check,omitempty"` // GeoLocationCheck Posture check for geo location