Skip to main content

PViewer

License: MIT Twitter

Table of Contents

About The Project

PViewer is a tool which will be used to find the conflicting policies for a AWS IAM user.

Built With

Getting Started

This is an example of how you may give instructions on setting up your project locally. To get a local copy up and running follow these simple example steps.

Installation via pip

  1. Install using pip:
pip3 install pviewer
  1. Set the AWS_PROFILE as environment variable
export AWS_PROFILE=default
  1. Run
python3 -m pviewer -u username

Project Setup

  1. Clone this repo
    • With HTTPS
    git clone https://github.com/ankitsaini2609/PViewer.git
    
    • With SSH (just use HTTPS if you aren't sure what SSH is)
    git clone git@github.com:ankitsaini2609/PViewer.git
    
  2. Hop into the project directory
cd PViewer/pviewer
  1. Install python3 packages
sudo pip3 install -r requirements.txt
  1. Set the AWS_PROFILE as environment variable
export AWS_PROFILE=default
  1. Run it :rocket:
python3 __main__.py -u username

Where username is IAM username in AWS for which you have to find the overlapping policies.
6. Output
OUTPUT

Usage

Two policies allowing you to write objects in the same S3 bucket. It will plot a graph and connecting overlapping policies as edges.

DEMO

License

Distributed under the MIT License. See LICENSE for more information.

Contact

Ankit Saini

Acknowledgements

Metadata

Release files for pviewer 1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pviewer 1.0
File Size Uploaded
pviewer-1.0.tar.gz 5.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for pviewer 1.0
File Interpreter ABI Platform
pviewer-1.0-py3-none-any.whl Python 3 none any Details

Total release size: 10.4 kB

Release files / pviewer-1.0.tar.gz

Download URL pviewer-1.0.tar.gz
Size 5.3 kB
Tags Source
SHA-256 checksum
How to use checksums
9723187da381030237465dc773ce3932fd0b5e22bec574efd2247d9b72c147e0
BLAKE2b-256 checksum
How to use checksums
2267d1ea87c83d1eae94f90ab18f8ff35f1c3fa7867244fe9910658b05ba3dce
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.6.1 requests/2.23.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.54.1 CPython/3.9.0

Release files / pviewer-1.0-py3-none-any.whl

Download URL pviewer-1.0-py3-none-any.whl
Size 5.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
d282a3e8bae9c4c27a3e82f7e6f90d3c429dc0e8d151804f3ec34b50e109727d
BLAKE2b-256 checksum
How to use checksums
a64e436e5b4164885a5e6e61b1e245a724aee3a295dd507aa037158e5b1b8a7f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.6.1 requests/2.23.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.54.1 CPython/3.9.0

Release history Release notifications | RSS feed

This release

1.0 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page