Digital Ocean

Digital Ocean is a cloud hosting provider that offers cloud computing services and Infrastructure-as-a-Service (IaaS).


Asset Types Fetched

  • Devices, Compute Services, Load Balancers, Network Services, Networks, Network/Firewall Rules

Data Retrieved through the Adapter

  • Network/Firewall Rules - Fields such as: Firewall Name, Droplet IDs, Target Tags, Firewall Inbound Rules, and NAT Translations.
  • Networks - Fields such as: Network Name, Cloud ID, CIDR Blocks, and Region.
  • Load Balancers - Fields such as: Public IPs, Load Balancer Listeners, Hostname, and Cloud ID.

Note:

Load Balancer IP addresses are now stored in Public IPs instead of Balanced IPs. Update any queries and views that use Balanced IPs to use Public IPs.

Before You Begin

Ports

  • TCP port 80/443

Authentication Method

  • API Key

APIs

Axonius uses the DigitalOcean REST API Version 2.0.

The following API endpoints are used:

  • GET /v2/droplets
  • GET /v2/kubernetes/clusters
  • GET /v2/load_balancers
  • GET /v2/projects
  • GET /v2/projects/{project_id}/resources
  • GET /v2/vpcs
  • GET /v2/firewalls
  • GET /v2/reserved_ips

Permissions

Consult with your vendor for the exact permissions to fetch the objects.

To fetch the data of the following settings, the API token needs these scopes:

  • firewall:read - Required to fetch firewalls.
  • reserved_ip:read - Required to fetch reserved IPs.
  • vpc:read - Required to fetch VPC networks.
  • droplet:read - Required to fetch droplets, including the droplets attached to Load Balancers and firewalls.

Supported From Version

Supported from Axonius version 5.0

Connecting the Adapter in Axonius

To connect the adapter in Axonius, provide the following parameters:

Required Parameters

  1. Host Name or IP Address - The hostname or IP address of the DigitalOcean server.

  2. API Key - An API Key associated with a user account that has permissions to fetch assets. For more information see Authentication.

DigitalOcean_Adapters

Optional Parameters

  1. Verify SSL - Select whether to verify the SSL certificate of the server against the CA database inside of Axonius. For more details, see SSL Trust & CA Settings.

  2. HTTPS Proxy (optional) - Connect the adapter to a proxy instead of directly connecting it to the domain.

  3. HTTPS Proxy User Name (optional) - The user name to use when connecting to the value supplied in Host Name or IP Address via the value supplied in HTTPS Proxy.

  4. HTTPS Proxy Password (optional) - The password to use when connecting to the server using the HTTPS Proxy.

To learn more about common adapter connection parameters and buttons, see Adding a New Adapter Connection.

Advanced Settings

Note:

  • Enrich [asset/resource name] with Project Resources - Enable each of these settings to enrich Droplets, Load Balancers, or Kubernetes Clusters with their Digital Ocean project information (Project ID and Project Name).
  • Enrich Load Balancers with Load Balancer Droplets (default: false) - Select this option to retrieve the attached droplets to add listener information to Load Balancer assets.
  • Fetch Firewall of sub-type firewalls from Firewalls (default: false) - Select this option to fetch DigitalOcean firewalls as Network/Firewall Rules assets.
  • Fetch Firewall of sub-type reserved_ips from Reserved IPs (default: false) - Select this option to fetch reserved IPs as Network/Firewall Rules assets.
  • Fetch Networks from VPC Networks (default: false) - Select this option to fetch VPC networks as Networks assets.

Did this page help you?