← Blog Audit and release assurance

Specify what an API authorisation review must cover

Record roles, resources, tenant boundaries and data flows in the assessment brief. State which resources each role may access and why.

Swiss Cyber Security15 min readPractical readingStart reading ↓

Short answer

Scope API assurance around the actions each role may take on each resource and the tenant boundary that applies. Record the source of the role and tenant identity, the data returned or changed, and the expected decision. Use that matrix to define what the API owner needs verified before release.

Scope an API authorisation review by recording who may take each material action, which records the action applies to, and how the API decides the applicable tenant. Include what the API may return, change or send elsewhere. Ask the reviewer to connect the evidence to the release decision. A list of API operations helps name what exists. The buyer also needs the rules that tell the reviewer what each operation should do for different roles and resources.

Start with a single workflow if the service is new. Describe the account roles, the ownership of one record and the possible outcomes under the approved policy. A larger procurement can apply the same worksheet across services, with the owner of each rule and dependency named. Use it to decide whether the assessment can support the intended release. Broader coverage can follow when a new integration, role or type of data raises a different question.

Write the decision the review will support

An application owner may need evidence that customer accounting staff can approve records for their own organisation, and that a service which prepares documents for download is limited to the approved records. Another buyer may be adding an integration that reads the same data with different rights. Name the change, the people or systems that gain access and the consequence if an authorisation rule fails. Record who decides whether to release the change and the date that person needs the evidence.

Give the API review its own scope when several systems use the API independently of a browser. A review of the web application may cover one customer journey. A partner system or a background service can reach different business actions or rely on different identity information. Document the relationship with the browser review and the separate decisions the API review must support. Write a web application audit brief.

Ask the application owner and the people responsible for the data to agree the intended rule before ordering an assessment. If the product team thinks finance administrators may approve documents and the business requires a separate approver, put that difference in the scope record. Ask the policy owner to decide. An assessor needs a rule to compare against the evidence. When the policy remains open, commission a design review against candidate rules and record what the release owner must settle before relying on the result.

Map authorisation to actions, records and information

The OWASP API Security Top 10 groups API authorisation risks around access to objects, functions and properties. They prompt different questions about a product. Your approval rule decides who can carry out an operation. Your record boundary decides which organisation’s invoice is eligible. Your information rule decides what the response can contain. Document all three if the review needs evidence about them. OWASP’s 2023 list is a risk reference. Use the product’s approved policy and contract to define the statement the assessor must support. OWASP API Security Top 10, 2023 edition.

Use these fields for each material policy row.

  • Actor and role. Name the user, partner integration or service identity and the capability associated with its role. Use role names that match the application documents.
  • Action and state. Describe the business operation and the state of the record to which it applies. Reading an approved invoice and altering a draft have different effects.
  • Record and tenant. Name the resource, who owns it and which relationship between actor and resource is allowed. If the resource is shared, say who approves that sharing and when it expires.
  • Permitted outcome. Record the decision you expect under the stated conditions, including a refusal when a required relationship is absent.
  • Information returned or changed. Name categories of fields, documents or downstream events allowed for that actor. Consider a negative outcome and any information that should remain private.
  • Decision owner. Name the policy owner, the service that enforces the rule and the release owner who will accept any residual uncertainty.
  • Evidence and release. Specify the expected observation or design record, the approved environment and build, and what limitation to record when the evidence is incomplete.

Build the worksheet around meaningful differences. If two roles can both see an invoice but one may see only the amount and the other can also see internal notes, give them separate rows. A test on either account alone cannot substantiate both information rules. If several operations use a shared policy, ask the owner to document the relationship and the assessment approach. Keep individual rows where differences in information or business impact change the acceptance decision.

Record which system provides the role and tenant information. For a user, the identity service may establish the account while membership within the application determines which organisation the account may act for. For a service, a job or an integration can have a more limited authority than a human administrator. Ask which service holds each authoritative association and who can change it. Give the reviewer the approved documentation that shows how the API receives and enforces the policy. Review privileged roles in Microsoft Entra ID.

Scope the conditions that change a decision over time. An external accountant can work for more than one tenant and lose one mandate without losing the other. A service can continue to hold a record after it is no longer eligible for processing. The owner should document how changes and expiry affect the authorised outcome. If the environment cannot represent those states faithfully, agree which evidence is possible and what the report must leave open.

Follow the data beyond the initial response

Trace the decision into any queued work, exported file or message. A user can initiate an action that another service completes later. Each step may use different permissions and may have different access to records. Identify each handover and which party is responsible for retaining the initiating organisation and the purpose of the action.

Put the receiving system and type of data into the worksheet. For approval of an invoice, record when a document is produced, who controls where it is stored, and who may retrieve it. A background worker might need only the fields required for rendering. If a recipient system needs a more complete archive, give it its own row. A general line for document handling hides differences between creation, storage, listing and delivery.

If the API has endpoints for operational support, scope what support can see and what approval is needed to extend access. Support may need a processing status to answer a billing question. Any authority to see document contents or change invoice state needs a documented purpose and owner. Ask how evidence of authorised support activity is retained and who will inspect it. For a service with a support provider outside your team, identify which party grants access and which part of the integration may be reviewed.

Apply the boundary to imports and bulk work as well as ordinary requests. A finance user running an export may receive one file with many results. The intended policy should specify which organisation’s records may be included and what happens when a record changes state before the export completes. Where those rules are settled in the receiving system, give its owner a separate evidence obligation and document which conclusion your API reviewer can support.

Define the evidence and the approved environment

Tell providers which release, configuration and environment they may examine. Give them the policy matrix and agreed descriptions of synthetic records, authorised roles, tenant relationships and relevant resource states. The accounts and fixtures should represent material conditions in the policy. Do not use live customer records in the procurement pack. Use authorised references in shared documents and reserve sensitive materials for the agreed recipients and storage.

Record the properties that differ between the assessment environment and the intended release. A staging identity service may have synthetic roles and memberships supplied by the buyer. A production integration may provision memberships through a separate system. Evidence on the API’s policy in staging can be useful while the provisioning dependency remains open. Have the provider say which assumptions apply, and assign the integration owner responsibility for any evidence outside the engagement.

If using ASVS in the request, name the version and map the relevant requirements to the decisions your matrix describes. OWASP published ASVS 5.0.0 on 30 May 2025 and supports versioned references to its requirements. If the assessment uses a subset, record it with the agreed scope. Ask the report to identify which requirement, release, environment and workflow each conclusion addresses. OWASP Application Security Verification Standard 5.0.0, 30 May 2025.

Agree in advance which evidence belongs in each row. An approved design document can explain where a rule is implemented. A controlled observation on the named release can show what happened under stated conditions. An operator’s confirmation can explain where a deployment setting comes from. Ask the reviewer to name the basis of the conclusion, and to state the effect of any difference between these forms of evidence. Attach owner-supplied records by reference so the report can be read without giving every recipient unrestricted access to the material.

Ask for a delivery record that includes coverage, limitations, distinct findings and the named role for follow-up. Give each material row a short ID that stays stable across draft and final reports. Make the acceptance reviewer responsible for checking that the report accounts for every required row, including those assessed with limitations. If the report documents a blocked part of the review, distinguish whether the buyer authorised that gap or whether the supplier still owes coverage under the agreement. The product owner uses the record to determine which roles can receive the new function.

Fill the matrix for a fictional invoicing service

A software provider in Baden plans to release an invoicing API used by its customer portal and by a background document service. Customer organisations can nominate viewers and billing administrators. The invoice service holds drafts and approved invoice records. A separate worker renders approved documents. The product owner needs to decide whether to enable document access for a second customer cohort. Finance operations approves the role rules, the invoice team owns their implementation, and the service lead accepts evidence about the rendering workflow.

The owner gives the assessor a dated policy matrix with these entries.

  • Viewer reads an approved document. The viewer may receive the approved PDF for an invoice owned by the organisation in which they have the viewer role. The viewer may also receive the invoice number and ordinary status needed to locate the document. Internal approval notes stay with billing administrators. The report should identify the approved version and the role whose outcome was observed.
  • Viewer requests draft access. The policy grants no draft read or modification rights to the viewer. The invoice team supplies a representative synthetic draft and records the relevant relationship in its fixture index. The expected outcome in the matrix includes the absence of draft fields in the response.
  • Billing administrator manages a draft. The administrator can prepare and approve a draft for their own organisation according to the approved workflow. The report records what was assessed for both actions and which release implements the rule. The owner keeps the broader question of finance segregation in the policy register if the current review covers one combined role.
  • Account acts in another tenant. A role held for one customer organisation grants no access to records of another. The client organisation, role and invoice ownership are all represented in the synthetic dataset. The assessor records which relationships the evidence covers, and the invoice team reviews any scope limitation before expanding the release.
  • Worker prepares an approved document. The worker role may receive the data needed to produce one approved document and store it in the intended tenant’s document area. The worksheet treats permission to obtain rendering data and permission to store the resulting file as separate conditions for release. The worker has no authority to approve or modify an invoice.
  • Support follows document progress. Support can see the status needed to answer a ticket. Document contents, changes to invoice state and access across customer organisations require distinct authorisation. If support joins the release later, the scope record keeps its evidence row open and states who can approve enabling the feature.

The identity owner documents which organisation memberships represent the two fictional customers in staging. The invoice owner supplies the expected state transitions. The service lead records how the documented job authority relates to storage. The buyer sends the same matrix with the quote request. It tells providers that the worker is required for the release decision and that customer billing access is authorised only within the staged assessment boundary.

Assume the report covers viewer and billing administrator decisions and shows that the worker receives only the approved invoice data needed to render a document. It omits evidence about the storage destination. The acceptance reviewer records a partial conclusion for the worker rather than treating the row as complete. The service lead must supply the agreed evidence about destination ownership and the product owner must decide whether to hold back document delivery. The report still supports the stated conclusions for the other roles.

Decide who can change the boundary

During the engagement, the software provider may decide to store older documents through an archive integration. Identify which responsibilities would change. The current scope may allow the reviewer to examine the application’s archive handover but exclude the operator’s systems. The archive owner needs to document the purpose, intended destination, data categories and approval for any wider review. Give the provider the updated boundary and ask what evidence remains valid for the release originally described.

Record how the scope change affects the acceptance reviewer. An earlier observation about document handling in one storage environment may support a narrower conclusion. Trace it to the version and configuration it covers. If the storage decision has changed, the product owner can defer the archive function, commission a separately authorised review or approve a temporary release restriction with a named owner and review date. Keep the worker row incomplete for the archive design until the buyer receives the required evidence.

Review changes to identity and policy independently. If a partner receives access through a newly delegated role, ask whether existing evidence still applies to the account provisioning and decision rules. A change in documented membership source can affect a conclusion even when the application interface looks the same. Ask the relevant owner to identify the new dependency and supply dated evidence. The buyer can add it by written change if the engagement permits.

Identify clients that may still use older rules

Ask which deployed API versions the buyer needs to assess. A browser may already use the planned version while a partner integration remains on an earlier agreement. Ask the owner which version supports each client and when the buyer intends to withdraw the older one. Add a row when the same business action has different rules in the two versions. A single statement about “the current API” will leave the sponsor unable to tell which customers can still use the older behaviour.

For the Baden example, suppose the portal’s new version omits an accounting note from the viewer response. An older version remains in service for a partner that reconciles invoices. The policy owner needs to say whether the older client should keep access to the note during its migration. The API owner records the current and proposed information rules independently. The release owner can require a separate evidence item for the older route or defer its availability to the new cohort until the partner agrees to move. The assessment still covers the new version under its stated conditions.

Include a retirement decision in the handover if the buyer needs it. Record who counts the remaining clients, who approves their migration and who can confirm the withdrawal date. Ask for evidence about the properties of the version actually in scope. An inventory entry that describes an older version as scheduled for retirement helps planning. To support a decision that the version is no longer available, give the responsible operator the corresponding evidence obligation.

Decide what a refusal must protect

The business owner should define the expected result when an action is refused. The decision may affect more than the record. A refused approval should leave the invoice state unchanged and should leave any downstream document creation or notification untouched. A refused read should protect the fields and associations the role cannot see. Ask the owner to describe these consequences in product terms so the reviewer knows which outcomes matter.

For the fictional invoice service, the buyer assigns separate evidence items to the invoice decision and the handover to the document worker. If the product assessment covers whether the approval remains unchanged but has no evidence about queued work, the report should limit its conclusion accordingly. The service lead supplies the agreed evidence about effects on document production. The security reviewer records both results against the policy so the release owner can see which part of the service needs additional assurance.

Bring the support team into this discussion. It may need an approved explanation for a refused request, such as which part of the workflow the user can still complete. The privacy of another organisation’s record can matter even when support wants more detail. Agree which details the user, support team and authorised reviewer can see. Add a row for each materially different audience. If a supplier’s evidence only addresses the user-visible response, make the status of the separate operational evidence clear.

Hand the matrix to a second reviewer

Give a colleague from product and a colleague from security the same invoice matrix. Ask each to identify the permissions of a viewer, the outcome for an administrator acting outside their organisation, and which service is responsible for document storage. Ask what decision about document delivery can be made if the report covers the worker’s data intake and leaves the destination open. Have both cite the row that supports their answer. If one interprets the job entry as covering storage end to end, split the row and record the evidence needed at each handover.

Add this change to the fictional example. The owner wants the new viewer role to show the total from an approved record in the portal immediately, while withholding PDFs until the archive integration is ready. Ask the colleagues to write what narrower release the report could support. They should identify which information remains visible, who authorises that release and which unsettled dependency keeps documents out of it. Keep records for access to summary data and access to documents even when the same interface presents both.

In the Baden matrix, the accepted rows cover the viewer and billing administrator outcomes in the named release. The worker row records the approved rendering data and leaves the archive destination open. Finance owns the role rules, the service lead owns the storage evidence and the product owner signs the decision to withhold PDFs. The purchasing contact attaches that matrix, environment, fixture references and exclusions to the work order. The next quote can price the unresolved destination without repeating the agreed role assessment.

Put it into practice

Key takeaways

  1. 01Map both role permissions and resource ownership.
  2. 02Identify where the API derives the tenant context.
  3. 03Include service identities and data flows in the brief.

Sources

← Back to the blog

Frequently asked questions

Should every role have a row for denied actions?

Record the expected decision for sensitive actions and tenant boundaries, including when policy denies the request.

What if two roles return the same object with different fields?

Record which fields each role may see and include both results in the acceptance evidence.

Scope the release decision

Bring an API role and resource matrix to your scoping discussion.

Deep Audit SprintDiscuss your scope