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.30.tar.gz
(7.9 kB
view details)
Built Distributions
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.30-py3.8.egg
(15.9 kB
view details)
pyngen-0.1.30-py3-none-any.whl
(20.4 kB
view details)
File details
Details for the file pyngen-0.1.30.tar.gz.
File metadata
- Download URL: pyngen-0.1.30.tar.gz
- Upload date:
- Size: 7.9 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.48.2 CPython/3.8.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1782871f5ddc38bedca9898bf16cc92cd7aa6585b8e15082b4448d0153914841
|
|
| MD5 |
3fec7996eb068f9b56a7f961125ff72b
|
|
| BLAKE2b-256 |
ca96d1d8dfb590f53eed819fa04a57a9f6c3df047d9f02ca0fcd6e07442c2a5a
|
File details
Details for the file pyngen-0.1.30-py3.8.egg.
File metadata
- Download URL: pyngen-0.1.30-py3.8.egg
- Upload date:
- Size: 15.9 kB
- Tags: Egg
- 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 |
eb595eb2ecd586815eb7ab0bd5a76fcb77f3229fd19e102d2707f8498b6c5cf7
|
|
| MD5 |
13e314659c3e98301a7f20ccb05f62f2
|
|
| BLAKE2b-256 |
3d15e4d02561a304e14b59a1e18baa5c26a82587f7b955ff9c5e8d6ca9e96c5a
|
File details
Details for the file pyngen-0.1.30-py3-none-any.whl.
File metadata
- Download URL: pyngen-0.1.30-py3-none-any.whl
- Upload date:
- Size: 20.4 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.48.2 CPython/3.8.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
63959ea086c9e0d7c9ff87367520edf9a4a71ae2471e94fa6c0aeea9ab788915
|
|
| MD5 |
12480e268910c8aa4c271c5a2d81fa4e
|
|
| BLAKE2b-256 |
05e8705d6de0bc0aff991ebbce4960b60e3808d05e88f42388910be518bbbb95
|