Coder Social home page Coder Social logo

dan-farmer / ssm-patching-setup Goto Github PK

View Code? Open in Web Editor NEW
6.0 1.0 1.0 61 KB

Automated creation of AWS SSM Patch Manager resources for simple automated patching

License: GNU General Public License v3.0

Python 100.00%
aws aws-ssm aws-ec2 amazon-web-services amazon-ec2 patch-management patching

ssm-patching-setup's People

Contributors

dan-farmer avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

Forkers

klapcsik

ssm-patching-setup's Issues

Cleanup Should Check Baseline Owner

At the moment, ssm_patching_cleanup.py only checks whether a Patch Baseline is set as default, and attempts to delete it if not. In situations where a custom baseline has been created and set as default, one or more of the AWS-managed baselines will be set as "DefaultBaseline": false. The script will attempt to delete it and fail (because it is owned by another account).

Cleanup should therefore also check owner of the baseline before attempting deletion. On a quick first look, it seems this is only available by string matching in the BaselineId (e.g. pb-00123456789abcdef vs arn:aws:ssm:eu-central-1:416089608788:patchbaseline/pb-0f40e1898bd7e2eca).

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.