Skip to content

Added Getting Started Page for the Remote API #237

Open
erik-graf wants to merge 1 commit into
ait-testbed:mainfrom
erik-graf:development
Open

Added Getting Started Page for the Remote API #237
erik-graf wants to merge 1 commit into
ait-testbed:mainfrom
erik-graf:development

Conversation

@erik-graf
Copy link
Copy Markdown
Contributor

Added Getting Started Documentation for the Remote API.
Changed default port number in remote_config.rst doc.

…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.
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why is an attackmate-client required?

remote_config:
remote_server:
url: "https://10.0.0.5:5000"
attackmate-server:
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

is there any specific reason for changing the name?

Comment thread docs/source/configuration/remote_config.rst
* `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
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

specify what the client is and when it is required.

Comment on lines +36 to +37
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.
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
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

Comment on lines +144 to +149
The systemd service logs are available with:

.. code-block:: console

journalctl -u attackmate-api -f

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

where did you explain how to install attackmate-api using systemd?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants