latest run 54 pass 0 fail 0 skipevidence →
HKB Operations: pages
HKB OperationsKnowledge space

Starred pages

Pages

Page directory · Labels · [ hides this

hkb-pipeline-tools

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.

Stage flow

hkb-pipeline-tools stage flowThe hkb-pipeline-tools CodePipeline in the Shared Services account, read from its template. A merge on GitHub reaches CodeConnections, which starts the pipeline. The stages run in order: 1, Source; 2, Validate; 3, Prowler. Deploy stages assume a role in Security.AWS CloudShared Services · hkb-shared-servicesus-east-1 · home RegionCodePipeline · hkb-pipeline-tools1 · Sourcethrough CodeConnections2 · Validateunder the project's service role3 · Prowleras hkb-pipeline-tools; CloudFormation as hkb-pipeline-cfn-toolsSecurityGitHubmerged PRsCodeConnectionshkb-githubmain branchhkb-pipeline-validatehkb-tool-prowlerrole hkb-pipeline-toolsLegendRequest / dataDeploy (assumes a role)BlueOpens its pagemerge
hkb-pipeline-tools stage flowOpen full sizeClose

The stages run top to bottom and stop at the first failure. Each deploy stage assumes a role in the account it reaches.

Configuration

SettingValue
TypeCodePipeline V2, queued executions
Service rolehkb-pipeline-tools-orchestrator, in Shared Services
TriggerA push to the main branch through CodeConnections, for changes under tools/**
Artifactshkb-pipeline-artifacts-<account>, encrypted with the pipeline's KMS key
Stages3

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.

#StageActions
1Source
  • Source: the repository through CodeConnections, as the pipeline's service role
2Validate
  • Validate: CodeBuild project hkb-pipeline-validate, under the project's own service role
3Prowler
  • Prowler: CloudFormation change set on hkb-tool-prowler, planned, then executed, as hkb-pipeline-tools in Security, CloudFormation as hkb-pipeline-cfn-tools

Sources

Page information

Owner
Platform Engineering
Status
current Current: generated from the templates and records in the repository at this build.
Generated from
pipeline
Linked from
Shared Services, Prowler