Presenting automate command as alias in both the content and dev docs

Signed-off-by: Nikita Mathur <nikita.mathur@chef.io>
This commit is contained in:
Nikita Mathur 2021-05-03 13:45:54 +05:30
parent a4d822ae43
commit 072a8c438f
5 changed files with 8 additions and 5 deletions

View file

@ -8,7 +8,7 @@ The `compliance` set of subcommands handle user-initiated communication with Che
When Automate initiates scans, the `compliance` subcommand is not used.
An alternate subcommand to `compliance` is `automate`. And it works similarly using `inspec automate`.
`inspec automate` is an alias for `inspec compliance` and works the same way
## Operational Notes

View file

@ -187,7 +187,9 @@ Chef Automate:
inspec compliance login
inspec exec compliance://username/linux-baseline
```
An alternate command for login:
`inspec automate` is an alias for `inspec compliance` and works the same way:
```
inspec automate login
```

View file

@ -40,7 +40,8 @@ inspec compliance login https://compliance.test --user admin --insecure --token
where `--insecure` is required when using self-signed certificates.
An alternate command for login:
`inspec automate` is an alias for `inspec compliance` and works the same way:
```bash
inspec automate login https://compliance.test --user admin --insecure --token ''
```

View file

@ -221,7 +221,7 @@ class Inspec::InspecCLI < Inspec::BaseCLI
#{Inspec::Dist::EXEC_NAME} compliance login
#{Inspec::Dist::EXEC_NAME} exec compliance://username/linux-baseline
```
An alternate command for login:
`inspec automate` is an alias for `inspec compliance` and works the same way:
```
#{Inspec::Dist::EXEC_NAME} automate login
```

View file

@ -6,7 +6,7 @@ This extensions offers the following features:
- execute profiles directly from Chef Automate/Chef Compliance locally
- upload a local profile to Chef Automate/Chef Compliance
The subcommand `compliance` has an alternate `automate`. And it works similarly using `inspec automate`.
`inspec automate` is an alias for `inspec compliance` and works the same way.
To use the CLI, this InSpec add-on adds the following commands:
* `$ inspec compliance login` - authentication of the API token against Chef Automate/Chef Compliance