MSBA-361 · Lesson 9 of 12 · 18 min
Roles and access for security teams
▶ Video coming soon A video version of this lesson is on the way.
Ottoline Brisbane-Teale attended the ninth session in person, which everyone understood to mean that the January 2027 audit had started early. Her questions were simple and uncomfortable. Who can see the alerts? Who can dismiss them? Who can turn the features off? And how would she know if any of that changed? The session was about answering her in terms of GitHub's roles and permissions.
The principle
Security tooling creates its own sensitive information. An open code scanning alert is, among other things, a map of where an application might be attacked. A secret scanning alert may contain a working credential. Access to alerts therefore deserves the same least-privilege thinking as access to code, and the power to dismiss alerts or disable features deserves even more care, because using it removes evidence from every report.
Default access
Without any special roles, access to security alerts follows repository permissions. People with write access or above to a repository can generally see and act on its code scanning alerts, which is what lets developers fix and dismiss them. Repository administrators can change the repository's security settings unless a configuration enforces them. Organization owners can see and manage everything. The exact defaults differ by alert type; secret scanning alerts in particular are restricted to administrators and people explicitly given access, because of the credentials they expose. Teams should check the current permission tables in GitHub's documentation for each alert type rather than assume they match.
The security manager role
The security manager role is a predefined organization role for people whose job is security but who should not be organization owners. It can be assigned to teams or to individuals. Security managers can view and manage security alerts across every repository in the organization, manage security settings and configurations, and use security overview for the whole organization. They get read access to all repositories so they can understand the code behind an alert. They cannot change membership, billing or other organization settings.
| Capability | Organization owner | Security manager | Repository administrator |
|---|---|---|---|
| View all security alerts in the organization | Yes | Yes | Only their repositories |
| Manage security configurations and global settings | Yes | Yes | No |
| Change security settings on a repository | Yes | Yes | Yes, unless enforced |
| Create security campaigns | Yes | Yes | No |
| Read all repositories' code | Yes | Yes | Only their repositories |
| Change members, teams and billing | Yes | No | No |
At Skerry, the application security team of six was given the security manager role in skerry, skerry-stores and skerry-sandbox. Before November, four of them had been organization owners because nobody had known a narrower role existed. All four had their owner role removed, which Ottoline noted as the first finding closed.
GitHub has also been introducing an enterprise security manager role, which gives similar capabilities across every organization in an enterprise. In November 2026 it was still in public preview, so Skerry assigned the organization role in each organization and planned to review the enterprise role when it became generally available.
Custom roles with security permissions
Between developers and security managers there is often a need for something narrower. Custom repository roles and custom organization roles can include fine-grained security permissions, such as viewing code scanning alerts, dismissing them, viewing secret scanning alerts, or managing Dependabot alerts, without granting the rest of the security manager role.
MSBA-290 had created a custom repository role called Security triager in skerry-stores, based on Read plus alert permissions, for the store systems quality engineers who reviewed alerts but did not write code. The session revisited it.
| Role | Base | Added security permissions | Who holds it at Skerry |
|---|---|---|---|
| Security triager (repository) | Read | View and dismiss code scanning alerts; view Dependabot alerts | Store systems quality engineers |
| Security champion (organization) | None | View security overview for repositories they can access; view alerts | One developer per team, about 40 people |
| Security manager (predefined) | Organization role | All security alerts and settings | Application security team |
Ottoline's question about the Security triager role was whether it should be allowed to dismiss alerts without review. The answer was to keep the permission but turn on delegated dismissal for those repositories, so that every dismissal by anyone other than the security team needed approval.
Delegated dismissal and bypass
Three delegation features let organizations separate the people who request an exception from the people who approve it.
| Feature | What is requested | Who approves | Covered in |
|---|---|---|---|
| Delegated bypass for push protection | Pushing a commit that contains a detected secret | Designated reviewers, such as the security team | MSBA-360 |
| Delegated alert dismissal for secret scanning | Closing a secret scanning alert | Designated reviewers | MSBA-360 |
| Delegated alert dismissal for code scanning | Dismissing a code scanning alert | Designated reviewers | This lesson |
With delegated dismissal for code scanning turned on, developers who want to dismiss an alert submit a dismissal request with the reason and a comment. Reviewers see pending requests, approve or deny them, and the decision is recorded on the alert's timeline. Since 2025, GitHub has allowed reviewers to be enterprise teams, organization roles or GitHub Apps as well as teams, which let Skerry name the application security team once across organizations.
Freya set a target of one working day for dismissal requests, because a developer waiting on approval may be blocked from merging if the merge ruleset in lesson 11 requires the alert to be resolved. In the first two weeks there were 63 requests in skerry-stores: 41 approved, 22 denied with a comment, mostly because the code was reachable after all.
Alert ownership
Code scanning and secret scanning alerts can be assigned to people with write access. An assignee is the person responsible for resolving the alert. For secret scanning, an assignee who could not otherwise see the alert list gains access to that alert while assigned and loses it when unassigned. Assignees receive notifications, appear in filters, and can be set and read through the REST API, with webhooks reporting assignment changes.
Skerry's rule from lesson 3 was that every critical or high alert not fixed within a week of triage had an assignee. Security overview's filter for unassigned alerts became part of Seraphine's Monday routine, alongside the fallback routing for unassigned secret alerts that MSBA-360's incident review had introduced.
Watching who changes what
Ottoline's last question was how she would know if access or settings changed. The answer was the audit log, which records security-relevant events: configuration changes and attachments, enabling and disabling features, alert dismissals and reopenings, bypass requests and decisions, role assignments and changes to custom roles. MSBA-291 had already set up audit log streaming to the security information and event management system, where events were kept for thirteen months.
| Change | Where it is recorded | Skerry alert rule |
|---|---|---|
| Security manager role granted or removed | Organization audit log | Notify app security lead |
| Configuration detached or changed | Organization or enterprise audit log | Notify app security lead and platform on-call |
| Code scanning disabled on a repository | Repository and organization audit log | Page platform on-call during business hours |
| Bulk dismissal of alerts | Audit log plus alert timelines | Check for a decision record |
| Custom role permissions edited | Organization audit log | Notify app security lead |
action:repository_security_configuration OR action:org.security_manager OR action:code_scanning_alert.dismissDevelopers as owners
Freya ended the session by pushing back on one thing Ottoline had said, that developers should not dismiss alerts at all. The developers knew the code best, she argued, and a model in which only the security team could close alerts would turn six people into a bottleneck for 1,100. Skerry's answer was a mix: developers fix alerts and can dismiss in most repositories with a required comment; in restricted repositories, dismissals need approval; and the security team reviews dismissal patterns monthly. Ottoline accepted this as long as the monthly review produced a record.
Worked problem
Giving the right access
An external penetration testing firm will work with Skerry for three weeks and wants to see code scanning alerts for the 61 internet-facing restricted repositories, but must not change anything. What access should it get?
Show solution
- Avoid organization owner and security manager, which grant far more than needed.
- Use a custom repository role based on Read with permission to view code scanning alerts only.
- Grant it to an outside collaborator team on the 61 repositories, or use a time-limited arrangement through the identity provider.
- Record the grant and set a removal date; watch the audit log for access changes.
Answer: A read-based custom role with view-only code scanning alert permission on the 61 repositories, time-limited and recorded, not the security manager role.
Reviewing roles every quarter
Roles that are right today drift as people change jobs. Skerry already ran quarterly access reviews for organization owners, as MSBA-290 described; Freya added the security roles to the same review. The review asked four questions of every person with an elevated security role: do they still do this work, do they still need every permission in the role, have they used it in the last quarter, and does their manager agree.
| Role | Holders in November | Reviewed by |
|---|---|---|
| Security manager (through the app security team) | 6 | Freya, then Marisol |
| Security champion (custom organization role) | About 40 | Each champion's team lead |
| Security triager (custom repository role in skerry-stores) | 9 | Seraphine |
| Dismissal reviewers for delegated dismissal | The app security team | Freya |
The first review, in November, removed three champions who had moved to teams without code and one triager who had left the company but kept a team membership through a nested team. The last case showed why reviewing people is not enough on its own; the nested team structure also had to be checked, since roles granted to a team pass to members of its child teams.
Separation of duties
Ottoline's audit interest in roles was separation of duties: the person who wants an alert gone should not be the only person who decides it is gone. Delegated dismissal provided that in restricted repositories. For campaign and bulk decisions, Skerry's rule was that the person who proposed a bulk dismissal could not be the one who approved its decision record. And for configurations, changes to the enforced configuration needed a second person from the app security team, recorded in the governance repository, because a single change there could switch off a feature for 712 repositories at once.
Priya noted the Tidewater version: with two people, separation of duties is simply that whoever dismisses a serious alert tells the other in writing, which she and Dmitri agreed to do in the weekly alert reading.
Roles and the exam
Questions about roles in the GH-500 administration domain tend to describe a person and a task and ask for the least privilege that allows it. Priya used a simple method on practice questions: name the task, find the smallest scope where it happens, and choose the narrowest role or permission at that scope. A developer fixing alerts in one repository needs write access to that repository and nothing else. A person reviewing alerts across an organization without changing settings needs the security manager role or a custom role with read access to alerts. A person who must approve dismissals needs to be named as a reviewer for delegated dismissal. Only someone changing enterprise policy needs to be an enterprise owner. Most wrong answers on practice questions were roles that would work but granted far more than the task needed, which is exactly the mistake the course had warned against in the first session on access.
Common mistakes
MistakeMaking security staff organization owners.
InsteadUse the security manager role, which covers security without membership or billing powers.
MistakeGiving dismiss permissions without oversight in sensitive repositories.
InsteadTurn on delegated alert dismissal so another person approves.
MistakeLeaving serious alerts unassigned.
InsteadAssign owners so alerts have someone responsible.
MistakeNot watching changes to security settings and roles.
InsteadStream the audit log and alert on configuration, role and dismissal events.
Summary and key terms
- Security alerts and settings are sensitive and deserve least-privilege access.
- The security manager organization role covers security alerts, settings and overview without owner powers.
- An enterprise security manager role was in public preview in November 2026.
- Custom roles can include fine-grained security permissions for triagers and champions.
- Delegated bypass and delegated dismissal separate requesting an exception from approving it.
- Assignees make individuals responsible for alerts and can be managed through the API.
- The audit log records changes to roles, configurations, dismissals and bypasses.
- Security manager
- A predefined organization role that can manage security alerts and settings across all repositories without owner powers.
- Custom repository role
- A role built from a base role plus selected fine-grained permissions, including security permissions.
- Delegated alert dismissal
- A setting that requires designated reviewers to approve dismissal requests.
- Dismissal request
- A developer's request, with reason and comment, to dismiss an alert under delegated dismissal.
- Assignee
- The person responsible for resolving a particular alert.
- Audit log
- The record of actions taken in an organization or enterprise, including security changes.
Practice problems
Work each problem on paper first, then reveal the answer to check.
Which role lets a person manage security alerts across an organization without managing members or billing?
Show answer
Security manager.
What happens when a developer dismisses an alert in a repository with delegated dismissal?
Show answer
They submit a dismissal request that a designated reviewer approves or denies.
Where would you look to find out who disabled code scanning on a repository?
Show answer
The audit log.
Lesson quiz · 5 questions
Score 60% or more to complete this lesson.
Create a free account to save your progress, take quizzes and earn a certificate.