mirror of
https://github.com/inspec/inspec
synced 2024-11-10 23:24:18 +00:00
Update usage example
Signed-off-by: Chris Redekop <chris.redekop@d2l.com>
This commit is contained in:
parent
e0dfbad730
commit
44e15b85f9
1 changed files with 1 additions and 1 deletions
|
@ -3,7 +3,7 @@ class AwsIamAccessKey < Inspec.resource(1)
|
|||
name 'aws_iam_access_key'
|
||||
desc 'Verifies settings for AWS IAM access keys'
|
||||
example "
|
||||
describe aws_iam_access_key('access-key id') do
|
||||
describe aws_iam_access_key(username: 'username', id: 'access-key id') do
|
||||
its('last_use') { should be > Time.now - 90 * 86400 }
|
||||
end
|
||||
"
|
||||
|
|
Loading…
Reference in a new issue