DigitalOcean
What it does in Varman
Section titled “What it does in Varman”| 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.
What you need
Section titled “What you need”- A DigitalOcean team member who can create personal access tokens.
Permissions requested
Section titled “Permissions requested”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/firewallsGET https://api.digitalocean.com/v2/droplets
Connect
Section titled “Connect”-
In DigitalOcean, open API > Tokens and click Generate New Token with read scope. See DigitalOcean’s guide: Create a personal access token.
-
Copy the token.
-
In Varman, open Integrations, find DigitalOcean and click Set up.
-
Paste the token into API Token and click Connect account.
What gets synced and how often
Section titled “What gets synced and how often”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.
Disconnect
Section titled “Disconnect”Open Integrations > DigitalOcean, click Settings, then Disconnect. Then delete the token in DigitalOcean. See Disconnecting.
Troubleshooting
Section titled “Troubleshooting”- 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.