Skip to content

Commit

Permalink
Wire up the remainder of aws.iam.role.createdAt (#5216)
Browse files Browse the repository at this point in the history
It was in the code but not the lr which caused failures

```
[failed] [].all()
  error: [aws] cannot set 'createdAt' in resource 'aws.iam.group', field not found
```

Signed-off-by: Tim Smith <tsmith84@gmail.com>
  • Loading branch information
tas50 authored Feb 14, 2025
1 parent 350117b commit 941326f
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 1 deletion.
4 changes: 3 additions & 1 deletion providers/aws/resources/aws.lr
Original file line number Diff line number Diff line change
Expand Up @@ -907,8 +907,10 @@ private aws.iam.group @defaults("arn name") {
id string
// Name of the group
name string
// Time when the group was created
// Time when the group was created: deprecated, use createdAt
createDate time
// Time when the group was created
createdAt time
// List of usernames that belong to the group
usernames []string
}
Expand Down
12 changes: 12 additions & 0 deletions providers/aws/resources/aws.lr.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions providers/aws/resources/aws.lr.manifest.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2006,6 +2006,8 @@ resources:
fields:
arn: {}
createDate: {}
createdAt:
min_mondoo_version: 9.0.0
id: {}
name: {}
usernames: {}
Expand Down

0 comments on commit 941326f

Please sign in to comment.