FAQ
How Bastion handles scope, data and access
Scope and testing
How do you keep testing within scope?
Bastion tests only domains your workspace has verified, and hostnames under them. Every request a test makes passes through our egress proxy, which checks it against your scope and refuses anything outside it. Private networks, loopback addresses and cloud metadata endpoints are always blocked.
How do you verify domain ownership?
Before any test runs, you prove that you control the domain, either by publishing a DNS TXT record or by signing in with a verified email address at that domain. Addresses at free email providers do not count, and accepting our terms alone is not enough.
Do tests create accounts or access our data?
Where a test needs an account, we create our own test accounts. We do not deliberately delete or destroy data, and we use the access a test gains only to show that a weakness exists. When a weakness exposes real data, the evidence kept for that finding may include some of it, and we treat it as your confidential information.
What happens if a test causes a problem?
If a test unexpectedly changes or deletes data, makes it visible to anyone else or disrupts a system, we stop that test, notify you within 24 hours and help you restore normal operation. Where personal data is affected, we also handle it as a security incident under our Data Processing Addendum.
What activity is logged?
The outbound traffic of every test run is recorded in a signed, hash-chained log, so any later change to it is detectable. Changes in your workspace, such as invitations and role changes, are recorded in an audit log.
Data
How is our data isolated from other customers?
Each company has its own workspace, and every record we hold about your systems is scoped to it. The model we build of your environment is stored in a separate graph for each customer. Users can access only the workspace they belong to. Our shared research on attack techniques holds no customer data.
Where is our data stored and processed?
Findings, reports and the data we collect about your systems are stored in Canada. Sign-in, billing and the AI providers that process your code operate in the United States. Every provider and its location is listed on our Subprocessors page.
Do your AI providers retain or train on our code?
The AI providers that process your code operate under zero data retention. They do not keep your code after responding to a request, and they do not train on it.
Is our data encrypted?
Customer data is encrypted in transit and at rest.
How long do you keep our data?
Findings and reports remain available in your workspace for as long as you are a customer. You can ask us to delete your data at any time. When your agreement ends, we delete it within 30 days, and from backups within 90 days. Reports already delivered to you are yours to keep.
How do you handle security incidents?
If we become aware of a security incident affecting your data, we notify you without undue delay and within 72 hours, and help you meet your own notification duties. If a test shows signs that someone else has already broken into your systems, we tell you promptly.
Access and integrations
What does Bastion need access to?
- Day oneYour domainVerified as described above. This is all that testing needs to begin.
- Optional, at any timeGitHubEnables pull request review, a code audit and fixes delivered as pull requests.
- Early 2027AWS
What permissions does the GitHub App request?
The Bastion GitHub App acts only on the repositories you select. It requests write access to contents, pull requests, issues and checks, and read access to metadata. These let it read code, post review results and comments, open issues for findings and push proposed fixes to their own bastion/fix branches. Fixes arrive as pull requests, and Bastion never merges them. You can change the selected repositories or uninstall the app in GitHub at any time.
How does pull request review work?
Pull request review runs as a GitHub App, not inside your CI/CD pipeline. When a pull request is opened or updated, GitHub notifies Bastion by webhook, and Bastion posts a check named Bastion security review with a summary and inline comments. Nothing needs to be added to your pipelines.
The check is advisory by default. With the merge gate enabled, it fails while a critical or high-severity finding is unresolved, and you can make it a required status check in your branch protection. Bastion never changes your branch protection settings. Per-repository rules can be set in .bastion/config.yml, which is read from the base branch so that a pull request cannot change its own rules.
Agreements
What agreements cover our data?
Our Data Processing Addendum is part of every customer agreement and includes the EU Standard Contractual Clauses and the UK transfer addendum. Our Terms of Service, Privacy Policy and Subprocessors list are published on this site.
For a security questionnaire or anything not covered here, email team@trybastion.ai.
