Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove BC #176

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion CODE_OF_CONDUCT.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ further defined and clarified by project maintainers.
## Enforcement

Instances of abusive, harassing, or otherwise unacceptable behavior may be
reported by contacting the project team at [email protected]. All
reported by contacting Palo Alto Networks. All
complaints will be reviewed and investigated and will result in a response that
is deemed necessary and appropriate to the circumstances. The project team is
obligated to maintain confidentiality with regard to the reporter of an incident.
Expand Down
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@
same "printed page" as the copyright notice for easier
identification within third-party archives.

Copyright 2019 Bridgecrew
Copyright 2019 Palo Alto Networks

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
Expand Down
13 changes: 3 additions & 10 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,8 @@
[![Maintained by Bridgecrew.io](https://img.shields.io/badge/maintained%20by-bridgecrew.io-blueviolet)](https://bridgecrew.io)
[![code_coverage](https://raw.githubusercontent.com/bridgecrewio/AirIAM/master/coverage.svg?sanitize=true)](https://github.com/bridgecrewio/AirIAM/actions?query=workflow%3Abuild-and-test)
![Terraform Version](https://img.shields.io/badge/tf-%3E%3D0.12.0-blue.svg)
[![build](https://github.com/bridgecrewio/AirIAM/workflows/build/badge.svg)](https://github.com/bridgecrewio/airiam/actions?query=workflow%3Abuild)
[![PyPI](https://img.shields.io/pypi/v/airiam)](https://pypi.org/project/airiam/)
[![Downloads](https://pepy.tech/badge/airiam)](https://pepy.tech/project/airiam)
[![slack-community](https://slack.bridgecrew.io/badge.svg)](https://slack.bridgecrew.io/?utm_source=github&utm_medium=organic_oss&utm_campaign=airiam)

<p align="center">
<img src="https://github.com/bridgecrewio/AirIAM/raw/master/docs/web/images/airiam-logo.png" height="100" />
Expand Down Expand Up @@ -46,8 +44,6 @@ By moving all IAM configurations into Terraform code, admins can start tracking,

AirIAM is battle-tested and is recommended for use in Dev, QA and test environments that have been previously managed by humans. It is design to result in minimal impact on existing workloads.

If you are interested in migrating a Prod account, contact us at [email protected] for some helpful tips.

![flow](images/ComponentDiagram.png)

## Features
Expand All @@ -60,8 +56,7 @@ If you are interested in migrating a Prod account, contact us at info@bridgecrew

## Commands

- `find_unused` - Detects unused users, roles, groups, policies and policy attachments. It also adds links to automation scripts that could remove these entities entirely using Bridgecrew Community. [Learn more
about these scripts and automation](RecommendedIntegrations.md).
- `find_unused` - Detects unused users, roles, groups, policies and policy attachments.
```shell script
usage: airiam find_unused [-h] [-p PROFILE] [-l LAST_USED_THRESHOLD]
[--no-cache] [-o {cli}]
Expand Down Expand Up @@ -228,8 +223,6 @@ We would love to hear about other IAM governance models for additional use cases

## Support

[Bridgecrew](https://bridgecrew.io) builds and maintains AirIAM to encourage the adoption of IAM-as-code and enforcement of IAM Rightsizing and Least Privileges best practices in policy-as-code.

Start with our [Documentation](https://bridgecrewio.github.io/airiam/) for quick tutorials and examples.
Start with our [Documentation](https://airiam.io/documentation) for quick tutorials and examples.

If you need direct support you can contact us at [email protected].
If you still need support you can leverage our [community Slack](https://codifiedsecurity.slack.com/).
53 changes: 0 additions & 53 deletions RecommendedIntegrations.md

This file was deleted.

7 changes: 0 additions & 7 deletions airiam/Reporter.py
Original file line number Diff line number Diff line change
Expand Up @@ -115,19 +115,12 @@ def report_unused(runtime_results: RuntimeReport) -> None:

print()

print('If you prefer to to change the current runtime and not move to IaC but the number of entities above is intimidating - consider using '
'our playbooks, available at: ')
print('https://www.bridgecrew.io/')

@staticmethod
def print_prelude():
print(colored(banner, 'yellow'))
print()
print(colored('AirIAM - Least privilege AWS IAM Terraformer', attrs=['bold']))
print()
print(f'To continuously scan configurations, try the {colored("Bridgecrew", "magenta", attrs=["bold"])} free community plan.')
print('https://www.bridgecrew.io')
print()

@staticmethod
def report_groupings(report_with_recommendations: RuntimeReport):
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ def safe_name_converter(name_str: str) -> str:
def transform_tags(entity_json: dict):
tags = entity_json.get('Tags', [])
tags.extend([
{"Key": "Managed by", "Value": "AirIAM by Bridgecrew"},
{"Key": "Managed by", "Value": "AirIAM"},
{"Key": "Managed through", "Value": "Terraform"}
])
tag_str = "\n".join(map(lambda tag: f" \"{tag['Key']}\" = \"{tag['Value']}\"", tags))
Expand Down
15 changes: 0 additions & 15 deletions docs/documentation.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,6 @@ v0.1.22

AirIAM - Least privilege AWS IAM Terraformer

To continuously scan configurations, try the Bridgecrew free community plan.
https://www.bridgecrew.io

usage: airiam [-h] [-v] {find_unused,recommend_groups,terraform} ...

optional arguments:
Expand Down Expand Up @@ -82,9 +79,6 @@ v0.1.22

AirIAM - Least privilege AWS IAM Terraformer

To continuously scan configurations, try the Bridgecrew free community plan.
https://www.bridgecrew.io

INFO:botocore.credentials:Found credentials in shared credentials file: ~/.aws/credentials
Reusing local data
Identifying unused IAM entities in the account...
Expand Down Expand Up @@ -114,9 +108,6 @@ unattached-policy is not attached to any user, group or role
The following 1 policy attachments are unused:
Policy attached but not used: s3-user1 is not using the privileges given by arn:aws:iam::000000000000:policy/sts-policy

If you prefer to to change the current runtime and not move to IaC but the number of entities above is intimidating - consider using our playbooks, available at:
https://www.bridgecrew.io/

```

## Sample: Recommend IAM grouping (CLI)
Expand Down Expand Up @@ -145,9 +136,6 @@ v0.1.22

AirIAM - Least privilege AWS IAM Terraformer

To continuously scan configurations, try the Bridgecrew free community plan.
https://www.bridgecrew.io

INFO:botocore.credentials:Found credentials in shared credentials file: ~/.aws/credentials
Reusing local data
INFO:root:Analyzing data for account 000000000000
Expand Down Expand Up @@ -175,9 +163,6 @@ v0.1.22

AirIAM - Least privilege AWS IAM Terraformer

To continuously scan configurations, try the Bridgecrew free community plan.
https://www.bridgecrew.io

INFO:botocore.credentials:Found credentials in shared credentials file: ~/.aws/credentials
Reusing local data
Filtered arn:aws:iam::000000000000:user/nimrod from the analysis
Expand Down
36 changes: 1 addition & 35 deletions docs/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -166,9 +166,6 @@
</div>
<header class="header">
<div class="header-container"><a href="#" class="logo-wrapper w-inline-block"><img src="web/images/airiam-logo.png" alt="" class="image"></a>
<a class="button shadow-none white-btn try-bc-btn w-button" href="https://www.bridgecrew.cloud/login/signUp/?utm_source=airiamio&utm_medium=organic_oss&utm_campaign=airiam">
Try Bridgecrew
</a>
</div>
</header>
<main class="checkov-page">
Expand Down Expand Up @@ -310,44 +307,13 @@ <h2 style="-webkit-transform:translate3d(0, -200PX, 0) scale3d(1, 1, 1) rotateX(
<h2 style="opacity:0" class="main-title center-title community-title">Join our community and stay up to date</h2>
<div class="btns-container ic-community" style="opacity:0"><a
class="button shadow-none big-btn-with-border transparent-btn w-button"
href="https://slack.bridgecrew.io/?utm_source=github&utm_medium=organic_oss&utm_campaign=airiam">Talk to us on Slack</a><a
href="https://codifiedsecurity.slack.com/archives/C01A47BRV50">Talk to us on Slack</a><a
class="button shadow-none white-btn white-btn-big more-size-btn w-button"
href="https://github.com/bridgecrewio/airiam/">Contribute on Github</a></div>
</div>
</div>
</main>
<footer class="footer">
<div class="footer-container">
<a class="footer-logo-wrapper w-inline-block"
href="https://bridgecrew.io/?utm_source=github&utm_medium=organic_oss&utm_campaign=airiam">
<p class="powered-text">Powered By</p><img src="web/images/logo.svg" alt="" class="bridge-logo"></a>
<nav class="footer-nav">
<ul class="footer-links-list w-list-unstyled">
<li class="footer-li"><a class="footer-link" href="https://slack.bridgecrew.io/?utm_source=github&utm_medium=organic_oss&utm_campaign=airiam">Slack
Community</a></li>
<li class="footer-li"><a class="footer-link"
href="https://bridgecrew.io/about/?utm_source=github&utm_medium=organic_oss&utm_campaign=airiam">About
Bridgecrew</a></li>
<li class="footer-li"><a class="footer-link"
href="https://bridgecrew.io/platform/?utm_source=github&utm_medium=organic_oss&utm_campaign=airiam">Platform</a>
</li>
<li class="footer-li"><a class="footer-link"
href="https://bridgecrew.zendesk.com/hc/en-us/articles/360008803839-Website-Terms-of-Use?utm_source=github&utm_medium=organic_oss&utm_campaign=airiam">Terms
of use</a></li>
<li class="footer-li"><a class="footer-link" href="https://github.com/bridgecrewio/airiam">GitHub</a></li>
<li class="footer-li"><a class="footer-link"
href="https://bridgecrew.io/about/?utm_source=github&utm_medium=organic_oss&utm_campaign=airiam">Contact
Us</a></li>
<li class="footer-li"><a class="footer-link"
href="https://bridgecrew.zendesk.com/hc/en-us/articles/360008803379-Privacy-Policy?utm_source=github&utm_medium=organic_oss&utm_campaign=airiam">Privacy
policy</a></li>
</ul>
</nav>
<div class="footer-visit-on">
<p class="visit-on-text">Visit us on</p>
<div class="social-links"><a href="https://twitter.com/bridgecrewio" class="single-social-link first w-inline-block"><img src="web/images/Fill44.svg" alt="" class="social-img"></a><a href="https://www.facebook.com/Bridgecrew-345809279464232" class="single-social-link w-inline-block"><img src="web/images/Path870.svg" alt="" class="social-img"></a><a href="https://www.linkedin.com/company/bridgecrew" class="single-social-link w-inline-block"><img src="web/images/Group253.svg" alt="" class="social-img"></a><a href="https://github.com/bridgecrewio" class="single-social-link last w-inline-block"><img src="web/images/Group254.svg" alt="" class="social-img"></a></div>
</div>
</div><a href="#hero" class="to-top-btn w-inline-block"><img src="web/images/arrow-up.svg" alt="" class="arrow-up"></a></footer>
<script src="https://d3e54v103j8qbb.cloudfront.net/js/jquery-3.4.1.min.220afd743d.js" type="text/javascript" integrity="sha256-CSXorXvZcTkaix6Yvo6HppcZGetbYMGWSFlBw8HfCJo=" crossorigin="anonymous"></script>
<script src="web/js/pyro.js" type="text/javascript"></script>
<!-- [if lte IE 9]><script src="https://cdnjs.cloudflare.com/ajax/libs/placeholders/3.0.2/placeholders.min.js"></script><![endif] -->
Expand Down
2 changes: 0 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,6 @@
name="airiam",
version=version,
description="Least privilege AWS IAM Terraformer",
author="bridgecrew",
author_email="[email protected]",
url="https://github.com/bridgecrewio/AirIAM",
packages=setuptools.find_packages(exclude=["tests*"]),
scripts=["bin/airiam","bin/airiam.cmd"],
Expand Down
Loading