Antithesis logomark
Docs

Access and authentication

Antithesis considers the basic unit of isolation to be a tenant. Each tenant receives their own instance of our entire cloud infrastructure, and their data cannot be read by other tenants, even when acting maliciously. In general, each customer gets a single tenant. It is possible, however, to configure multiple tenants for a single customer. This might be necessary if (for example) a customer has two teams, one of whom works on highly sensitive information.

There are four major actions in Antithesis which require authorization. These are:

  1. Pushing images to the Antithesis registry
  2. Kicking off tests
  3. Viewing reports
  4. Multiverse debugging

You can run the first two actions from an automated process, such as a CI server, or from your own machine with Snouty. We provide machine credentials for these actions and for anything else you do through the Antithesis API.

The last two actions are performed manually. We offer single sign-on (SSO) for user management. You may elect to skip this integration and have your reports world-readable, but SSO is required for multiverse debugging.

Machine credentials

Antithesis creates these credentials and sends them to you securely. Use them to work with the Antithesis API, including to push images and run tests. These are long-lived credentials, so keep them secret, such as in your CI system’s secret store. If a credential is compromised, contact us and we’ll rotate it and issue you a new one.

The following credentials are generated for each Antithesis tenant:

API key

  • Used to interact with Antithesis through the Antithesis API, and with Snouty. This includes pushing images to your tenant’s registry, registry.$TENANT_NAME.antithesis.com, and launching tests. Starting with Antithesis v67, it replaces the separate registry key file. Contact Antithesis support to create a key. You can revoke keys from the Settings page in the web app.
  • On a version before v67, push images with your registry key file, $TENANT_NAME.key.json, instead.

If you want us to post results back to your CI service, as in the Antithesis GitHub Action, you may need to create additional credentials or tokens.

Single Sign-On

Antithesis offers two methods of single sign-on (SSO) for user authorization: Login with GitHub, or Login with IdP.

Customers can choose to authorize users to access their customer tenants based on one of several criteria.

Users who meet the criterion will be given full access to your tenant, so be careful to choose a criterion that includes only trusted members. Your GitHub organization admin needs to approve our app and your chosen authorization criterion.

Follow these steps:

  1. Send your authorization criterion

    To enable SSO with GitHub, provide us with your authorization criterion. If your criterion requires your GitHub organization admin’s approval, you’ll need to authorize our app.

    Currently, we support the following criteria:

    • Organization membership: All active members of the provided GitHub organization are given access. Send us the organization name(s).

    • Team membership: Teams are subsets of organizations. All members of a team or list of teams are given access. We support both visible and secret teams within the organization. Send us the organization name and a list of team IDs.

      To get your team ID, use the List teams API, choose the teams you want to authorize, and send their IDs.

    • Public repo access: All collaborators in a public repository in the organization are given access. Send us the organization name and the repository name.

    • Verified email domain: Users who have a verified email associated with their GitHub account matching a customer-provided domain are given access. Note that this doesn’t have to be the email address they registered with - email addresses can be cheaply added by users. Send us the domain.

      This criterion doesn’t require admin approval.

  2. Authorize our app

    If your chosen criterion requires admin approval, you’ll need to follow this step.

    If you’re your GitHub organization’s admin, go to your tenant home - <your-tenant>.antithesis.com. You’ll be prompted to authorize.

    GitHub admin to authorize

    If you’re not an admin, go to your tenant home. You’ll be prompted to request access. You can click “Request” for the organizations you want to authorize. Your organization admin will need to approve your request.

    GitHub non-admin view

Customers can integrate Antithesis with their Identity Provider (IdP) to enable SSO. This integration is available for any IdP that implements the OIDC protocol. Identity Providers who implement the OIDC protocol include:

Please consult your IdP’s documentation for more information on their OIDC support.

Provide your email domain to your Forward Deployed Engineer (FDE).

The following steps are a general guide to OIDC integration. The exact flow will be IdP specific — consult their documentation for details.

  1. Antithesis provides you a login redirect. It’ll be something like:

    https://${tenant-domain-name}.antithesis.com/oidc/callback.

  2. In your Identity Provider, create a new project/application.

  3. Under your project/application, generate new OIDC/OAuth2 credentials. You will choose or generate a new client ID and secret.

  4. Add your redirect URL from (1) to your project/application settings.

  5. Provide Antithesis with the following three pieces of information:

  • Client ID and client secret from your OIDC project/application.
  • /.well-known endpoint from your OIDC configuration. (If Google is your IdP, we need your Google Workspace domain address instead. E.g. our domain address is antithesis.com.) And confirm that the URL returns a JSON with an issuer field in it.

Report access

Antithesis reports can be accessed only via a signed URL. This URL is impossible for an attacker to reverse-engineer, even with knowledge of the report ID and the encryption scheme. If the contents of your Antithesis reports are sensitive, take care not to post these report URLs in public. Report signing keys can be rotated, however doing so is a destructive operation that will invalidate all previously-generated reports, not just the one that was accidentally leaked.

For customers concerned about report access, Antithesis supports SSO to further restrict access to reports. If SSO is enabled, all access to reports will require a login through GitHub or your IdP in addition to a signed URL.

Multiverse debugging

Multiverse debugging requires SSO to be enabled. All users must login before they can access a debugging session.