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.

To verify that your local host is appropriately configured to scan a given repository:

  1. 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
  1. Navigate to the root of the repository you’ve cloned.
cd ./app-java-demo
  1. Run the endorctl host-check command.
endorctl host-check

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.