Skip to content

Commit

Permalink
Merge pull request #92 from Cloud-Architects/develop
Browse files Browse the repository at this point in the history
bugfix: html report
  • Loading branch information
leandrodamascena authored Jun 21, 2020
2 parents 9614f7e + 2dd53be commit 5c1deeb
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 4 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ assets/diagrams/
venv/
cloudiscovery/assets/
assets/
!docs/*

# PyInstaller
# Usually these files are written by a python script from a template
Expand Down
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ Cloudiscovery helps you to analyze resources in your cloud (AWS/GCP/Azure/Alibab

Example of a diagram:

![diagrams logo](cloudiscovery/docs/assets/aws-vpc.png)
![diagrams logo](docs/assets/aws-vpc.png)

Following resources are checked in VPC command:

Expand Down Expand Up @@ -66,7 +66,7 @@ If EC2 instances and ECS instances are part of an autoscaling group, those insta

Example of a diagram:

![diagrams logo](cloudiscovery/docs/assets/aws-policy.png)
![diagrams logo](docs/assets/aws-policy.png)

Following resources are checked in Policy command:

Expand All @@ -86,7 +86,7 @@ Some roles can be aggregated to simplify the diagram. If a role is associated wi

Example of a diagram:

![diagrams logo](cloudiscovery/docs/assets/aws-iot.png)
![diagrams logo](docs/assets/aws-iot.png)

Following resources are checked in IoT command:

Expand Down Expand Up @@ -209,7 +209,7 @@ It's possible to filter resources by tags and resource type. To filter, add an o
1. `Name=tags.costCenter;Value=20000` - to filter resources by a tag name `costCenter` and with value `20000`.
2. `Name=type;Value=aws_lambda_function` to only list lambda functions.

If a resource doesn't have a tag, it will be included. It's possible to pass multiple values, to be able to select a value from a set. Values are split by `:` sign. If a desired value has a `:` sign, wrap it in `'` signs e.g. `--filter="Name=tags.costCenter;Value=20000:'20001:1'`.
It's possible to pass multiple values, to be able to select a value from a set. Values are split by `:` sign. If a desired value has a `:` sign, wrap it in `'` signs e.g. `--filter="Name=tags.costCenter;Value=20000:'20001:1'`.

It is possible to pass multiple filter options, just pass `-f filter_1 -f filter_2`. In that case, the tool will return resources that match either of the filters

Expand Down
Binary file added docs/assets/aws-iot.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/assets/aws-policy.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/assets/aws-vpc.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ def run(self):
"": [
"locales/en_US/LC_MESSAGES/messages.mo",
"locales/pt_BR/LC_MESSAGES/messages.mo",
"templates/report_html.html",
]
},
packages=find_packages(exclude=["tests*"]),
Expand Down

0 comments on commit 5c1deeb

Please sign in to comment.