Skip to content

miguelangeltm/boto3codechallenge

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

boto3codechallenge

Code Challenge: Scripts in Python using boto3, pep8 is a plus, each script must have unit test and a short description and usage information. The aim of this exercise is to check general knowledge related to Python, AWS and boto3, those are some examples you could implement: Check if the s3 buckets have public access, if that is the case remove it to avoid undesired access.

Installation

  • Clone this repository: git clone https://github.com/miguelangeltm/boto3codechallenge.git
  • Navigate to the project directory: cd boto3codechallenge
  • Install the dependencies: pip install -r requirements.txt

Usage

  • Just run the main.py file ;) python main.py

This is an example with three buckets: two have a public access policy, and the third has no policies at all (e.g., the CloudFormation bucket templates cf-templates-13hdy9bp6587g76-eu-west-1).

image

Public Access policies looks like this:

image image

After script execution:

image

Releases

No releases published

Packages

No packages published