@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.
Files changed (54) hide show
  1. package/dist/bin/cli.js +283 -282
  2. package/dist/{chunk-1c1vwq1p.js → chunk-20dmj05c.js} +10 -0
  3. package/dist/deploy/dashboard-data-server.d.ts +1 -0
  4. package/dist/deploy/index.js +1 -1
  5. package/dist/index.js +1 -1
  6. package/dist/security/pre-deploy-scanner.d.ts +1 -0
  7. package/dist/ui/access-denied.html +2 -2
  8. package/dist/ui/account/automation.html +4 -4
  9. package/dist/ui/account/security.html +2 -2
  10. package/dist/ui/applications/compose.html +4 -4
  11. package/dist/ui/data/backups.html +4 -4
  12. package/dist/ui/data/services.html +4 -4
  13. package/dist/ui/data/volumes.html +4 -4
  14. package/dist/ui/index.html +4 -4
  15. package/dist/ui/integrations.html +2 -2
  16. package/dist/ui/operations/alerts.html +4 -4
  17. package/dist/ui/operations/configuration.html +4 -4
  18. package/dist/ui/operations/jobs.html +4 -4
  19. package/dist/ui/operations/maintenance.html +4 -4
  20. package/dist/ui/operations/observability.html +4 -4
  21. package/dist/ui/operations/previews.html +4 -4
  22. package/dist/ui/operations/queue.html +4 -4
  23. package/dist/ui/operations/regions.html +4 -4
  24. package/dist/ui/operations/releases.html +4 -4
  25. package/dist/ui/operations/workloads.html +4 -4
  26. package/dist/ui/security.html +2 -2
  27. package/dist/ui/server/actions.html +3 -3
  28. package/dist/ui/server/capacity.html +3 -3
  29. package/dist/ui/server/database.html +4 -4
  30. package/dist/ui/server/deployments.html +4 -4
  31. package/dist/ui/server/diagnostics.html +2 -2
  32. package/dist/ui/server/firewall.html +4 -4
  33. package/dist/ui/server/fleet.html +4 -4
  34. package/dist/ui/server/logs.html +4 -4
  35. package/dist/ui/server/metrics.html +4 -4
  36. package/dist/ui/server/security.html +2 -2
  37. package/dist/ui/server/services.html +2 -2
  38. package/dist/ui/server/sites.html +4 -4
  39. package/dist/ui/server/ssh-keys.html +4 -4
  40. package/dist/ui/server/team.html +4 -4
  41. package/dist/ui/server/terminal.html +2 -2
  42. package/dist/ui/serverless/alarms.html +4 -4
  43. package/dist/ui/serverless/assets.html +2 -2
  44. package/dist/ui/serverless/cost.html +2 -2
  45. package/dist/ui/serverless/data.html +4 -4
  46. package/dist/ui/serverless/firewall.html +2 -2
  47. package/dist/ui/serverless/functions.html +4 -4
  48. package/dist/ui/serverless/logs.html +4 -4
  49. package/dist/ui/serverless/metrics.html +2 -2
  50. package/dist/ui/serverless/queues.html +3 -3
  51. package/dist/ui/serverless/secrets.html +3 -3
  52. package/dist/ui/serverless/traces.html +4 -4
  53. package/dist/ui/serverless.html +4 -4
  54. 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[];
@@ -32,7 +32,7 @@ import {
32
32
  synchronizeDashboardUsers,
33
33
  trackDashboardOperation,
34
34
  verifyStaticApiOrigin
35
- } from "../chunk-1c1vwq1p.js";
35
+ } from "../chunk-20dmj05c.js";
36
36
  import {
37
37
  deleteStaticSite,
38
38
  deployStaticSite,
package/dist/index.js CHANGED
@@ -285,7 +285,7 @@ import {
285
285
  volumeCapabilities,
286
286
  webhookEndpoint,
287
287
  zeroCapacity
288
- } from "./chunk-1c1vwq1p.js";
288
+ } from "./chunk-20dmj05c.js";
289
289
  import {
290
290
  deleteStaticSite,
291
291
  deployStaticSite,
@@ -74,6 +74,7 @@ export declare class PreDeployScanner {
74
74
  * A real 40-char base64 key has ~30+ distinct chars and no long runs.
75
75
  */
76
76
  private isLowEntropy;
77
+ private hasSecretCharacterDiversity;
77
78
  /**
78
79
  * Mask a secret for display
79
80
  */