Skip to content

Instantly share code, notes, and snippets.

@mryoshio
Created October 15, 2014 10:59
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mryoshio/fde07e8b68ff35745188 to your computer and use it in GitHub Desktop.
Save mryoshio/fde07e8b68ff35745188 to your computer and use it in GitHub Desktop.
check your elbs if against SSLv3 (POODLE)
require 'aws'
AWS.config(
:access_key_id => 'xxx',
:secret_access_key => 'xxx',
:region => 'ap-northeast-1'
)
elb = AWS::ELB.new
elb.load_balancers.each do |e|
e.listeners.each do |l|
if l.port == 80
puts "#{e.name} => not SSL"
else
puts "#{e.name} => #{l.policy.attributes['Reference-Security-Policy']}"
end
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment