xbase-util 0.1.2__tar.gz → 0.1.3__tar.gz
Sign up to get free protection for your applications and to get access to all the features.
- {xbase_util-0.1.2 → xbase_util-0.1.3}/PKG-INFO +1 -1
- {xbase_util-0.1.2 → xbase_util-0.1.3}/setup.py +1 -1
- {xbase_util-0.1.2 → xbase_util-0.1.3}/xbase_util/xbase_util.py +3 -3
- {xbase_util-0.1.2 → xbase_util-0.1.3}/xbase_util.egg-info/PKG-INFO +1 -1
- {xbase_util-0.1.2 → xbase_util-0.1.3}/README.md +0 -0
- {xbase_util-0.1.2 → xbase_util-0.1.3}/setup.cfg +0 -0
- {xbase_util-0.1.2 → xbase_util-0.1.3}/xbase_util/__init__.py +0 -0
- {xbase_util-0.1.2 → xbase_util-0.1.3}/xbase_util/es_db_util.py +0 -0
- {xbase_util-0.1.2 → xbase_util-0.1.3}/xbase_util/esreq.py +0 -0
- {xbase_util-0.1.2 → xbase_util-0.1.3}/xbase_util/geo_util.py +0 -0
- {xbase_util-0.1.2 → xbase_util-0.1.3}/xbase_util/handle_features_util.py +0 -0
- {xbase_util-0.1.2 → xbase_util-0.1.3}/xbase_util/pcap_util.py +0 -0
- {xbase_util-0.1.2 → xbase_util-0.1.3}/xbase_util/xbase_constant.py +0 -0
- {xbase_util-0.1.2 → xbase_util-0.1.3}/xbase_util.egg-info/SOURCES.txt +0 -0
- {xbase_util-0.1.2 → xbase_util-0.1.3}/xbase_util.egg-info/dependency_links.txt +0 -0
- {xbase_util-0.1.2 → xbase_util-0.1.3}/xbase_util.egg-info/not-zip-safe +0 -0
- {xbase_util-0.1.2 → xbase_util-0.1.3}/xbase_util.egg-info/top_level.txt +0 -0
- {xbase_util-0.1.2 → xbase_util-0.1.3}/xbase_util_assets/GeoLite2-City.mmdb +0 -0
- {xbase_util-0.1.2 → xbase_util-0.1.3}/xbase_util_assets/arkimeparse.js +0 -0
@@ -230,7 +230,7 @@ def get_dns_domain(packets):
|
|
230
230
|
return domain_name
|
231
231
|
|
232
232
|
|
233
|
-
def extract_session_fields(
|
233
|
+
def extract_session_fields(origin_list, geoUtil):
|
234
234
|
res = []
|
235
235
|
for item in origin_list:
|
236
236
|
_source = item.get("_source", {})
|
@@ -243,8 +243,8 @@ def extract_session_fields(cls, origin_list, geoUtil):
|
|
243
243
|
uri = http.get('uri', [])
|
244
244
|
uri_length = [len(u) for u in uri]
|
245
245
|
uri_depth = [get_uri_depth(u) for u in uri]
|
246
|
-
uri_filename_length = [
|
247
|
-
uri_params = [
|
246
|
+
uri_filename_length = [get_uri_filename_length(u) for u in uri]
|
247
|
+
uri_params = [get_url_param_count(u) for u in uri]
|
248
248
|
res.append(geoUtil.get_geo_by_ip({
|
249
249
|
"id": item["_id"],
|
250
250
|
"node": _source.get("node", ""),
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|