Skip to content

MSN hub

MSN is AVACOM’s main evidence source. Connect it in both directions:

  • AVACOM → MSN: the MSN provider, so analyses can ask MSN for evidence.
  • MSN → AVACOM: forwarding, so MSN’s critical events and tamper alarms arrive as alerts.

To install MSN itself, see Run the MSN hub.

  1. In MSN, issue a key with the reader role:

    Terminal window
    curl -X POST http://127.0.0.1:8090/v1/keys -H "Authorization: Bearer $MSN_ADMIN_KEY" \
    -H "Content-Type: application/json" -d '{"name": "avacom", "role": "reader"}'
  2. In AVACOM, open Providers, choose MSN and fill in:

    Field Value
    Provider Name For example msn
    MSN URL MSN as the AVACOM server reaches it, for example https://msn.bank.local:8090. In docker-compose.yml it is http://msn:8090.
    MSN API key with the reader role The reader key
    Verify MSN’s TLS certificate Leave on
    MSN API key with the ingest role, for Avacom’s own audit trail Optional: an ingest key for the stream avacom-changes (see below)
  3. Press Connect. AVACOM checks the key by listing MSN’s streams.

From then on, every analysis asks MSN about the incident’s hosts, services and users. Each record MSN returns says whether it is covered by a signed checkpoint and a recent passing integrity check. AVACOM calls it verified only then. An alert from MSN also gets a Query evidence action in the alert panel.

  1. In AVACOM, create an API key with the webhook role (Settings › Users and Access › API Keys).

  2. Give MSN two settings and restart it:

    Setting Value
    MSN_AVACOM_URL The AVACOM API, for example https://avacom.bank.local/backend, or http://avacom-backend:8080 inside docker-compose.yml
    MSN_AVACOM_API_KEY The webhook key

Every 15 seconds MSN sends the events of MSN_FORWARD_MIN_SEVERITY (default critical) or worse to /alerts/event/msn, once a signed checkpoint covers them. Tamper alarms go at once, whatever their severity. MSN remembers what it sent, so nothing is lost if AVACOM is down for a while.

The MSN provider’s page in AVACOM shows these two settings with your address filled in.

Give the MSN provider its audit key (MSN API key with the ingest role, for Avacom’s own audit trail): an ingest key for the stream avacom-changes.

Terminal window
curl -X POST http://127.0.0.1:8090/v1/keys -H "Authorization: Bearer $MSN_ADMIN_KEY" \
-H "Content-Type: application/json" \
-d '{"name": "avacom-changes", "role": "ingest", "stream": "avacom-changes"}'

Then every fix decision and command result is written to MSN as well as to the incident’s activity. A command runs only after MSN has its “started” event. Because MSN is tamper-evident, this gives auditors a record that cannot be quietly changed.