@ts-cloud/core 0.7.115 → 0.7.117

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 (2) hide show
  1. package/dist/types.d.ts +24 -0
  2. package/package.json +2 -2
package/dist/types.d.ts CHANGED
@@ -1537,6 +1537,30 @@ export interface DnsConfig {
1537
1537
  export interface SecurityConfig {
1538
1538
  waf?: WafConfig;
1539
1539
  kms?: boolean;
1540
+ /**
1541
+ * Pre-deployment secret scan.
1542
+ *
1543
+ * The scan walks the project directory before a deploy and blocks on secrets
1544
+ * it finds. `scan.exclude` names directories to leave out of that walk, on
1545
+ * top of the built-in list (`.git`, `node_modules`, `dist`, `build`,
1546
+ * `vendor`, `pantry`, `coverage`, ...). Entries are matched on the directory
1547
+ * NAME at any depth, not as globs or paths.
1548
+ *
1549
+ * Use it for trees this project does not own and does not ship — a vendored
1550
+ * git submodule is the usual case. Third-party test fixtures are a rich
1551
+ * source of strings that look like credentials (the TypeScript compiler's
1552
+ * baselines trip the AWS-key heuristic on an identifier), and no amount of
1553
+ * remediation in your own code makes them go away.
1554
+ *
1555
+ * Excluding a directory here means secrets inside it will NOT be caught, so
1556
+ * only list trees you are confident never reach a server.
1557
+ *
1558
+ * @example
1559
+ * security: { scan: { exclude: ['_submodules'] } }
1560
+ */
1561
+ scan?: {
1562
+ exclude?: string[];
1563
+ };
1540
1564
  /**
1541
1565
  * SSL/TLS Certificate configuration
1542
1566
  */
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@ts-cloud/core",
3
3
  "type": "module",
4
- "version": "0.7.115",
4
+ "version": "0.7.117",
5
5
  "description": "Core CloudFormation generation library for ts-cloud",
6
6
  "author": "Chris Breuer <chris@stacksjs.com>",
7
7
  "license": "MIT",
@@ -31,7 +31,7 @@
31
31
  "typecheck": "tsc --noEmit"
32
32
  },
33
33
  "dependencies": {
34
- "@ts-cloud/aws-types": "0.7.115"
34
+ "@ts-cloud/aws-types": "0.7.117"
35
35
  },
36
36
  "devDependencies": {
37
37
  "typescript": "^7.0.2"