Safeguard Docs
Compliance ConnectorsSetup by categoryCloud Infrastructure

HashiCorp Consul

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

Connect HashiCorp Consul to collect cloud infrastructure evidence with automated compliance tests, switched on per workspace.

CategoryCloud Infrastructure
Connect withAPI token
What a connection producesAutomated compliance tests
HashiCorp Consul's guidedeveloper.hashicorp.com

Connect with an API token

  1. In HashiCorp Consul:

    1. With a Consul ACL management token, create a read-only policy: consul acl policy create -name "safeguard-read" -description "Safeguard read-only" -rules 'agent_prefix "" \{ policy = "read" \}'.
    2. Create a token linked to it: consul acl token create -description "Safeguard" -policy-name safeguard-read.
    3. Copy the SecretID from the output; that is the API token (the AccessorID is only its public identifier).

    Where to find the other values:

    • Base URL: The HTTPS address of your Consul server's HTTP API, reachable from the internet.

    HashiCorp Consul issues this credential through its API or its support team, not through its admin screens.

    Source: developer.hashicorp.com, developer.hashicorp.com, developer.hashicorp.com, developer.hashicorp.com, checked 2026-10-07.

    The permissions Safeguard needs: agent:read.

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

    FieldWhat to enter
    Base URLRequired. Your own server: an https address reachable from the internet.
    API tokenRequired. Stored encrypted and never shown again.
  3. Click Connect with token.

Frameworks

Safeguard's automated tests read HashiCorp Consul 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.1, CC6.6, CC6.72
ISO/IEC 27001Automated testsA.8.9, A.8.20, A.8.242
HIPAA Security RuleAutomated tests164.312(a)(1), 164.312(e)(1)2
PCI DSSAutomated tests2.2.1, 4.2.12
NIST CSF 2.0Automated testsPR.AA-05, PR.DS-02, PR.PS-012

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

On this page