Get AWS IAM custom policies and action assigned to it using AWS lambda

Get AWS IAM custom policies and action assigned to it using AWS lambda

Greetings! When it comes to public cloud, access control is very important part in it. It is recommended to use roles for services then using crentials when using AWS lambda. Custom plocies are then very important and there mangement ver critical. You should be in control of what roles has what kind of access. This sctipt lists all your custom policies and actions assigned to it. You can find script here. Please note you will not get inline policies with this. Happy Coding!Read more …
AWS Connect and Lambda integration to get caller ID

AWS Connect and Lambda integration to get caller ID

Greetings! IT Service Desk is backbone for support for any company to function. It’s the face of IT operations. what if you can take few tasks service desk performs and automate them. I am going dig into this. Last year Amazon announced service called connect, with this you can be up and running within minutes. In this article we will connect AWS Connect with lambda. We will capture the called ID of user and if user exists in database we will greet user. To start with, we will first create IAM role and…Read more …
Get all AWS IAM user information

Get all AWS IAM user information

Greetings! Access rights is very critical for any project. You need to be certain who should have access to which resources and then manage that. You should regularly audit users and access rights they have. In this article I tried to get all AWS IAM users, policies they have attached, is multi factor authentication enabled and groups they are member of. For code I have used python and boto3 to fetch data from AWS. I have used lambda function to execute this code. Script will fetch the data and export it to file…Read more …