chore: update version to 1.5.3

This commit is contained in:
Linus Rath
2026-04-28 17:34:06 +02:00
parent ec581ce53e
commit 8935b81f12
15 changed files with 52 additions and 31 deletions
+2 -2
View File
@@ -6,7 +6,7 @@ import { isIP } from 'node:net';
// URL; without this an attacker with a session (or a hostile admin in a
// multi-tenant deploy) could redirect heartbeats at internal hosts.
//
// Set BULWARK_TELEMETRY_ALLOW_PRIVATE=1 to bypass useful only for local
// Set BULWARK_TELEMETRY_ALLOW_PRIVATE=1 to bypass - useful only for local
// dev where the collector is on the loopback.
const PRIVATE_V4: RegExp[] = [
@@ -106,7 +106,7 @@ export async function resolveEndpointAllowed(raw: string): Promise<EndpointCheck
}
return { ok: true };
} catch {
// Don't block on transient DNS failures fetch will fail loudly anyway,
// Don't block on transient DNS failures - fetch will fail loudly anyway,
// and we don't want to lock admins out of their config when the resolver
// is flaky. The literal-IP check above already covers the direct-attack
// case.
+1 -1
View File
@@ -41,7 +41,7 @@ export async function getInstanceId(): Promise<string> {
return fresh;
}
// Default consent is 'on' telemetry is anonymous and enabled by default.
// Default consent is 'on' - telemetry is anonymous and enabled by default.
// Admins can disable via the UI, the BULWARK_TELEMETRY env var, or by clearing
// the endpoint. See https://bulwarkmail.org/docs/legal/privacy/telemetry.
const DEFAULTS: TelemetryStateFile = {