
Product
Introducing Rust Support in Socket
Socket now supports Rust and Cargo, offering package search for all users and experimental SBOM generation for enterprise projects.
.. image:: https://circleci.com/gh/GreyNoise-Intelligence/pygreynoise.svg?style=shield :target: https://circleci.com/gh/GreyNoise-Intelligence/pygreynoise
.. image:: https://sonarcloud.io/api/project_badges/measure?project=GreyNoise-Intelligence_pygreynoise&metric=coverage :target: https://sonarcloud.io/dashboard?id=GreyNoise-Intelligence_pygreynoise
.. image:: https://readthedocs.org/projects/greynoise/badge/?version=latest :target: http://greynoise.readthedocs.io/en/latest/?badge=latest
.. image:: https://badge.fury.io/py/greynoise.svg :target: https://badge.fury.io/py/greynoise
.. image:: https://img.shields.io/badge/License-MIT-yellow.svg :target: https://opensource.org/licenses/MIT
.. image:: https://quay.io/repository/greynoiseintel/pygreynoise/status :target: https://quay.io/repository/greynoiseintel/pygreynoise
This is an abstract python library built on top of the GreyNoise
_ service. It is preferred that users use this library when implementing integrations or plan to use GreyNoise within their code. The library includes a small client to interact with the API.
.. _GreyNoise: https://greynoise.io/
Documentation is available here: Documentation
_
.. _Documentation: https://developer.greynoise.io/docs/libraries-sample-code
Install the library:
pip install greynoise
or python setup.py install
Save your configuration:
greynoise setup --api-key <your-API-key>
This python package follows semantic versioning. According to this:
As such, we recommend you pin the dependency on this SDK to only allow minor version changes at most:
::
# allow patch version increments
greynoise~=1.4.0
# allow minor version increments
greynoise~=1.4
::
Usage: greynoise [OPTIONS] COMMAND [ARGS]...
GreyNoise CLI.
Options:
-h, --help Show this message and exit.
Commands:
account View information about your GreyNoise account.
alerts List, create, delete, and manage your GreyNoise alerts.
analyze Analyze the IP addresses in a log file, stdin, etc.
feedback Send feedback directly to the GreyNoise team.
filter Filter the noise from a log file, stdin, etc.
help Show this message and exit.
interesting Report one or more IP addresses as "interesting".
ip Query GreyNoise for all information on a given IP.
ip-multi Perform Context lookup for multiple IPs at once.
query Run a GNQL (GreyNoise Query Language) query.
quick Quickly check whether or not one or many IPs are "noise".
repl Start an interactive shell.
riot Query GreyNoise IP to see if it is in the RIOT dataset.
setup Configure API key.
signature Submit an IDS signature to GreyNoise to be deployed to...
similar Query GreyNoise IP to identify Similar IPs.
stats Get aggregate stats from a given GNQL query.
timeline Query GreyNoise IP to identify Similar IPs.
timelinehourly Query GreyNoise IP to identify Similar IPs.
version Get version and OS information for your GreyNoise...
FAQs
Abstraction to interact with GreyNoise API.
We found that greynoise demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 3 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Product
Socket now supports Rust and Cargo, offering package search for all users and experimental SBOM generation for enterprise projects.
Product
Socket’s precomputed reachability slashes false positives by flagging up to 80% of vulnerabilities as irrelevant, with no setup and instant results.
Product
Socket is launching experimental protection for Chrome extensions, scanning for malware and risky permissions to prevent silent supply chain attacks.