Authentication & GitHub · Contents
Repository Scanner
Static analysis that maps the APIs used in your code and checks them against provider changes.
The Repository Scanner is the inventory step behind every other feature. It reads a repository and builds a map of the third-party APIs the code uses, then keeps that map fresh so a provider change can be matched to real call sites.
What the scanner reads
- Client SDK imports and constructor calls, including the package and version declared in manifests and lockfiles.
- Direct REST calls: hostnames, base URLs, endpoint paths and the HTTP method where it can be determined statically.
- Environment variable names that commonly hold provider credentials or base URLs.
- Deprecated SDK methods, retired API versions and call patterns that a provider has flagged.
- Reliability signals such as hard-coded timeouts, missing retry handling and unguarded pagination.
The scanner does not execute your code. It parses supported source files and inspects symbols, imports and string literals. That keeps scans safe and fast, but it also defines the blind spots described below.
How a scan runs
- Choose a repository in the Repository Scanner and select Scan now.
- The scanner fetches the repository, analyses files, detects APIs, checks SDKs and dependencies, reviews reliability signals and generates a health report.
- The result shows files scanned, detections found and the APIs recognised, followed by the scan history.
- On-demand scans run immediately. The daily scan at 06:00 UTC keeps coverage fresh without manual work.
- Each scan is limited to 1,500 files of up to 400 KB each; symlinks and oversized files are skipped.
What the findings mean
A detection is evidence that the code mentions a provider surface, not proof that the surface is used at runtime. A potential break is a match between that evidence and a provider change. A deprecated API finding means the provider has announced a retirement, even if the endpoint still works today. Severity reflects the potential impact and the confidence of the match, not a guarantee that production is broken.
Where to go next
- Open Potential Breaks to review the highest-risk matches with file and line links.
- Open Deprecated APIs to plan migrations before a shutdown date.
- Use the Impact Engine to see how one provider change spreads across repositories and services.
- Approve a proposed auto-fix only when the diff is a reviewed, mechanical change.
Limits and blind spots
- A URL assembled at runtime from user input or configuration may not be visible to static analysis.
- Generated clients and code produced during the build can hide the real endpoint strings.
- A monorepo may exceed the file limit; scan the service directories that matter most.
- Private repositories require the repo scope granted during GitHub sign-in. If a repository is missing, reconnect and confirm the account can see it.
Does the scanner send my source code anywhere?
It reads the repository through the GitHub API and processes the files for static analysis. Your code is not executed. Detected secret-shaped strings are redacted before they are stored or displayed.
Why did the scanner miss an API call?
Static analysis cannot see a URL that is assembled at runtime, a client generated during the build, or a call hidden behind a dynamic import. The limits are documented above; use runtime signals and tests to cover those gaps.
How often should I scan?
The daily scan at 06:00 UTC is enough for most repositories. Run an on-demand scan after a refactor, a dependency upgrade or a provider migration.