Added Getting Started Page for the Remote API #237
Conversation
…ote_config.rst to port actually used by default
|
|
||
| * AttackMate installed on the server. | ||
| * attackmate-api-server installed and running on the server. | ||
| * attackmate-client installed on the client. |
There was a problem hiding this comment.
why is an attackmate-client required?
| remote_config: | ||
| remote_server: | ||
| url: "https://10.0.0.5:5000" | ||
| attackmate-server: |
There was a problem hiding this comment.
is there any specific reason for changing the name?
There was a problem hiding this comment.
i think it makes sense, attackmate-server is more informative
| * `attackmate-api-server <https://github.com/ait-testbed/attackmate-api-server>`__: | ||
| runs on the remote AttackMate host and exposes an HTTPS API. | ||
| * `attackmate-client <https://github.com/ait-testbed/attackmate-client>`__: | ||
| runs on the local/client host and sends commands or playbooks to the API |
There was a problem hiding this comment.
specify what the client is and when it is required.
| It is recommended to install AttackMate on the client too. This allows the | ||
| client to parse local wrapper playbooks and use the normal ``attackm8`` command. |
There was a problem hiding this comment.
I would describe when to install just the attackmate-client and when to install the attackmate instead. It is not recommended to install AttackMate and the Client.
|
|
||
| uv run attackm8 --debug remote_wrapper.yml | ||
|
|
||
| The client should log in to the API server, send the referenced playbook, and |
There was a problem hiding this comment.
| The client should log in to the API server, send the referenced playbook, and | |
| The local attackmate should log in to the remote API server, send the referenced playbook, and |
| The systemd service logs are available with: | ||
|
|
||
| .. code-block:: console | ||
|
|
||
| journalctl -u attackmate-api -f | ||
|
|
There was a problem hiding this comment.
where did you explain how to install attackmate-api using systemd?
| server. | ||
|
|
||
| The `attackmate-ansible <https://github.com/ait-testbed/attackmate-ansible>`__ | ||
| role can install and configure both sides. |
There was a problem hiding this comment.
add here that the client is a dependency of attackmate?
Added Getting Started Documentation for the Remote API.
Changed default port number in remote_config.rst doc.