Skip to content

Maintenance: update bootstrap region automation to remove pinned/aliased dependencies #3573

@dreamorosi

Description

@dreamorosi

Summary

Some of the changes introduced in #3438 lowered our OpenSSF Scorecard due to both pinned dependencies and actions using the latest tag instead of a commit hash.

Specifically, the two are:

  • the shared GitHub Action here
  • the CDK version here

Which correspond to these two alerts:

Note that neither of them involves code that we ship to customers, this is only automation used for us to bootstrap new regions we use to deploy resources.

Why is this needed?

So we can restore our OpenSSF Scorecard score.

Which area does this relate to?

Other

Solution

The first should use a commit hash, similar to what we do here.

The second one should use the CDK version already present in the monorepo rather than install a different one.

Acknowledgment

Future readers

Please react with 👍 and your use case to help us understand customer demand.

Metadata

Metadata

Assignees

Labels

completedThis item is complete and has been merged/shippedinternalPRs that introduce changes in governance, tech debt and chores (linting setup, baseline, etc.)

Type

No type

Projects

Status

Shipped

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions