mirror of
https://github.com/inspec/inspec
synced 2024-11-10 07:04:15 +00:00
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:
parent
a4d822ae43
commit
072a8c438f
5 changed files with 8 additions and 5 deletions
|
@ -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
|
||||
|
||||
|
|
|
@ -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
|
||||
```
|
||||
|
|
|
@ -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 ''
|
||||
```
|
||||
|
|
|
@ -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
|
||||
```
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue