@stacksjs/ts-cloud 0.7.70 → 0.7.72
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/bin/cli.js +283 -282
- package/dist/{chunk-1c1vwq1p.js → chunk-20dmj05c.js} +10 -0
- package/dist/deploy/dashboard-data-server.d.ts +1 -0
- package/dist/deploy/index.js +1 -1
- package/dist/index.js +1 -1
- package/dist/security/pre-deploy-scanner.d.ts +1 -0
- package/dist/ui/access-denied.html +2 -2
- package/dist/ui/account/automation.html +4 -4
- package/dist/ui/account/security.html +2 -2
- package/dist/ui/applications/compose.html +4 -4
- package/dist/ui/data/backups.html +4 -4
- package/dist/ui/data/services.html +4 -4
- package/dist/ui/data/volumes.html +4 -4
- package/dist/ui/index.html +4 -4
- package/dist/ui/integrations.html +2 -2
- package/dist/ui/operations/alerts.html +4 -4
- package/dist/ui/operations/configuration.html +4 -4
- package/dist/ui/operations/jobs.html +4 -4
- package/dist/ui/operations/maintenance.html +4 -4
- package/dist/ui/operations/observability.html +4 -4
- package/dist/ui/operations/previews.html +4 -4
- package/dist/ui/operations/queue.html +4 -4
- package/dist/ui/operations/regions.html +4 -4
- package/dist/ui/operations/releases.html +4 -4
- package/dist/ui/operations/workloads.html +4 -4
- package/dist/ui/security.html +2 -2
- package/dist/ui/server/actions.html +3 -3
- package/dist/ui/server/capacity.html +3 -3
- package/dist/ui/server/database.html +4 -4
- package/dist/ui/server/deployments.html +4 -4
- package/dist/ui/server/diagnostics.html +2 -2
- package/dist/ui/server/firewall.html +4 -4
- package/dist/ui/server/fleet.html +4 -4
- package/dist/ui/server/logs.html +4 -4
- package/dist/ui/server/metrics.html +4 -4
- package/dist/ui/server/security.html +2 -2
- package/dist/ui/server/services.html +2 -2
- package/dist/ui/server/sites.html +4 -4
- package/dist/ui/server/ssh-keys.html +4 -4
- package/dist/ui/server/team.html +4 -4
- package/dist/ui/server/terminal.html +2 -2
- package/dist/ui/serverless/alarms.html +4 -4
- package/dist/ui/serverless/assets.html +2 -2
- package/dist/ui/serverless/cost.html +2 -2
- package/dist/ui/serverless/data.html +4 -4
- package/dist/ui/serverless/firewall.html +2 -2
- package/dist/ui/serverless/functions.html +4 -4
- package/dist/ui/serverless/logs.html +4 -4
- package/dist/ui/serverless/metrics.html +2 -2
- package/dist/ui/serverless/queues.html +3 -3
- package/dist/ui/serverless/secrets.html +3 -3
- package/dist/ui/serverless/traces.html +4 -4
- package/dist/ui/serverless.html +4 -4
- package/package.json +3 -3
|
@@ -37335,6 +37335,12 @@ class PreDeployScanner {
|
|
|
37335
37335
|
if (pattern.name === "AWS Secret Key (Generic)" && /^[a-f0-9]{40}$/i.test(candidate2)) {
|
|
37336
37336
|
continue;
|
|
37337
37337
|
}
|
|
37338
|
+
if (pattern.name === "AWS Secret Key (Generic)" && !this.hasSecretCharacterDiversity(candidate2)) {
|
|
37339
|
+
continue;
|
|
37340
|
+
}
|
|
37341
|
+
if (pattern.name === "AWS Secret Key (Generic)" && /^(?:Actions|Commands|Controllers|Handlers|Jobs|Listeners|Middleware|Models|Resources|Services)\//.test(candidate2)) {
|
|
37342
|
+
continue;
|
|
37343
|
+
}
|
|
37338
37344
|
if (this.isLowEntropy(candidate2)) {
|
|
37339
37345
|
continue;
|
|
37340
37346
|
}
|
|
@@ -37401,6 +37407,9 @@ class PreDeployScanner {
|
|
|
37401
37407
|
return true;
|
|
37402
37408
|
return false;
|
|
37403
37409
|
}
|
|
37410
|
+
hasSecretCharacterDiversity(value2) {
|
|
37411
|
+
return [/[a-z]/.test(value2), /[A-Z]/.test(value2), /\d/.test(value2), /[/+=]/.test(value2)].filter(Boolean).length >= 3;
|
|
37412
|
+
}
|
|
37404
37413
|
maskSecret(value2) {
|
|
37405
37414
|
if (value2.length <= 8) {
|
|
37406
37415
|
return "*".repeat(value2.length);
|
|
@@ -38463,6 +38472,7 @@ const routes = await Promise.all(configuredRoutes.map(async route => {
|
|
|
38463
38472
|
let httpStatus = 0
|
|
38464
38473
|
const probe = async (href) => {
|
|
38465
38474
|
const response = await fetch(href, {
|
|
38475
|
+
method: 'HEAD',
|
|
38466
38476
|
redirect: 'manual',
|
|
38467
38477
|
headers: { 'user-agent': 'ts-cloud-monitor/1.0' },
|
|
38468
38478
|
signal: AbortSignal.timeout(6000),
|
|
@@ -34,6 +34,7 @@ export interface DiscoveredSite {
|
|
|
34
34
|
release?: string;
|
|
35
35
|
deployedAt?: string;
|
|
36
36
|
}
|
|
37
|
+
export declare function sharedBoxProbeScript(projectFilter?: string): string;
|
|
37
38
|
export declare function parseBlock(output: string): Record<string, string> & {
|
|
38
39
|
services: ProbedService[];
|
|
39
40
|
discoveredSites: DiscoveredSite[];
|
package/dist/deploy/index.js
CHANGED
package/dist/index.js
CHANGED