Skip to content

com.limdm.repositories (list)

Console: Package sources. Package sources managed by LiMDM, and unmanaged sources to switch off.

{"repositories": [
  {"name": "vendor", "family": "debian", "url": "https://repo.example.com/apt",
   "suites": "stable", "components": "main", "key": "-----BEGIN PGP PUBLIC KEY BLOCK-----..."},
  {"name": "debian", "family": "debian", "url": "https://deb.debian.org/debian",
   "suites": "trixie trixie-updates", "components": "main",
   "key_file": "/usr/share/keyrings/debian-archive-keyring.gpg"}],
 "disable": ["netbird.list"]}
Field Type Rules
repositories[].name text lower case letters, digits, ., _, -; osquery and names starting with app- are reserved
repositories[].family text debian, fedora or suse
repositories[].url text https, without credentials
repositories[].suites text apt suites, required for debian
repositories[].components text apt components
repositories[].key text ASCII armored signing key, up to 64 KiB
repositories[].key_file text a keyring already on the device below /usr/share/keyrings, /etc/apt/keyrings, /etc/pki/rpm-gpg or /usr/lib/rpm/gnupg/keys
repositories[].signed_metadata true or false rpm only: the repository signs its metadata instead of each package (repo_gpgcheck=1, gpgcheck=0)
disable list of text file names of unmanaged sources to switch off

Merged by name; disable lists are joined. Every source is signed: exactly one of key and key_file is required. Each device only uses entries of its own family; Arch and Alpine use none.

Family Source file Key
debian /etc/apt/sources.list.d/limdm-<name>.sources (deb822) /etc/apt/keyrings/limdm-<name>.asc
fedora /etc/yum.repos.d/limdm-<name>.repo /etc/pki/rpm-gpg/RPM-GPG-KEY-limdm-<name>
suse /etc/zypp/repos.d/limdm-<name>.repo (autorefresh) as for fedora, also imported with rpm --import

Files with the limdm- prefix that are no longer declared are removed; the agent's own osquery source and the catalog apps' sources (limdm-app-*) are left alone.

disable takes *.list, *.sources, *.repo or sources.list, not files starting with limdm-. The agent keeps the original in /var/lib/limdm/repo-backup, switches the whole file off (Enabled: no, enabled=0 or commented lines) and restores it once the name is no longer listed.

On the device page, Edit and Disable next to a reported source open a prefilled item: Edit copies all entries of that file into managed sources (http becomes https, check the URL) and disables the original. Assign the item to a blueprint to apply it.

Field reference

Generated from the payload schema of the server (GET /api/v1/schemas/{type}), the same reference the console editor shows. Unknown fields are rejected.

com.limdm.repositories

Console: Package sources. Additional signed package repositories for apt, dnf or zypper.

Field Type Meaning Limits
repositories list of object Repositories
repositories[].name string Name
repositories[].family string Family one of "debian" (Debian, Ubuntu), "fedora" (Fedora, RHEL), "suse" (SUSE)
repositories[].url string URL https URL of the repository.
repositories[].suites string Suites apt only, for example stable.
repositories[].components string Components apt only, for example main.
repositories[].key string Signing key ASCII armored public key.
repositories[].key_file string Key file Or a keyring already on the device.
repositories[].signed_metadata boolean Signed metadata The repository signs its metadata, not each package.
disable list of string Disable sources Source files on the device to switch off.
Example payload
{
  "repositories": [
    {
      "name": "vendor",
      "family": "debian",
      "url": "https://repo.example.com/apt",
      "suites": "stable",
      "components": "main",
      "key": "-----BEGIN PGP PUBLIC KEY BLOCK-----..."
    }
  ]
}