@remedix/cli
v1.0.2
Published
Remedix CLI for automated security scanning
Downloads
29
Readme
@remedix/cli
Remedix CLI for automated security scanning. This tool allows you to initiate and monitor security scans directly from your terminal.
Installation
npm install -g @remedix/cliOr run it directly using npx:
npx @remedix/cli scan https://example.comConfiguration
The CLI requires a Remedix API Key. You can provide it in two ways:
Environment Variable: Create a
.envfile or export it in your shell:export REMEDIX_API_KEY=your_api_key_hereCommand Line Option: Use the
--keyor-kflag with any command.
Usage
Start a Scan
To start a new security scan for a target URL:
remedix scan https://example.comOptions:
-k, --key <key>: Remedix API Key.-m, --mode <mode>: Scan mode:FAST(default) orDEEP.-s, --scanner <type>: Scanner type:ZAP(default),AISCANNER, orNUCLEI.-w, --wait: Wait for the scan to complete and show results.--api-url <url>: Override the default Remedix API URL (default:https://remedix.app).
Example with wait:
remedix scan https://example.com --wait --mode DEEPCheck Scan Status
To check the status of an existing scan using its ID:
remedix status <scan_id>Options:
-k, --key <key>: Remedix API Key.--api-url <url>: Override the default Remedix API URL.
Development
- Clone the repository.
- Install dependencies:
npm install - Build the project:
npm run build - Link for local testing:
npm link
