The target field in a Command MUST contain exactly one type of Target (e.g., ipv4_net)

interface Target {
    artifact?: Artifact;
    command?: string;
    device?: Device;
    domain_name?: string;
    email_addr?: string;
    features?: Features[];
    file?: File;
    idn_domain_name?: string;
    idn_email_addr?: string;
    ipv4_connection?: IPv4Connection;
    ipv4_net?: string;
    ipv6_connection?: IPv6Connection;
    ipv6_net?: string;
    iri?: string;
    mac_addr?: string;
    process?: Process;
    properties?: string[];
    uri?: string;
    [namespace: `x-${string}`]: any;
}

Indexable

  • [namespace: `x-${string}`]: any

    Custom target formats

Properties

artifact?: Artifact

An array of bytes representing a file-like object or a link to that object

command?: string

A reference to a previously issued Command

device?: Device

The properties of a hardware device

domain_name?: string

A network domain name

email_addr?: string

A single email address

features?: Features[]

A set of items used with the query Action to determine an Actuator's capabilities An array of zero to ten names used to query an Actuator for its supported capabilities A Producer MUST NOT send a list containing more than one instance of any Feature. A Consumer receiving a list containing more than one instance of any Feature SHOULD behave as if the duplicate(s) were not present. A Producer MAY send a 'query' Command containing an empty list of features. A Producer could do this to determine if a Consumer is responding to Commands (a heartbeat command) or to generate idle traffic to keep a connection to a Consumer from being closed due to inactivity (a keep-alive command). An active Consumer could return an empty response to this command, minimizing the amount of traffic used to perform heartbeat / keep-alive functions.

file?: File

Properties of a file

idn_domain_name?: string

An internationalized domain name

idn_email_addr?: string

A single internationalized email address

ipv4_connection?: IPv4Connection

An IPv4 address range including CIDR prefix length

ipv4_net?: string

An IPv6 address range including prefix length

ipv6_connection?: IPv6Connection

A 5-tuple of source and destination IPv4 address ranges, source and destination ports, and protocol

ipv6_net?: string

An IPv6 address range including prefix length

iri?: string

An internationalized resource identifier (IRI)

mac_addr?: string

A Media Access Control (MAC) address - EUI-48 or EUI-64 as defined in [EUI]

process?: Process

Common properties of an instance of a computer program as executed on an operating system

properties?: string[]

Data attribute associated with an Actuator

uri?: string

A uniform resource identifier (URI)