Coder Social home page Coder Social logo

list-highlisk-iamuser's Introduction

list-highlisk-iamuser

  • 万一アクセスキーが漏洩した時に金銭被害が出そうなIAMユーザを抽出するスクリプト
  1. 有効なアクセスキーがある
  2. MFA設定なし
  3. AWS管理ポリシーの AdministratorAccess or PowerUserAccess or IAMFullAccess が付与されている

how to use

in AWS CloudShell

$ git clone https://github.com/pypypyo14/list-highlisk-iamuser.git
$ cd list-highlisk-iamuser
$ python3 list_highlisk_iamuser.py
# 条件に該当するIAMユーザが存在する場合は以下のように表示される
{'username': 'user1', 'is_mfa_active': False, 'is_accesskey_active': True}
{'username': 'user2', 'is_mfa_active': False, 'is_accesskey_active': True}

list-highlisk-iamuser's People

Contributors

pypypyo14 avatar

Stargazers

tomoki10 avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.