Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement event generator script to populate agents index #219

Merged
merged 8 commits into from
Jan 17, 2025

Conversation

QU3B1M
Copy link
Member

@QU3B1M QU3B1M commented Jan 16, 2025

Description

Implement populate-agents-index.sh bash utility to generate and inject events for the .agents index, and update the command-manager build.gradle to execute this tool at ./gradlew run in order to prepare our development environment.

Issues Resolved

Resolves #218

@QU3B1M QU3B1M self-assigned this Jan 16, 2025
@QU3B1M QU3B1M marked this pull request as ready for review January 16, 2025 13:35
@QU3B1M
Copy link
Member Author

QU3B1M commented Jan 16, 2025

Documents injected at command-manager run

 command-manager % ./gradlew run     
=======================================
OpenSearch Build Hamster says Hello!
  Gradle Version        : 8.10
  OS Info               : Mac OS X 15.2 (aarch64)
  JDK Version           : 21 (Amazon Corretto JDK)
  JAVA_HOME             : /Users/quebim_wz/Library/Java/JavaVirtualMachines/corretto-21.0.4/Contents/Home
  Random Testing Seed   : 9EEC170F11B6A873
  In FIPS 140 mode      : false
=======================================

> Task :run
...
[2025-01-16T12:01:45,050][DEBUG][o.o.c.c.Coordinator      ] [integTest-0] handlePublishRequest: handling version [8] from [{integTest-0}{LyHJ9YneQ3mCeUEqQu8iuA}{TaabK_dCShyWJDRHVmHaZg}{127.0.0.1}{127.0.0.1:9300}{dimr}{testattr=test, shard_indexing_pressure_enabled=true}]
[2025-01-16T12:01:45,069][DEBUG][o.o.c.c.C.CoordinatorPublication] [integTest-0] publication ended successfully: Publication{term=1, version=8}
<===========--> 88% EXECUTING [17s]
> :run
% curl http://127.0.0.1:9200/.agents/_search
{"took":3,"timed_out":false,"_shards":{"total":1,"successful":1,"skipped":0,"failed":0},"hits":{"total":{"value":10,"relation":"eq"},"max_score":1.0,"hits":[{"_index":".agents","_id":"81Gib5QBkEJ-HalLcxq2","_score":1.0,"_source":{
  "agent": {
    "id": "agent40",
    "name": "Agent38",
    "type": "windows",
    "version": "v0-stable",
    "status": "active",
    "last_login": "2025-01-16T12:53:00.3NZ",
    "groups": ["group004","group005","group001","group004","group002"],
    "key": "key787",
    "host": {
    "architecture": "arm64",
    "boot": {"id": "boot786"},
    "cpu": {"usage": 0},
    "disk": {"read": {"bytes": 32490}, "write": {"bytes": 19589}},
    "domain": "domain17",
    "geo": {
      "city_name": "Tokyo",
      "continent_code": "NA",
      "continent_name": "Europe",
      "country_iso_code": "US",
      "country_name": "Germany",
      "location": {"lat": -90, "lon": -179.999840},
      "name": "geo217",
      "postal_code": "16885",
      "region_iso_code": "region62",
      "region_name": "Region 212",
      "timezone": "JST"
    },
    "hostname": "host169",
    "id": "hostid3660",
    "ip": "254.169.244.69",
    "mac": "51:07:92:71:4e:ca",
    "name": "hostname5377",
    "network": {"egress": {"bytes": 18585, "packets": 25583}, "ingress": {"bytes": 1387, "packets": 26375}},
    "os": {"family": "macos", "full": "macos 82.62", "kernel": "kernel802", "name": "macos", "platform": "windows", "type": "macos", "version": "82.62"},
    "pid_ns_ino": "1023238",
    "risk": {"calculated_level": "medium", "calculated_score": 0, "calculated_score_norm": 0, "static_level": "high", "static_score": 0, "static_score_norm": 0},
    "uptime": 3839
  }
  }
}},{"_index":".agents","_id":"9FGib5QBkEJ-HalLdBou","_score":1.0,"_source":{
  "agent": {
    "id": "agent51",
    "name": "Agent87",
    "type": "linux",
    "version": "v2-stable",
    "status": "active",
    "last_login": "2025-01-16T14:36:30.3NZ",
    "groups": ["group001","group004","group003","group000","group004"],
    "key": "key799",
    "host": {
    "architecture": "arm64",
    "boot": {"id": "boot6257"},
    "cpu": {"usage": 0},
    "disk": {"read": {"bytes": 24178}, "write": {"bytes": 17719}},
    "domain": "domain856",
    "geo": {
      "city_name": "San Francisco",
      "continent_code": "AS",
      "continent_name": "Europe",
      "country_iso_code": "US",
      "country_name": "Japan",
      "location": {"lat": -89.999900, "lon": -179.999720},
      "name": "geo109",
      "postal_code": "18759",
      "region_iso_code": "region96",
      "region_name": "Region 723",
      "timezone": "JST"
    },
    "hostname": "host4496",
    "id": "hostid6218",
    "ip": "150.145.235.56",
    "mac": "68:4a:73:8e:36:cc",
    "name": "hostname618",
    "network": {"egress": {"bytes": 3924, "packets": 8161}, "ingress": {"bytes": 18879, "packets": 6192}},
    "os": {"family": "RHEL", "full": "RHEL 27.57", "kernel": "kernel280", "name": "RHEL", "platform": "linux", "type": "RHEL", "version": "27.57"},
    "pid_ns_ino": "1016102",
    "risk": {"calculated_level": "high", "calculated_score": 0, "calculated_score_norm": 0, "static_level": "medium", "static_score": 0, "static_score_norm": 0},
    "uptime": 8481
  }
  }
}},{"_index":".agents","_id":"9VGib5QBkEJ-HalLdBpl","_score":1.0,"_source":{
  "agent": {
    "id": "agent9",
    "name": "Agent69",
    "type": "windows",
    "version": "v9-stable",
    "status": "active",
    "last_login": "2025-01-16T12:33:32.3NZ",
    "groups": ["group001","group001","group004","group001","group003"],
    "key": "key213",
    "host": {
    "architecture": "x86_64",
    "boot": {"id": "boot5540"},
    "cpu": {"usage": 0},
    "disk": {"read": {"bytes": 30588}, "write": {"bytes": 16300}},
    "domain": "domain265",
    "geo": {
      "city_name": "Berlin",
      "continent_code": "NA",
      "continent_name": "North America",
      "country_iso_code": "DE",
      "country_name": "Germany",
      "location": {"lat": -89.999900, "lon": -179.999960},
      "name": "geo321",
      "postal_code": "34482",
      "region_iso_code": "region359",
      "region_name": "Region 384",
      "timezone": "JST"
    },
    "hostname": "host7380",
    "id": "hostid8329",
    "ip": "218.218.245.244",
    "mac": "bd:89:cc:2f:75:65",
    "name": "hostname1555",
    "network": {"egress": {"bytes": 6302, "packets": 25531}, "ingress": {"bytes": 1011, "packets": 4511}},
    "os": {"family": "android", "full": "android 80.55", "kernel": "kernel677", "name": "android", "platform": "linux", "type": "android", "version": "80.55"},
    "pid_ns_ino": "1021150",
    "risk": {"calculated_level": "medium", "calculated_score": 0, "calculated_score_norm": 0, "static_level": "high", "static_score": 0, "static_score_norm": 0},
    "uptime": 9638
  }
  }
}},{"_index":".agents","_id":"9lGib5QBkEJ-HalLdBqd","_score":1.0,"_source":{
  "agent": {
    "id": "agent76",
    "name": "Agent81",
    "type": "linux",
    "version": "v6-stable",
    "status": "inactive",
    "last_login": "2025-01-16T09:31:18.3NZ",
    "groups": ["group002"],
    "key": "key66",
    "host": {
    "architecture": "arm64",
    "boot": {"id": "boot6633"},
    "cpu": {"usage": 0},
    "disk": {"read": {"bytes": 31094}, "write": {"bytes": 16222}},
    "domain": "domain675",
    "geo": {
      "city_name": "Berlin",
      "continent_code": "EU",
      "continent_name": "North America",
      "country_iso_code": "JP",
      "country_name": "Japan",
      "location": {"lat": -89.999860, "lon": -179.999840},
      "name": "geo797",
      "postal_code": "12644",
      "region_iso_code": "region65",
      "region_name": "Region 660",
      "timezone": "CET"
    },
    "hostname": "host2421",
    "id": "hostid9021",
    "ip": "98.11.189.58",
    "mac": "81:d6:c3:d9:72:e4",
    "name": "hostname9686",
    "network": {"egress": {"bytes": 31563, "packets": 31080}, "ingress": {"bytes": 27133, "packets": 18668}},
    "os": {"family": "RHEL", "full": "RHEL 52.22", "kernel": "kernel653", "name": "RHEL", "platform": "windows", "type": "RHEL", "version": "52.22"},
    "pid_ns_ino": "1001647",
    "risk": {"calculated_level": "high", "calculated_score": 0, "calculated_score_norm": 0, "static_level": "high", "static_score": 0, "static_score_norm": 0},
    "uptime": 1406
  }
  }
}},{"_index":".agents","_id":"91Gib5QBkEJ-HalLdBrU","_score":1.0,"_source":{
  "agent": {
    "id": "agent81",
    "name": "Agent98",
    "type": "linux",
    "version": "v5-stable",
    "status": "active",
    "last_login": "2025-01-16T09:40:36.3NZ",
    "groups": ["group002","group002","group001","group004","group002"],
    "key": "key244",
    "host": {
    "architecture": "x86_64",
    "boot": {"id": "boot2377"},
    "cpu": {"usage": 0},
    "disk": {"read": {"bytes": 16699}, "write": {"bytes": 22408}},
    "domain": "domain726",
    "geo": {
      "city_name": "Berlin",
      "continent_code": "AS",
      "continent_name": "North America",
      "country_iso_code": "DE",
      "country_name": "Japan",
      "location": {"lat": -89.999980, "lon": -179.999680},
      "name": "geo696",
      "postal_code": "28885",
      "region_iso_code": "region442",
      "region_name": "Region 36",
      "timezone": "EST"
    },
    "hostname": "host1801",
    "id": "hostid2611",
    "ip": "150.201.97.202",
    "mac": "ab:ad:46:0b:62:d5",
    "name": "hostname3826",
    "network": {"egress": {"bytes": 11380, "packets": 18370}, "ingress": {"bytes": 3440, "packets": 20818}},
    "os": {"family": "ubuntu", "full": "ubuntu 88.47", "kernel": "kernel38", "name": "ubuntu", "platform": "macos", "type": "ubuntu", "version": "88.47"},
    "pid_ns_ino": "1004720",
    "risk": {"calculated_level": "high", "calculated_score": 0, "calculated_score_norm": 0, "static_level": "medium", "static_score": 0, "static_score_norm": 0},
    "uptime": 23836
  }
  }
}},{"_index":".agents","_id":"-FGib5QBkEJ-HalLdRoP","_score":1.0,"_source":{
  "agent": {
    "id": "agent29",
    "name": "Agent11",
    "type": "windows",
    "version": "v6-stable",
    "status": "inactive",
    "last_login": "2025-01-16T14:44:21.3NZ",
    "groups": ["group000","group000","group002"],
    "key": "key523",
    "host": {
    "architecture": "x86_64",
    "boot": {"id": "boot8294"},
    "cpu": {"usage": 0},
    "disk": {"read": {"bytes": 6244}, "write": {"bytes": 26941}},
    "domain": "domain960",
    "geo": {
      "city_name": "Tokyo",
      "continent_code": "EU",
      "continent_name": "Europe",
      "country_iso_code": "JP",
      "country_name": "United States",
      "location": {"lat": -89.999940, "lon": -179.999920},
      "name": "geo224",
      "postal_code": "32851",
      "region_iso_code": "region366",
      "region_name": "Region 849",
      "timezone": "JST"
    },
    "hostname": "host4703",
    "id": "hostid4740",
    "ip": "182.191.177.54",
    "mac": "38:a6:8d:17:ce:6b",
    "name": "hostname6794",
    "network": {"egress": {"bytes": 10574, "packets": 17696}, "ingress": {"bytes": 19600, "packets": 23776}},
    "os": {"family": "ubuntu", "full": "ubuntu 59.8", "kernel": "kernel107", "name": "ubuntu", "platform": "macos", "type": "ubuntu", "version": "59.8"},
    "pid_ns_ino": "1011223",
    "risk": {"calculated_level": "low", "calculated_score": 0, "calculated_score_norm": 0, "static_level": "medium", "static_score": 0, "static_score_norm": 0},
    "uptime": 29242
  }
  }
}},{"_index":".agents","_id":"-VGib5QBkEJ-HalLdRpE","_score":1.0,"_source":{
  "agent": {
    "id": "agent21",
    "name": "Agent63",
    "type": "windows",
    "version": "v6-stable",
    "status": "active",
    "last_login": "2025-01-16T13:46:12.3NZ",
    "groups": ["group001","group004","group003","group002"],
    "key": "key204",
    "host": {
    "architecture": "arm64",
    "boot": {"id": "boot462"},
    "cpu": {"usage": 0},
    "disk": {"read": {"bytes": 19469}, "write": {"bytes": 21775}},
    "domain": "domain688",
    "geo": {
      "city_name": "Tokyo",
      "continent_code": "EU",
      "continent_name": "North America",
      "country_iso_code": "DE",
      "country_name": "United States",
      "location": {"lat": -89.999880, "lon": -179.999680},
      "name": "geo344",
      "postal_code": "18951",
      "region_iso_code": "region182",
      "region_name": "Region 105",
      "timezone": "CET"
    },
    "hostname": "host8835",
    "id": "hostid9563",
    "ip": "135.159.229.201",
    "mac": "4e:76:0c:1b:3a:06",
    "name": "hostname1974",
    "network": {"egress": {"bytes": 21902, "packets": 11142}, "ingress": {"bytes": 8503, "packets": 9956}},
    "os": {"family": "android", "full": "android 58.3", "kernel": "kernel35", "name": "android", "platform": "macos", "type": "android", "version": "58.3"},
    "pid_ns_ino": "1003344",
    "risk": {"calculated_level": "high", "calculated_score": 0, "calculated_score_norm": 0, "static_level": "low", "static_score": 0, "static_score_norm": 0},
    "uptime": 19111
  }
  }
}},{"_index":".agents","_id":"-lGib5QBkEJ-HalLdRp3","_score":1.0,"_source":{
  "agent": {
    "id": "agent52",
    "name": "Agent77",
    "type": "windows",
    "version": "v9-stable",
    "status": "inactive",
    "last_login": "2025-01-16T09:29:09.3NZ",
    "groups": ["group001","group002","group005","group000"],
    "key": "key36",
    "host": {
    "architecture": "arm64",
    "boot": {"id": "boot7266"},
    "cpu": {"usage": 0},
    "disk": {"read": {"bytes": 14823}, "write": {"bytes": 17355}},
    "domain": "domain635",
    "geo": {
      "city_name": "New York",
      "continent_code": "NA",
      "continent_name": "Asia",
      "country_iso_code": "DE",
      "country_name": "United States",
      "location": {"lat": -89.999940, "lon": -179.999720},
      "name": "geo6",
      "postal_code": "29283",
      "region_iso_code": "region580",
      "region_name": "Region 622",
      "timezone": "EST"
    },
    "hostname": "host336",
    "id": "hostid3025",
    "ip": "216.43.26.207",
    "mac": "5f:20:62:90:62:11",
    "name": "hostname7665",
    "network": {"egress": {"bytes": 21790, "packets": 8427}, "ingress": {"bytes": 13981, "packets": 2123}},
    "os": {"family": "ubuntu", "full": "ubuntu 93.99", "kernel": "kernel14", "name": "ubuntu", "platform": "linux", "type": "ubuntu", "version": "93.99"},
    "pid_ns_ino": "1027232",
    "risk": {"calculated_level": "high", "calculated_score": 0, "calculated_score_norm": 0, "static_level": "low", "static_score": 0, "static_score_norm": 0},
    "uptime": 15868
  }
  }
}},{"_index":".agents","_id":"-1Gib5QBkEJ-HalLdRqy","_score":1.0,"_source":{
  "agent": {
    "id": "agent93",
    "name": "Agent35",
    "type": "macos",
    "version": "v9-stable",
    "status": "active",
    "last_login": "2025-01-16T07:49:48.3NZ",
    "groups": ["group002"],
    "key": "key540",
    "host": {
    "architecture": "arm64",
    "boot": {"id": "boot5588"},
    "cpu": {"usage": 0},
    "disk": {"read": {"bytes": 26970}, "write": {"bytes": 27011}},
    "domain": "domain301",
    "geo": {
      "city_name": "New York",
      "continent_code": "EU",
      "continent_name": "North America",
      "country_iso_code": "US",
      "country_name": "Japan",
      "location": {"lat": -89.999920, "lon": -179.999680},
      "name": "geo264",
      "postal_code": "24750",
      "region_iso_code": "region14",
      "region_name": "Region 109",
      "timezone": "EST"
    },
    "hostname": "host6257",
    "id": "hostid1109",
    "ip": "191.142.221.107",
    "mac": "cf:ac:d3:46:24:48",
    "name": "hostname7675",
    "network": {"egress": {"bytes": 28940, "packets": 2656}, "ingress": {"bytes": 13619, "packets": 6994}},
    "os": {"family": "android", "full": "android 58.43", "kernel": "kernel401", "name": "android", "platform": "linux", "type": "android", "version": "58.43"},
    "pid_ns_ino": "1021790",
    "risk": {"calculated_level": "high", "calculated_score": 0, "calculated_score_norm": 0, "static_level": "low", "static_score": 0, "static_score_norm": 0},
    "uptime": 19626
  }
  }
}},{"_index":".agents","_id":"_FGib5QBkEJ-HalLdRrs","_score":1.0,"_source":{
  "agent": {
    "id": "agent71",
    "name": "Agent94",
    "type": "linux",
    "version": "v9-stable",
    "status": "active",
    "last_login": "2025-01-16T06:06:26.3NZ",
    "groups": ["group004","group005"],
    "key": "key3",
    "host": {
    "architecture": "arm64",
    "boot": {"id": "boot1910"},
    "cpu": {"usage": 0},
    "disk": {"read": {"bytes": 28279}, "write": {"bytes": 26756}},
    "domain": "domain852",
    "geo": {
      "city_name": "Berlin",
      "continent_code": "EU",
      "continent_name": "North America",
      "country_iso_code": "DE",
      "country_name": "Germany",
      "location": {"lat": -89.999960, "lon": -179.999800},
      "name": "geo475",
      "postal_code": "19365",
      "region_iso_code": "region717",
      "region_name": "Region 530",
      "timezone": "PST"
    },
    "hostname": "host9641",
    "id": "hostid966",
    "ip": "134.119.64.161",
    "mac": "9b:e3:32:8e:30:da",
    "name": "hostname9753",
    "network": {"egress": {"bytes": 11942, "packets": 6945}, "ingress": {"bytes": 26314, "packets": 15107}},
    "os": {"family": "debian", "full": "debian 38.92", "kernel": "kernel394", "name": "debian", "platform": "macos", "type": "debian", "version": "38.92"},
    "pid_ns_ino": "1000780",
    "risk": {"calculated_level": "high", "calculated_score": 0, "calculated_score_norm": 0, "static_level": "medium", "static_score": 0, "static_score_norm": 0},
    "uptime": 23845
  }
  }
}}]}}

@QU3B1M
Copy link
Member Author

QU3B1M commented Jan 16, 2025

Generate and inject events to a cluster running the setup plugin

setup % ./gradlew run
=======================================
OpenSearch Build Hamster says Hello!
  Gradle Version        : 8.10
  OS Info               : Mac OS X 15.2 (aarch64)
  JDK Version           : 21 (Amazon Corretto JDK)
  JAVA_HOME             : /Users/quebim_wz/Library/Java/JavaVirtualMachines/corretto-21.0.4/Contents/Home
  Random Testing Seed   : 6012C49A31DA4F6D
  In FIPS 140 mode      : false
=======================================

> Task :run

<===========--> 88% EXECUTING [24s]
> :run
 % bash ./scripts/populate-agents-index.sh -n 3 
% curl http://127.0.0.1:9200/.agents/_search
{"took":31,"timed_out":false,"_shards":{"total":1,"successful":1,"skipped":0,"failed":0},"hits":{"total":{"value":3,"relation":"eq"},"max_score":1.0,"hits":[{"_index":".agents","_id":"6aClb5QB4vSH1w3fwAxy","_score":1.0,"_source":{
  "agent": {
    "id": "agent79",
    "name": "Agent52",
    "type": "windows",
    "version": "v3-stable",
    "status": "active",
    "last_login": "2025-01-16T13:57:35.3NZ",
    "groups": ["group002","group004","group002","group000"],
    "key": "key368",
    "host": {
    "architecture": "x86_64",
    "boot": {"id": "boot4576"},
    "cpu": {"usage": 0},
    "disk": {"read": {"bytes": 18777}, "write": {"bytes": 30723}},
    "domain": "domain139",
    "geo": {
      "city_name": "Tokyo",
      "continent_code": "NA",
      "continent_name": "North America",
      "country_iso_code": "JP",
      "country_name": "Germany",
      "location": {"lat": -89.999920, "lon": -179.999960},
      "name": "geo81",
      "postal_code": "20423",
      "region_iso_code": "region298",
      "region_name": "Region 759",
      "timezone": "CET"
    },
    "hostname": "host1575",
    "id": "hostid1555",
    "ip": "226.25.241.129",
    "mac": "6c:a5:9e:25:c7:4d",
    "name": "hostname4493",
    "network": {"egress": {"bytes": 10472, "packets": 28510}, "ingress": {"bytes": 3035, "packets": 18592}},
    "os": {"family": "android", "full": "android 17.89", "kernel": "kernel513", "name": "android", "platform": "macos", "type": "android", "version": "17.89"},
    "pid_ns_ino": "1010552",
    "risk": {"calculated_level": "high", "calculated_score": 0, "calculated_score_norm": 0, "static_level": "low", "static_score": 0, "static_score_norm": 0},
    "uptime": 8162
  }
  }
}},{"_index":".agents","_id":"6qClb5QB4vSH1w3fwAzI","_score":1.0,"_source":{
  "agent": {
    "id": "agent40",
    "name": "Agent41",
    "type": "linux",
    "version": "v8-stable",
    "status": "inactive",
    "last_login": "2025-01-16T09:56:54.3NZ",
    "groups": ["group001"],
    "key": "key182",
    "host": {
    "architecture": "x86_64",
    "boot": {"id": "boot32"},
    "cpu": {"usage": 0},
    "disk": {"read": {"bytes": 9732}, "write": {"bytes": 8809}},
    "domain": "domain48",
    "geo": {
      "city_name": "San Francisco",
      "continent_code": "AS",
      "continent_name": "Europe",
      "country_iso_code": "US",
      "country_name": "Germany",
      "location": {"lat": -89.999860, "lon": -179.999800},
      "name": "geo634",
      "postal_code": "35870",
      "region_iso_code": "region918",
      "region_name": "Region 373",
      "timezone": "PST"
    },
    "hostname": "host2834",
    "id": "hostid7850",
    "ip": "59.103.170.26",
    "mac": "b2:1f:53:d4:31:5d",
    "name": "hostname1392",
    "network": {"egress": {"bytes": 3718, "packets": 17953}, "ingress": {"bytes": 30803, "packets": 13303}},
    "os": {"family": "RHEL", "full": "RHEL 58.83", "kernel": "kernel407", "name": "RHEL", "platform": "linux", "type": "RHEL", "version": "58.83"},
    "pid_ns_ino": "1001937",
    "risk": {"calculated_level": "low", "calculated_score": 0, "calculated_score_norm": 0, "static_level": "high", "static_score": 0, "static_score_norm": 0},
    "uptime": 23495
  }
  }
}},{"_index":".agents","_id":"66Clb5QB4vSH1w3fwQwC","_score":1.0,"_source":{
  "agent": {
    "id": "agent45",
    "name": "Agent67",
    "type": "macos",
    "version": "v5-stable",
    "status": "active",
    "last_login": "2025-01-16T15:01:00.3NZ",
    "groups": ["group001","group000","group002"],
    "key": "key531",
    "host": {
    "architecture": "x86_64",
    "boot": {"id": "boot9512"},
    "cpu": {"usage": 0},
    "disk": {"read": {"bytes": 5944}, "write": {"bytes": 28992}},
    "domain": "domain528",
    "geo": {
      "city_name": "San Francisco",
      "continent_code": "AS",
      "continent_name": "Asia",
      "country_iso_code": "JP",
      "country_name": "United States",
      "location": {"lat": -89.999880, "lon": -179.999920},
      "name": "geo818",
      "postal_code": "42714",
      "region_iso_code": "region909",
      "region_name": "Region 258",
      "timezone": "JST"
    },
    "hostname": "host9718",
    "id": "hostid1964",
    "ip": "89.135.80.160",
    "mac": "2c:ec:a5:b0:9c:2d",
    "name": "hostname8791",
    "network": {"egress": {"bytes": 4015, "packets": 26697}, "ingress": {"bytes": 4745, "packets": 239}},
    "os": {"family": "ios", "full": "ios 40.41", "kernel": "kernel390", "name": "ios", "platform": "windows", "type": "ios", "version": "40.41"},
    "pid_ns_ino": "1016307",
    "risk": {"calculated_level": "high", "calculated_score": 0, "calculated_score_norm": 0, "static_level": "high", "static_score": 0, "static_score_norm": 0},
    "uptime": 24711
  }
  }
}}]}}

@AlexRuiz7 AlexRuiz7 merged commit 1d8e2c5 into master Jan 17, 2025
1 check passed
@AlexRuiz7 AlexRuiz7 deleted the enhancement/218-implement-agents-events-generation branch January 17, 2025 11:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Populate agents index for development
2 participants