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.50.tar.gz (20.6 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.50-py3-none-any.whl (21.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: pyngen-0.1.50.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

Hashes for pyngen-0.1.50.tar.gz
Algorithm Hash digest
SHA256 9e1f3bf874c089d054c5c5b435b8eed53ff2009a95d486e3ab887122221c3a2e
MD5 cfac290e8b43ae202ff330226d6e1a40
BLAKE2b-256 9c7b0d98723771159cdf701e244be2f165a2761ebc2edd8448a9f240682e5a07

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pyngen-0.1.50-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

Hashes for pyngen-0.1.50-py3-none-any.whl
Algorithm Hash digest
SHA256 4b671c8e2e67c36645712f6a61c9fa7e3e1a70cf409af5be3f4b1160eff981b8
MD5 7d42d9979e098c3e80695b0ecb23de26
BLAKE2b-256 1b9c87b560fb77c6339242ccac416682dd08cdac21fca48770511cb6f673afa9

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