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.47.tar.gz
(20.7 kB
view details)
File details
Details for the file pyngen-0.1.47.tar.gz.
File metadata
- Download URL: pyngen-0.1.47.tar.gz
- Upload date:
- Size: 20.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.8.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a436e6b602150a8ca139b9f6ac609e5b4d0309bf9763da0dd9ede5f3ea7f4ac1
|
|
| MD5 |
86e70493dc9fe7a7559c0eee616f913a
|
|
| BLAKE2b-256 |
445bb6d0b7c9f4c1e4eec8fe01c1b6c58d766ef24860e345d79d966d9075b857
|