Control: Secrets Manager secrets should be rotated as per the rotation schedule
Description
This rule ensures that AWS Secrets Manager secrets have rotated successfully according to the rotation schedule. Rotating secrets on a regular schedule can shorten the period that a secret is active, and potentially reduce the business impact if it is compromised.
Usage
Run the control in your terminal:
powerpipe control run aws_compliance.control.secretsmanager_secret_rotated_as_scheduled
Snapshot and share results via Turbot Pipes:
powerpipe loginpowerpipe control run aws_compliance.control.secretsmanager_secret_rotated_as_scheduled --share
SQL
This control uses a named query:
secretsmanager_secret_rotated_as_scheduled