Skip to content

DigitalOcean

Check Passes when Evidence task
Droplets are protected by a cloud firewall The droplet is attached to at least one cloud firewall Production Firewall & No-Public-Access Controls

Each droplet gets its own result. A droplet with no firewall fails with severity high.

  • A DigitalOcean team member who can create personal access tokens.

A personal access token with read scope is enough. Varman sends it as Authorization: Bearer <token> and calls only:

  • GET https://api.digitalocean.com/v2/firewalls
  • GET https://api.digitalocean.com/v2/droplets
  1. In DigitalOcean, open API > Tokens and click Generate New Token with read scope. See DigitalOcean’s guide: Create a personal access token.

  2. Copy the token.

  3. In Varman, open Integrations, find DigitalOcean and click Set up.

  4. Paste the token into API Token and click Connect account.

Only check results. Each run reads up to 200 firewalls and 200 droplets. Checks run on the daily schedule described in the overview, or when you click Run now.

Open Integrations > DigitalOcean, click Settings, then Disconnect. Then delete the token in DigitalOcean. See Disconnecting.

  • Log says No DigitalOcean droplets to evaluate. The token’s team has no droplets. Nothing is recorded.
  • A finding <droplet> has no cloud firewall. In DigitalOcean go to Networking > Firewalls and attach a deny-by-default firewall to the droplet, then click Run again.
  • HTTP 401: Unauthorized. The token expired or was deleted. Create a new one, then disconnect and connect again.