Skip to main content

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


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.40.tar.gz (8.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pyngen-0.1.40-py3-none-any.whl (20.7 kB view details)

Uploaded Python 3

File details

Details for the file pyngen-0.1.40.tar.gz.

File metadata

  • Download URL: pyngen-0.1.40.tar.gz
  • Upload date:
  • Size: 8.2 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

Hashes for pyngen-0.1.40.tar.gz
Algorithm Hash digest
SHA256 ef0173e412ee19aa86ce47f5f3d62e83f24853710227c05eb779ec665e7641b2
MD5 46094b119bd633cad6641fefd4ed6003
BLAKE2b-256 7ed87ba4bc972e34f0cd348dfdae0f2f60a5029365ead1817ec863aa9ddafbcc

See more details on using hashes here.

File details

Details for the file pyngen-0.1.40-py3-none-any.whl.

File metadata

  • Download URL: pyngen-0.1.40-py3-none-any.whl
  • Upload date:
  • Size: 20.7 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

Hashes for pyngen-0.1.40-py3-none-any.whl
Algorithm Hash digest
SHA256 5313fee4be751ec6c535edb1aaf2fb5bab145add06a4202c4c6224ed4ef06608
MD5 6ba2f9c1c2195536b991953ba03e3a05
BLAKE2b-256 f7db865eb35190aa0351d9220c5744a30049407c46c49db120e3ae54171242d2

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page