Fix username not passed to script deployment
All checks were successful
Build and Push Container / build (push) Successful in 33s

- Include username and port in scan_complete WebSocket event
- Pass username from scan data when deploying scripts

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
Debian
2026-01-05 09:55:56 +00:00
parent ae8f833b65
commit 97153aa861
2 changed files with 6 additions and 1 deletions

View File

@@ -85,7 +85,10 @@ export default function DiscoveryResults({ scanId, scan, analysis, devMode, onCo
monitorId,
scan.hostname,
pushMetric,
{ port: scan.port || 22 }
{
port: scan.port || 22,
username: scan.username || 'root'
}
);
// Update the result with new deployment status