Risk to cloud resourceIntegrity

Repository settings weakened

The settings that stop the change path being bypassed — branch protection, required reviews and checks, signing, secret scanning — are switched off, bypassed or no longer match what is declared, by one of the routes below. Branch protection and the merge settings are managed as code and the live settings verified against them (CFG-08), and the nightly plan reports any difference between infrastructure and its code (CHK-36). The person who administers the repository holds the settings these controls rely on, which while one person holds every role is person.K3 S2.

Before and after controls.

Without controlsMedium

Likelihood
1 · Unlikely without a new failure
Impact
3 · Material harm to several tenants

With controlsLow

Likelihood
1 · Unlikely without a new failure
Impact
2 · Material harm to one tenant

With controls is rated as if every control below works as designed.

How it can happen.

  1. Protection switched off or overridden by an administrator

    An administrator turns branch protection off to unblock a stuck change, or uses an override to push or force-push directly, and does not turn it back on, or nobody notices. The release branch refuses direct and force pushes and accepts only a reviewed pull request by squash merge, and the live settings are verified against the declared ones (CFG-08); protection left off is reported by the nightly plan (CHK-36). An override in the moment is found afterwards: a direct push leaves a commit on the release branch that no squash merge signed (CFG-14), and a merge with no approval leaves its merges row and raises change.unapproved_merge (CFG-26 and.3), which is only recorded until BL-0132 is decided.

    Covered byCFG-08CHK-36CFG-14CFG-26

  2. Secret scanning switched off

    A repository's pre-commit configuration, which runs secret scanning, is removed or never set up. A new repository's pre-commit configuration is generated from the project baseline (CFG-03), and its project configuration is compared with the baseline (CHK-27); that comparison does not read the pre-commit configuration. Secret scanning also runs at push, through the Git host's push protection, and in CI (CHK-29), so a removed hook leaves those in place.

    Covered byCFG-03CHK-27CHK-29

  3. The live settings drift from what is declared

    Branch protection, the required check or the signing rule is changed in the host's settings with no commit, or protection names a branch that is no longer the one released from; the repository looks protected on paper while the release branch accepts direct pushes or unchecked merges. The settings are declared as code and the live settings compared with them (CFG-08) each night (CHK-36), and every commit on the release branch is verified as signed whatever the setting says (CFG-14).

    Covered byCFG-08CHK-36CFG-14

Where it comes from.

This risk to cloud resource arises from:

See the whole picture.

Every AI risk on one matrix, before and after controls.

Want to know which of these risks apply to you?

A 30 minute call to map the risks that matter for your AI use, and the controls that bring them down.