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("ngen.example.com", "apiKey", port=443, scheme="https", path="api")

#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_evidence", notes="Notes for this incident", impact="low", urgency="medium")

Usage CLI

ngen init -key <apikey>  -url http://<ngenurl>/api
ngen newincident -feed shodan -ip 163.10.0.2 -type open_dns

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

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

pyngen-0.1.4-py3-none-any.whl (19.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: pyngen-0.1.4-py3-none-any.whl
  • Upload date:
  • Size: 19.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.18.4 setuptools/40.2.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.5.2

File hashes

Hashes for pyngen-0.1.4-py3-none-any.whl
Algorithm Hash digest
SHA256 34d1d37c75d7f470dec4514724cd2e06637d7667cf84eadf8bad23d4f38287a4
MD5 3997a8e7fce756ea489ee311f34e42ab
BLAKE2b-256 0f1ee65a22292fb63a8e695b83bd854c298d485f3feb2e07c2992cfadd58a92c

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