MSBA-291 · Lesson 9 of 12 · 20 min

Compliance reports

▶ Video coming soon A video version of this lesson is on the way.

Skerry's internal audit team scheduled its annual review of software change management for January 2027, and for the first time the scope included GitHub. The lead auditor, Ottoline Brisbane-Teale, joined a working session in mid-November to explain what she would ask for. Her list was short and uncomfortable. She wanted evidence that GitHub itself was operated securely, evidence that Skerry's own controls in GitHub were designed sensibly, and evidence that those controls had actually worked throughout the year. "I do not want screenshots of settings," she said. "Settings show what you intended. I want records that show what happened."

This lesson is about answering that kind of request. It separates the two halves of compliance on a hosted platform: what GitHub is responsible for, which GitHub's own compliance reports cover, and what the customer is responsible for, which the customer must prove with its own evidence.

Shared responsibility

On GitHub Enterprise Cloud, GitHub runs the infrastructure, the application and the operational processes behind them. The customer configures and uses the service: who has access, which policies are set, how code is reviewed and what is deployed. Auditors call this a shared responsibility model. Neither party can prove the other's half.

Two columns. GitHub's responsibility: data centers, platform security, availability, incident management, staff controls, covered by independent audit reports. Customer's responsibility: identity and access, policies and rulesets, review and deployment practices, secrets, evidence of operation, covered by the customer's own records such as the audit log.
On Enterprise Cloud, GitHub's reports cover the platform and the customer's records cover its own use of it.

On Enterprise Server the split moves. The customer runs the appliance, so the customer is responsible for the servers, network, backups, patching and physical security as well as everything above them. GitHub's compliance reports for its cloud services say little about a customer's own appliance. That was one of the reasons Skerry's audit team was pleased to see the store-systems appliance scheduled for retirement in lesson 11.

GitHub's compliance reports

Enterprise owners can download GitHub's compliance reports from the Compliance tab of the enterprise account settings. As of November 2026 GitHub's documentation lists these for Enterprise Cloud:

Compliance resources available to enterprise owners, as listed in GitHub's documentation in November 2026.
ReportWhat it isWhat an auditor uses it for
SOC 1, Type 2An independent auditor's report on controls relevant to customers' financial reporting, tested over a periodReliance on GitHub for financially significant systems
SOC 2, Type 2An independent auditor's report on security, availability and related controls, tested over a periodThe main evidence that the platform is operated securely
ISO/IEC 27001:2022 certificationCertification of GitHub's information security management systemEvidence of a recognized security management standard
CSA STAR certification, level 2Cloud Security Alliance certification based on independent assessmentCloud-specific security assurance
CSA CAIQ, level 1GitHub's answers to the Cloud Security Alliance's standard questionnaireA quick answer to vendor questionnaires
PCI DSS Attestation of ComplianceAttestation related to the payment card industry standardContext for organizations handling card data
Bug bounty quarterly reportsSummaries of GitHub's security research programEvidence of ongoing security testing
Services continuity and incident management planGitHub's continuity and incident processesBusiness continuity reviews

Only enterprise owners can download these reports, so a compliance or audit team usually asks an owner to collect them. Skerry's governance standard made that a named task: each quarter, one enterprise owner downloaded the current reports into a restricted evidence store, so auditors never needed owner access.

Reading a SOC 2 report

A SOC 2 Type 2 report is long, and most of it is useful to an auditor rather than an administrator. Two parts matter to the platform team. The first is the period the report covers, because a Type 2 report tests controls over months; if the report ends in September, an auditor may ask for a bridge letter from the vendor covering the gap since. The second is the list of complementary user entity controls, the controls the vendor assumes its customers operate. They are the vendor's way of saying "this part is your job": typically managing user access, protecting credentials and reviewing activity. Each one should map to something the customer can show.

Worked problem

Mapping a complementary control

A SOC 2 report states that customers are expected to restrict access to authorized personnel and remove access promptly when people leave. What evidence should Skerry provide?

Show solution
  1. Access is granted through Entra ID groups provisioned by SCIM to managed user accounts, as designed in MSBA-290.
  2. Removal happens through the same deprovisioning, which suspends the account.
  3. Evidence of operation: identity provider access reviews, SCIM provisioning logs and audit log events showing suspensions within a day of departure.
  4. A sample of leavers during the year, each traced from HR record to suspension event.

Answer: Show the provisioning design and then sample leavers, tracing each from their HR departure to the GitHub suspension event in the audit log.

Skerry's own controls

The other half of the audit is the customer's controls. Ottoline's team would test a handful of them, each with a design part and an operating part.

Skerry's GitHub controls and their evidence.
ControlDesign evidenceOperating evidence
Changes to production code are reviewedRulesets requiring pull requests and approvals on default and release branchesRule insights and audit log events for merges and bypasses over the year
Bypasses are exceptional and reviewedBypass list limited to the on-call team, pull requests onlyList of bypasses with linked incident reviews
Access is authorized and removed promptlySCIM provisioning from Entra ID groupsSample of joiners and leavers traced to audit events
Secrets are kept out of codeSecurity configurations with push protection, enforcedPush protection blocks and bypasses; secret alert resolution times
Third-party code is controlledAllowed-actions policy, lockfiles required in storesPolicy change events; lockfile verification results
Builds are traceableArtifact attestations on production imagesAttestation verification results at deployment

Look at what the operating column has in common: almost everything comes from the audit log or from reports built on it. A setting proves design. Events prove operation. That is why the audit log streaming set up in MSBA-290, which kept raw events for 13 months in Skerry's security information and event management system, was the single most important compliance decision of the program. GitHub keeps most audit log events for 180 days and Git events for seven, so without streaming the first half of the audit year would already have been gone.

Worked problem

Checking retention against an audit year

The audit covers January 1 to December 31, 2026, and testing happens in late January 2027. If Skerry relied only on GitHub's own audit log retention of 180 days, which months would still be available at testing time?

Show solution
  1. 180 days before late January 2027 is late July 2026.
  2. Events from January to July 2026 would have expired.
  3. Only about the last six months of the year would remain.
  4. With 13 months kept in the SIEM, the whole year is available.

Answer: Only roughly August to December 2026; streaming to the SIEM is what preserves the full year.

Building evidence that answers questions

Auditors sample. They do not read every event; they ask for a population, such as every merge to a release branch in the year, then pick 25 and ask for details of each. The platform team's job is to make both steps easy. Skerry built three saved queries in its SIEM over the streamed audit events: every merge to a protected branch with its approvals, every ruleset bypass, and every change to enterprise policies, rulesets and security configurations. Each query produced a population in minutes, and each event carried enough detail to answer a sample question without screenshots.

Searching the audit log for ruleset bypass events. Event names change over time; confirm them in the audit log events reference.
# Example audit log search on GitHub for recent ruleset bypasses in an organization (web search syntax)
action:repository_ruleset.bypass created:>=2026-11-01

# The same through the REST API for an enterprise
gh api --paginate \
  "/enterprises/skerry/audit-log?phrase=action:repository_ruleset.bypass+created:>=2026-11-01" \
  --jq '.[] | [.created_at, .actor, .repo] | @tsv'

Privacy and data protection

Compliance questions about GitHub are not only about security. A privacy officer will ask what personal data GitHub processes, where and under what terms. For customers, GitHub's terms include a data protection agreement that sets out its obligations as a processor. Personal data in GitHub is mostly about developers: names, email addresses, activity. Customer data, such as the contents of private repositories, should not include personal information about Skerry's own customers, and secret scanning and code review help keep it out.

In the United States, Skerry's privacy officer reviewed GitHub against the state privacy laws that apply to the company and its contractual obligations to card-payment partners. The next lesson covers data residency, which is one tool for privacy requirements but not the only one.

Copilot and AI in the audit scope

Ottoline asked one more question that had not existed a few years earlier: how did the company govern AI-generated code? Skerry's answer drew on earlier work. Copilot policies at enterprise level decided which features and models were allowed, as covered in MSBA-303. Code written with AI help went through the same pull requests, rulesets, code scanning and review as any other code, so the existing controls covered it. And Copilot usage and agent activity events were part of the audit log stream. The auditors accepted that design for the year, with a note to look at agent activity more closely in 2027.

A compliance calendar

Compliance is easier as a routine than as an annual scramble. Skerry's platform and security teams agreed a calendar.

Skerry's GitHub compliance calendar.
WhenTaskOwner
MonthlyReview ruleset bypasses and policy changesPlatform team and security
QuarterlyDownload current compliance reports to the evidence storeAn enterprise owner
QuarterlyReview owners, app installations and token exceptionsPlatform team
QuarterlyTest audit log streaming completeness against GitHub's own log for a sample daySecurity
AnnuallyMap vendor complementary controls to Skerry evidenceSecurity and internal audit
AnnuallyRehearse the audit: produce each population and sample before the auditors askPlatform team

Priya's note from the session was that compliance work was mostly about making earlier decisions visible. Every control the auditors wanted had been designed for operational reasons in earlier sessions. The new work was proving that the controls ran.

When the auditor asks about Enterprise Server

For the year being audited, part of Skerry's code still lived on the store-systems appliance, which made one section of the audit more work. GitHub's cloud compliance reports did not cover it, so Skerry had to show its own controls over the appliance: who administered it, how it was patched, how its backups were tested and how access was granted. The honest answer for 2026 was that patching had lapsed and the appliance had left its support window. The audit team recorded a finding, and the migration plan in lesson 11 was accepted as the remediation, with a target date in the first quarter of 2027.

Who provides compliance evidence on Enterprise Cloud and Enterprise Server.
Evidence areaEnterprise CloudEnterprise Server
Platform security and availabilityGitHub's SOC and ISO reportsThe customer's own infrastructure controls
Patching and upgradesGitHubThe customer, release by release
Backups and recoveryGitHubThe customer, including restore tests
Access and configuration in the productThe customerThe customer
Audit eventsAudit log, streamed by the customerAudit log and appliance logs, retained by the customer

Questionnaires and trust

Not every compliance request is an audit. Partners and customers often send security questionnaires asking how Skerry protects its source code. The CSA CAIQ from GitHub's compliance resources answered most questions about the platform. For questions about Skerry's own practice, the team kept a short internal fact sheet drawn from the governance model: identity through managed users and Conditional Access, mandatory reviews through rulesets, secrets blocked by push protection, actions controlled by allowlists and lockfiles, and a year of audit events retained. The franchise partner's questionnaire in lesson 10 took a morning instead of a fortnight.

Common mistakes

  • MistakeUsing GitHub's SOC 2 report as evidence of the customer's own controls.

    InsteadVendor reports cover the platform; customers prove their own controls with their own records.

  • MistakeOffering screenshots of settings as proof that controls operated.

    InsteadProvide events, such as audit log records, over the audit period.

  • MistakeRelying on GitHub's audit log retention for a year-long audit.

    InsteadStream events to long-term storage before they expire.

  • MistakeGiving auditors enterprise owner access to fetch reports.

    InsteadHave an owner place reports in an evidence store.

Summary and key terms

  • Compliance on a hosted platform is shared: GitHub proves the platform, the customer proves its own use.
  • Enterprise owners can download GitHub's compliance reports, including SOC 1 and SOC 2 Type 2, ISO/IEC 27001:2022 and CSA STAR, from the enterprise Compliance tab.
  • A SOC 2 report's period and complementary user entity controls tell the customer what it must prove itself.
  • Settings show design; audit log events show operation.
  • Streaming the audit log preserves evidence beyond GitHub's 180-day and seven-day retention.
  • A compliance calendar turns annual audits into routine work.
Shared responsibility model
The division of security and compliance duties between a service provider and its customer.
SOC 2 Type 2 report
An independent auditor's report on controls tested over a period.
Complementary user entity controls
Controls a vendor's audit report assumes the customer operates.
Bridge letter
A vendor statement covering the time between the end of an audit period and today.
Design evidence
Evidence that a control is set up correctly.
Operating evidence
Evidence that a control actually worked over time.
Data protection agreement
Contract terms setting out how a provider processes personal data.

Practice problems

Work each problem on paper first, then reveal the answer to check.

  1. Who can download GitHub's compliance reports for an enterprise?

    Show answer

    Enterprise owners, from the Compliance tab.

  2. What does a complementary user entity control tell the customer?

    Show answer

    A control the vendor assumes the customer operates, which the customer must prove.

  3. Why is audit log streaming essential for a year-long audit?

    Show answer

    GitHub keeps most events for 180 days and Git events for seven, so older evidence would be lost.

Lesson quiz · 5 questions

Score 60% or more to complete this lesson.

Take the quiz