fix(security): secure remote command secrets and clone volume data

This commit is contained in:
Andras Bacsai
2026-10-27 09:47:18 +01:00
parent 1d286427ad
commit 1a2a5362ad
203 changed files with 4315 additions and 1065 deletions
+1 -1
View File
@@ -115,7 +115,7 @@ it('supports skipping command log entries without adding a hidden command entry'
->and($logs[0]['command'])->toBeNull()
->and($logs[0]['output'])->toBe('materialized '.REDACTED);
expect($storedLogs)->not->toContain($payload)->not->toContain($command);
Process::assertRan(fn ($process) => str_contains($process->command, $command));
Process::assertRan(fn ($process) => str_contains(remoteProcessScript($process), $command));
});
it('writes a deploy key to a per-deployment path and cleans it up for ls-remote on the host', function () use ($keyPath) {