Safeguard Docs
Compliance ConnectorsSetup by categoryInfrastructure

Spacelift

Connect Spacelift to Safeguard: what it provides, how to set it up, and the frameworks it provides evidence for.

Connect Spacelift to collect infrastructure evidence with automated compliance tests, switched on per workspace.

CategoryInfrastructure
Connect withAPI token
What a connection producesAutomated compliance tests
Spacelift's guidedocs.spacelift.io

Connect with an API token

  1. In Spacelift:

    1. In Spacelift, click your account name in the lower right corner and select Organization settings.
    2. In the Access section, click API keys, then Create API key.
    3. Enter a Name, set Type to Secret, and under Space select the root space with reader access (not writer). Leave Groups empty unless you manage access by group.
    4. Create the key. The API key is generated in a file and automatically downloaded to your device; Spacelift doesn't store the token and it cannot be retrieved or recreated afterwards.

    Where to find the other values:

    • Instance URL: Your Spacelift account address, https://<account-name>.app.spacelift.io (the GraphQL endpoint is https://<account-name>.app.spacelift.io/graphql).
    • API key ID: The api_key_id value in the downloaded file (the secret is api_key_secret).
    • Access token (optional): A JWT obtained by exchanging the key ID and secret with the apiKeyUser GraphQL mutation; an alternative to the key ID and secret.

    Spacelift shows the secret only once, so copy it before you leave the page.

    Reader access on the root space gives read access across all spaces beneath it.

    Source: docs.spacelift.io, checked 2026-10-07.

    The permissions Safeguard needs: Read on the root space.

  2. On Compliance › Connectors, open Spacelift, click Connect, choose API token and fill in:

    FieldWhat to enter
    Instance URLOptional. An address under app.spacelift.io.
    API key IDOptional.
    API key secretOptional. Stored encrypted and never shown again.

    Or, instead: Access token (optional).

  3. Click Connect with token.

Frameworks

Safeguard's automated tests read Spacelift and map to the controls below. When a test passes, the result is evidence toward each control it maps to, in every framework listed. It is evidence toward a control, not proof that the control is met on its own.

FrameworkEvidenceControlsTests
SOC2Automated testsCC6.2, CC6.3, CC8.13
ISO/IEC 27001Automated testsA.5.16, A.5.18, A.6.5, A.8.323
HIPAA Security RuleAutomated tests164.308(a)(3), 164.308(a)(4)2
PCI DSSAutomated tests6.5.1, 7.2.4, 8.2.53
NIST CSF 2.0Automated testsPR.AA-01, PR.AA-05, PR.PS-013

These tests are switched on per workspace by the Safeguard team.

On this page