Networks, devices, and sensors · GraphQL query

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 security, signal, and link-rate details. A WlanInterface lists its current connections through connections and their history through connectionsSeen; find them across endpoints with graphSearch on the WLAN_INTERFACE_CONNECTION 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 WlanInterfaceConnectionPayload!

Arguments

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

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

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

Example

Query

query wlanInterfaceConnection(
  $id: ID!,
  $mockOptions: MockDataInput
) {
  wlanInterfaceConnection(
    id: $id,
    mockOptions: $mockOptions
  ) {
    node {
      id
      orgId
      seen {
        ...SeenOnlineFragment
      }
      objectType
      objectTypeLabel
      displayName
      firstSeen
      lastSeen
      createdAt
      updatedAt
      snapshotInfo {
        ...GraphObjectSnapshotInfoFragment
      }
      interfaceId
      ssid
      securityEnabled
      authAlgo
      cipherAlgo
      interfaceMode
      bssId
      physicalType
      rssiDbm
      noiseDbm
      channelNumber
      channelWidth
      channelBand
      rxRateBitsPerSecond
      txRateBitsPerSecond
      accessPoint {
        ...WlanAccessPointFragment
      }
      wlanInterface {
        ...WlanInterfaceFragment
      }
      networks {
        ...NetworkConnectionFragment
      }
      networksSeenConnectedTo {
        ...NetworkConnectionFragment
      }
      findings {
        ...FindingsPayloadFragment
      }
      issues {
        ...IssuesPayloadFragment
      }
      issuesSummary {
        ...IssuesSummaryFragment
      }
    }
  }
}

Variables

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

Response

{
  "data": {
    "wlanInterfaceConnection": {
      "node": WlanInterfaceConnection
    }
  }
}

Related operations

  • 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.