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.49.tar.gz
(20.6 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.49-py3-none-any.whl
(21.3 kB
view details)
File details
Details for the file pyngen-0.1.49.tar.gz.
File metadata
- Download URL: pyngen-0.1.49.tar.gz
- Upload date:
- Size: 20.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.8.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
309b402d1e72c376a5924b69a74fc62a66494ad6e74cf086b927c59fd5a17e5e
|
|
| MD5 |
81ca55906572da669b371bfe5f0aa9cc
|
|
| BLAKE2b-256 |
b1f8fe90568c6639295309db2931e0617dcaf1ae981ea3717824fdbc1534bb8e
|
File details
Details for the file pyngen-0.1.49-py3-none-any.whl.
File metadata
- Download URL: pyngen-0.1.49-py3-none-any.whl
- Upload date:
- Size: 21.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.8.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e605fd5e06828a7515306754b484b7c9e1f96a99605152939e53318a872ff724
|
|
| MD5 |
4b8256d13ab1184060e00d13030f28ee
|
|
| BLAKE2b-256 |
dab441adf12e6862ef2ad4d6cac1b4d4b09efa219360c8b1d9a124a472db4472
|