cloudflared-mirror/management
Luis Neto 1cedefa1c2 TUN-9583: set proper url and hostname for cloudflared tail command
This commit adds support for FedRAMP environments. Cloudflared will
now dynamically configure the management hostname and API URL, switching 
to FedRAMP-specific values like `management.fed.argotunnel.com` and `https://api.fed.cloudflare.com/client/v4`
when a FedRAMP endpoint is detected.

Key to this is an enhanced `ParseToken` function, which now includes an `IsFed()`
method to determine if a management token's issuer is `fed-tunnelstore`. This allows
cloudflared to correctly identify and operate within a FedRAMP context, ensuring 
proper connectivity.

Closes TUN-9583
2025-07-23 20:09:50 +01:00
..
events.go chore: fix linter rules 2025-04-01 18:57:55 +01:00
events_test.go TUN-7133: Add sampling support for streaming logs 2023-04-24 09:39:26 -07:00
logger.go TUN-7373: Streaming logs override for same actor 2023-04-21 11:54:37 -07:00
logger_test.go TUN-7373: Streaming logs override for same actor 2023-04-21 11:54:37 -07:00
middleware.go TUN-9583: set proper url and hostname for cloudflared tail command 2025-07-23 20:09:50 +01:00
middleware_test.go remove code that will not be executed 2024-08-07 14:31:49 +00:00
service.go TUN-7553: Add flag to enable management diagnostic services 2023-07-06 17:31:11 +00:00
service_test.go TUN-7553: Add flag to enable management diagnostic services 2023-07-06 17:31:11 +00:00
session.go TUN-7133: Add sampling support for streaming logs 2023-04-24 09:39:26 -07:00
session_test.go TUN-7133: Add sampling support for streaming logs 2023-04-24 09:39:26 -07:00
token.go TUN-9583: set proper url and hostname for cloudflared tail command 2025-07-23 20:09:50 +01:00
token_test.go TUN-9583: set proper url and hostname for cloudflared tail command 2025-07-23 20:09:50 +01:00