Networks, devices, and sensors · GraphQL query

wlanInterface query

Retrieves a WlanInterface by its graph object id: a Wi-Fi adapter on a Windows, macOS, or Linux endpoint, with its radio and connection state. An Endpoint lists its current adapters through wlanInterfaces and their history through wlanInterfacesSeen; the adapter lists its connections and the WlanNetwork objects it can see. Find them across endpoints with graphSearch on the WLAN_INTERFACE object type. Returns a not-found error when no object has the id, and an error when the id belongs to another object type.

Response

Returns a WlanInterfacePayload!

Arguments

Name Description
id - ID! The WlanInterface identifier.
mockOptions - MockDataInput

Options for mock data generation. Options supported: key: "PLATFORM", value: OsPlatform

example: "mockOptions": { "options": [ { "key": "PLATFORM", "value": "WINDOWS" } ] }

Example

Query

query wlanInterface(
  $id: ID!,
  $mockOptions: MockDataInput
) {
  wlanInterface(
    id: $id,
    mockOptions: $mockOptions
  ) {
    node {
      id
      orgId
      seen {
        ...SeenOnlineFragment
      }
      objectType
      objectTypeLabel
      displayName
      firstSeen
      lastSeen
      createdAt
      updatedAt
      snapshotInfo {
        ...GraphObjectSnapshotInfoFragment
      }
      endpoint {
        ...EndpointFragment
      }
      interface {
        ...InterfaceFragment
      }
      interfaceId
      description
      mac
      connectionState
      radioState
      connections {
        ...WlanInterfaceConnectionConnectionFragment
      }
      connectionsSeen {
        ...WlanInterfaceConnectionConnectionFragment
      }
      availableNetworks {
        ...WlanNetworkConnectionFragment
      }
      findings {
        ...FindingsPayloadFragment
      }
      issues {
        ...IssuesPayloadFragment
      }
      issuesSummary {
        ...IssuesSummaryFragment
      }
    }
  }
}

Variables

{
  "id": "4",
  "mockOptions": MockDataInput
}

Response

{"data": {"wlanInterface": {"node": WlanInterface}}}

Related operations

  • wlanInterfaceConnection query: Retrieves a WlanInterfaceConnection by its graph object id: an endpoint Wi-Fi adapter's association with one network and access point, with its…