Skip to content

Intended Use and Limitations ​

What Hegemony is for, what it is not for, and the risks of automating changes to infrastructure. Read this page before you connect Hegemony to devices that carry production traffic.

Intended purpose ​

Hegemony runs automation workflows ("flows") against infrastructure that you operate or are authorised to manage. Typical uses:

  • network and infrastructure changes (configuration over SSH, NETCONF, Ansible, OpenTofu/Terraform, HTTP APIs);
  • checks before and after a change, with evidence of what each step did;
  • scheduled and event-driven automation, with approvals, maintenance windows and an audit trail.

It is self-hosted: you run it on your own infrastructure, and you control its users, credentials and the devices it can reach. No component contacts the project or any vendor by default.

Supported deployments ​

  • Supported: the Docker Compose deployment described in Instance Bootstrap, hardened as described in Production Hardening, on a Linux host you maintain.
  • Not supported as shipped: other orchestration (for example Kubernetes) without your own adaptation, exposure of the UI or API to the internet without TLS and an authenticating reverse proxy, and running with HEGEMONY_ENVIRONMENT left at its development default.
  • Versions: see Supported versions and the Compatibility and Deprecation Policy.

Foreseeable misuse and its risks ​

Hegemony does what a flow tells it to, with the credentials you give it. The following uses are foreseeable and can cause outages, security incidents or data loss. Avoid them or add the safeguard named.

MisuseRiskSafeguard
Running a change flow against all devices at onceA wrong change takes down many devices togetherTarget small batches first; use run limits
Changing devices outside a maintenance windowAn outage at a busy timeUse maintenance windows
Running a change without a dry runAn unreviewed change is appliedUse the step's dry-run or check mode where it has one (for example Ansible check_mode, NETCONF dry_run), and show the differences before approving
Using a direct commit where a confirmed commit is possibleA change that cuts off management access cannot roll itself backKeep NETCONF commit_mode at its default, a confirmed commit
Change flows with no approval stepOne person can change production aloneAdd an approval step. Give the approver role only to people who neither author the flow nor start its runs; the roles enforce this for everyone except administrators. Hegemony does not yet stop an administrator approving a run they started, so keep administrator accounts few and make it a written rule that each run is approved by someone other than the person who started it
Giving flows broader credentials than they needA compromised or wrong flow reaches more than intendedUse per-flow credentials with the least privilege; keep secrets in a secret store, not in flows
Exposing the UI or API without TLSCredentials and session tokens can be interceptedFollow Production Hardening
Accepting unknown SSH host keys without checkingA device can be impersonatedUse the trusted host keys described in SSH host keys
Running untrusted flows, plugins or container imagesCode runs with the platform's accessOnly install plugins and images you trust; review flows like code
Leaving the deployment unpatchedKnown vulnerabilities stay exploitableWatch releases and apply security updates (see below)

Known limitations ​

The honest list of what Hegemony cannot do today is in TODO.md. The residual risks that operators must cover are in the Threat Model.

Security updates and end of support ​

Taking an instance out of service ​

Before you decommission an instance: revoke its API tokens and the credentials it held for devices and secret stores, export what you must keep (for example the audit log), and then delete its data volumes. The data it stores is listed in the Personal Data Inventory.

Product information from your supplier ​

This page describes the open-source project. If you obtained Hegemony from a company that supplies it commercially (for example with support, an appliance or add-ons), that supplier may give you additional product information, such as its own contact point for security issues, the support period it commits to and its regulatory declarations. The project's documentation does not replace that information. Distributors can use the product information template.