GR-04
no long-lived credentials. No IAM users or access keys.
| Property | Value |
|---|---|
| Runs on | Every CloudFormation template, in CI on each change and in the pipeline's Validate stage |
| Source | guard/rules/gr-04-no-iam-users.guard |
| Exceptions | none |
Rule text
# GR-04: no long-lived credentials (D8). No IAM users or access keys.
let bad = Resources.*[ Type in ['AWS::IAM::User', 'AWS::IAM::AccessKey', 'AWS::IAM::LoginProfile'] ]
rule GR_04 {
%bad empty <<GR-04: AWS::IAM::User, AccessKey and LoginProfile are not allowed>>
}
Page information
- Owner
- Security Engineering
- Status
- current Current: generated from the templates and records in the repository at this build.
- Generated from
guard/rules/gr-04-no-iam-users.guard- Linked from
- Controls, Template rules
- Plain markdown
- /wiki/guard/gr-04/index.md