Safeguard Docs
Compliance ConnectorsSetup by categoryVersion Control

Codeberg

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

Connect Codeberg to collect version control evidence with automated compliance tests, switched on per workspace.

CategoryVersion Control
Connect withAPI token
What a connection producesAutomated compliance tests
Codeberg's guideforgejo.org

Connect with an API token

  1. In Codeberg:

    1. Sign in to Codeberg.
    2. Click your profile picture (top right) and select Settings.
    3. Open the Applications tab.
    4. Under access tokens, enter a name in Token Name.
    5. Grant the token read access for organization (read:organization), repository (read:repository) and user (read:user).
    6. Click Generate token, then copy the token and store it securely.

    Where to find the other values:

    • Organization: Your organization's name on Codeberg; the fetched docs do not say where it is shown.

    Codeberg runs Forgejo; scope names come from Forgejo's token-scope docs, which do not describe the selection UI. Codeberg's page does not cover permissions or required organization roles. It says to copy the token and store it securely but does not state that it cannot be shown again.

    Source: docs.codeberg.org, forgejo.org, checked 2026-10-07.

    The permissions Safeguard needs: read:organization, read:repository, read:user. Codeberg shows some settings only to owners, so create the token as an owner. Safeguard only reads with it.

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

    FieldWhat to enter
    OrganizationRequired.
    Access tokenRequired. Stored encrypted and never shown again.
  3. Click Connect with token.

Frameworks

Safeguard's automated tests read Codeberg 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 testsC1.1, CC6.1, CC6.2, CC6.3, CC8.16
ISO/IEC 27001Automated testsA.5.15, A.5.16, A.5.18, A.6.5, A.8.2, A.8.4, A.8.25, A.8.326
HIPAA Security RuleAutomated tests164.308(a)(1), 164.308(a)(3), 164.308(a)(4), 164.312(a)(1), 164.312(c)(1)6
PCI DSSAutomated tests6.5.1, 7.2.1, 7.2.2, 7.2.4, 8.2.56
NIST CSF 2.0Automated testsPR.AA-01, PR.AA-05, PR.DS-01, PR.PS-01, PR.PS-066

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

On this page