Skip to content

Instantly share code, notes, and snippets.

View tolidano's full-sized avatar
Always coding

Shawn tolidano

Always coding
View GitHub Profile
tolidano /
Created November 30, 2018 01:18
Python Gadget to add SSH from the current IP using default AWS profile to security group named SSH
import boto3
from botocore.exceptions import ClientError
import json
import requests
ec2 = boto3.client('ec2')
def get_ip():
r = requests.get('')
return r.text.strip()
tolidano / Security_Tools_for_AWS.MD
Created September 21, 2019 02:33 — forked from markofu/Security_Tools_for_AWS.MD
Security Tools for AWS

Security Tools for AWS

I often get asked which tools are good to use for securing your AWS infrastructure so I figured I'd write a short listof some useful Security Tools for the AWS Cloud Infrastructure.

This list is not intended be something completely exhaustive, more so provide a good launching pad for someone as they dig into AWS and want to make it secure from the start.

Open Source

This section focuses on tools and services provided by the community and released as open-source.

tolidano / AWS Security Resources
Created September 21, 2019 02:33 — forked from chanj/AWS Security Resources
AWS Security Resources
I get asked regularly for good resources on AWS security. This gist collects some of these resources (docs, blogs, talks, open source tools, etc.). Feel free to suggest and contribute.
Short Link:
Official AWS Security Resources
* Security Blog -
* Security Advisories -
* Security Whitepaper (AWS Security Processes/Practices) -
* Security Best Practices Whitepaper -
tolidano /
Created May 19, 2021 18:00 — forked from mvanga/
Basic Music Theory in ~200 Lines of Python
# The code for my article with the same name. You can find it at the URL below:
# MIT License
# Copyright (c) 2021 Manohar Vanga
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including without limitation the rights
tolidano / c2md.xsl
Created December 27, 2021 16:51 — forked from grugnog/c2md.xsl
Converts Confluence multi-page XML export into a Markdown Git repository retaining most formatting, links and version history
<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet version="2.0"
Original sources/credit: