Skip to content
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

Closed
derevnjuk opened this issue Aug 21, 2020 · 0 comments · Fixed by #69
Closed

Rename agent to repeater #68

derevnjuk opened this issue Aug 21, 2020 · 0 comments · Fixed by #69
Assignees
Labels
Type: enhancement New feature or request.

Comments

@derevnjuk
Copy link
Member

No description provided.

@derevnjuk derevnjuk added the Type: enhancement New feature or request. label Aug 21, 2020
@derevnjuk derevnjuk self-assigned this Aug 21, 2020
@derevnjuk derevnjuk changed the title Rename agent to the repeater Rename agent to repeater Aug 21, 2020
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
Labels
Type: enhancement New feature or request.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant