Created
September 13, 2017 22:26
-
-
Save JohnTheodore/bc34cccc477b37560699b44460ea8d5d to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
## Ensure no root account access key exists | |
- name: account-root-access-keys-check | |
resource: account | |
comments: | | |
Verifies root access keys don't exist anymore | |
filters: | |
- type: iam-summary | |
key: AccountAccessKeysPresent | |
value: true | |
op: eq | |
value_type: swap | |
## Ensure MFA enabled for root account | |
- name: account-root-mfa-check | |
resource: account | |
comments: | | |
Verifies if MFA is enabled for root user | |
filters: | |
- type: iam-summary | |
key: AccountMFAEnabled | |
value: false | |
op: eq | |
value_type: swap | |
## Ensure CloudTrail is enabled in all regions | |
- name: account-cloudtrail-enabled | |
resource: account | |
description: | | |
Checks to make sure CloudTrail is enabled on the account | |
for all regions. | |
filters: | |
- type: check-cloudtrail | |
global-events: false | |
multi-region: false | |
running: false | |
file-digest: false |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment