Skip to content

Commit

Permalink
New commands and updates (#809)
Browse files Browse the repository at this point in the history
  • Loading branch information
bradchiappetta authored Jun 11, 2024
1 parent 3e37a54 commit 30bfc41
Show file tree
Hide file tree
Showing 17 changed files with 681 additions and 366 deletions.
27 changes: 25 additions & 2 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,33 @@ Changelog

Version `2.2.0`_
================
**Date**: April 04, 2024
**Date**: June 11, 2024

* API client:

* Update `analyze` command to use analysis endpoint
* Add `persona_details` command to pull a sensor persona's details based on ID
* Add `sensor_list` command to pull list of sensors from a users workspace, based on API key used
* Add `sensor_activity` command to pull sensor activity feed from users workspace
* Add `sensor_activity_ips` command to pull list of source ips from sensor activity feed

* CLI:

* Update `analyze` output to match that of new endpoint response
* Add `persona-details` command to display command response
* Add `sensor-list` command to display command response
* Add `sensor-activity` command to display command response

* Dependencies:

* Updated Clic to version 8.1.7
* Updated ansimarkup to version 2.1.0
* Updated click-repl to version 0.3.0
* Updated dict2xml to version 1.7.5
* Updated jinja2 to version 3.1.4
* Updated more-itertools to version 10.3.0 (for py3.8 and above only)
* Updated requests to version 2.32.3

Version `2.1.0`_
================
**Date**: February 07, 2024
Expand Down Expand Up @@ -389,4 +412,4 @@ Version `0.2.0`_
.. _`2.0.0`: https://github.com/GreyNoise-Intelligence/pygreynoise/compare/v1.3.0...2.0.0
.. _`2.0.1`: https://github.com/GreyNoise-Intelligence/pygreynoise/compare/v2.0.0...2.0.1
.. _`2.1.0`: https://github.com/GreyNoise-Intelligence/pygreynoise/compare/v2.0.1...2.1.0
.. _`2.2.0`: https://github.com/GreyNoise-Intelligence/pygreynoise/compare/v2.1.0...2.2.0
.. _`2.2.0`: https://github.com/GreyNoise-Intelligence/pygreynoise/compare/v2.1.0...HEAD
16 changes: 9 additions & 7 deletions requirements/common.txt
Original file line number Diff line number Diff line change
@@ -1,11 +1,13 @@
Click==8.1.3
ansimarkup==1.5.0
Click==8.1.7
ansimarkup==2.1.0
cachetools==5.3.3;python_version>='3'
colorama==0.4.6
click-default-group==1.2.4
click-repl==0.2.0
dict2xml==1.7.3;python_version>='3'
jinja2==3.1.3;python_version>='3.6'
more-itertools==9.1.0;python_version>='3'
requests==2.31.0
click-repl==0.3.0
dict2xml==1.7.5;python_version>='3'
jinja2==3.1.4;python_version>='3.6'
more-itertools==8.14.0;python_version=='3.6'
more-itertools==9.1.0;python_version=='3.7'
more-itertools==10.3.0;python_version>='3.8'
requests==2.32.3
six==1.16.0
6 changes: 3 additions & 3 deletions requirements/dev.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Requirements needed to develop the application
-r test.txt
advbumpversion==1.2.0
ipython==8.21.0;python_version>='3'
pre-commit==3.7.0
tox==4.14.2
ipython==8.18.1;python_version>='3'
pre-commit==3.7.1
tox==4.15.1
6 changes: 3 additions & 3 deletions requirements/docs.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Requirements needed to build the documentation
-r common.txt
Sphinx==7.0.1
sphinx-click==5.1.0
sphinx-rtd-theme==1.2.1
Sphinx==7.3.7
sphinx-click==6.0.0
sphinx-rtd-theme==2.0.0
15 changes: 9 additions & 6 deletions requirements/test.txt
Original file line number Diff line number Diff line change
@@ -1,20 +1,23 @@
black<23.1.0;python_version<'3.7'
black==23.3.0;python_version=='3.7'
black==24.3.0;python_version>'3.7'
black==24.4.2;python_version>'3.7'
flake8<5.0.4;python_version<'3.8'
flake8==7.0.0;python_version>='3.8'
isort<5.12.0;python_version<'3.8'
isort==5.13.2;python_version>='3.8'
mock==5.1.0;python_version>='3.6'
pylint<2.16.2;python_version=='3.6' # pyup: ignore
pylint==2.17.4;python_version>='3.7'
pytest-cov==4.0.0;python_version>='3.6'
pylint==2.17.7;python_version=='3.7'
pylint==3.2.3;python_version>='3.8'
pytest-cov==4.0.0;python_version=='3.6'
pytest-cov==4.1.0;python_version=='3.7'
pytest-cov==5.0.0;python_version>='3.8'
pytest==7.0.1;python_version=='3.6' # pyup: ignore
pytest==7.4.4;python_version=='3.7'
pytest==8.1.1;python_version>'3.7'
pytest==8.2.2;python_version>='3.8'
restructuredtext-lint==1.4.0
twine<4.0.2;python_version<='3.7'
twine==5.0.0;python_version>'3.7'
twine==5.1.0;python_version>'3.7'
yamllint==1.28.0;python_version=='3.6'
yamllint==1.32.0;python_version=='3.7'
yamllint==1.34.0;python_version>='3.8'
yamllint==1.35.1;python_version>='3.8'
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ def read(fname):
"click-repl",
"dict2xml",
"jinja2",
"more-itertools",
"more-itertools==8.14.0",
"requests",
"six",
]
Expand Down
Loading

0 comments on commit 30bfc41

Please sign in to comment.