-
Notifications
You must be signed in to change notification settings - Fork 11
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Rename agent to repeater #68
Labels
Type: enhancement
New feature or request.
Comments
derevnjuk
added a commit
that referenced
this issue
Aug 21, 2020
BREAKING CHANGES: * **agent**: `agent` command has been renamed to `repeater`. It affected all its options and arguments. Before: ```bash docker run neuralegion/agent \ -e 'AGENT_API_KEY=my-api-tey' \ -e 'AGENT_ID=my-agent-id' \ -e 'AGENT_HEADERS={ "X-Header": "my-header" }' -e 'AGENT_PROXY=socks5://my-proxy:1080/' ``` After: ```bash docker run neuralegion/repeater \ -e 'REPEATER_TOKEN=my-api-tey' \ -e 'REPEATER_AGENT=my-agent-id' \ -e 'REPEATER_HEADERS={ "X-Header": "my-header" }' -e 'REPEATER_PROXY=socks5://my-proxy:1080/' ``` * **archive:generate**: command has been reworking to accept `mockfile` as positional argument. `archive` options has been renamed to `output`. Before: ```bash nexploit-cli archive:generate \ --archive archive.har \ --target url-tested-application \ --mockfile .nexmock \ --header "Authorization: Bearer my-jwt-authentication-token" ``` After: ```bash nexploit-cli archive:generate \ --output archive.har \ --target url-tested-application \ --header "Authorization: Bearer my-jwt-authentication-token" \ .nexmock ``` * `api-key` option has been removed. You should use `token` option instead. Before: ```bash nexploit-cli scan:run \ --name scan-name \ --archive received-archive-id \ --api-key my-jwt-authentication-token ``` After: ```bash nexploit-cli scan:run \ --name scan-name \ --archive received-archive-id \ --token my-jwt-authentication-token ``` closes #68
derevnjuk
added a commit
that referenced
this issue
Aug 21, 2020
BREAKING CHANGES: * **agent**: `agent` command has been renamed to `repeater`. It affected all its options and arguments. Before: ```bash docker run neuralegion/agent \ -e 'AGENT_API_KEY=my-api-tey' \ -e 'AGENT_ID=my-agent-id' \ -e 'AGENT_HEADERS={ "X-Header": "my-header" }' -e 'AGENT_PROXY=socks5://my-proxy:1080/' ``` After: ```bash docker run neuralegion/repeater \ -e 'REPEATER_TOKEN=my-api-tey' \ -e 'REPEATER_AGENT=my-agent-id' \ -e 'REPEATER_HEADERS={ "X-Header": "my-header" }' -e 'REPEATER_PROXY=socks5://my-proxy:1080/' ``` * **archive:generate**: command has been reworking to accept `mockfile` as positional argument. `archive` options has been renamed to `output`. Before: ```bash nexploit-cli archive:generate \ --archive archive.har \ --target url-tested-application \ --mockfile .nexmock \ --header "Authorization: Bearer my-jwt-authentication-token" ``` After: ```bash nexploit-cli archive:generate \ --output archive.har \ --target url-tested-application \ --header "Authorization: Bearer my-jwt-authentication-token" \ .nexmock ``` * `api-key` option has been removed. You should use `token` option instead. Before: ```bash nexploit-cli scan:run \ --name scan-name \ --archive received-archive-id \ --api-key my-jwt-authentication-token ``` After: ```bash nexploit-cli scan:run \ --name scan-name \ --archive received-archive-id \ --token my-jwt-authentication-token ``` closes #68
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
No description provided.
The text was updated successfully, but these errors were encountered: