← Blog Audit and release assurance

Review identities and approvals in build pipelines

Map pipeline identities and permissions. Record who approves changes and set a review date for each exception to the agreed controls.

Swiss Cyber Security15 min readPractical readingStart reading ↓

Short answer

Review build pipelines by tracing which identity runs each job, what resources it can change, and who approves the move from build to release. Record the owner, reason, and review date for any extra permission. Include dependency update rules so the same review covers the code entering the build and the artefacts leaving it.

Review a build pipeline by following the authority attached to each job. Record which identity the job runs under, which resources it can change, what it hands to the next stage and who approves that transition. Use a pipeline control review for the agreed baseline and an exceptions register for any additional permission. The platform engineering lead should be able to show which permissions still have a business purpose when the review comes round again.

Continuous integration and continuous delivery are commonly referred to as CI and CD. Here the review covers standing controls over the jobs that build and publish software. Choose one product pipeline the business can describe, including its dependency intake and the system that receives the published artefact. The archive contains German terminology and a relevant German pipeline security page, with no saved Swiss English observation for this review task. Local English search demand for a pipeline approvals and exceptions register remains unmeasured.

Select the workflow and the evidence period

Name the product, repository, target environments, pipeline owner and publishing owner. Define which parts of the workflow the review covers, including any managed service that supplies an approval or permission. Pick a period that includes at least one representative publication and a dependency change. If the team rarely publishes, record the date of the last eligible run and distinguish its historical configuration from the current baseline.

Trace the normal workflow from proposed change to publication. Include other paths when they can perform the same privileged action under a different policy. A maintenance release may use a support branch. A scheduled job may update a package used by several teams. Give each path its own row when it has a different identity, approver or destination. Publish the agreed boundary with the review so a product owner can tell whether it covers a specific path.

OWASP’s DevSecOps Guideline describes how teams can incorporate security controls in a delivery pipeline and includes software supply chain measures such as artefact provenance. Use the project guidance to frame the review. Derive the specific approval requirements, permitted destinations and exception conditions from the product’s own release policies. OWASP DevSecOps Guideline.

Agree access with the platform and product owners before the review begins. Ask for approved configuration extracts and dated run records with enough context to demonstrate the effective authority. If you are buying an audit, give bidders a common list of workflows and say who provides evidence for the managed portions. Price any extra product or environment as a separate coverage item. Request a useful gap statement when an external operator can give less detail than the reviewer needs.

Match every job to an identity and a purpose

For each job, record its trigger, pipeline definition revision, effective identity, permitted resource and action, and output destination. Name the owner who can confirm why it needs that access. Record which duties require reading, publishing or changing deployment state. Use the job’s assigned duties to judge whether those permissions belong together. Where a change crosses from building to publishing, give the transition its own approval record.

Look at effective permissions as well as the job definition. A job can acquire authority through an organisation default, a shared runner or a reusable workflow with its own policy. Have the relevant owners explain where each grant comes from and who can change it. If a supplier manages a permission boundary, request its dated confirmation of the customer-specific scope. Record how that confirmation relates to the sampled run and the current job configuration.

Keep job identities and human approvals distinct. The identity executing the release job can have package write permission while the release manager decides when publication may occur. Name both roles on the pipeline control review. Identify the owner of membership changes for the approval group. If an approved maintainer leaves the project, the next reviewer should be able to find who removes their authority and which record confirms it.

Pay attention to boundaries shared by products. If a common service can publish to several destinations, ask the service owner to confirm what each product’s job can change. A record that names only a shared service can conceal the difference between authority for one package and authority for every package in a namespace. Have each product owner confirm its intended destinations. Route changes to shared authority through the owner who can consider effects on all products that use that service.

Follow the dependency decision through the build

Choose a dependency change that the product team can explain from its own records. Record the component, accepted version, product owner, reviewing role and decision reference. Identify who reviews new dependencies and who can accept a major upgrade. Ask what review information the maintainer considers sufficient, such as published support status, a compatibility check from the authorised build and an assigned maintenance owner.

Distinguish an approved update from an update proposal. An automated process can submit a proposed change. The review should show which approved person or policy decides that it enters the build. Where the decision is automated under an existing policy, identify the policy owner and revision, the conditions that permit automated acceptance and the route for exceptions. The person reviewing the sample should be able to match those conditions to the decision shown in the record.

If a component no longer has a maintained version suitable for the product, give the product owner a decision to make. Possible outcomes include removing the component, replacing it or documenting temporary acceptance with a review date and a plan. If the temporary decision also extends job permissions, log that authority separately in the exceptions register. An approved dependency retention period and an approved permission grant can have different owners and end dates.

Ask the build owner to link the accepted dependency record to the sampled build. A reference to the accepted dependency set and the build revision lets the reviewer follow which inputs were approved for the artefact. When the sample involves a rebuild, preserve both run references. The build owner should explain which artefact went forward and which dependency evidence belongs to it. Keep a dated record when an earlier build stays in storage for support or rollback.

Verify how publication gets its authority

Record what approval the release job needs and what the decision actually covers. Include the candidate build, immutable artefact reference where the platform provides one, target package or environment, authorising role and time. Ask whether a change of artefact or destination requires a new decision. If the pipeline can repeat a release job, write down when a repeat can rely on the recorded approval and which evidence shows it used the same approved inputs.

Compare the published artefact reference with the one the release manager approved. Use records that the build and publishing systems provide for the authorised sample. The build record identifies what was produced. The publication record identifies what arrived and where. An approval message can establish the decision only if the reviewer can connect it to those records. If the message names a release but appears to cover several builds, resolve the ambiguity with the release owner.

Review emergency releases while the workflow is stable. Ask who can declare an emergency, what authority is granted, where decisions are recorded and when the normal controls return. Use the same artefact and destination evidence when checking an urgent release retrospectively. If you contract for around-the-clock support, make the supplier and customer responsibilities explicit in the support order. The person accountable for the release still needs a reachable approver and a source of records.

Keep this standing review useful to a team making a single release decision. Carry forward known evidence gaps, open permission exceptions and the current approval rule. The release owner can use that information to decide whether a specific build may ship. The platform engineering lead maintains the standing record and resolves drift after individual releases. Review a software release for approval.

Keep each permission exception in a register

Give every extra grant a separate record. Include the affected job and identity, resource and action, baseline rule, business reason, accountable owner, approving role, effective date and next review date. Give time-limited grants an expiry and a named removal owner. State which normal workflow needs to continue when the grant ends and what evidence will show that the expected authority has returned.

Ask which work requires the extra grant. For a storage migration, the relevant need might be to preserve one package family through a defined transition. Record the affected destination and the migration milestone that allows withdrawal. Make the approval valid for the agreed scope and period. When the work expands, have the owner return to the approver with an updated scope. The current grant and the next requested grant should be distinct in the review record.

Distinguish review from expiry. A regular production publishing permission may have a scheduled review because the job still needs it. If it exceeds an organisational baseline, any approval of that exception needs an accountable owner and a due date for reconsideration. A temporary migration grant can have an earlier expiry and a firm removal check. Track approvals in a way that lets a reviewer tell which entries may continue and which entries require withdrawal evidence.

When an expiry passes, ask the responsible owner for evidence of the effective state and the outcome of the ordinary workflow. A closed migration ticket establishes that the work ended. A renewed permission record or a dated access attestation can establish that the grant ended. The release owner provides the subsequent publication check. If a record reaches expiry while the supplier still owes evidence, keep the exception visible and escalate it to the documented approver.

Describe the evidence pack before commissioning a review

Ask the provider for a control review that an engineering owner can maintain after the engagement. The workflow section identifies the product, repository, environment, owner, permitted destinations and sampled runs. Each job row records trigger, effective identity, permitted resources and actions, purpose, destination and evidence. Each approval row records the controlled transition, approving role, approved object, target and dated reference. Link exceptions to the job or transition they change.

Distinguish observed access from a policy statement in the handover. The approved baseline defines the powers the job is intended to have. A current permissions record can demonstrate the powers the operator actually grants. Historical run evidence shows what the sampled job did with the authority available at the time. The reviewer should explain when these records describe different dates or environments. Ask what remains unresolved when a supplier’s configuration history does not cover the chosen sample.

Agree who can see records that describe sensitive product operations. Engineers reviewing a single product may need a record limited to the jobs and destinations for that product. The buyer can request dated attestations where access to the underlying records is restricted. Specify which product and resource identifiers those attestations must preserve and who can explain them during a review. Put managed service evidence on the readiness checklist before reserving review time.

Give the provider an exit criterion for incomplete coverage. If product staff can explain dependency intake but the release service cannot supply a representative publication record, the report can support the dependency conclusion and identify the outstanding release question. Require it to name the missing evidence, owner and next date. Price a follow-up on that gap as a distinct activity if the evidence is expected after the original engagement. A platform lead can then plan time to close the actual question.

Sample a fictional Basel release pipeline

A fictional Basel software business delivers route-planning software to dispatch teams. One product uses a common package publication service and keeps a short history of supported releases. The platform lead reviews the product pipeline during a storage migration. The sample covers a dependency revision and a published test release authorised by the enterprise release manager. The company uses synthetic delivery data for the sample and draws permission evidence from its own administrative records.

The platform team records the trigger and identity for the ordinary build. That identity reads approved project inputs and deposits its outputs in the build service’s run store. Its recorded permissions on the source and production package systems are read-only. The dependency reviewer approves the accepted library version and gives the build owner the change reference. The build record names the revision that incorporated that decision and the resulting artefact reference.

The release manager authorises publication to the product’s designated package destination. The release record names the artefact that the build produced and the destination covered by the approval. A protected release job receives permission for that destination under the approved publishing policy. The package service confirms the resulting reference. The reviewer traces the dependency decision, build and publication in the reviewed record and confirms the supporting evidence for each transition.

The company’s standard shared-job baseline grants read access to package destinations. The protected publishing job therefore has a standing exception within this product review. The release engineering lead owns the publishing permission. The product security lead approves the write scope for the product’s package destination. The permission record refers to the protected job and requires a review on 30 June. The ongoing business need is to publish supported product releases after the release manager’s recorded approval.

The legacy artefact store has a second exception. The integration lead owns temporary write authority to one migration bucket for copies approved under the storage transition. The release manager approves the grant through 15 May and records a review on 12 May against the migration milestone. The integration lead must supply evidence of withdrawal at expiry and the release engineer must verify that standard publishing still works. The register names different owners, different approval decisions and different review dates for the two extra grants.

Keep approval evidence through retries and support releases

Record what a routine retry inherits. The release owner can allow a second run under an existing decision if it publishes the same approved artefact to the same destination under the agreed policy. Ask the publication service to preserve both run references and identify the event that produced the recorded outcome. If the job builds a different artefact, let the release owner determine whether a fresh approval is required and retain the resulting decision.

Give support releases the same level of traceability. A maintained release may depend on a separate branch, a different reviewer and a documented set of approved destinations. Ask the product owner which support branches are in scope and who maintains them. A single sample of the main workflow can leave those branches outside the conclusion. Add another labelled sample when the support route carries distinct authority and the buyer needs confidence in that route.

Check approval ownership when a team or supplier changes

An approval policy can look stable while the team responsible for it changes. Ask who maintains the list of people entitled to approve and whether that team can distinguish staff, contracted maintainers and the formal delegate for a holiday period. Record the approved group, its owner and the date when someone last compared it with the current operating responsibilities. Agree who supplies confirmation when a managed release service owns the underlying record.

Review a transition from one product team to another. Establish the date on which the new team can approve publication, how the previous team’s approval authority ends and who receives outstanding requests. For previously approved items that have yet to publish, ask the release owner to confirm which approval still applies. A decision tied to a particular candidate and destination can be reviewed from the evidence on that run. A broad approval reference may require a fresh decision by the new owner.

Ask who owns the continuity decision if nobody on the approved list is available. Define when to delay publication and how a named delegate receives temporary authority under the product’s policy. Record the time and scope, who granted it and when the ordinary approver returns. If the change grants extra job authority, use the exceptions register and collect the removal evidence at its end. An urgent publication should leave the reviewer able to reconstruct the exact authority and artefact from dated records.

Give the standing review an owner after procurement ends. If a shared team changes access, require it to tell the product teams which jobs and resources are affected. The product platform lead can acknowledge that the current baseline still holds or open a review where a business need has changed. For a service migration, the receiving team signs the new control record and the previous operator supplies the evidence needed to close its remaining authority. Give any overlap an end date and a person to confirm that it has ended.

Resolve a discrepancy using the normal operating records

In the Basel exercise, the migration owner declares the data transfer complete at the 12 May review. Ask the platform lead what that permits the team to conclude. Completion of the copy lets the owner schedule removal. Effective permission evidence still matters because a shared configuration may be maintained by a separate team. Ask the release manager to leave the row open until the integration lead supplies the dated removal record.

Give the reviewer a further problem. The release job has an approval for one package destination and the sample output lists a second destination introduced for a new support region. Ask the reviewer to find the owner of the additional destination and the published decision that covers it. If the team finds an authorised plan with a future date, it can record a discrepancy for the sample. Give the publishing owner responsibility to reconcile the record and obtain a decision before the next affected publication.

When purchasing an independent review, ask bidders how they would report such a discrepancy. A concise finding can identify the approved job, action and destination, the evidence that disagrees, the decision owner and the evidence needed to close it. The buyer can then decide release handling with the person who owns the product. Ask for a separate observation on limitations when the provider has seen only the product records for one package destination.

Set the recheck frequency to the kinds of change that affect the pipeline. Revisit the control review when a team moves repositories, changes its package service or gives a shared workflow a new destination. Check approval membership after organisational changes. Set expiry reminders for dated exceptions and assign someone to act on reminders during leave. Where renewal is expected, bring the continued business need and current authority to the approver before the due date.

Bring the resolved issues back to the product control review. In the fictional example the proposed support destination remains outside the approved publication until its owner supplies a distinct decision. The platform lead records that limitation with the current permitted destination so the next release manager knows what to approve. The migration exception is due to end under its own timetable. The two decisions belong to different records even though the same engineer may bring both to the review meeting.

On 15 May the Basel integration lead supplies the removal confirmation. The release engineer records a normal publication under the standing, scoped publishing authority and confirms the artefact destination. The platform lead closes the migration entry and leaves the June review in the diary for the protected publisher. For the June review, the lead asks release engineering to show the current job’s authority for the designated package and the most recent approval for its use.

Put it into practice

Key takeaways

  1. 01Assign permissions at the job level.
  2. 02Record an approver and review date for extra access.
  3. 03Review dependency intake alongside release publishing.

Sources

← Back to the blog

Frequently asked questions

Should a build job inherit publishing permission?

Grant permissions for its required duties. Where publishing is a separate job, give that job its own identity or scoped permission.

What evidence closes an expired exception?

Record the permission removal and verify that the normal build and release workflow still operates.

Scope the release decision

Bring the agreed product pipeline and exception register to the audit discussion.

Deep Audit SprintDiscuss your scope