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 hashes)

Uploaded Source

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