From a27fc88c2c1fab9faa704da2fd2ba1afb00204fd Mon Sep 17 00:00:00 2001 From: Daniel Barranquero Date: Wed, 22 Jul 2026 16:10:16 +0200 Subject: [PATCH] docs(ui): reference isCloud() instead of the renamed cloud flag The Cloud flag moved from build-time NEXT_PUBLIC_IS_CLOUD_ENV to the runtime UI_CLOUD_ENABLED (#12061). The adapter already gates on isCloud(), which resolves the new mechanism; update the stale docstring to match. --- ui/actions/attack-paths/queries.adapter.ts | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/ui/actions/attack-paths/queries.adapter.ts b/ui/actions/attack-paths/queries.adapter.ts index 3142c3f5fd..607d62f1d2 100644 --- a/ui/actions/attack-paths/queries.adapter.ts +++ b/ui/actions/attack-paths/queries.adapter.ts @@ -24,9 +24,8 @@ import { * Decide whether a query should appear in the selector. * * Empty-query filtering is a Prowler Cloud feature: outside Cloud - * (`NEXT_PUBLIC_IS_CLOUD_ENV !== "true"`) the queries API does not precompute - * result summaries, so every query is shown, matching current self-hosted - * behaviour. + * (`isCloud()` is false) the queries API does not precompute result summaries, + * so every query is shown, matching current self-hosted behaviour. * * In Cloud, hide only queries the scan precomputed and found empty * (`has_data === false`). Everything else stays visible: parameterized queries