Skip to content

Infoblox DDI (NIOS) Executor

Category: Asset Inventory and Network Management Script: infoblox_ddi.py Integration: REST API (WAPI) Faraday Plugin: Raw JSON Website: https://www.infoblox.com/products/nios/

Description

Imports the DNS host records and IPAM networks of an Infoblox NIOS Grid Master into Faraday. It gives you a network inventory to cross-check other findings against. Each DNS host record and each network becomes a host with one informational vulnerability prefixed with [NETWORK].

Prerequisites

  • An Infoblox NIOS Grid Master reachable from the agent
  • An Infoblox admin account with API access (read-only is enough)
  • A certificate chain trusted by the agent. For self-signed appliances, point REQUESTS_CA_BUNDLE to the appliance CA bundle.

Configuration

Environment Variables (Setup)

Variable Required Description
INFOBLOX_HOST Yes Grid Master hostname or URL (e.g., infoblox.example.com). https:// is added when missing.
INFOBLOX_USER Yes Infoblox admin user name
INFOBLOX_PAGES No Maximum number of pages (100 records each) to read per kind, from 1 to 50 (default: 5)
INFOBLOX_PASSWORD Yes Infoblox admin password

These variables are also accepted as execution arguments, so a single run can override them.

Execution Arguments

Parameter Type Mandatory Description
INFOBLOX_VIEW string No Import only this DNS view (for host records) and network view (for networks). Default: all views.
INFOBLOX_NETWORK_FILTER string No Import only the network with this exact CIDR (e.g., 10.0.0.0/24). Default: all networks.

YAML Configuration Example

executors:
  infoblox_ddi:
    repo_executor: infoblox_ddi.py
    max_size: 65536
    varenvs:
      INFOBLOX_HOST: "infoblox.example.com"
      INFOBLOX_USER: "<infoblox_user>"
      INFOBLOX_PASSWORD: "<infoblox_password>"
    params:
      INFOBLOX_VIEW:
        mandatory: false
        type: string
        base: string
      INFOBLOX_NETWORK_FILTER:
        mandatory: false
        type: string
        base: string

How It Works

  1. Authenticates with HTTP Basic using INFOBLOX_USER and INFOBLOX_PASSWORD
  2. Reads the DNS host records from /wapi/v2.12/record:host, 100 per page, restricted to the DNS view INFOBLOX_VIEW when set
  3. Reads the IPAM networks from /wapi/v2.12/network, restricted to the network view INFOBLOX_VIEW and to the CIDR INFOBLOX_NETWORK_FILTER when set
  4. Creates one host per host record, using its first IPv4 (or IPv6) address, its name and aliases, and its view and comment in the description
  5. Creates one host per network, using 0.0.0.0 as IP and the CIDR in the description

Notes

  • Every vulnerability has severity info, because these are inventory entries rather than findings.
  • Host records without an address use the IP 0.0.0.0.
  • INFOBLOX_NETWORK_FILTER applies to networks only, not to host records.
  • Reads at most INFOBLOX_PAGES pages of each kind.
  • The shared agent parameters (AGENT_CONFIG_* tags and severity filters) are not applied by this executor.