Protect RCON diagnostics and redact player addresses (Refs #61)
This commit is contained in:
@@ -43,7 +43,7 @@ export function createFleetStore(serverName?: string) {
|
||||
const base = status ? { ...server, last_players: status.players, last_map: status.map,
|
||||
capacity: status.capacity ?? null, capacity_observed_at: status.capacityObservedAt ?? null,
|
||||
last_gametype: status.gametype, last_seen_at: status.lastSeenAt, last_error: status.lastError,
|
||||
roster: status.roster, health: status.health, endpoint: status.endpoint, replySnippet: status.replySnippet, active_since: status.activeSince,
|
||||
roster: status.roster, health: status.health, endpoint: status.endpoint, active_since: status.activeSince,
|
||||
inactive_since: status.inactiveSince, game_started_at: status.gameStartedAt,
|
||||
game_ended_at: status.gameEndedAt, container_state: status.containerState ?? server.container_state,
|
||||
container_checked_at: status.containerCheckedAt ?? server.container_checked_at,
|
||||
|
||||
@@ -35,7 +35,6 @@ export interface ServerStatus {
|
||||
lastError: string | null;
|
||||
endpoint: RconEndpoint | null;
|
||||
reason: RconFailure | null;
|
||||
replySnippet: string | null;
|
||||
activeSince: string | null;
|
||||
inactiveSince: string | null;
|
||||
gameStartedAt: string | null;
|
||||
|
||||
Reference in New Issue
Block a user