PViewer
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
- Install using pip:
pip3 install pviewer
- Set the AWS_PROFILE as environment variable
export AWS_PROFILE=default
- Run
python3 -m pviewer -u username
Project Setup
- 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
- Hop into the project directory
cd PViewer/pviewer
- Install python3 packages
sudo pip3 install -r requirements.txt
- Set the AWS_PROFILE as environment variable
export AWS_PROFILE=default
- 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
Usage
Two policies allowing you to write objects in the same S3 bucket. It will plot a graph and connecting overlapping policies as edges.
License
Distributed under the MIT License. See LICENSE for more information.
Contact
Ankit Saini
- Twitter - @d3afh3av3n
- Github - ankitsaini2609
- Medium - ankitsaini2609
- LinkedIn - ankitsaini2609
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)
| File | Size | Uploaded | |
|---|---|---|---|
| pviewer-1.0.tar.gz | 5.3 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| 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
|