feat: enforce private backend isolation, deploy live interactive SOC Gateway UI, and provide English security report
This commit is contained in:
@@ -0,0 +1,25 @@
|
||||
const fs = require('fs');
|
||||
|
||||
async function main() {
|
||||
const tokenData = JSON.parse(fs.readFileSync('D:/cumin/ghaymah_dns_net_sec_tests/token.json', 'utf8'));
|
||||
|
||||
console.log('Testing generateStaticConfig...');
|
||||
const res = await fetch('https://graphql.ghaymah.systems/v1/graphql', {
|
||||
method: 'POST',
|
||||
headers: { 'Authorization': 'Bearer ' + tokenData.token, 'Content-Type': 'application/json' },
|
||||
body: JSON.stringify({
|
||||
query: `mutation GenerateStaticConfig($framework: String!) {
|
||||
generateStaticConfig(arg1: { framework: $framework }) {
|
||||
nginxConfig
|
||||
appConfig
|
||||
}
|
||||
}`,
|
||||
variables: { framework: 'static' }
|
||||
})
|
||||
});
|
||||
|
||||
const data = await res.json();
|
||||
console.log('generateStaticConfig response:', JSON.stringify(data, null, 2));
|
||||
}
|
||||
|
||||
main().catch(console.error);
|
||||
Reference in New Issue
Block a user