PiHoleV6

PiHole V6 integration using the new REST API. PiHole is a network-level advertisement and Internet tracker blocking application which acts as a DNS sinkhole.

IT Services · PiHole

Details

IDPiHoleV6
ProviderOpen Source
CategoryIT Services
From Version5.0.0
Docker Imagedemisto/python3:3.12.13.10116658
Supported ModulesAgentix XSIAM

README

PiHole v6 integration using the new REST API. PiHole is a network-level advertisement and Internet tracker blocking application which acts as a DNS sinkhole and optionally a DHCP server, intended for use on a private network.
This integration was integrated and tested with PiHole v6.0 API.

Configure PiHole v6 in Cortex

Parameter Description Required
url Server URL (e.g. https://192.168.1.25) True
password PiHole admin password for API authentication True
insecure Trust any certificate (not secure) False
proxy Use system proxy settings False

Commands

You can execute these commands from the CLI, as part of an automation, or in a playbook.
After you successfully execute a command, a DBot message appears in the War Room with the command details.

pihole-get-summary


Get overview of PiHole activity including query stats, client counts, and gravity info.

Base Command

pihole-get-summary

Input

| Argument Name | Description | Required |
| — | — | — |

Context Output

Path Type Description
PiHoleV6.Summary.queries Unknown Query statistics including total, blocked, cached, forwarded counts.
PiHoleV6.Summary.clients Unknown Client statistics.
PiHoleV6.Summary.gravity Unknown Gravity list statistics.

pihole-get-top-domains


Get top permitted or blocked domains.

Base Command

pihole-get-top-domains

Input

Argument Name Description Required
count Number of top domains to return. Default is 10. Optional
blocked If true, return top blocked domains instead of top permitted domains. Possible values are: true, false. Default is false. Optional

Context Output

Path Type Description
PiHoleV6.TopDomains.domains Unknown Array of top domains with counts.
PiHoleV6.TopDomains.total_queries Number Total number of queries.

pihole-get-top-clients


Get top clients by query count.

Base Command

pihole-get-top-clients

Input

Argument Name Description Required
count Number of top clients to return. Default is 10. Optional
blocked If true, return top blocked clients instead of top active clients. Possible values are: true, false. Default is false. Optional

Context Output

Path Type Description
PiHoleV6.TopClients.clients Unknown Array of top clients with counts.
PiHoleV6.TopClients.total_queries Number Total number of queries.

pihole-get-upstreams


Get metrics about upstream DNS destinations.

Base Command

pihole-get-upstreams

Input

| Argument Name | Description | Required |
| — | — | — |

Context Output

Path Type Description
PiHoleV6.Upstreams.upstreams Unknown Array of upstream destinations with query counts and response times.
PiHoleV6.Upstreams.forwarded_queries Number Number of forwarded queries.

pihole-get-query-types


Get breakdown of DNS query types.

Base Command

pihole-get-query-types

Input

| Argument Name | Description | Required |
| — | — | — |

Context Output

Path Type Description
PiHoleV6.QueryTypes.types Unknown Query type counts (A, AAAA, MX, etc).

pihole-get-recent-blocked


Get most recently blocked domain(s).

Base Command

pihole-get-recent-blocked

Input

Argument Name Description Required
count Number of recently blocked domains to return. Default is 1. Optional

Context Output

Path Type Description
PiHoleV6.RecentBlocked.blocked Unknown List of recently blocked domains.

pihole-get-history


Get activity graph data (queries over time).

Base Command

pihole-get-history

Input

| Argument Name | Description | Required |
| — | — | — |

Context Output

Path Type Description
PiHoleV6.History.history Unknown Activity over time data with timestamps, total, cached, blocked, forwarded counts.

pihole-get-history-clients


Get per-client activity graph data.

Base Command

pihole-get-history-clients

Input

Argument Name Description Required
N Maximum number of clients to return. 0 returns all. Default is 20. Optional

Context Output

Path Type Description
PiHoleV6.HistoryClients.clients Unknown Client information with query counts.
PiHoleV6.HistoryClients.history Unknown Per-client activity over time.

pihole-get-queries


Get DNS query log with optional filtering.

Base Command

pihole-get-queries

Input

Argument Name Description Required
length Number of queries to return. Default is 100. Optional
domain Filter by domain (wildcards supported). Optional
client_ip Filter by client IP (wildcards supported). Optional
client_name Filter by client hostname (wildcards supported). Optional
upstream Filter by upstream server. Optional
type Filter by query type (A, AAAA, etc). Optional
status Filter by status (GRAVITY, FORWARDED, CACHE, etc). Optional

Context Output

Path Type Description
PiHoleV6.Queries.queries Unknown Array of DNS query records.
PiHoleV6.Queries.recordsTotal Number Total number of available queries.

pihole-get-blocking-status


Get current PiHole blocking status.

Base Command

pihole-get-blocking-status

Input

| Argument Name | Description | Required |
| — | — | — |

Context Output

Path Type Description
PiHoleV6.Blocking.blocking String Current blocking status (enabled/disabled).
PiHoleV6.Blocking.timer Number Remaining seconds until blocking mode changes automatically. Null if permanent.

pihole-set-blocking


Enable or disable PiHole blocking, optionally with a timer.

Base Command

pihole-set-blocking

Input

Argument Name Description Required
blocking Enable or disable blocking. Possible values are: true, false. Required
timer Seconds until blocking mode automatically reverts. Leave empty for permanent change. Optional

Context Output

Path Type Description
PiHoleV6.Blocking.blocking String New blocking status.
PiHoleV6.Blocking.timer Number Timer value if set.

pihole-get-domains


Get domains from allow/deny lists. Filter by type and kind.

Base Command

pihole-get-domains

Input

Argument Name Description Required
type Domain type filter. Possible values are: allow, deny. Optional
kind Domain kind filter. Possible values are: exact, regex. Optional

Context Output

Path Type Description
PiHoleV6.Domains.domains Unknown Array of domain entries.

pihole-add-domain


Add a domain to allow/deny list.

Base Command

pihole-add-domain

Input

Argument Name Description Required
type Domain type. Possible values are: allow, deny. Required
kind Domain kind. Possible values are: exact, regex. Required
domain Domain to add. Required
comment Optional comment. Optional

Context Output

Path Type Description
PiHoleV6.Domains.domains Unknown Added domain details.

pihole-delete-domain


Delete a domain from allow/deny list.

Base Command

pihole-delete-domain

Input

Argument Name Description Required
type Domain type. Possible values are: allow, deny. Required
kind Domain kind. Possible values are: exact, regex. Required
domain Domain to delete. Required

Context Output

There is no context output for this command.

pihole-get-version


Get PiHole component versions.

Base Command

pihole-get-version

Input

| Argument Name | Description | Required |
| — | — | — |

Context Output

Path Type Description
PiHoleV6.Version Unknown Version information for all PiHole components.

pihole-get-system-info


Get system information from PiHole host.

Base Command

pihole-get-system-info

Input

| Argument Name | Description | Required |
| — | — | — |

Context Output

Path Type Description
PiHoleV6.SystemInfo Unknown System information (CPU, memory, disk, uptime, etc).

pihole-get-ftl-info


Get FTL (Faster Than Light) engine information.

Base Command

pihole-get-ftl-info

Input

| Argument Name | Description | Required |
| — | — | — |

Context Output

Path Type Description
PiHoleV6.FTLInfo Unknown FTL engine information.

pihole-get-host-info


Get host information.

Base Command

pihole-get-host-info

Input

| Argument Name | Description | Required |
| — | — | — |

Context Output

Path Type Description
PiHoleV6.HostInfo Unknown Host information.

pihole-get-sensors


Get sensor information from PiHole host.

Base Command

pihole-get-sensors

Input

| Argument Name | Description | Required |
| — | — | — |

Context Output

Path Type Description
PiHoleV6.Sensors Unknown Sensor readings (temperature, etc).

pihole-run-gravity


Update PiHole gravity (pull latest adlists).

Base Command

pihole-run-gravity

Input

| Argument Name | Description | Required |
| — | — | — |

Context Output

Path Type Description
PiHoleV6.Gravity.output String Gravity update output.

pihole-restart-dns


Restart the pihole-FTL DNS service.

Base Command

pihole-restart-dns

Input

| Argument Name | Description | Required |
| — | — | — |

Context Output

Path Type Description
PiHoleV6.RestartDNS Unknown Restart result.

pihole-flush-logs


Flush DNS logs and purge last 24 hours from database.

Base Command

pihole-flush-logs

Input

| Argument Name | Description | Required |
| — | — | — |

Context Output

Path Type Description
PiHoleV6.FlushLogs Unknown Flush result.

pihole-flush-network


Flush the network table (remove all known devices and addresses).

Base Command

pihole-flush-network

Input

| Argument Name | Description | Required |
| — | — | — |

Context Output

Path Type Description
PiHoleV6.FlushNetwork Unknown Flush result.

pihole-get-network-devices


Get network devices known to PiHole.

Base Command

pihole-get-network-devices

Input

| Argument Name | Description | Required |
| — | — | — |

Context Output

Path Type Description
PiHoleV6.NetworkDevices Unknown Network device information.

pihole-get-network-gateway


Get network gateway information.

Base Command

pihole-get-network-gateway

Input

| Argument Name | Description | Required |
| — | — | — |

Context Output

Path Type Description
PiHoleV6.Gateway Unknown Gateway information.

pihole-search-domain


Search for a domain across all PiHole lists and configuration.

Base Command

pihole-search-domain

Input

Argument Name Description Required
domain Domain to search for. Required

Context Output

Path Type Description
PiHoleV6.Search Unknown Search results showing where the domain appears in PiHole configuration.

pihole-get-dhcp-leases


Get current DHCP leases.

Base Command

pihole-get-dhcp-leases

Input

| Argument Name | Description | Required |
| — | — | — |

Context Output

Path Type Description
PiHoleV6.DHCPLeases Unknown DHCP lease information.

pihole-get-groups


Get all groups.

Base Command

pihole-get-groups

Input

| Argument Name | Description | Required |
| — | — | — |

Context Output

Path Type Description
PiHoleV6.Groups Unknown Group information.

pihole-add-group


Create a new group.

Base Command

pihole-add-group

Input

Argument Name Description Required
name Group name. Required
comment Optional comment. Optional

Context Output

Path Type Description
PiHoleV6.Groups Unknown Created group details.

pihole-delete-group


Delete a group.

Base Command

pihole-delete-group

Input

Argument Name Description Required
name Group name to delete. Required

Context Output

There is no context output for this command.

pihole-get-lists


Get all configured adlists.

Base Command

pihole-get-lists

Input

| Argument Name | Description | Required |
| — | — | — |

Context Output

Path Type Description
PiHoleV6.Lists Unknown Adlist information.

pihole-add-list


Add a new adlist.

Base Command

pihole-add-list

Input

Argument Name Description Required
address URL of the adlist to add. Required
comment Optional comment. Optional
enabled Whether the list should be enabled. Possible values are: true, false. Default is true. Optional

Context Output

Path Type Description
PiHoleV6.Lists Unknown Added list details.

pihole-delete-list


Delete an adlist.

Base Command

pihole-delete-list

Input

Argument Name Description Required
address URL of the adlist to delete. Required

Context Output

There is no context output for this command.

Configuration parameters

  • url — Server URL (required)
  • password — Password (required)
  • insecure — Trust any certificate (not secure)
  • proxy — Use system proxy settings

Commands (33)

  • pihole-add-domain

    Add a domain to allow/deny list.

  • pihole-add-group

    Create a new group.

  • pihole-add-list

    Add a new adlist.

  • pihole-delete-domain

    Delete a domain from allow/deny list.

  • pihole-delete-group

    Delete a group.

  • pihole-delete-list

    Delete an adlist.

  • pihole-flush-logs

    Flush DNS logs and purge last 24 hours from database.

  • pihole-flush-network

    Flush the network table (remove all known devices and addresses).

  • pihole-get-blocking-status

    Get current PiHole blocking status.

  • pihole-get-dhcp-leases

    Get current DHCP leases.

  • pihole-get-domains

    Get domains from allow/deny lists. Filter by type and kind.

  • pihole-get-ftl-info

    Get FTL (Faster Than Light) engine information.

  • pihole-get-groups

    Get all groups.

  • pihole-get-history

    Get activity graph data (queries over time).

  • pihole-get-history-clients

    Get per-client activity graph data.

  • pihole-get-host-info

    Get host information.

  • pihole-get-lists

    Get all configured adlists.

  • pihole-get-network-devices

    Get network devices known to PiHole.

  • pihole-get-network-gateway

    Get network gateway information.

  • pihole-get-queries

    Get DNS query log with optional filtering.

  • pihole-get-query-types

    Get breakdown of DNS query types.

  • pihole-get-recent-blocked

    Get most recently blocked domain(s).

  • pihole-get-sensors

    Get sensor information from PiHole host.

  • pihole-get-summary

    Get overview of PiHole activity including query stats, client counts, and gravity info.

  • pihole-get-system-info

    Get system information from PiHole host.

  • pihole-get-top-clients

    Get top clients by query count.

  • pihole-get-top-domains

    Get top permitted or blocked domains.

  • pihole-get-upstreams

    Get metrics about upstream DNS destinations.

  • pihole-get-version

    Get PiHole component versions.

  • pihole-restart-dns

    Restart the pihole-FTL DNS service.

  • pihole-run-gravity

    Update PiHole gravity (pull latest adlists).

  • pihole-search-domain

    Search for a domain across all PiHole lists and configuration.

  • pihole-set-blocking

    Enable or disable PiHole blocking, optionally with a timer.

commonfields:
  id: PiHoleV6
  version: -1
name: PiHoleV6
display: PiHole v6
sectionorder:
- Connect
- Collect
category: IT Services
provider: Open Source
description: PiHole V6 integration using the new REST API. PiHole is a network-level advertisement and Internet tracker blocking application which acts as a DNS sinkhole.
configuration:
- display: Server URL
  name: url
  type: 0
  required: true
  additionalinfo: Base URL of PiHole (e.g. https://192.168.1.25)
  section: Connect
- display: Password
  name: password
  type: 4
  required: true
  additionalinfo: PiHole admin password for API authentication
  section: Connect
- display: Trust any certificate (not secure)
  name: insecure
  type: 8
  required: false
  section: Connect
- display: Use system proxy settings
  name: proxy
  type: 8
  required: false
  section: Connect
script:
  script: ''
  type: python
  commands:

  # --- Stats ---
  - name: pihole-get-summary
    arguments: []
    outputs:
    - contextPath: PiHoleV6.Summary.queries
      description: Query statistics including total, blocked, cached, forwarded counts.
      type: Unknown
    - contextPath: PiHoleV6.Summary.clients
      description: Client statistics.
      type: Unknown
    - contextPath: PiHoleV6.Summary.gravity
      description: Gravity list statistics.
      type: Unknown
    description: Get overview of PiHole activity including query stats, client counts, and gravity info.

  - name: pihole-get-top-domains
    arguments:
    - name: count
      description: Number of top domains to return.
      defaultValue: "10"
    - name: blocked
      description: If true, return top blocked domains instead of top permitted domains.
      auto: PREDEFINED
      predefined:
      - "true"
      - "false"
      defaultValue: "false"
    outputs:
    - contextPath: PiHoleV6.TopDomains.domains
      description: Array of top domains with counts.
      type: Unknown
    - contextPath: PiHoleV6.TopDomains.total_queries
      description: Total number of queries.
      type: Number
    description: Get top permitted or blocked domains.

  - name: pihole-get-top-clients
    arguments:
    - name: count
      description: Number of top clients to return.
      defaultValue: "10"
    - name: blocked
      description: If true, return top blocked clients instead of top active clients.
      auto: PREDEFINED
      predefined:
      - "true"
      - "false"
      defaultValue: "false"
    outputs:
    - contextPath: PiHoleV6.TopClients.clients
      description: Array of top clients with counts.
      type: Unknown
    - contextPath: PiHoleV6.TopClients.total_queries
      description: Total number of queries.
      type: Number
    description: Get top clients by query count.

  - name: pihole-get-upstreams
    arguments: []
    outputs:
    - contextPath: PiHoleV6.Upstreams.upstreams
      description: Array of upstream destinations with query counts and response times.
      type: Unknown
    - contextPath: PiHoleV6.Upstreams.forwarded_queries
      description: Number of forwarded queries.
      type: Number
    description: Get metrics about upstream DNS destinations.

  - name: pihole-get-query-types
    arguments: []
    outputs:
    - contextPath: PiHoleV6.QueryTypes.types
      description: Query type counts (A, AAAA, MX, etc).
      type: Unknown
    description: Get breakdown of DNS query types.

  - name: pihole-get-recent-blocked
    arguments:
    - name: count
      description: Number of recently blocked domains to return.
      defaultValue: "1"
    outputs:
    - contextPath: PiHoleV6.RecentBlocked.blocked
      description: List of recently blocked domains.
      type: Unknown
    description: Get most recently blocked domain(s).

  # --- History ---
  - name: pihole-get-history
    arguments: []
    outputs:
    - contextPath: PiHoleV6.History.history
      description: Activity over time data with timestamps, total, cached, blocked, forwarded counts.
      type: Unknown
    description: Get activity graph data (queries over time).

  - name: pihole-get-history-clients
    arguments:
    - name: N
      description: Maximum number of clients to return. 0 returns all.
      defaultValue: "20"
    outputs:
    - contextPath: PiHoleV6.HistoryClients.clients
      description: Client information with query counts.
      type: Unknown
    - contextPath: PiHoleV6.HistoryClients.history
      description: Per-client activity over time.
      type: Unknown
    description: Get per-client activity graph data.

  # --- Queries ---
  - name: pihole-get-queries
    compliantpolicies:
    - User Soft Remediation
    arguments:
    - name: length
      description: Number of queries to return.
      defaultValue: "100"
    - name: domain
      description: Filter by domain (wildcards supported).
    - name: client_ip
      description: Filter by client IP (wildcards supported).
    - name: client_name
      description: Filter by client hostname (wildcards supported).
    - name: upstream
      description: Filter by upstream server.
    - name: type
      description: Filter by query type (A, AAAA, etc).
    - name: status
      description: Filter by status (GRAVITY, FORWARDED, CACHE, etc).
    outputs:
    - contextPath: PiHoleV6.Queries.queries
      description: Array of DNS query records.
      type: Unknown
    - contextPath: PiHoleV6.Queries.recordsTotal
      description: Total number of available queries.
      type: Number
    description: Get DNS query log with optional filtering.

  # --- DNS Blocking ---
  - name: pihole-get-blocking-status
    arguments: []
    outputs:
    - contextPath: PiHoleV6.Blocking.blocking
      description: Current blocking status (enabled/disabled).
      type: String
    - contextPath: PiHoleV6.Blocking.timer
      description: Remaining seconds until blocking mode changes automatically. Null if permanent.
      type: Number
    description: Get current PiHole blocking status.

  - name: pihole-set-blocking
    arguments:
    - name: blocking
      required: true
      auto: PREDEFINED
      predefined:
      - "true"
      - "false"
      description: Enable or disable blocking.
    - name: timer
      description: Seconds until blocking mode automatically reverts. Leave empty for permanent change.
    outputs:
    - contextPath: PiHoleV6.Blocking.blocking
      description: New blocking status.
      type: String
    - contextPath: PiHoleV6.Blocking.timer
      description: Timer value if set.
      type: Number
    description: Enable or disable PiHole blocking, optionally with a timer.
    execution: true

  # --- Domain Management ---
  - name: pihole-get-domains
    arguments:
    - name: type
      description: Domain type filter.
      auto: PREDEFINED
      predefined:
      - allow
      - deny
    - name: kind
      description: Domain kind filter.
      auto: PREDEFINED
      predefined:
      - exact
      - regex
    outputs:
    - contextPath: PiHoleV6.Domains.domains
      description: Array of domain entries.
      type: Unknown
    description: Get domains from allow/deny lists. Filter by type and kind.

  - name: pihole-add-domain
    compliantpolicies:
    - User Soft Remediation
    arguments:
    - name: type
      required: true
      auto: PREDEFINED
      predefined:
      - allow
      - deny
      description: Domain type.
    - name: kind
      required: true
      auto: PREDEFINED
      predefined:
      - exact
      - regex
      description: Domain kind.
    - name: domain
      required: true
      description: Domain to add.
    - name: comment
      description: Optional comment.
    outputs:
    - contextPath: PiHoleV6.Domains.domains
      description: Added domain details.
      type: Unknown
    description: Add a domain to allow/deny list.

  - name: pihole-delete-domain
    compliantpolicies:
    - User Soft Remediation
    arguments:
    - name: type
      required: true
      auto: PREDEFINED
      predefined:
      - allow
      - deny
      description: Domain type.
    - name: kind
      required: true
      auto: PREDEFINED
      predefined:
      - exact
      - regex
      description: Domain kind.
    - name: domain
      required: true
      description: Domain to delete.
    outputs: []
    description: Delete a domain from allow/deny list.

  # --- Info ---
  - name: pihole-get-version
    arguments: []
    outputs:
    - contextPath: PiHoleV6.Version
      description: Version information for all PiHole components.
      type: Unknown
    description: Get PiHole component versions.

  - name: pihole-get-system-info
    arguments: []
    outputs:
    - contextPath: PiHoleV6.SystemInfo
      description: System information (CPU, memory, disk, uptime, etc).
      type: Unknown
    description: Get system information from PiHole host.

  - name: pihole-get-ftl-info
    arguments: []
    outputs:
    - contextPath: PiHoleV6.FTLInfo
      description: FTL engine information.
      type: Unknown
    description: Get FTL (Faster Than Light) engine information.

  - name: pihole-get-host-info
    arguments: []
    outputs:
    - contextPath: PiHoleV6.HostInfo
      description: Host information.
      type: Unknown
    description: Get host information.

  - name: pihole-get-sensors
    arguments: []
    outputs:
    - contextPath: PiHoleV6.Sensors
      description: Sensor readings (temperature, etc).
      type: Unknown
    description: Get sensor information from PiHole host.

  # --- Actions ---
  - name: pihole-run-gravity
    arguments: []
    outputs:
    - contextPath: PiHoleV6.Gravity.output
      description: Gravity update output.
      type: String
    description: Update PiHole gravity (pull latest adlists).
    execution: true

  - name: pihole-restart-dns
    arguments: []
    outputs:
    - contextPath: PiHoleV6.RestartDNS
      description: Restart result.
      type: Unknown
    description: Restart the pihole-FTL DNS service.
    execution: true

  - name: pihole-flush-logs
    arguments: []
    outputs:
    - contextPath: PiHoleV6.FlushLogs
      description: Flush result.
      type: Unknown
    description: Flush DNS logs and purge last 24 hours from database.
    execution: true

  - name: pihole-flush-network
    arguments: []
    outputs:
    - contextPath: PiHoleV6.FlushNetwork
      description: Flush result.
      type: Unknown
    description: Flush the network table (remove all known devices and addresses).
    execution: true

  # --- Network ---
  - name: pihole-get-network-devices
    arguments: []
    outputs:
    - contextPath: PiHoleV6.NetworkDevices
      description: Network device information.
      type: Unknown
    description: Get network devices known to PiHole.

  - name: pihole-get-network-gateway
    arguments: []
    outputs:
    - contextPath: PiHoleV6.Gateway
      description: Gateway information.
      type: Unknown
    description: Get network gateway information.

  # --- Search ---
  - name: pihole-search-domain
    compliantpolicies:
    - User Soft Remediation
    arguments:
    - name: domain
      required: true
      description: Domain to search for.
    outputs:
    - contextPath: PiHoleV6.Search
      description: Search results showing where the domain appears in PiHole configuration.
      type: Unknown
    description: Search for a domain across all PiHole lists and configuration.

  # --- DHCP ---
  - name: pihole-get-dhcp-leases
    arguments: []
    outputs:
    - contextPath: PiHoleV6.DHCPLeases
      description: DHCP lease information.
      type: Unknown
    description: Get current DHCP leases.

  # --- Groups ---
  - name: pihole-get-groups
    arguments: []
    outputs:
    - contextPath: PiHoleV6.Groups
      description: Group information.
      type: Unknown
    description: Get all groups.

  - name: pihole-add-group
    arguments:
    - name: name
      required: true
      description: Group name.
    - name: comment
      description: Optional comment.
    outputs:
    - contextPath: PiHoleV6.Groups
      description: Created group details.
      type: Unknown
    description: Create a new group.

  - name: pihole-delete-group
    arguments:
    - name: name
      required: true
      description: Group name to delete.
    outputs: []
    description: Delete a group.

  # --- Lists (Adlists) ---
  - name: pihole-get-lists
    arguments: []
    outputs:
    - contextPath: PiHoleV6.Lists
      description: Adlist information.
      type: Unknown
    description: Get all configured adlists.

  - name: pihole-add-list
    arguments:
    - name: address
      required: true
      description: URL of the adlist to add.
    - name: comment
      description: Optional comment.
    - name: enabled
      description: Whether the list should be enabled.
      auto: PREDEFINED
      predefined:
      - "true"
      - "false"
      defaultValue: "true"
    outputs:
    - contextPath: PiHoleV6.Lists
      description: Added list details.
      type: Unknown
    description: Add a new adlist.

  - name: pihole-delete-list
    arguments:
    - name: address
      required: true
      description: URL of the adlist to delete.
    outputs: []
    description: Delete an adlist.

  dockerimage: demisto/python3:3.12.13.10116658
  runonce: false
  subtype: python3
tests:
- No Test
fromversion: 5.0.0