host-check
Use the host check command to verify if your system is appropriately set up to perform a scan.
The command endorctl host-check verifies if your system can perform a successful scan.
Usage
To verify that your local host is appropriately configured to scan a given repository:
- Clone the repository for which you’d like to verify system setup. Update the following instructions to the repository of your selection.
git clone https://github.com/endorlabs/app-java-demo.git
- Navigate to the root of the repository you’ve cloned.
cd ./app-java-demo
- Run the
endorctl host-checkcommand.
endorctl host-check
Options
The endorctl host-check command uses the following flags and environment variables.
| Flag | Environment Variable | Type | Description |
|---|---|---|---|
auth-check-only |
ENDOR_HOST_CHECK_AUTH_CHECK_ONLY |
boolean | Validate authentication credentials only. |
name |
ENDOR_ARTIFACT_NAME |
string | The name of the artifact whose signature you want to revoke. |
path |
ENDOR_HOST_CHECK_PATH |
string | Set the path to the repository to scan on the local filesystem. For 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.