mirror of
https://github.com/inspec/inspec
synced 2024-11-10 07:04:15 +00:00
Merge pull request #5442 from inspec/im/update_platforms
Update platforms doc
This commit is contained in:
commit
ebc106c135
1 changed files with 5 additions and 5 deletions
|
@ -163,7 +163,7 @@ version is 3.0.25.
|
|||
With a version of InSpec above 4.0.0, it is possible to create a profile with the
|
||||
following command:
|
||||
|
||||
```
|
||||
```bash
|
||||
$ inspec init profile --platform gcp my-profile
|
||||
Create new profile at /Users/me/my-profile
|
||||
* Creating directory libraries
|
||||
|
@ -171,15 +171,15 @@ Create new profile at /Users/me/my-profile
|
|||
* Creating directory controls
|
||||
* Creating file controls/example.rb
|
||||
* Creating file inspec.yml
|
||||
* Creating file attributes.yml
|
||||
* Creating file inputs.yml
|
||||
* Creating file libraries/.gitkeep
|
||||
```
|
||||
|
||||
Assuming the attributes yml file contains your GCP project ID, this sample
|
||||
Assuming the `inputs.yml` file contains your GCP project ID, this sample
|
||||
profile can then be executed using the following command:
|
||||
|
||||
```
|
||||
inspec exec my-profile --attrs my-profile/attributes.yml -t gcp://
|
||||
```bash
|
||||
inspec exec my-profile --input-file=my-profile/inputs.yml -t gcp://
|
||||
```
|
||||
|
||||
#### Setting up the GCP Credentials File
|
||||
|
|
Loading…
Reference in a new issue