Skip to main content

Get AWS-SG Details to respond to incidents quickly.

Project description

Dome9-SG-LookUp

Dome9-SG-LookUp (SGAnalyzerApp) uses Dome9 APIs to get information about the Security Groups present in the account.

Running the App

::

from SGAnalyzerAppDir import app

app.main()

Features

  • Get details of Security Group provided SG-ID.
  • Get details of Security Group by SG-Name in JSON.
  • Get details of Security Group rules in JSON provided SG-ID.

Usage

  • Step 1: Enter the api-details in the api-config file, apiURL will be there already, enter the apiSecret and apiKey.
  • Step 2: You can add associated Dome9 "cloudAccountId" with your AWS account ID as = as a map under [aws-dome9-map] in api-config.ini file.
  • Step 3: If you wish to create this as a package, use pyinstaller to package it and use shutil to keep api-config.ini file at the bottom of spec file.
  • First button - Details by SGID - provides information filled in the boxes automatically when user hit the button after providing SGID in the box. Feel free to copy or reset by then.
  • Second button is to reset the results.
  • Third Button - Rules By SGID - provides a JSON format inbound and outbound configuration downloaded at the same location.
  • Fourth Button - SGs by Name - provides a JSON format file including all the Security Group configuration as provided by user in SGName field.
  • Will be adding more functionality and a new look to this initiative in near future.

HowToRun

  • Please find below the console snapshot from PyCharm:

import sys; print('Python %s on %s' % (sys.version, sys.platform)) sys.path.extend(['C:\Users\nitin.sharma\PycharmProjects\Dome9-SG-LookUp', 'C:/Users/nitin.sharma/PycharmProjects/Dome9-SG-LookUp']) PyDev console: starting. Python 3.7.4 (tags/v3.7.4:e09359112e, Jul 8 2019, 19:29:22) [MSC v.1916 32 bit (Intel)] on win32

from SGAnalyzerAppDir import app app.main()

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

Dome9AWSSGAnalyzer-1.0.1.tar.gz (4.5 kB view details)

Uploaded Source

File details

Details for the file Dome9AWSSGAnalyzer-1.0.1.tar.gz.

File metadata

  • Download URL: Dome9AWSSGAnalyzer-1.0.1.tar.gz
  • Upload date:
  • Size: 4.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.7.4

File hashes

Hashes for Dome9AWSSGAnalyzer-1.0.1.tar.gz
Algorithm Hash digest
SHA256 3b65494199759303158a8d3043a461480324c59c2fe24aa543b2b0f47860bc29
MD5 269a34e453a2b0be4335f7f004e3800f
BLAKE2b-256 79e9d264c899ab1cf861e56148f1b3d209b08eac3319fb82c2f41ad5bc363bf1

See more details on using hashes here.

Supported by

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