Network Interfaces
Methods described in this section relate to the the network_interfaces API.
These methods can be accessed at TenableOT.network_interfaces
.
-
class
NetworkInterfacesAPI
(api)[source]
-
connections
(id)[source]
Returns the connections for a given network interface.
- Parameters
id (str) – The unique idenifier for the network interface.
- Returns
The list of connections associated to the network interface.
- Return type
list
Example
>>> ot.network_interfaces.connections(id)
-
details
(id)[source]
Retreives the details for the specified network interface
- Parameters
id (str) – The unique identifier.
- Returns
The network interface resource record.
- Return type
dict
Example
>>> ot.network_interfaces.details(id)