@empire-builder-kit/nx 1.0.0-rc.30 → 1.0.0-rc.31
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/executors.json +8 -3
- package/package.json +10 -7
- package/src/aws/child-environment.d.ts +10 -0
- package/src/aws/child-environment.js +77 -0
- package/src/aws/child-environment.js.map +1 -0
- package/src/aws/identity.d.ts +13 -0
- package/src/aws/identity.js +41 -0
- package/src/aws/identity.js.map +1 -0
- package/src/aws-authority/index.d.ts +1 -0
- package/src/aws-authority/index.js +5 -0
- package/src/aws-authority/index.js.map +1 -0
- package/src/aws-authority/stage-authority.d.ts +238 -0
- package/src/aws-authority/stage-authority.js +2836 -0
- package/src/aws-authority/stage-authority.js.map +1 -0
- package/src/developer-agent/generator-planning.js +4 -4
- package/src/developer-agent/generator-planning.js.map +1 -1
- package/src/developer-agent/operation-registry.js +14 -6
- package/src/developer-agent/operation-registry.js.map +1 -1
- package/src/executors/deployment-plan/deployment-plan.js +1 -1
- package/src/executors/deployment-plan/deployment-plan.js.map +1 -1
- package/src/executors/foundation-preflight/foundation-preflight.d.ts +0 -1
- package/src/executors/foundation-preflight/foundation-preflight.js.map +1 -1
- package/src/executors/foundation-preflight/schema.json +0 -5
- package/src/executors/foundation-profile-preflight/foundation-profile-preflight.d.ts +12 -3
- package/src/executors/foundation-profile-preflight/foundation-profile-preflight.js +95 -32
- package/src/executors/foundation-profile-preflight/foundation-profile-preflight.js.map +1 -1
- package/src/executors/foundation-profile-preflight/production-database-safeguard.d.ts +64 -0
- package/src/executors/foundation-profile-preflight/production-database-safeguard.js +221 -0
- package/src/executors/foundation-profile-preflight/production-database-safeguard.js.map +1 -0
- package/src/executors/foundation-profile-preflight/schema.json +1 -6
- package/src/executors/foundation-remove-preflight/foundation-remove-preflight.d.ts +11 -1
- package/src/executors/foundation-remove-preflight/foundation-remove-preflight.js +44 -21
- package/src/executors/foundation-remove-preflight/foundation-remove-preflight.js.map +1 -1
- package/src/executors/foundation-remove-preflight/schema.json +6 -1
- package/src/executors/infrastructure-plan/infrastructure-plan.d.ts +25 -369
- package/src/executors/infrastructure-plan/infrastructure-plan.js +222 -5472
- package/src/executors/infrastructure-plan/infrastructure-plan.js.map +1 -1
- package/src/executors/infrastructure-plan/schema.json +8 -64
- package/src/executors/local-deploy/federated-credential-transport.d.ts +48 -0
- package/src/executors/local-deploy/federated-credential-transport.js +252 -0
- package/src/executors/local-deploy/federated-credential-transport.js.map +1 -0
- package/src/executors/local-deploy/local-approval.d.ts +4 -9
- package/src/executors/local-deploy/local-approval.js +3 -7
- package/src/executors/local-deploy/local-approval.js.map +1 -1
- package/src/executors/local-deploy/local-deploy.d.ts +58 -43
- package/src/executors/local-deploy/local-deploy.js +938 -804
- package/src/executors/local-deploy/local-deploy.js.map +1 -1
- package/src/executors/local-deploy/schema.json +3 -20
- package/src/executors/refresh/refresh.js +2 -2
- package/src/executors/refresh/refresh.js.map +1 -1
- package/src/executors/remove/remove.js +2 -2
- package/src/executors/remove/remove.js.map +1 -1
- package/src/executors/router-waf-rehearsal/router-waf-rehearsal.d.ts +25 -1
- package/src/executors/router-waf-rehearsal/router-waf-rehearsal.js +905 -22
- package/src/executors/router-waf-rehearsal/router-waf-rehearsal.js.map +1 -1
- package/src/executors/router-waf-rehearsal/schema.json +17 -2
- package/src/executors/secret-initialize/schema.json +42 -0
- package/src/executors/secret-initialize/secret-initialize.d.ts +30 -0
- package/src/executors/secret-initialize/secret-initialize.js +229 -0
- package/src/executors/secret-initialize/secret-initialize.js.map +1 -0
- package/src/executors/secret-metadata/secret-metadata.d.ts +2 -1
- package/src/executors/secret-metadata/secret-metadata.js +62 -29
- package/src/executors/secret-metadata/secret-metadata.js.map +1 -1
- package/src/executors/sst-lifecycle/generated-secret-retirement.d.ts +53 -0
- package/src/executors/sst-lifecycle/generated-secret-retirement.js +192 -0
- package/src/executors/sst-lifecycle/generated-secret-retirement.js.map +1 -0
- package/src/executors/sst-lifecycle/governed-native-operation.d.ts +46 -0
- package/src/executors/sst-lifecycle/governed-native-operation.js +153 -0
- package/src/executors/sst-lifecycle/governed-native-operation.js.map +1 -0
- package/src/executors/sst-lifecycle/run-sst-command.d.ts +25 -7
- package/src/executors/sst-lifecycle/run-sst-command.js +459 -89
- package/src/executors/sst-lifecycle/run-sst-command.js.map +1 -1
- package/src/executors/sst-lifecycle/schema.json +0 -5
- package/src/executors/sst-lifecycle/secret-preflight.d.ts +2 -0
- package/src/executors/sst-lifecycle/secret-preflight.js +13 -7
- package/src/executors/sst-lifecycle/secret-preflight.js.map +1 -1
- package/src/executors/unlock/unlock.js +2 -2
- package/src/executors/unlock/unlock.js.map +1 -1
- package/src/foundation/router-waf-rate-rehearsal.d.ts +97 -0
- package/src/foundation/router-waf-rate-rehearsal.js +210 -0
- package/src/foundation/router-waf-rate-rehearsal.js.map +1 -0
- package/src/foundation/router-waf.d.ts +59 -9
- package/src/foundation/router-waf.js +427 -32
- package/src/foundation/router-waf.js.map +1 -1
- package/src/foundation/stages.d.ts +1 -0
- package/src/foundation/stages.js +11 -0
- package/src/foundation/stages.js.map +1 -1
- package/src/generators/formatting.d.ts +8 -0
- package/src/generators/formatting.js +118 -0
- package/src/generators/formatting.js.map +1 -0
- package/src/generators/function/function.js +37 -17
- package/src/generators/function/function.js.map +1 -1
- package/src/generators/post-generation-install.js +2 -2
- package/src/generators/post-generation-install.js.map +1 -1
- package/src/generators/preset/generator.js +22 -7
- package/src/generators/preset/generator.js.map +1 -1
- package/src/generators/preset/workspace-files-developer-agent.js +15 -7
- package/src/generators/preset/workspace-files-developer-agent.js.map +1 -1
- package/src/generators/preset/workspace-files-ecr-inspector.d.ts +18 -0
- package/src/generators/preset/workspace-files-ecr-inspector.js +298 -0
- package/src/generators/preset/workspace-files-ecr-inspector.js.map +1 -0
- package/src/generators/preset/workspace-files-performance-cost.d.ts +2 -2
- package/src/generators/preset/workspace-files-performance-cost.js +8 -8
- package/src/generators/preset/workspace-files-performance-cost.js.map +1 -1
- package/src/generators/preset/workspace-files-performance-load.d.ts +1 -1
- package/src/generators/preset/workspace-files-performance-load.js +8 -12
- package/src/generators/preset/workspace-files-performance-load.js.map +1 -1
- package/src/generators/preset/workspace-files-stage-authority.d.ts +4 -0
- package/src/generators/preset/workspace-files-stage-authority.js +275 -0
- package/src/generators/preset/workspace-files-stage-authority.js.map +1 -0
- package/src/generators/preset/workspace-files-thin-deploy.d.ts +35 -0
- package/src/generators/preset/workspace-files-thin-deploy.js +1434 -0
- package/src/generators/preset/workspace-files-thin-deploy.js.map +1 -0
- package/src/generators/preset/workspace-files-thin-docs.d.ts +5 -0
- package/src/generators/preset/workspace-files-thin-docs.js +224 -0
- package/src/generators/preset/workspace-files-thin-docs.js.map +1 -0
- package/src/generators/preset/workspace-files-thin-release.d.ts +14 -0
- package/src/generators/preset/workspace-files-thin-release.js +26 -0
- package/src/generators/preset/workspace-files-thin-release.js.map +1 -0
- package/src/generators/preset/workspace-files.d.ts +1 -1
- package/src/generators/preset/workspace-files.js +373 -223
- package/src/generators/preset/workspace-files.js.map +1 -1
- package/src/generators/slice/built-in-plan-api-files.js +1 -0
- package/src/generators/slice/built-in-plan-api-files.js.map +1 -1
- package/src/generators/slice/built-in-plan-authorization-infrastructure-files.js +4 -0
- package/src/generators/slice/built-in-plan-authorization-infrastructure-files.js.map +1 -1
- package/src/generators/slice/built-in-plan-data-export-infrastructure-files.js +5 -31
- package/src/generators/slice/built-in-plan-data-export-infrastructure-files.js.map +1 -1
- package/src/generators/slice/built-in-plan-data-files.d.ts +1 -1
- package/src/generators/slice/built-in-plan-data-files.js +89 -30
- package/src/generators/slice/built-in-plan-data-files.js.map +1 -1
- package/src/generators/slice/built-in-plan-foundation-files.js +3 -5
- package/src/generators/slice/built-in-plan-foundation-files.js.map +1 -1
- package/src/generators/slice/built-in-plan-frontend-files.js +5 -1
- package/src/generators/slice/built-in-plan-frontend-files.js.map +1 -1
- package/src/generators/slice/built-in-plan-infrastructure-files.d.ts +1 -1
- package/src/generators/slice/built-in-plan-infrastructure-files.js +199 -188
- package/src/generators/slice/built-in-plan-infrastructure-files.js.map +1 -1
- package/src/generators/slice/built-in-plan-metadata-files.js +13 -0
- package/src/generators/slice/built-in-plan-metadata-files.js.map +1 -1
- package/src/generators/slice/built-in-plan-native-runtime-authority-files.d.ts +2 -0
- package/src/generators/slice/built-in-plan-native-runtime-authority-files.js +307 -0
- package/src/generators/slice/built-in-plan-native-runtime-authority-files.js.map +1 -0
- package/src/generators/slice/built-in-plan-operations-files.js +43 -49
- package/src/generators/slice/built-in-plan-operations-files.js.map +1 -1
- package/src/generators/slice/built-in-plan-performance-files.js +37 -19
- package/src/generators/slice/built-in-plan-performance-files.js.map +1 -1
- package/src/generators/slice/built-in-plan-project-files.js +9 -68
- package/src/generators/slice/built-in-plan-project-files.js.map +1 -1
- package/src/generators/slice/built-in-plan-secret-runtime-files.d.ts +1 -1
- package/src/generators/slice/built-in-plan-secret-runtime-files.js +74 -76
- package/src/generators/slice/built-in-plan-secret-runtime-files.js.map +1 -1
- package/src/generators/slice/built-in-plan-testing-files.js +74 -47
- package/src/generators/slice/built-in-plan-testing-files.js.map +1 -1
- package/src/generators/slice/built-in-plan-thin-release-files.d.ts +11 -0
- package/src/generators/slice/built-in-plan-thin-release-files.js +129 -0
- package/src/generators/slice/built-in-plan-thin-release-files.js.map +1 -0
- package/src/generators/slice/built-in-plan-verification-files.js +6 -2
- package/src/generators/slice/built-in-plan-verification-files.js.map +1 -1
- package/src/generators/slice/built-in-plan-web-files.js +4 -2
- package/src/generators/slice/built-in-plan-web-files.js.map +1 -1
- package/src/generators/slice/built-in-plan-workload-role-files.js +26 -4
- package/src/generators/slice/built-in-plan-workload-role-files.js.map +1 -1
- package/src/generators/slice/built-in-plan.d.ts +1 -0
- package/src/generators/slice/built-in-plan.js +28 -11
- package/src/generators/slice/built-in-plan.js.map +1 -1
- package/src/generators/slice/slice.js +27 -29
- package/src/generators/slice/slice.js.map +1 -1
- package/src/generators/upgrade/upgrade.d.ts +1 -1
- package/src/generators/upgrade/upgrade.js +224 -69
- package/src/generators/upgrade/upgrade.js.map +1 -1
- package/src/generators/workload/performance-registration.d.ts +1 -0
- package/src/generators/workload/performance-registration.js +6 -4
- package/src/generators/workload/performance-registration.js.map +1 -1
- package/src/generators/workload/service-performance-files.d.ts +1 -0
- package/src/generators/workload/service-performance-files.js +27 -7
- package/src/generators/workload/service-performance-files.js.map +1 -1
- package/src/generators/workload/workload.d.ts +1 -1
- package/src/generators/workload/workload.js +55 -28
- package/src/generators/workload/workload.js.map +1 -1
- package/src/git-policy/github-bootstrap.d.ts +19 -6
- package/src/git-policy/github-bootstrap.js +103 -157
- package/src/git-policy/github-bootstrap.js.map +1 -1
- package/src/local-dev/private-state.d.ts +3 -0
- package/src/local-dev/private-state.js +17 -5
- package/src/local-dev/private-state.js.map +1 -1
- package/src/performance/cost-collection.d.ts +1 -1
- package/src/performance/cost-collection.js +4 -2
- package/src/performance/cost-collection.js.map +1 -1
- package/src/performance/cost-controls.d.ts +3 -1
- package/src/performance/cost-controls.js +9 -4
- package/src/performance/cost-controls.js.map +1 -1
- package/src/performance/evidence.d.ts +1 -1
- package/src/performance/evidence.js +5 -3
- package/src/performance/evidence.js.map +1 -1
- package/src/performance/load-safety.js +5 -3
- package/src/performance/load-safety.js.map +1 -1
- package/src/performance/model.d.ts +2 -2
- package/src/performance/model.js +4 -3
- package/src/performance/model.js.map +1 -1
- package/src/release/index.d.ts +0 -2
- package/src/release/index.js +0 -2
- package/src/release/index.js.map +1 -1
- package/src/release/source-authority.d.ts +4 -5
- package/src/release/source-authority.js +13 -123
- package/src/release/source-authority.js.map +1 -1
- package/src/repository-policy/aurora-preflight.d.ts +1 -1
- package/src/repository-policy/aurora-preflight.js +4 -1
- package/src/repository-policy/aurora-preflight.js.map +1 -1
- package/src/repository-policy/policy.d.ts +5 -1
- package/src/repository-policy/policy.js +64 -13
- package/src/repository-policy/policy.js.map +1 -1
- package/src/schemas/performance-policy-v1.json +3 -1
- package/src/secrets/adapters.d.ts +5 -1
- package/src/secrets/adapters.js +22 -1
- package/src/secrets/adapters.js.map +1 -1
- package/src/secrets/aws-control-plane.d.ts +10 -1
- package/src/secrets/aws-control-plane.js +67 -0
- package/src/secrets/aws-control-plane.js.map +1 -1
- package/src/secrets/generated-aws-control-plane.d.ts +23 -0
- package/src/secrets/generated-aws-control-plane.js +259 -0
- package/src/secrets/generated-aws-control-plane.js.map +1 -0
- package/src/secrets/metadata.js +38 -10
- package/src/secrets/metadata.js.map +1 -1
- package/src/secrets/model.d.ts +8 -1
- package/src/secrets/model.js +24 -3
- package/src/secrets/model.js.map +1 -1
- package/src/secrets/operator.d.ts +89 -3
- package/src/secrets/operator.js +422 -9
- package/src/secrets/operator.js.map +1 -1
- package/src/secrets/registry.d.ts +2 -1
- package/src/secrets/registry.js +18 -1
- package/src/secrets/registry.js.map +1 -1
- package/src/secrets/workload-access.js +10 -2
- package/src/secrets/workload-access.js.map +1 -1
- package/src/supply-chain/action-pins.js +61 -7
- package/src/supply-chain/action-pins.js.map +1 -1
- package/src/supply-chain/build-output-bounds.d.ts +2 -0
- package/src/supply-chain/build-output-bounds.js +12 -0
- package/src/supply-chain/build-output-bounds.js.map +1 -0
- package/src/supply-chain/build-output.js +2 -4
- package/src/supply-chain/build-output.js.map +1 -1
- package/src/supply-chain/ecr-scanning.d.ts +5 -3
- package/src/supply-chain/ecr-scanning.js +11 -7
- package/src/supply-chain/ecr-scanning.js.map +1 -1
- package/src/supply-chain/ecs-deployed-image.d.ts +5 -3
- package/src/supply-chain/ecs-deployed-image.js +6 -4
- package/src/supply-chain/ecs-deployed-image.js.map +1 -1
- package/src/supply-chain/generated-container-release-command.js +816 -34
- package/src/supply-chain/generated-container-release-command.js.map +1 -1
- package/src/supply-chain/generated-ecr-collector-command.d.ts +0 -1
- package/src/supply-chain/generated-ecr-collector-command.js +188 -91
- package/src/supply-chain/generated-ecr-collector-command.js.map +1 -1
- package/src/supply-chain/generated-files.js +4 -3
- package/src/supply-chain/generated-files.js.map +1 -1
- package/src/supply-chain/index.d.ts +1 -1
- package/src/supply-chain/index.js +2 -1
- package/src/supply-chain/index.js.map +1 -1
- package/src/workload-roles/index.d.ts +10 -17
- package/src/workload-roles/index.js +5 -18
- package/src/workload-roles/index.js.map +1 -1
|
@@ -81,7 +81,7 @@ function deriveProtectedPerformanceEndpoint(input) {
|
|
|
81
81
|
const refuse = (detail) => {
|
|
82
82
|
throw new Error(`Protected performance target authority is invalid: ${detail}.`);
|
|
83
83
|
};
|
|
84
|
-
const expectedRef = input.stage === 'staging'
|
|
84
|
+
const expectedRef = input.stage === 'development' || input.stage === 'staging'
|
|
85
85
|
? 'refs/heads/develop'
|
|
86
86
|
: input.stage === 'production'
|
|
87
87
|
? 'refs/heads/main'
|
|
@@ -344,7 +344,7 @@ function createProtectedPerformanceLoadSliceTargets(slice) {
|
|
|
344
344
|
* The caller merges the returned fixed Slice targets into generated project
|
|
345
345
|
* metadata; neither target forwards user-supplied commands or arguments.
|
|
346
346
|
*/
|
|
347
|
-
function renderProtectedPerformanceLoadWorkflowPlan(sliceForTargetMetadata) {
|
|
347
|
+
function renderProtectedPerformanceLoadWorkflowPlan(sliceForTargetMetadata, rehearsalStage = 'staging') {
|
|
348
348
|
const checkout = (0, index_js_1.pinnedAction)(index_js_1.GITHUB_ACTION_PINS.checkout);
|
|
349
349
|
const configureAws = (0, index_js_1.pinnedAction)(index_js_1.GITHUB_ACTION_PINS.configureAwsCredentials);
|
|
350
350
|
const pnpmSetup = (0, index_js_1.pinnedAction)(index_js_1.GITHUB_ACTION_PINS.pnpmSetup);
|
|
@@ -362,11 +362,11 @@ on:
|
|
|
362
362
|
workflow_dispatch:
|
|
363
363
|
inputs:
|
|
364
364
|
stage:
|
|
365
|
-
description: Protected target stage;
|
|
365
|
+
description: Protected target stage; ${rehearsalStage} is the rehearsal path
|
|
366
366
|
required: true
|
|
367
|
-
default:
|
|
367
|
+
default: ${rehearsalStage}
|
|
368
368
|
type: choice
|
|
369
|
-
options: [
|
|
369
|
+
options: [${rehearsalStage}, production]
|
|
370
370
|
project:
|
|
371
371
|
description: Exact Product Slice project
|
|
372
372
|
required: true
|
|
@@ -430,7 +430,7 @@ jobs:
|
|
|
430
430
|
run: |
|
|
431
431
|
set -euo pipefail
|
|
432
432
|
case "$EBK_STAGE:$EBK_PROTECTED_REF" in
|
|
433
|
-
|
|
433
|
+
${rehearsalStage}:refs/heads/develop|production:refs/heads/main) ;;
|
|
434
434
|
*) echo 'Performance load stage does not match its protected branch'; exit 1 ;;
|
|
435
435
|
esac
|
|
436
436
|
case "$EBK_PROJECT" in
|
|
@@ -663,16 +663,12 @@ jobs:
|
|
|
663
663
|
run: |
|
|
664
664
|
set -euo pipefail
|
|
665
665
|
logical_name="$(node -e '
|
|
666
|
-
const
|
|
667
|
-
const logicalName =
|
|
668
|
-
project.split("-")
|
|
669
|
-
.map((part) => part[0].toUpperCase() + part.slice(1))
|
|
670
|
-
.join("") + "PerformanceLoadHmacKeys";
|
|
666
|
+
const logicalName = "GeneratedPerformanceLoadHmacKeys";
|
|
671
667
|
if (!/^[A-Za-z][A-Za-z0-9]{0,63}$/.test(logicalName)) {
|
|
672
668
|
process.exit(1);
|
|
673
669
|
}
|
|
674
670
|
process.stdout.write(logicalName);
|
|
675
|
-
'
|
|
671
|
+
')" ||
|
|
676
672
|
{ echo 'Slice HMAC logical name is invalid'; exit 1; }
|
|
677
673
|
secret_name="ebk/$EBK_STAGE/$EBK_PROJECT/$logical_name"
|
|
678
674
|
aws secretsmanager get-secret-value \
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"workspace-files-performance-load.js","sourceRoot":"","sources":["../../../../../../packages/nx/src/generators/preset/workspace-files-performance-load.ts"],"names":[],"mappings":";;;AAuDA,8EA8DC;AAOD,gFAoKC;AAWD,4FA2DC;AAMD,wFA8CC;AAYD,gGA8BC;AAOD,gGAodC;AA/5BD,qCAAsE;AAEtE,wDAA6E;AAC7E,yDAA4D;AAE/C,QAA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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;mBAgFT,uBAAuB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;mBA+EvB,sBAAsB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;wCA+DD,iDAAyC;;;;;;sCAM3C,6CAAqC;;;;;;yCAMlC,iDAAyC;;;;;;;;;;;;;;;;;;;;gBAoBlE,cAAc;;;;;;;;;;;CAW7B;SACI;QACD,oBAAoB,EAAE,0CAA0C,CAC9D,sBAAsB,CACvB;KACF,CAAC;AACJ,CAAC"}
|
|
1
|
+
{"version":3,"file":"workspace-files-performance-load.js","sourceRoot":"","sources":["../../../../../../packages/nx/src/generators/preset/workspace-files-performance-load.ts"],"names":[],"mappings":";;;AAuDA,8EA8DC;AAOD,gFAoKC;AAWD,4FA2DC;AAMD,wFA8CC;AAYD,gGA8BC;AAOD,gGAidC;AA55BD,qCAAsE;AAEtE,wDAA6E;AAC7E,yDAA4D;AAE/C,QAAA,wCAAwC,GACnD,wCAAiD,CAAC;AACvC,QAAA,qCAAqC,GAAG,iBAA0B,CAAC;AACnE,QAAA,yCAAyC,GACpD,0BAAmC,CAAC;AAyCtC;;;;GAIG;AACH,SAAgB,iCAAiC,CAC/C,WAAmB,EACnB,OAAe;IAEf,MAAM,MAAM,GAAG,GAAU,EAAE;QACzB,MAAM,IAAI,KAAK,CAAC,8CAA8C,CAAC,CAAC;IAClE,CAAC,CAAC;IACF,IACE,CAAC,iCAAiC,CAAC,IAAI,CAAC,OAAO,CAAC;QAChD,MAAM,CAAC,UAAU,CAAC,WAAW,EAAE,MAAM,CAAC,KAAK,CAAC;QAC5C,MAAM,CAAC,UAAU,CAAC,WAAW,EAAE,MAAM,CAAC,GAAG,EAAE,GAAG,IAAI,EAClD,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;;;;;;;;;CAW7B;SACI;QACD,oBAAoB,EAAE,0CAA0C,CAC9D,sBAAsB,CACvB;KACF,CAAC;AACJ,CAAC"}
|
|
@@ -0,0 +1,275 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.renderStageAuthorityWorkspaceFiles = renderStageAuthorityWorkspaceFiles;
|
|
4
|
+
function renderStageAuthorityWorkspaceFiles(options) {
|
|
5
|
+
return {
|
|
6
|
+
'docs/stage-deployment-authority.md': `# Stage deployment authority
|
|
7
|
+
|
|
8
|
+
Each active stage uses one stable deployment role and one runtime permission
|
|
9
|
+
boundary. The authority is independent of framework package candidates and is
|
|
10
|
+
updated only when the reviewed service-family contract changes.
|
|
11
|
+
|
|
12
|
+
Render a stage's CloudFormation template from the committed repository policy:
|
|
13
|
+
|
|
14
|
+
\`\`\`sh
|
|
15
|
+
pnpm nx run <workspace>:stage-authority-render -- \\
|
|
16
|
+
--stage=development \\
|
|
17
|
+
--aws-principal-arn=<temporary-credential-source-role>
|
|
18
|
+
\`\`\`
|
|
19
|
+
|
|
20
|
+
Locally admitted stages require at least one reviewed
|
|
21
|
+
\`--aws-principal-arn\`. Stages that require protected GitHub deployment require
|
|
22
|
+
one exact \`--github-repository\` environment trust and reject local AWS
|
|
23
|
+
principals. The \`starter\` profile may add that exact GitHub trust to either of
|
|
24
|
+
its locally admitted stages because its GitHub paved road is optional; locally
|
|
25
|
+
admitted stages in isolated profiles reject GitHub trust.
|
|
26
|
+
|
|
27
|
+
GitHub trust is scoped to the repository's exact stage environment.
|
|
28
|
+
Repositories that use GitHub's immutable owner/repository-ID OIDC subject
|
|
29
|
+
customization must also supply both \`--github-owner-id=<numeric-id>\` and
|
|
30
|
+
\`--github-repository-id=<numeric-id>\`; supplying only one ID or mixing an ID
|
|
31
|
+
with a name-only subject is rejected. Apply the rendered template as the named
|
|
32
|
+
stack shown in the manifest, then read back the deployed template and policies
|
|
33
|
+
and compare their canonical digests before any application mutation. Simulate
|
|
34
|
+
representative permitted lifecycle calls and denied account, trust,
|
|
35
|
+
boundary-removal, cross-stage, cross-account, and cross-Region calls against
|
|
36
|
+
the effective assumed role.
|
|
37
|
+
|
|
38
|
+
The deployment role is a temporary infrastructure administrator, not a runtime
|
|
39
|
+
workload identity. It therefore receives stable service-family authority for
|
|
40
|
+
the generated architecture instead of a candidate-specific provider-call
|
|
41
|
+
inventory. Sensitive seams remain independently bounded: IAM roles must use the
|
|
42
|
+
generated stage path and permission boundary, \`iam:PassRole\` is limited to
|
|
43
|
+
those roles, Lambda resource-policy mutation follows the generated integration
|
|
44
|
+
and Function URL contracts, later trust-policy mutation is denied, and
|
|
45
|
+
unreviewed direct resource-policy APIs are denied.
|
|
46
|
+
The \`/ebk/<stage>/workloads/\` IAM path is an EBK-owned reserved namespace for
|
|
47
|
+
roles created from reviewed generated infrastructure. External or manually
|
|
48
|
+
managed roles must never be created there, and the deployer's bounded
|
|
49
|
+
\`iam:PassRole\` access to that path is not adopter extension authority.
|
|
50
|
+
Supported generated S3,
|
|
51
|
+
Lambda, SNS, and SQS policy surfaces remain resource-contained. The generated
|
|
52
|
+
edge WAF log group is ARN-contained. CloudWatch Logs exposes
|
|
53
|
+
\`PutResourcePolicy\` only at account scope, with no resource or action-specific
|
|
54
|
+
condition keys, so its reviewed generated payload cannot be inspected by IAM;
|
|
55
|
+
the exact edge Region and reviewed generated source are the honest controls.
|
|
56
|
+
When the committed application Region is also the edge Region, ordinary log
|
|
57
|
+
lifecycle mutations are admitted only for the generated stage application and
|
|
58
|
+
API execution-log namespaces; unrelated and other-stage log groups remain
|
|
59
|
+
denied.
|
|
60
|
+
IAM identity
|
|
61
|
+
policies cannot inspect the initial \`AssumeRolePolicyDocument\` supplied to
|
|
62
|
+
\`CreateRole\`. For that create-time field, reviewed generated infrastructure
|
|
63
|
+
source is the control: the temporary deployment principal is trusted to execute
|
|
64
|
+
that source, while later trust-policy mutation remains denied. EBK does not
|
|
65
|
+
claim a postdeployment trust attestor. Runtime roles are created by SST/Pulumi
|
|
66
|
+
in the application stack and must carry the generated stage permission
|
|
67
|
+
boundary.
|
|
68
|
+
|
|
69
|
+
The policy generator is checked against a compact, versioned extract of AWS's
|
|
70
|
+
official Service Authorization Reference v1.4. Every wildcard-admitted service
|
|
71
|
+
family is covered. Every permission-management action that the role can admit
|
|
72
|
+
is either explicitly denied or an exact reviewed lifecycle seam: bounded
|
|
73
|
+
workload-role IAM operations, AWS-resource KMS grants, generated Lambda
|
|
74
|
+
integration permissions, stage SNS/SQS attributes, and stage/SST S3 bucket
|
|
75
|
+
policy, public-access-block, and ownership controls, plus the generated edge
|
|
76
|
+
WAF log-delivery resource policy described above. Actions the role does not
|
|
77
|
+
admit remain implicitly denied.
|
|
78
|
+
Unsupported replication, alternate RDS topology/integration, export, account
|
|
79
|
+
control, arbitrary user/data-plane, and exfiltration operations remain denied.
|
|
80
|
+
|
|
81
|
+
Governed nonproduction Slice removal configures the provider to delete the
|
|
82
|
+
versioned confidential-export bucket, removes its deterministic alias, and may
|
|
83
|
+
schedule only a KMS key carrying both the exact stage and
|
|
84
|
+
\`standard-data-export\` management tags. Production export buckets, aliases,
|
|
85
|
+
and keys remain retained and are explicitly denied deletion. Long generated
|
|
86
|
+
bucket names are truncated and hash-suffixed while preserving the
|
|
87
|
+
\`-data-export\` suffix so that protection remains narrowly scoped.
|
|
88
|
+
|
|
89
|
+
The role may inspect secret metadata. SST 4.17.1's generated Foundation Aurora
|
|
90
|
+
credential is the one value exception: the temporary deployer may put and read
|
|
91
|
+
that exact stage/account/Region-bound secret version so the pinned provider can
|
|
92
|
+
create and reconcile it. The reserved name must also carry the exact
|
|
93
|
+
\`ebk:stage\` tag. Operator-secret and all other secret values remain denied.
|
|
94
|
+
Because \`CreateSecret\` and
|
|
95
|
+
\`UpdateSecret\` can optionally carry a value, IAM cannot distinguish a
|
|
96
|
+
metadata-only call; reviewed generated source and CloudTrail are the honest
|
|
97
|
+
controls for those two provider APIs.
|
|
98
|
+
SSM value reads are limited to the stage's Foundation configuration, SST 4.17.1
|
|
99
|
+
bootstrap record, stage-qualified SST passphrases, and SST's VPC private-key
|
|
100
|
+
reference. Foundation removal enumerates Product Slice registration names and
|
|
101
|
+
metadata without reading their values. Recursive and historical SSM value reads
|
|
102
|
+
are denied. These controls,
|
|
103
|
+
the exact trust, temporary credentials, requested Region, known account/stage
|
|
104
|
+
tags, production-name protections, and explicit protection-removal denies are
|
|
105
|
+
the stable guardrails around the broader infrastructure service families. In
|
|
106
|
+
commercial AWS, CloudFront, CloudFront-scope WAF, and edge ACM mutations use
|
|
107
|
+
the us-east-1 control plane while application resources remain bound to the
|
|
108
|
+
committed deployment Region. RC.31 does not claim Router edge support in
|
|
109
|
+
noncommercial partitions: CloudFront is unavailable inside GovCloud, and the
|
|
110
|
+
China-partition CloudFront/WAF/edge-ACM control plane is not yet proven.
|
|
111
|
+
|
|
112
|
+
When multiple stages share one AWS account, their application resources,
|
|
113
|
+
runtime roles, data, and discovery remain separately named and tagged, but the
|
|
114
|
+
native SST deployment role is account-scoped enough to reconcile SST's shared
|
|
115
|
+
bootstrap state and assets. Tag and name denies are defense in depth, not a hard
|
|
116
|
+
IAM boundary between same-account deployment roles. Choose
|
|
117
|
+
\`production-isolated\` when production requires an AWS-enforced deployment
|
|
118
|
+
blast-radius boundary from development and staging.
|
|
119
|
+
`,
|
|
120
|
+
'tools/stage-authority-render.mjs': `import {
|
|
121
|
+
canonicalStageAuthorityTemplate,
|
|
122
|
+
createStageAuthorityPlan,
|
|
123
|
+
} from '@empire-builder-kit/nx/aws-authority';
|
|
124
|
+
import {
|
|
125
|
+
configuredDeploymentAccountForStage,
|
|
126
|
+
configuredDeploymentRegion,
|
|
127
|
+
isActiveDeploymentStage,
|
|
128
|
+
requiresGithubDeployment,
|
|
129
|
+
validateRepositoryOperatingPolicy,
|
|
130
|
+
} from '@empire-builder-kit/nx/repository-policy';
|
|
131
|
+
import { createHash } from 'node:crypto';
|
|
132
|
+
import { mkdirSync, readFileSync, writeFileSync } from 'node:fs';
|
|
133
|
+
import { join } from 'node:path';
|
|
134
|
+
|
|
135
|
+
const values = new Map();
|
|
136
|
+
const principals = [];
|
|
137
|
+
for (const argument of process.argv.slice(2)) {
|
|
138
|
+
const index = argument.indexOf('=');
|
|
139
|
+
if (!argument.startsWith('--') || index <= 2) {
|
|
140
|
+
throw new Error('Stage authority arguments must use --name=value.');
|
|
141
|
+
}
|
|
142
|
+
const name = argument.slice(2, index);
|
|
143
|
+
const value = argument.slice(index + 1);
|
|
144
|
+
if (!value) throw new Error('Stage authority arguments cannot be empty.');
|
|
145
|
+
if (name === 'aws-principal-arn') principals.push(value);
|
|
146
|
+
else if (values.has(name)) throw new Error('Duplicate stage authority argument: ' + name);
|
|
147
|
+
else values.set(name, value);
|
|
148
|
+
}
|
|
149
|
+
const stage = values.get('stage');
|
|
150
|
+
if (!['development', 'staging', 'production'].includes(stage)) {
|
|
151
|
+
throw new Error('--stage must be development, staging, or production.');
|
|
152
|
+
}
|
|
153
|
+
const policyResult = validateRepositoryOperatingPolicy(
|
|
154
|
+
JSON.parse(readFileSync('ebk.repository-policy.json', 'utf8')),
|
|
155
|
+
);
|
|
156
|
+
if (!policyResult.valid) {
|
|
157
|
+
throw new Error(
|
|
158
|
+
'Repository Operating Policy is invalid:\\n' +
|
|
159
|
+
policyResult.issues.map(({ message, path }) => '- ' + path + ': ' + message).join('\\n'),
|
|
160
|
+
);
|
|
161
|
+
}
|
|
162
|
+
const policy = policyResult.value;
|
|
163
|
+
if (policy.deploymentProfile !== '${options.deploymentProfile}') {
|
|
164
|
+
throw new Error('Generated and committed deployment profiles differ.');
|
|
165
|
+
}
|
|
166
|
+
if (!isActiveDeploymentStage(policy.deploymentProfile, stage)) {
|
|
167
|
+
throw new Error('Requested stage is inactive for the committed deployment profile.');
|
|
168
|
+
}
|
|
169
|
+
const accountId = configuredDeploymentAccountForStage(
|
|
170
|
+
policy.deploymentProfile,
|
|
171
|
+
policy.deploymentAccounts,
|
|
172
|
+
stage,
|
|
173
|
+
);
|
|
174
|
+
const region = configuredDeploymentRegion(policy.deploymentRegion);
|
|
175
|
+
const partition = region.startsWith('cn-')
|
|
176
|
+
? 'aws-cn'
|
|
177
|
+
: region.startsWith('us-gov-')
|
|
178
|
+
? 'aws-us-gov'
|
|
179
|
+
: 'aws';
|
|
180
|
+
const repository = values.get('github-repository');
|
|
181
|
+
if (repository && !/^[A-Za-z0-9_.-]+[/][A-Za-z0-9_.-]+$/.test(repository)) {
|
|
182
|
+
throw new Error('--github-repository must be one exact owner/repository slug.');
|
|
183
|
+
}
|
|
184
|
+
const githubOwnerId = values.get('github-owner-id');
|
|
185
|
+
const githubRepositoryId = values.get('github-repository-id');
|
|
186
|
+
const githubId = /^[1-9][0-9]{0,19}$/;
|
|
187
|
+
if (Boolean(githubOwnerId) !== Boolean(githubRepositoryId)) {
|
|
188
|
+
throw new Error('--github-owner-id and --github-repository-id must be supplied together.');
|
|
189
|
+
}
|
|
190
|
+
if ((githubOwnerId || githubRepositoryId) && !repository) {
|
|
191
|
+
throw new Error('Immutable GitHub IDs require --github-repository.');
|
|
192
|
+
}
|
|
193
|
+
if (
|
|
194
|
+
(githubOwnerId && !githubId.test(githubOwnerId)) ||
|
|
195
|
+
(githubRepositoryId && !githubId.test(githubRepositoryId))
|
|
196
|
+
) {
|
|
197
|
+
throw new Error('Immutable GitHub owner and repository IDs must be positive bounded integers.');
|
|
198
|
+
}
|
|
199
|
+
const githubOnly = requiresGithubDeployment(policy.deploymentProfile, stage);
|
|
200
|
+
const githubOptional = policy.deploymentProfile === 'starter';
|
|
201
|
+
if (githubOnly) {
|
|
202
|
+
if (!repository) {
|
|
203
|
+
throw new Error(
|
|
204
|
+
'This stage requires protected GitHub deployment and one exact --github-repository trust.',
|
|
205
|
+
);
|
|
206
|
+
}
|
|
207
|
+
if (principals.length > 0) {
|
|
208
|
+
throw new Error(
|
|
209
|
+
'Protected GitHub deployment stages reject local --aws-principal-arn trust.',
|
|
210
|
+
);
|
|
211
|
+
}
|
|
212
|
+
} else {
|
|
213
|
+
if (principals.length === 0) {
|
|
214
|
+
throw new Error(
|
|
215
|
+
'Locally admitted stages require at least one reviewed --aws-principal-arn.',
|
|
216
|
+
);
|
|
217
|
+
}
|
|
218
|
+
if (repository && !githubOptional) {
|
|
219
|
+
throw new Error(
|
|
220
|
+
'This locally admitted isolated-profile stage does not permit GitHub trust.',
|
|
221
|
+
);
|
|
222
|
+
}
|
|
223
|
+
}
|
|
224
|
+
const [githubOwner, githubRepository] = repository?.split('/') ?? [];
|
|
225
|
+
const githubSubject = repository
|
|
226
|
+
? 'repo:' +
|
|
227
|
+
(githubOwnerId
|
|
228
|
+
? githubOwner + '@' + githubOwnerId + '/' + githubRepository + '@' + githubRepositoryId
|
|
229
|
+
: repository) +
|
|
230
|
+
':environment:' + stage
|
|
231
|
+
: undefined;
|
|
232
|
+
const plan = createStageAuthorityPlan({
|
|
233
|
+
accountId,
|
|
234
|
+
awsPrincipalArns: principals,
|
|
235
|
+
...(repository
|
|
236
|
+
? {
|
|
237
|
+
github: {
|
|
238
|
+
oidcProviderArn:
|
|
239
|
+
'arn:' + partition + ':iam::' + accountId + ':oidc-provider/token.actions.githubusercontent.com',
|
|
240
|
+
subject: githubSubject,
|
|
241
|
+
},
|
|
242
|
+
}
|
|
243
|
+
: {}),
|
|
244
|
+
region,
|
|
245
|
+
partition,
|
|
246
|
+
stage,
|
|
247
|
+
});
|
|
248
|
+
const directory = join('.ebk', 'authority', stage);
|
|
249
|
+
mkdirSync(directory, { mode: 0o700, recursive: true });
|
|
250
|
+
const template = canonicalStageAuthorityTemplate(plan.template);
|
|
251
|
+
const templatePath = join(directory, 'template.json');
|
|
252
|
+
const manifestPath = join(directory, 'manifest.json');
|
|
253
|
+
writeFileSync(templatePath, template, { encoding: 'utf8', mode: 0o600 });
|
|
254
|
+
const manifest = {
|
|
255
|
+
accountId,
|
|
256
|
+
deploymentRoleArn: plan.identity.deploymentRoleArn,
|
|
257
|
+
digest: plan.digest,
|
|
258
|
+
kind: 'ebk-stage-authority-render',
|
|
259
|
+
limitations: plan.limitations,
|
|
260
|
+
profile: policy.deploymentProfile,
|
|
261
|
+
region,
|
|
262
|
+
schemaVersion: 1,
|
|
263
|
+
stackName: plan.identity.stackName,
|
|
264
|
+
stage,
|
|
265
|
+
templateSha256: createHash('sha256').update(template).digest('hex'),
|
|
266
|
+
};
|
|
267
|
+
writeFileSync(manifestPath, JSON.stringify(manifest, null, 2) + '\\n', {
|
|
268
|
+
encoding: 'utf8',
|
|
269
|
+
mode: 0o600,
|
|
270
|
+
});
|
|
271
|
+
process.stdout.write(JSON.stringify({ manifestPath, ...manifest, templatePath }) + '\\n');
|
|
272
|
+
`,
|
|
273
|
+
};
|
|
274
|
+
}
|
|
275
|
+
//# sourceMappingURL=workspace-files-stage-authority.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"workspace-files-stage-authority.js","sourceRoot":"","sources":["../../../../../../packages/nx/src/generators/preset/workspace-files-stage-authority.ts"],"names":[],"mappings":";;AAEA,gFAgRC;AAhRD,SAAgB,kCAAkC,CAAC,OAElD;IACC,OAAO;QACL,oCAAoC,EAAE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAiHzC;QACG,kCAAkC,EAAE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;oCA2CJ,OAAO,CAAC,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA6G5D;KACE,CAAC;AACJ,CAAC"}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import type { DeploymentProfile } from '../../repository-policy/index.js';
|
|
2
|
+
export declare const THIN_DEPLOY_WORKFLOW_PATH: ".github/workflows/deploy.yml";
|
|
3
|
+
export interface ThinDeployActionPins {
|
|
4
|
+
checkout: string;
|
|
5
|
+
configureAwsCredentials: string;
|
|
6
|
+
downloadArtifact: string;
|
|
7
|
+
pnpmSetup: string;
|
|
8
|
+
setupNode: string;
|
|
9
|
+
uploadArtifact: string;
|
|
10
|
+
}
|
|
11
|
+
export interface ThinDeployToolVersions {
|
|
12
|
+
node: string;
|
|
13
|
+
pnpm: string;
|
|
14
|
+
sst: string;
|
|
15
|
+
}
|
|
16
|
+
export interface ThinDeployWorkflowOptions {
|
|
17
|
+
actionPins: ThinDeployActionPins;
|
|
18
|
+
deploymentProfile: DeploymentProfile;
|
|
19
|
+
name: string;
|
|
20
|
+
toolVersions: ThinDeployToolVersions;
|
|
21
|
+
}
|
|
22
|
+
export interface ThinDeployWorkflowFilePlan {
|
|
23
|
+
files: Readonly<Record<typeof THIN_DEPLOY_WORKFLOW_PATH, string>>;
|
|
24
|
+
managedPaths: readonly [typeof THIN_DEPLOY_WORKFLOW_PATH];
|
|
25
|
+
}
|
|
26
|
+
export declare function renderThinDeployVerifyCaller(profile: DeploymentProfile): string;
|
|
27
|
+
/** @internal Shared verbatim with the generated workflow and executable tests. */
|
|
28
|
+
export declare function stagingPromotionReceiptValidationScript(): string;
|
|
29
|
+
/** @internal Shared verbatim with the generated workflow and executable tests. */
|
|
30
|
+
export declare function restoredCandidateValidationScript(): string;
|
|
31
|
+
/** @internal Shared verbatim with the generated workflow and executable tests. */
|
|
32
|
+
export declare function stagingPromotionSealScript(): string;
|
|
33
|
+
/** @internal Shared verbatim with the generated workflow and executable tests. */
|
|
34
|
+
export declare function postdeploySupplyChainBindingScript(): string;
|
|
35
|
+
export declare function renderThinDeployWorkflowFilePlan(options: ThinDeployWorkflowOptions): ThinDeployWorkflowFilePlan;
|