currentOwned by Platform EngineeringBuilt from 1eac0671 min read
The tools pipeline. It deploys each security tool, tools/<name>/template.yaml, as the stack hkb-tool-<name> in the Security account. Prowler, hkb-tool-prowler, is the first.
The stages run top to bottom and stop at the first failure. Each deploy stage assumes a role in the account it reaches.
Configuration
Setting
Value
Type
CodePipeline V2, queued executions
Service role
hkb-pipeline-tools-orchestrator, in Shared Services
Trigger
A push to the main branch through CodeConnections, for changes under tools/**
Artifacts
hkb-pipeline-artifacts-<account>, encrypted with the pipeline's KMS key
Stages
3
Stages and actions
Each action assumes the role named for it. A role in another account trusts only this pipeline's service role; trust and policy text as deployed are on the pipeline roles page.
#
Stage
Actions
1
Source
Source: the repository through CodeConnections, as the pipeline's service role
2
Validate
Validate: CodeBuild project hkb-pipeline-validate, under the project's own service role
3
Prowler
Prowler: CloudFormation change set on hkb-tool-prowler, planned, then executed, as hkb-pipeline-tools in Security, CloudFormation as hkb-pipeline-cfn-tools
Sources
Templates and scripts: pipeline/hkb-pipeline.yaml, pipeline/hkb-pipeline-foundation.yaml