Skip to content

DigitalOcean network security checks

IP allow-lists, TLS, DNS and edge settings that keep the application reachable only from where it should be.

On DigitalOcean, Black Cat runs 7 checks in this area on every scan. Each one below lists its severity, how to fix it, and the compliance controls it satisfies where a control applies. See what access the DigitalOcean connector needs.

Checks (7)

severity: high No VPC fix difficulty: medium #

Move the Droplet into a custom VPC for network isolation

  1. Log in to the DigitalOcean Cloud Control Panel
  2. Navigate to Networking > VPC and create a new VPC in the same region as the Droplet if one does not exist
  3. Navigate to Manage > Droplets and click the affected Droplet name
  4. In the Droplet detail view select "Networking" then click "Edit" next to the VPC section
  5. Select the target VPC from the drop-down and save the change
  6. Verify the Droplet's private IP reflects the new VPC subnet

Vendor docs ↗

Satisfies: ISO 27001:2022 A.8.20 SOC 2 Type II CC6.6 CIS Controls v8 CIS-12.1 NIST CSF 2.0 PR.IR GDPR (SaaS Security) GDPR-5.1f.i HIPAA (SaaS Security) HIPAA-312.e NIS2 Directive NIS2-21.a.2 DORA (SaaS Security) DORA-9.9

severity: critical No Firewall fix difficulty: medium #

Create a Cloud Firewall and attach it to the unprotected Droplet

  1. Log in to the DigitalOcean Cloud Control Panel
  2. Navigate to Networking > Firewalls and click "Create Firewall"
  3. Define inbound rules allowing only required ports (e.g. TCP 22 from trusted IPs, TCP 443 from all)
  4. Define outbound rules as needed; restrict unrestricted outbound if possible
  5. Under "Apply to Droplets", add the affected Droplet by name or tag
  6. Click "Create Firewall" and verify the Droplet appears in the firewall's Droplets list

Vendor docs ↗

Satisfies: ISO 27001:2022 A.8.20 SOC 2 Type II CC6.6 CIS Controls v8 CIS-12.1 NIST CSF 2.0 PR.IR GDPR (SaaS Security) GDPR-5.1f.i HIPAA (SaaS Security) HIPAA-312.e NIS2 Directive NIS2-21.a.2 DORA (SaaS Security) DORA-9.9

severity: high Allows All Inbound fix difficulty: medium #

Restrict firewall inbound rules to trusted IP ranges and required ports only

  1. Log in to the DigitalOcean Cloud Control Panel
  2. Navigate to Networking > Firewalls and click the affected firewall name
  3. Select the "Inbound Rules" tab
  4. Identify rules that allow all sources (0.0.0.0/0 or ::/0) on non-HTTP(S) ports
  5. Edit or delete those rules and replace with specific trusted IP addresses or CIDR ranges
  6. Save the changes and verify no broad inbound rules remain

Vendor docs ↗

Satisfies: ISO 27001:2022 A.8.20 SOC 2 Type II CC6.6 CIS Controls v8 CIS-12.1 NIST CSF 2.0 PR.IR GDPR (SaaS Security) GDPR-5.1f.i HIPAA (SaaS Security) HIPAA-312.e NIS2 Directive NIS2-21.a.2 DORA (SaaS Security) DORA-9.9

severity: critical SSH Open To All fix difficulty: medium #

Restrict SSH (port 22) inbound access to specific trusted IP addresses

  1. Log in to the DigitalOcean Cloud Control Panel
  2. Navigate to Networking > Firewalls and click the affected firewall name
  3. Select the "Inbound Rules" tab
  4. Find the rule allowing TCP port 22 from 0.0.0.0/0 or ::/0
  5. Edit the rule and replace the source with specific trusted IP addresses or CIDR ranges
  6. Consider using a VPN or bastion host so only that IP needs to be allowed; save the changes

Vendor docs ↗

Satisfies: ISO 27001:2022 A.8.20 SOC 2 Type II CC6.6 CIS Controls v8 CIS-12.1 NIST CSF 2.0 PR.IR GDPR (SaaS Security) GDPR-5.1f.i HIPAA (SaaS Security) HIPAA-312.e NIS2 Directive NIS2-21.a.2 DORA (SaaS Security) DORA-9.9

severity: medium Allows All Outbound fix difficulty: medium #

Restrict firewall outbound rules to required destinations and ports only

  1. Log in to the DigitalOcean Cloud Control Panel
  2. Navigate to Networking > Firewalls and click the affected firewall name
  3. Select the "Outbound Rules" tab
  4. Identify rules allowing all destinations (0.0.0.0/0) on all ports (All TCP/UDP)
  5. Edit or delete those rules and add specific destination IPs/CIDRs and required ports
  6. Save the changes and test that legitimate outbound traffic still works

Vendor docs ↗

Satisfies: ISO 27001:2022 A.8.20 SOC 2 Type II CC6.6 CIS Controls v8 CIS-12.1 NIST CSF 2.0 PR.IR GDPR (SaaS Security) GDPR-5.1f.i HIPAA (SaaS Security) HIPAA-312.e NIS2 Directive NIS2-21.a.2 DORA (SaaS Security) DORA-9.9

severity: critical Publicly Accessible fix difficulty: medium #

Add trusted source IP restrictions to the database cluster firewall rules

  1. Log in to the DigitalOcean Cloud Control Panel
  2. Navigate to Manage > Databases and click the affected database cluster name
  3. Select the "Settings" tab and scroll to the "Trusted Sources" section
  4. Click "Edit" and add the IP addresses, CIDR ranges, or Droplet/tag names that need access
  5. Remove any open entries (0.0.0.0/0) if present
  6. Save the changes and verify database connectivity from trusted sources

Vendor docs ↗

Satisfies: ISO 27001:2022 A.8.20 SOC 2 Type II CC6.6 CIS Controls v8 CIS-12.1 NIST CSF 2.0 PR.IR GDPR (SaaS Security) GDPR-44.1 HIPAA (SaaS Security) HIPAA-312.e NIS2 Directive NIS2-21.a.2 DORA (SaaS Security) DORA-9.9

severity: low Default VPC Used fix difficulty: medium #

Create a custom VPC and migrate resources away from the default VPC

  1. Log in to the DigitalOcean Cloud Control Panel
  2. Navigate to Networking > VPC and click "Create VPC"
  3. Define a name, region, and custom IP range for the new VPC
  4. Assign existing resources (Droplets, databases, Kubernetes clusters) to the new VPC
  5. Update firewall rules and internal DNS references as needed
  6. Verify all resources are communicating correctly on the new VPC before decommissioning default VPC usage

Vendor docs ↗

Satisfies: ISO 27001:2022 A.8.20 SOC 2 Type II CC6.6 CIS Controls v8 CIS-12.1 NIST CSF 2.0 PR.IR GDPR (SaaS Security) GDPR-5.1f.i HIPAA (SaaS Security) HIPAA-312.e NIS2 Directive NIS2-21.a.2 DORA (SaaS Security) DORA-9.9

More DigitalOcean checks

The information on this page is provided for general informational purposes and is believed to be accurate as of its most recent update. Product names, logos, and trademarks are the property of their respective owners and are used for identification purposes only; their use does not imply any affiliation with or endorsement by those owners. Descriptions of third-party applications and of compliance frameworks are based on publicly available documentation and may change over time.

See these checks run on your stack

Start a free 14-day trial — no credit card required.

Start Free Trial