Control: Ensure that all the expired SSL/TLS certificates stored in AWS IAM are removed
Description
To enable HTTPS connections to your website or application in AWS, you need an SSL/TLS server certificate. You can use ACM or IAM to store and deploy server certificates. Use IAM as a certificate manager only when you must support HTTPS connections in a region that is not supported by ACM. IAM securely encrypts your private keys and stores the encrypted version in IAM SSL certificate storage. IAM supports deploying server certificates in all regions, but you must obtain your certificate from an external provider for use with AWS. You cannot upload an ACM certificate to IAM. Additionally, you cannot manage your certificates from the IAM Console.
Usage
Run the control in your terminal:
powerpipe control run aws_compliance.control.iam_server_certificate_not_expired
Snapshot and share results via Turbot Pipes:
powerpipe loginpowerpipe control run aws_compliance.control.iam_server_certificate_not_expired --share
SQL
This control uses a named query:
iam_server_certificate_not_expired