host-check
The command endorctl host-check
allows you to quickly verify if your system is setup with the appropriate tools to perform a successful scan.
Usage
To verify that your local host is appropriately configured to scan a given repository:
-
Clone the repository you’d like to verify system setup for. The following instructions should be updated to the repository of your selection.
```shell git clone https://github.com/endorlabs/app-java-demo.git ```
-
Navigate to the root of the repository you’ve cloned:
```shell cd ./app-java-demo ```
-
Run the host check command:
```shell endorctl host-check ```
To verify that your local host is appropriately configured with AI recommendations on how to address any issues perform the following procedure and add the --droid-gpt
flag to the host check command:
```shell
endorctl host-check --droid-gpt
```
Options
The endorctl host-check
command uses the following flags and environment variables:
Flag | Environment Variable | Description |
---|---|---|
auth-check-only |
ENDOR_HOST_CHECK_AUTH_CHECK_ONLY |
Validate authentication credentials only. |
droid-gpt |
ENDOR_HOST_CHECK_DROID_GPT |
Use DroidGPT to generate remediation advice. |
path |
ENDOR_HOST_CHECK_PATH |
Set the path to the repository to scan on the local filesystem. Example: --path=/Users/endorlabs/github/myrepo . |
Feedback
Was this page helpful?
Thanks for the feedback. Write to us at support@endor.ai to tell us more.
Thanks for the feedback. Write to us at support@endor.ai to tell us more.