Security, access, and API

Last updated: October 29, 2026

Span gives admins control over who signs in, what each person can see, and how your data is handled, plus an API and MCP server for using Span data in your own tools.

Why it matters

Engineering data is sensitive. Security and IT teams need to know how access is controlled and what leaves developer machines before they approve a new tool. This article answers the questions they ask most.

How it works

Sign-in and access

  • No passwords. Without SSO, people sign in with a 6-digit code Span emails them, or with Google.

  • Single sign-on (SAML). Your team signs in through your identity provider. Once SSO is on, it replaces the emailed sign-in code and Google sign-in for your organization's email domains.

  • SCIM provisioning. Works with Okta, Microsoft Entra ID, and Google Workspace. Assigning or removing someone in your identity provider grants or removes Span access for a person who already exists in Span.

  • Roles and permissions. Span uses role-based access control. Built-in groups include Owners, Admins, Integration Admins, Survey Admins, Finance Admins, Managers, Team Leads, and Team Members, and you can create your own. Each permission is organization-wide or covers specific teams, specific people, or the user's own data. Managers are assigned automatically from reporting lines.

  • Audit log. Span records permission changes, people and team changes, directory syncs, SCIM, tokens, service accounts, OAuth grants, and trace deletions in a searchable audit log.

People and team data

Span builds its roster from your HR system, a CSV upload, or the Span Sync API. Directory Sync combines sources and stages the changes for an admin to review before anything updates. Span can turn on auto-apply for your organization, which applies each sync as soon as it's ready.

Span API

The Knowledge Graph API lets scripts, dashboards, and agents query pull requests, issues, deployments, teams, people, and metrics. The OpenAPI reference is at api.span.app/docs-next. The reference for the v1 API, including the Span Sync API for roster data, is at api.span.app/docs.

  • Authenticate with a bearer token: a personal access token, or a service account token for shared tools and automation.

  • Every token is limited to what its owner can see, or for a service account token, to what that service account can access. A service account gets its access from its own settings in Settings → Service Accounts, not from permission groups.

  • Service account tokens and personal access tokens carry no OAuth scopes.

Span MCP server

Connect Claude Code, Claude Desktop, Cursor, or any MCP-compatible client to your Span data at https://api.span.app/mcp.

  • Sign in with OAuth 2.0, or use a personal access token.

  • Read access covers metrics, pull requests, issues, teams, DORA, surveys, and AI agent sessions. Every call runs with the signed-in person's permissions.

  • A Span skill for Claude Code and Cursor is also available on GitHub.

AI coding activity (agent traces)

Span's endpoint agent runs on developer machines, pushed through your MDM, and captures activity inside AI coding tools only.

Captured

Not captured

Prompts and model details

Keystrokes

Tool calls the AI agent makes, with their inputs and results

Browser activity

File edits made by the AI agent

Terminal sessions the developer runs directly

Session start, end, and timing

Files the AI agent did not edit

Git branch, commit author, and repository

Anything outside AI coding tools

  • Snapshotting changes one row. If your organization is in the Snapshotting closed beta (macOS), the agent also records repository changes made during an agent session, including edits the developer makes by hand. Span credits those changes to the agent, so AI code metrics can count some hand edits as AI.

  • Redaction. Secrets and personal information are redacted on the developer's machine before data leaves it. Span's servers then run a second pass before storage that finds names, postal addresses, phone numbers, account numbers, and any credentials the device missed. Values found in that pass have left the machine, but they reach only Span's own infrastructure, never a third-party service. Span can add redaction patterns specific to your organization; they add to the built-in defaults, which can't be turned off.

  • Privacy mode. Any developer can turn on privacy mode to stop all capture on their machine, and your organization can't turn it off. Your organization can also ask Span to turn on privacy mode for every device. See Span Agent Trace Analytics: Security Overview (auspex).

  • Visibility. By default, the contents of a trace (prompts and responses) are visible only to the developer who created it. Others can be granted access to trace facts such as cost and model usage. If your organization wants managers to read sessions, Span can switch you to permission-based visibility, where you choose who can.

Network access

If you use self-hosted tools such as GitHub Enterprise Server, GitLab, or Jira, allowlist Span's outbound IP ranges, published at https://ip-ranges.span.app/ipv4.txt.

Setup

  • SSO and SCIM: an admin with Manage Integrations starts setup from Settings → Single Sign-On or Settings → SCIM Setup. Your Span team works with your IT admin during onboarding and turns on SCIM provisioning.

  • API tokens: each person creates a personal token in Settings → Access Token. Owners and Admins can manage service accounts by default, and create them in Settings → Service Accounts.

Things to know

  • SCIM controls access, not accounts. People must already exist in Span. SCIM does not sync team structure or set permissions.

  • Email is the match key. SSO and SCIM both match people by email. If someone's email changes in your identity provider, update it in Span too, or they lose access.

  • Raw traces expire on your schedule. Span stores data in US AWS and keeps raw traces for 30 to 90 days, set per customer. Derived summaries, labels, and scores last longer.

  • Need a security questionnaire or our security documentation? Ask your Span team.

  • Looking for more documentation? Help articles live at help.span.app.

Related articles

Need help?

Contact your Span account team or reach out to support@span.app.