Skip to content

IndraMesh Core 1.0.0

Choose a tag to compare

@weboliver weboliver released this 31 Oct 23:23
· 11 commits to main since this release

IndraMesh Core 1.0.0

The first public release of IndraMesh Core.

Run 1.0.0 on a trusted network only. Do not expose it to the open internet yet; see
Security.

Highlights

  • A hierarchical data platform for structured company data. Asset inventories, master data,
    customer and product data are modelled from Source through Schema and Object Type down to Objects,
    attribute values and references.
  • One permission model across every API. A REST API, a public read API and a GraphQL API share
    roles, per-record policies, attribute-level privacy classification and an audit log of who changed
    what.
  • Lean core, first-party plugins. External systems and tooling are plugins: a Jira Assets
    connector, a GraphQL studio, a log explorer and two AI assistants ship alongside Core as separate
    repositories.

The full list of what 1.0.0 contains is in the
CHANGELOG.

Get started

The README quickstart is the supported path. You need Git, Docker Engine with the
Compose v2 plugin (2.20 or newer), openssl, and about 4 GB of memory for Docker:

git clone https://github.com/weboliver/indramesh-core.git
cd indramesh-core
./install_indramesh_docker.sh

The installer generates every secret, builds and starts the stack, and prints the login URL and the
initial admin password. Open https://localhost:8443, accept the self-signed certificate, and log in
as admin. A local single-node k3s installation uses ./install_indramesh_k8s.sh and the
bundled Helm chart (chart version 1.0.0) and serves the stack at https://localhost. Details are in
docs/DEPLOYMENT.md.

./start and ./stop control the k3s installation only. They start and stop the k3s service
and leave a Docker Compose stack untouched. On Docker Compose, stop the stack with
docker compose stop and start it again with docker compose up -d, both from the checkout root.

No prebuilt image is published for 1.0.0. The backend image and the frontend bundle are built
locally from the repository on the first install, so the first start compiles rather than pulls.

Stability promise

IndraMesh Core follows Semantic Versioning 2.0.0. From 1.0.0 on,
a backward-incompatible change to the documented API needs a new major version. The promise covers the
documented /api/v1 REST endpoints, the public GraphQL endpoint, saved-query execution, the documented
environment-variable names, the machine-readable error codes and the invocation of the public scripts.
Anything deprecated in a 1.x release keeps working until the next major release.

The plugin API is experimental. The plugin SDK, the manifest schema and the frontend extension
points are outside the promise. Plugin authors should pin an exact Core version.

The full declaration, including every excluded surface, is docs/STABILITY.md.

First-party plugins

Plugin Repository Version License api_version Tested with
Jira Assets connector indramesh-plugin-jira 1.0.0 Apache-2.0 1.0.0 Core 1.0.0
GraphQL Studio indramesh-plugin-graphql-studio 1.0.0 Apache-2.0 1.0.0 Core 1.0.0
Log Explorer indramesh-plugin-log-explorer 1.0.0 Apache-2.0 1.0.0 Core 1.0.0
AI Schema Wizard indramesh-plugin-ai-schema-wizard 1.0.0 Apache-2.0 1.0.0 Core 1.0.0
AI Translation indramesh-plugin-ai-translation 1.0.0 Apache-2.0 1.0.0 Core 1.0.0

Each plugin is installed into a running stack with
./install_plugin_docker.sh <repository-url> --ref v1.0.0 or
./install_plugin_k8s.sh <repository-url> --ref v1.0.0. Each plugin's release notes name its
requirements. GraphQL Studio is a developer tool for development and test setups; do not install it on
a production instance.

There is no plugin uninstall yet. A plugin can be disabled under Plugins in the admin UI, which
stops it at once while its files and data stay in place. An uninstall is planned for one of the next
releases.

Security

Read SECURITY.md before reporting. Vulnerabilities are reported privately through
GitHub's private vulnerability reporting on this repository, or by email to security@indramesh.com,
and never in a public issue.

Do not run 1.0.0 on the open internet. This release is meant for a trusted network: a company
network, a VPN or a single machine. Hardening items that matter for an internet-facing service are
still open (see Known limitations), among them 30-day browser sessions, login and credential
hardening, and record-level checks on some secondary surfaces. If people need remote access, reach
the stack through a VPN or an authenticating reverse proxy instead of publishing its port directly.
A later release will state in its release notes when running on the open internet is supported.

Before 1.0.0, Core was reviewed against targeted chapters of OWASP ASVS 5.0 Level 2 and the OWASP API
Security Top 10 (2023). Every finding was triaged; release blockers were fixed before 1.0.0, and the
areas that remain open are listed under Known limitations. This was the maintainer's own review, not
an external audit or a certification.

Known limitations

  • Record-level authorization on secondary read surfaces. A few secondary read surfaces check the
    type-level permission but not every per-record policy. Grant the related read permissions only to
    roles you trust with the whole object type.
  • Session, credential and login hardening. Session and credential handling still has hardening
    items open. Rotate credentials after a suspected exposure, keep the cache service on a trusted
    network, and keep operator sessions short.
  • Plugin trust boundary and plugin API surface. Plugins run in-process with the application's
    trust. Install only plugins you trust; the five first-party plugins are the tested set.
  • Accepted by-design trust boundaries. Some behaviours are accepted by design. Record-permission
    decisions are cached for up to 60 seconds, so a newly added deny can take up to a minute to apply,
    and installed plugins carry application trust.
  • Migration history and downgrade fidelity. 1.0.0 starts from a fresh database baseline, and
    downgrades are not supported. Back up before every upgrade and treat an upgrade as one-way.
  • Write-path atomicity, task and queue consistency. Some multi-step writes and queue hand-offs are
    not yet fully atomic, so a task can stay pending after a failed hand-off. Check the reported result
    of a long-running import or export before retrying, and run a single worker replica.
  • Data-model integrity and catalog consistency. Some catalog rules, such as name uniqueness, are
    enforced by the application rather than by the database. Avoid concurrent edits of the same schema.
  • Import and export contracts and payload handling. Import and export contracts still have
    validation gaps. Try a new import definition on a small file first, and do not start two exports of
    the same definition at the same moment.
  • Frontend failure reporting and browser-surface hygiene. Some UI actions show a failure as an
    empty result or not at all, and search and filter values persist in the URL and in browser storage.
    Verify the result after a failed action, and clear browser storage on a shared machine.
  • Deployment, infrastructure and observability. The shipped deployment is single-node-oriented and
    has hardening items open around bundled administration tools, backups and service-to-service
    authentication. Keep the stack on a trusted network, do not expose Grafana or the log store, and back
    up the database together with the encryption key.
  • Dependency advisories. Low-severity dependency advisories
    remain open. The dependency upgrades that mattered for 1.0.0 are included.
  • Backend robustness, dead code and remaining contracts. Some error paths and rare races are not
    yet hardened. Treat a server error as an unknown result and re-read the object before retrying.
  • Maintainer review tooling. The maintainer's internal review tooling has open items. No
    operator action is required.
  • Areas not yet reviewed in depth. Not every area was reviewed in depth before 1.0.0. A
    Jira connection cannot be re-bound after its URL changes: keep Jira Source and Target URLs stable, or
    delete and rebuild the binding.
  • k3s release upgrades. The upgrade path for a k3s installation is documented but was not
    rehearsed for 1.0.0.
  • arm64. On a Raspberry Pi 5 with 8 GB of memory, both the Docker Compose and the k3s quickstart
    installed and served a running stack. The automated test suites ran on amd64 only.
  • Experimental plugin API. The plugin API is outside the versioning promise and may change in any
    release.
  • No prebuilt image. No container image is published for 1.0.0; every installation builds its
    images locally.

Upgrade notes

This is the first public release. There is no supported upgrade path from internal pre-release
installations: install 1.0.0 fresh. The upgrade path for a k3s installation is documented but was not
rehearsed for 1.0.0.

Secure defaults

A fresh installation starts restrictive. An administrator can widen each default:

  • Imports are Administrator-only. Starting, changing or deleting an import writes objects without
    the per-object checks of the acting user, so the imports:create, imports:update and
    imports:delete permissions are not granted to the Editor role. Grant them to a role explicitly if
    other users should run imports.
  • Group and membership changes are Administrator-only. A group carries roles, so whoever manages
    groups hands out roles. Editors keep read access to groups.
  • Saved-query execution is Administrator-only (saved-queries:execute). Editors can still create
    and edit saved queries.
  • Exports and schedules belong to their creator. Only the creator and superusers can see and
    manage an export or a schedule. One without a recorded creator is visible to superusers only.
  • The password policy is configurable. The default is at least 8 and at most 72 characters. An
    administrator can require digits, special characters or uppercase letters and change the length
    limits under Settings.
  • Keep the .env file, and protect it. The installer generates every secret into the root .env
    with owner-only permissions (mode 600). Docker Compose reads it on every start, and the installers
    read it on every rerun, so do not delete it. An installer run without it generates new secrets that
    no longer match the existing database, and a new encryption key makes stored credentials unreadable.
    Keep the file mode as it is, back the file up (at least FERNET_KEY) somewhere off the server, never
    commit it, and change the initial admin password in the UI after the first login, because
    ADMIN_PASSWORD is only used when the admin user is first created.

License

IndraMesh Core is licensed under the GNU Affero General Public License v3.0 or later
(AGPL-3.0-or-later), with the IndraMesh Core Plugin Exception: plugins that use Core only through
its plugin interface may carry any license. The first-party plugins are licensed under Apache-2.0.
Dependency notices are in THIRD-PARTY-NOTICES.md.