全部,
我想要一个只检索超过 90 天的 ACTIVE 访问密钥并定期通知它们的策略。
policies:
- name: iam-user-access-keys-older-than-90days
description: |
Retrieve all IAM users whom have active access keys that are older than 90days
resource: iam-user
filters:
- type: access-key
key: Status
value: Active
- type: access-key
key: CreateDate
value: 90
op: greater-than
value_type: age
第一次通知应在 15 天之前发送,第二次通知应在 7 天之前发送,之后每天发送至到期日