Ngen REST. A python library for using Ngen
Project description
PyNgen
Cli and python library for using Ngen.
Installation
pip3 install pyngen
Usage Python Module
from pyngen import PyNgen
#Create object PyNgen
ngen = PyNgen("https://ngen.example.com/api", "YOUR_API_KEY")
#Minimum data required.
#Add a new Incident for IP "163.10.0.2" for feed "shodan" and Type "open_dns"
incident_id = ngen.newIncident("163.10.0.2", "shodan", "open_dns")
#upload with txt evidence
another_incident_id = ngen.newIncident("163.0.0.99","another_feed","another_incident_type", evidence_text="text_evidence", notes="Notes for this incident", impact="low", urgency="medium")
Usage CLI
ngen init -apikey <apikey> -url https://<ngenurl>/api
ngen newincident -feed shodan -address 163.10.0.2 -type open_dns
ngen reportcsv -feed external_report -type miner -path path/to/file.csv -addressheader ip
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
pyngen-0.1.44.tar.gz
(8.4 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
pyngen-0.1.44-py3-none-any.whl
(21.6 kB
view details)
File details
Details for the file pyngen-0.1.44.tar.gz.
File metadata
- Download URL: pyngen-0.1.44.tar.gz
- Upload date:
- Size: 8.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/50.3.0 requests-toolbelt/0.9.1 tqdm/4.49.0 CPython/3.8.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7dd116ac337afb722957b2d5446fd338fe8c5cd65ee3b71d18ac78f454d49dfc
|
|
| MD5 |
da5f0255a4e8d318eab70695dbc2a88c
|
|
| BLAKE2b-256 |
372a5bbbb47f74128431cf9ca412aa2b9a5c4375ee31c57e58428778c38c106f
|
File details
Details for the file pyngen-0.1.44-py3-none-any.whl.
File metadata
- Download URL: pyngen-0.1.44-py3-none-any.whl
- Upload date:
- Size: 21.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/50.3.0 requests-toolbelt/0.9.1 tqdm/4.49.0 CPython/3.8.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
883e210afcc39654b41bda88a1ec8307bf7d1a3fb9623790e7e53ccc6725a88a
|
|
| MD5 |
e7e92a73ba3621d80b42d744636607ca
|
|
| BLAKE2b-256 |
feb87f70618b96d2f39f29e06fe277016a5323dd37465e395443a298d5c6039c
|