Escape API CLI Client is a command-line interface client built using Cobra for interacting with the Escape API.
Fetch details of a specific scan using its scan ID.
./escape-api-client get-scan [scanId] --api-key your_api_key_here
Retrieve a list of applications associated with an organization using its organization ID.
./escape-api-client organization-applications [organizationId] --api-key your_api_key_here
Initiate a scan for a given application using its application ID.
./escape-api-client start-scan [applicationId] --api-key your_api_key_here --config config_override --commit commit_hash --introspection json_data_here
Upload introspection data for a specific application using its application ID.
./escape-api-client upload-introspection [applicationId] --api-key your_api_key_here --introspection-response introspection_json_here
--api-key
: API key for authorization (required for all commands)--config
: Configuration override (optional,start-scan
command)--commit
: Commit hash (optional,start-scan
command)--introspection
: Introspection JSON (optional,start-scan
command)--introspection-response
: Introspection response (required forupload-introspection
command)
-
Clone the repository:
git clone https://github.com/Escape-Technologies/escape-api-client.git
-
Navigate to the project directory:
cd escape-api-client
-
Build the CLI client:
make build
-
Verify the installation by running:
./dist/{arch}/escape-api-client --help
This project is licensed under the Apache 2.0 License.