Skip to content

Instantly share code, notes, and snippets.

@oatsandsugar
Created May 30, 2019 01:59
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save oatsandsugar/f6a328e31c6b7db0eb2a13ed4c0a04c1 to your computer and use it in GitHub Desktop.
Save oatsandsugar/f6a328e31c6b7db0eb2a13ed4c0a04c1 to your computer and use it in GitHub Desktop.
wireless_ontology = Ontology(
"Declassified Wireless Carrier Data",
"This is for the purpose of cleaning and delivering safe data as a product.",
[
OntologyNode(
"Sensitive Data",
"This is data NOT to be distributed to 3rd parties.",
[
OntologyNode(
"Subscriber",
None,
[
OntologyNode("Full Name"),
OntologyNode("First Name"),
OntologyNode("Family Name"),
OntologyNode("Subscriber Company"),
OntologyNode("Account Identifier"),
OntologyNode(
"Address",
None,
[
OntologyNode("Subscriber Street"),
OntologyNode("Subscriber City"),
OntologyNode("Subscriber Zip"),
],
),
OntologyNode("Subscriber Phone Number"),
OntologyNode("Subscriber Email"),
],
),
OntologyNode(
"Sensitive Device Data",
None,
[
OntologyNode(
"Sensitive Device Identifier",
None,
[OntologyNode("Mac Address"),
OntologyNode("IMEI")],
),
OntologyNode(
"Sensitive Device Telemetry",
None,
[
OntologyNode(
"Sensitive Geospatial",
None,
[
OntologyNode("Latitude"),
OntologyNode("Longitude"),
OntologyNode("Altitude"),
OntologyNode("Geo Hash"),
],
),
OntologyNode("IP Address"),
OntologyNode("Mobile Network Code", "MNC"),
],
),
],
),
OntologyNode(
"Commercially Sensitive Information",
"Information that providers or manufacturers may not want released",
[
OntologyNode("Network Provider"),
OntologyNode("Manufacturer"),
OntologyNode("Device ID"),
OntologyNode("OS"),
OntologyNode("Device Model"),
],
),
],
),
OntologyNode(
"Data to Distribute",
"Wireless carrier data that is not sensitive and can be used for public consumption",
[
OntologyNode(
"Device Data",
None,
[
OntologyNode(
"Screen Resolution",
None,
[
OntologyNode("Screen Resolution Width"),
OntologyNode("Screen Resolution Height"),
],
),
OntologyNode("Device Memory"),
OntologyNode("Device Storage"),
OntologyNode("Device Language"),
],
),
OntologyNode(
"Device Telemetry",
None,
[
OntologyNode(
"Device Hardware Performance",
None,
[
OntologyNode("Device System Uptime"),
OntologyNode("Device Used Storage"),
OntologyNode("Device Unused Storage"),
OntologyNode("Device Used Memory"),
OntologyNode("Device Unused Memory"),
OntologyNode("Device CPU Usage"),
OntologyNode("Device Battery Usage"),
OntologyNode("Device Battery State"),
],
),
OntologyNode(
"Device Geospatial Data",
None,
[
OntologyNode(
"Device Horizontal Accuracy",
"Device Horizontal GPS Accuracy",
),
OntologyNode(
"Device Vertical Accuracy",
"Device Vertical GPS Accuracy",
),
OntologyNode("Device Velocity Speed"),
OntologyNode("Device Velocity Bearing"),
OntologyNode("Session State or Territory"),
OntologyNode("Session Country"),
],
),
],
),
OntologyNode(
"Network Telemetry",
None,
[
OntologyNode(
"Session Information",
None,
[
OntologyNode("Session Connection Type"),
OntologyNode("Session Connection Technology"),
OntologyNode(
"Session Time",
None,
[
OntologyNode("Session Start"),
OntologyNode("Session End"),
OntologyNode("Session Timezone"),
OntologyNode("QoS Timestamp"),
],
),
OntologyNode(
"Session Delta Transmitted Bytes",
"Delta from last session",
),
OntologyNode(
"Session Delta Received Bytes",
"Delta from last session",
),
],
),
OntologyNode(
"Mobile Network",
None,
[
OntologyNode("Mobile Connection Generation"),
OntologyNode("Mobile Channel"),
OntologyNode("Mobile Country Code", "MCC"),
OntologyNode("Base Station Identity Code", "BSIC"),
OntologyNode(
"Physical Cell Identifier", "PCI, LTE Only"
),
OntologyNode(
"Reference Signal Received Power", "RSRP, LTE Only"
),
OntologyNode(
"Reference Signal Received Quality",
"RSRQ, LTE Only",
),
OntologyNode(
"Reference Signal Signal to Noise Ratio",
"RSSNR, LTE Only",
),
OntologyNode("Channel Quality Indicator", "CQI"),
OntologyNode("Timing Advance", "TA - high is far"),
],
),
OntologyNode(
"WiFi Network",
None,
[
OntologyNode("SSID"),
OntologyNode("WiFi Channel"),
OntologyNode("WiFi Encryption"),
OntologyNode("Modulation and Coding Scheme", "MCS"),
OntologyNode("BSSID"),
OntologyNode("Wifi Frequency"),
],
),
OntologyNode(
"Quality of Service",
None,
[
OntologyNode("Upload Throughput"),
OntologyNode("Download Throughput"),
OntologyNode("Latency Average"),
OntologyNode("Link Speed"),
OntologyNode("Signal Strength"),
OntologyNode("Jitter", "Variance of latency"),
OntologyNode("Packet Loss", "Lost Percentage"),
],
),
],
),
],
),
],
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment