Networks, devices, and sensors · GraphQL query

wlanNetwork query

Retrieves a WlanNetwork by its graph object id: a Wi-Fi network (SSID) seen by endpoint Wi-Fi scans, with its advertised security and flags for insecure algorithms. One exists per SSID in an organization, shared by every endpoint that sees it; its accessPoints field lists the WlanAccessPoint radios broadcasting it. Find them with graphSearch on the WLAN_NETWORK 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 WlanNetworkPayload!

Arguments

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

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

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

Example

Query

query wlanNetwork(
  $id: ID!,
  $mockOptions: MockDataInput
) {
  wlanNetwork(
    id: $id,
    mockOptions: $mockOptions
  ) {
    node {
      id
      orgId
      seen {
        ...SeenOnlineFragment
      }
      objectType
      objectTypeLabel
      displayName
      firstSeen
      lastSeen
      createdAt
      updatedAt
      snapshotInfo {
        ...GraphObjectSnapshotInfoFragment
      }
      ssid
      mode
      connectable
      rssiDbm
      noiseDbm
      securityEnabled
      authAlgos
      cipherAlgo
      accessPoints {
        ...WlanAccessPointConnectionFragment
      }
      insecureAuthAlgo
      insecureCipherAlgo
      wlanInterfaces {
        ...WlanInterfaceListFragment
      }
      findings {
        ...FindingsPayloadFragment
      }
      issues {
        ...IssuesPayloadFragment
      }
      issuesSummary {
        ...IssuesSummaryFragment
      }
    }
  }
}

Variables

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

Response

{"data": {"wlanNetwork": {"node": WlanNetwork}}}