Skip to content

Operations

Part of Recommended Deployment for MSSPs.

Once a few customers are running, the work moves from building to keeping thousands of tenants the same, except where a customer needs to be different. This page is the short list of what that takes. The MSSP walkthrough has the details for most of it.

Change everything through Git

The repository is the source of truth. A change is a pull request: CI checks it, someone reviews, a merge rolls it out, and on its next pull Git Sync applies it in each tenant that includes the changed file. The IaC tutorial sets up the pull request flow and a structure check. Add the rule tests on sample events and, where it helps, a replay over recent history as your own CI steps; Test before you ship has the commands. The Git Sync reference lists every option.

flowchart LR
    PR["Pull request"] --> CI["Your CI checks<br/>(structure, rule tests, replay)"]
    CI --> REV["Review and merge"]
    REV --> GS["Git Sync applies it on its next pull<br/>in each tenant that includes the file"]
    REV --> CLI["CI pushes with the CLI the records<br/>Git Sync does not carry"]

Three habits keep it working:

  • Shared files in global/, exceptions in the customer's folder. If you find yourself copying a file into a customer folder to change one line, that line belongs in a false-positive rule or a tag instead.
  • A pull never deletes. Removing a record from Git leaves it running in the tenant. Delete it there too; the tutorial's Delete things step shows how.
  • Export catches drift. Turn on export for the types you want to watch, and a scheduled push writes each tenant's live configuration of those types to exports/, so a change someone made in the console shows up as a diff. Leave the secret hive out of both sync and export.

What Git Sync does not cover yet

Git Sync carries detection and false-positive rules, lookups, saved queries, YARA, playbooks, AI agents, SOPs, org notes, cloud adapters, Application Control policies and rules, investigation policies and plans, outputs, extension subscriptions and settings, and installation keys, for the types you enable in each tenant's Git Sync settings. It does not cover every product's configuration yet. Push the rest from the same repository with the CLI in your CI:

Product Records How to push them
Email Security dr-mail, mailsec_policy limacharlie sync push --config-file mail.yaml --hive-dr-mail --hive-mailsec-policy. See Email Security rules as code.
Email Security mailsec_provider limacharlie sync push --config-file mail.yaml --hive-mailsec-provider, or a limacharlie hive set loop over the files, one per tenant.
Cloud Security cloudsec_provider, cloudsec_policy, cloudsec_query, cloudsec_code_rule limacharlie sync push --config-file cloudsec.yaml with --hive-cloudsec-provider, --hive-cloudsec-policy, --hive-cloudsec-query and --hive-cloudsec-code-rule for the hives the file holds, or a limacharlie hive set loop. See Cloud Security API and IaC and Multi-tenant policy push.
Host Posture (coming soon) Default rules The extension's install flow, run in your onboarding script.
Cloud-managed adapters external_adapter Git Sync can carry them, but leave it off: the record holds the installation key and source credentials in plain text, because these records cannot use hive://secret/ references. CI fills the credentials in from its own secret store and runs limacharlie external-adapter set. See Cloud-managed adapters.

Keep these files out of the index.yaml that Git Sync reads, so the two tools never write the same record. An Organization API key works on one organization only, so CI needs a key per tenant. Credentials stay in each tenant's secret hive or in your CI's secret store, never in the repository.

The tuning loop

Once a week per customer, or after any noisy day:

  1. Look at the detections that were closed as false positives. For each one, add a false-positive rule in that customer's folder, or a tag if the exception is about a machine's role.
  2. When the same false positive shows up in several customers, fix the shared rule in global/ instead, with a unit test that proves it.
  3. Replay changed rules against the last days of real data before merging. See Replay.
  4. Read what your AI agents closed. An alert they keep closing the same way is a candidate for a false-positive rule or a playbook.

The walkthrough's feedback loop covers the same ground.

Watch costs

  • Put Usage Alerts in the shared template, on output volume. An output that sends far more than planned becomes a detection once it crosses your threshold. Usage Alerts do not watch ingestion, so also run a scheduled job over limacharlie org stats for each tenant to catch a jump in its total ingestion, then find the adapter that grew. See Routing data out.
  • Keep sensors you are not monitoring in sleeper mode, and let Sensor Cull remove the ones that are gone.
  • Prefer outputs to GCP destinations in the datacenter's region for the full copy; other destinations bill on egress. See Output billing.
  • Review AI spend per tenant in cost tracking, and keep max_budget_usd on every agent.
  • Use Unified Billing so every tenant lands on one invoice.

The walkthrough's cost guardrails part has the template records.

Watch health

Silence is the failure you do not see. Alert on it:

  • Sensors and devices that stop sending. A per-device syslog sensor stays online as long as the adapter runs. Use Alerting on sensors that stop sending data.
  • Cloud adapters that fail. They report cloud_adapter_error events. After 24 hours of continuous failure LimaCharlie disables the adapter, unless its configuration was edited in the meantime, and sends cloud_adapter_disabled when it does. A D&R rule on the deployment target can alert on both. See A Cloud Adapter keeps failing or was disabled.
  • Git Sync runs that fail. See Alerting on failures.
  • Outputs that drop. An output that gives up on a record is disabled until the next configuration refresh, or deleted if Delete on Failure is on. LimaCharlie sends output_drop summary events. They count the drops it observed, not every lost record. See Output delivery.

Each of these is a D&R rule you write once in global/.

Look across tenants

A few views work across every tenant you manage:

Access

Your staff get access through Organization Groups by job function. Customer users go directly on their own organization, never into a staff group. Review both on a schedule, and remove leavers from the groups, not from each tenant. See Designing access and the walkthrough's access part.

Onboarding and offboarding

Onboarding is a script: create the organization in the customer's region, add it to the staff groups, store the deploy key and subscribe Git Sync. Then merge the pull request that adds the customer's folder with the shared includes, run a first Git Sync apply and check its result (see Seeing the results), and run the CLI pushes for the records Git Sync does not carry. Only then connect sources and send the installation keys. Then follow the rollout order. See the walkthrough's onboarding playbook and the tutorial's next customer step.

Offboarding has an order: export what you keep, make sure the archive outputs have delivered, uninstall the agents, then delete the organization. Deleting first leaves the agents installed on the customer's machines. See Offboarding a customer organization.