From 63b299e03e0749dfa271535cc9d9533e482c73709f250eb9a61721b42b36187a Mon Sep 17 00:00:00 2001 From: Sebastian Wagner Date: Fri, 20 Aug 2021 19:48:49 +0000 Subject: [PATCH] - update to version 2.5.4: - Enhancements: - Removed strict checking on tracker type to permit querying by arbitrary tracker types. Updated list of common trackers. Added searchType param to docs to reflect API's capability of returning either hostnames or addresses. - New methods to search trackers in the `analyzer` module, including `tracker_references` property on `Hostname` and `IPAddress` objects to find other sites referencing the focus host in their tracker values. - New `analyzer.Tracker` top-level entity with `observations_by_ip` and `observations_by_hostname` properties to find other hosts with the same tracker type and value. - New `filter_fn` method on all RecordList objects enables filtering a list by an arbitrary function. Helps reduce code duplication and enables more advanced filtering. - Monitoring API endpoint support in the core library, and new `alerts` property on project artifacts to easily retrieve the list of new alerts for an artifact in a project. Handles pagination automatically and returns results in new analyzer objects to enable standard filtering and data representation (i.e. `as_dict` and `as_df`). - Small change to the `get_object` method to tolerate passing it objects that are already `analyzer.Hostname` or `analyzer.IPAddress` objects. - New `is_ip` and `is_hostname` methods on both `Hostname` and `IPAddress` objects to simplify code that operates against a list of hosts that may include objects of both types. - New methods on Tracker search results and Hostpair results to exclude records with hostnames, domains or tlds in a given list. This helps refine results to focus on "foreign" sites and enables direct application of proven phishing site detection use cases. - Bug Fixes: - Fixed incorrect constant reference in trackers API (by removing strict checking on tracker type). - Fixed broken `age` property on Articles that was also causing `as_df` and `as_dict` to fail. Likely caused by missing time zone info in dates returned from the API. OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-passivetotal?expand=0&rev=21 --- passivetotal-2.5.3.tar.gz | 3 --- passivetotal-2.5.4.tar.gz | 3 +++ python-passivetotal.changes | 32 ++++++++++++++++++++++++++++++++ python-passivetotal.spec | 2 +- 4 files changed, 36 insertions(+), 4 deletions(-) delete mode 100644 passivetotal-2.5.3.tar.gz create mode 100644 passivetotal-2.5.4.tar.gz diff --git a/passivetotal-2.5.3.tar.gz b/passivetotal-2.5.3.tar.gz deleted file mode 100644 index 7f442e4..0000000 --- a/passivetotal-2.5.3.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:cb64b136aba3ddddd2da77d6b41d1b063d01ecb577bbbf00e620960fde6eff23 -size 82341 diff --git a/passivetotal-2.5.4.tar.gz b/passivetotal-2.5.4.tar.gz new file mode 100644 index 0000000..5231399 --- /dev/null +++ b/passivetotal-2.5.4.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:7896269acfcddb5ee649a06878b1e237ae771ab2063ebdaca3bf46f60e333a3c +size 97273 diff --git a/python-passivetotal.changes b/python-passivetotal.changes index b585a8a..64f04f0 100644 --- a/python-passivetotal.changes +++ b/python-passivetotal.changes @@ -1,3 +1,35 @@ +------------------------------------------------------------------- +Fri Aug 20 19:48:31 UTC 2021 - Sebastian Wagner + +- update to version 2.5.4: + - Enhancements: + - Removed strict checking on tracker type to permit querying by arbitrary tracker types. Updated list + of common trackers. Added searchType param to docs to reflect API's capability of returning either + hostnames or addresses. + - New methods to search trackers in the `analyzer` module, including `tracker_references` property on + `Hostname` and `IPAddress` objects to find other sites referencing the focus host in their tracker + values. + - New `analyzer.Tracker` top-level entity with `observations_by_ip` and `observations_by_hostname` + properties to find other hosts with the same tracker type and value. + - New `filter_fn` method on all RecordList objects enables filtering a list by an arbitrary function. + Helps reduce code duplication and enables more advanced filtering. + - Monitoring API endpoint support in the core library, and new `alerts` property on + project artifacts to easily retrieve the list of new alerts for an artifact in a project. + Handles pagination automatically and returns results in new analyzer objects to enable + standard filtering and data representation (i.e. `as_dict` and `as_df`). + - Small change to the `get_object` method to tolerate passing it objects that are already + `analyzer.Hostname` or `analyzer.IPAddress` objects. + - New `is_ip` and `is_hostname` methods on both `Hostname` and `IPAddress` objects to simplify + code that operates against a list of hosts that may include objects of both types. + - New methods on Tracker search results and Hostpair results to exclude records with hostnames, + domains or tlds in a given list. This helps refine results to focus on "foreign" sites and enables direct + application of proven phishing site detection use cases. + - Bug Fixes: + - Fixed incorrect constant reference in trackers API (by removing strict checking on + tracker type). + - Fixed broken `age` property on Articles that was also causing `as_df` and `as_dict` to fail. + Likely caused by missing time zone info in dates returned from the API. + ------------------------------------------------------------------- Wed Jul 28 10:11:21 UTC 2021 - Sebastian Wagner diff --git a/python-passivetotal.spec b/python-passivetotal.spec index ed35ccd..16819d0 100644 --- a/python-passivetotal.spec +++ b/python-passivetotal.spec @@ -19,7 +19,7 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} %bcond_without test Name: python-passivetotal -Version: 2.5.3 +Version: 2.5.4 Release: 0 Summary: Client for the PassiveTotal REST API License: GPL-2.0-only