mirror of
https://github.com/inspec/inspec
synced 2024-11-10 15:14:23 +00:00
Update platforms doc
Signed-off-by: IanMadd <Ian.Maddaus@progress.com>
This commit is contained in:
parent
3091f5d6f0
commit
bcf20a32b3
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