feat: enforce private backend isolation, deploy live interactive SOC Gateway UI, and provide English security report

This commit is contained in:
2026-10-13 00:38:12 +03:00
parent 2cea9f25ba
commit f8917dfa88
31 changed files with 1331 additions and 101 deletions
+30
View File
@@ -0,0 +1,30 @@
const { getAuth } = require('./auth_manager');
async function main() {
const td = await getAuth();
console.log('Waiting for ghaymah-soc-gateway to reach Healthy status...');
for (let i = 1; i <= 15; i++) {
const res = await fetch('https://graphql.ghaymah.systems/v1/graphql', {
method: 'POST',
headers: { 'Authorization': 'Bearer ' + td.token, 'Content-Type': 'application/json' },
body: JSON.stringify({ query: 'mutation { listStaticApps { id name status url } }' })
});
const d = await res.json();
const app = d.data?.listStaticApps?.find(a => a.name === 'ghaymah-soc-gateway');
console.log(`[Attempt ${i}/15] Status: ${app?.status}`);
if (app?.status === 'Healthy' || app?.status === 'Running' || app?.status === 'Live') {
console.log('>>> APP IS LIVE! <<<');
console.log('Testing URL:', app.url);
const test = await fetch(app.url);
console.log('HTTP Status:', test.status);
const text = await test.text();
console.log('Title:', text.match(/<title>([^<]+)<\/title>/)?.[1]);
return;
}
await new Promise(r => setTimeout(r, 4000));
}
}
main().catch(console.error);