jonluca / Anubis

Subdomain enumeration and information gathering tool
https://jonlu.ca/anubis/
MIT License
1.17k stars 151 forks source link

Update dependency censys to v2 - autoclosed #66

Closed renovate[bot] closed 2 years ago

renovate[bot] commented 3 years ago

WhiteSource Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
censys (changelog) ==1.1.1 -> ==2.0.9 age adoption passing confidence

Release Notes

censys/censys-python ### [`v2.0.9`](https://togithub.com/censys/censys-python/releases/v2.0.9) [Compare Source](https://togithub.com/censys/censys-python/compare/v2.0.8...v2.0.9) #### What's Changed - chore(deps): bump rich from 10.10.0 to 10.11.0 by [@​dependabot](https://togithub.com/dependabot) in [https://github.com/censys/censys-python/pull/173](https://togithub.com/censys/censys-python/pull/173) - chore(deps-dev): bump types-requests from 2.25.8 to 2.25.9 by [@​dependabot](https://togithub.com/dependabot) in [https://github.com/censys/censys-python/pull/174](https://togithub.com/censys/censys-python/pull/174) - chore(deps-dev): bump pytest-cov from 2.12.1 to 3.0.0 by [@​dependabot](https://togithub.com/dependabot) in [https://github.com/censys/censys-python/pull/176](https://togithub.com/censys/censys-python/pull/176) - feat(api): ASM API Update - Add subdomain endpoints by [@​thomas-censysio](https://togithub.com/thomas-censysio) in [https://github.com/censys/censys-python/pull/177](https://togithub.com/censys/censys-python/pull/177) - chore(deps): bump rich from 10.11.0 to 10.12.0 by [@​dependabot](https://togithub.com/dependabot) in [https://github.com/censys/censys-python/pull/178](https://togithub.com/censys/censys-python/pull/178) - fix(cli): Fix CLI Colors by [@​thehappydinoa](https://togithub.com/thehappydinoa) in [https://github.com/censys/censys-python/pull/175](https://togithub.com/censys/censys-python/pull/175) **Full Changelog**: https://github.com/censys/censys-python/compare/v2.0.8...v2.0.9 ### [`v2.0.8`](https://togithub.com/censys/censys-python/releases/v2.0.8) [Compare Source](https://togithub.com/censys/censys-python/compare/v2.0.7...v2.0.8) ### Changelog #### General - Updated arguments for `Assets.get_assets()` and `Seeds.get_seeds()` - Removed the use of `typing.Protocol` (hotfix for [#​170](https://togithub.com/censys/censys-python/issues/170)) #### CLI - Added the `censys account` command for checking which account you are authenticated with and how much of your quota has been used. - Added warning on `censys config` when environmental variables are set ### [`v2.0.7`](https://togithub.com/censys/censys-python/releases/v2.0.7) [Compare Source](https://togithub.com/censys/censys-python/compare/v2.0.6...v2.0.7) - Added tagging methods to v2 classes - Added commenting methods to v2 classes - Added alias of accounts methods for v2 classes ### [`v2.0.6`](https://togithub.com/censys/censys-python/releases/v2.0.6) [Compare Source](https://togithub.com/censys/censys-python/compare/v2.0.5...v2.0.6) - Added `Risks` API Class - Added delete assets comment method - Added support for cookies - Added output file format hinting - Added infinite page option to CLI - Added `darglint` dev dependency ### [`v2.0.5`](https://togithub.com/censys/censys-python/releases/v2.0.5) [Compare Source](https://togithub.com/censys/censys-python/compare/v2.0.4...v2.0.5) - Upgraded dependencies - Added new endpoint `GetHostByCert` ([docs](https://search.censys.io/api#/certs/getHostsByCert)) - Point v1 certs endpoints to `search.censys.io` ### [`v2.0.4`](https://togithub.com/censys/censys-python/releases/v2.0.4) [Compare Source](https://togithub.com/censys/censys-python/compare/v2.0.3...v2.0.4) - Upgraded dependencies - Added new endpoints - Added metadata method - Added host names method - Added host events method - Switched to poetry for project management ### [`v2.0.3`](https://togithub.com/censys/censys-python/releases/v2.0.3) [Compare Source](https://togithub.com/censys/censys-python/compare/v2.0.2...v2.0.3) ### Changelog #### General - Added an invalid color exception - Added `types-request` - Upgraded deps #### CLI - Added a `--open` argument to opens users to the page they were attempting to query - Added `rich` to improve CLI interface ### [`v2.0.2`](https://togithub.com/censys/censys-python/releases/v2.0.2) [Compare Source](https://togithub.com/censys/censys-python/compare/v2.0.1...v2.0.2) ### Changelog #### General - Removed forceful deprecation warnings #### Docs - Added asciinema for CLI - Fixed screenshot for PyPi ### [`v2.0.1`](https://togithub.com/censys/censys-python/releases/v2.0.1) [Compare Source](https://togithub.com/censys/censys-python/compare/v2.0.0...v2.0.1) ### Changelog #### Potentially Breaking Changes - Removed `paged_search` from `CensysSearchAPIv1`, please use `search` #### General - Added a `view_all` method to `CensysSearchAPIv2` #### CLI - Added `hosts` to the `search` CLI command - Added `v1` and `v2` specific arguments to search - Added a `view` CLI command - Updated the `hnri` CLI command to use search v2 #### Docs - Added [docs](https://togithub.com/censys/censys-python/blob/main/examples/README.md) for `examples/` - Added `v1` examples - Added resource links - Updated ASM examples #### Tests - Updated CLI tests ### [`v2.0.0`](https://togithub.com/censys/censys-python/releases/v2.0.0) [Compare Source](https://togithub.com/censys/censys-python/compare/v1.1.1...v2.0.0) ### Changelog #### Potentially Breaking Changes - **Changed to [namespace packages](https://packaging.python.org/guides/packaging-namespace-packages/)** This means that imports should be formatted as follows ```python ### Search from censys.search import SearchClient ### ASM from censys.asm import AsmClient ``` #### General - Created a `common` module - Updated and standardized [docstrings](https://google.github.io/styleguide/pyguide.html) - Enabled typing with the `py.typed` file - Standardized [typing](https://mypy.readthedocs.io/en/stable/cheat_sheet_py3.html) - Deprecation warnings - Simplified code - Moved `__version__` to `versions.py` - Bumped dependencies - Updated `.gitignore` - Removed `version` from config #### Search - Added new Client for both `v1` and `v2` indexes - Added new [`CensysHosts`](https://togithub.com/censys/censys-python/blob/27515aec720ac79d0e2ede3a61c8580310512f5f/censys/v2/hosts.py) index - Separated Search `v1` and `v2` endpoints - Added Examples to docstrings #### ASM - Separated `Assets` specific code - Added `get_subdomains` - Added Cloud Count Endpoints #### Docs - Updated README - Updated autodocs to include the namespace - Pinned versions in `docs/requirements.txt` #### Tests - Mocked all endpoints - Increased coverage - Included `pytest` in Python CI workflow

Configuration

šŸ“… Schedule: At any time (no schedule defined).

šŸš¦ Automerge: Disabled by config. Please merge this manually once you are satisfied.

ā™» Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

šŸ”• Ignore: Close this PR and you won't be reminded about this update again.



This PR has been generated by WhiteSource Renovate. View repository job log here.

thehappydinoa commented 3 years ago

Upgrading Censys Python Library to v2

Hi there,

We see that this project currently uses an outdated version of the Censys Python Library. We are planning on deprecating some of the API endpoints used by your version of the Python Library. To upgrade to version 2 please see our Discussion on Upgrading.

If there are any further questions please feel free to create a new discussion or reach out to our team directly at support@censys.io.