| gcc - o /tmp/GHOST -xc - ; /tmp/GHOST") do it { should return_stdout /not vulnerable/ } end # CVE-2015-7547 describe package("glibc") do glibc = "2.17-106.166.amzn1" glibc = property['glibc'] if property['glibc'] it { should be_installed.with_version(glibc) } end
package https:// alas.aws.amazon.com/ALAS-2015-564.html ) describe package("openssl") do it { should be_installed } it { should_not be_installed.with_version("1.0.1k-10.86.amzn1") } end
have_classiclink(vpc-22222222) } it { should have_classiclink_security_group(sg-33333333) } it { should have_classiclink_security_group(sg-44444444) } it { should have_classiclink_security_group(sg-55555555) } end