mirror of
https://github.com/inspec/inspec
synced 2024-11-10 15:14:23 +00:00
Add Release:
to AWS inspec detect
example (#2672)
Signed-off-by: Jerry Aldrich <jerryaldrichiii@gmail.com>
This commit is contained in:
parent
d91c41a21a
commit
da5fe8d7a4
1 changed files with 10 additions and 8 deletions
|
@ -21,11 +21,12 @@ You may provide the credentials to InSpec by setting the following environment v
|
|||
Once you have your environment variables set, you can verify your credentials by running:
|
||||
|
||||
```bash
|
||||
you$ inspec detect -t aws://
|
||||
you$ inspec detect -t aws://
|
||||
|
||||
== Platform Details
|
||||
Name: aws
|
||||
Families: cloud, api
|
||||
Name: aws
|
||||
Families: cloud, api
|
||||
Release: aws-sdk-v2.10.125
|
||||
```
|
||||
|
||||
#### Using the InSpec target option to provide credentials
|
||||
|
@ -40,13 +41,14 @@ aws_secret_access_key = 1234....abcd
|
|||
|
||||
You may now run InSpec using the `--target` / `-t` option, using the format `-t aws://region/profile`. For example, to connect to the Ohio region using a profile named 'auditing', use `-t aws://us-east-2/auditing`.
|
||||
|
||||
To verify your credentials,
|
||||
To verify your credentials,
|
||||
```bash
|
||||
you$ inspec detect -t aws://
|
||||
you$ inspec detect -t aws://
|
||||
|
||||
== Platform Details
|
||||
Name: aws
|
||||
Families: cloud, api
|
||||
Name: aws
|
||||
Families: cloud, api
|
||||
Release: aws-sdk-v2.10.125
|
||||
```
|
||||
|
||||
#### Verifying your credentials
|
||||
|
@ -83,7 +85,7 @@ tenant_id = "<TENANT_ID>"
|
|||
* The client_id is referred to as the 'Application ID'
|
||||
* The client_secret is referred to as the 'Key (Password Type)'
|
||||
* The tenant_id is referred to as the 'Directory ID'
|
||||
|
||||
|
||||
With the credentials are in place you may now execute InSpec:
|
||||
|
||||
```bash
|
||||
|
|
Loading…
Reference in a new issue