Skip to content

Commit

Permalink
adding 1.19
Browse files Browse the repository at this point in the history
Signed-off-by: wdower <57142072+wdower@users.noreply.github.com>
wdower committed Nov 21, 2023
1 parent f251c30 commit 1d0f30c
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions controls/aws-foundations-cis-1.19.rb
Original file line number Diff line number Diff line change
@@ -101,7 +101,11 @@
tag severity: "medium "
tag cis_controls: [{ "8" => ["3.1"] }]

describe "No Tests Defined Yet" do
skip "No Tests have been written for this control yet"
expired_certificates = aws_iam_server_certificates.where { expiration_date < DateTime.now }

describe "The list of all IAM server certificates" do
it "should not include expired certificates" do
expect(expired_certificates.entries).to be_empty, "Expired certificates:\t#{expired_certificates.server_certificate_names}"
end
end
end

0 comments on commit 1d0f30c

Please sign in to comment.