NewDanbyte 0.20.0: Known vulnerabilities, device dependencies and DiscoveryRelease notes

Your pipelines read from Danbyte, so there is no second copy to maintain.

Danbyte works as a native inventory source and renders configuration with Jinja. It shows you where a device has drifted from the rendered configuration, and it sends signed events when something changes. Everything you can do in the UI, you can also do through the API.

A pipeline with its steps in order, its last run, and the same pipeline as code.A pipeline with its steps in order, its last run, and the same pipeline as code.
REST
API for every object type
MCP
server for agents and assistants
0
second copies of your inventory

Deploy pipelines with a dry run

A pipeline runs automation targets one after another against a device or a VM. A target can be a Danbyte script, an Ansible job or a webhook. If a step fails, the remaining steps are skipped, unless you have set the step to continue. A step can also wait for the runner to report its result before the next step starts.

Deploy on a device lists the pipelines that fit the device and shows the steps that will run. If you tick Dry run, Danbyte tells every step that this is a dry run, so a target that supports it can report what it would do without changing anything.

Default for a role
You can make a pipeline the default for a device role. The Deploy dialog then selects it for devices with that role.
Run on change
You can set a pipeline to run every time its object changes, so nobody has to remember to start it.
Pipelines as code
You can export and import a pipeline as YAML. The file contains the name, the object types, the on-change setting and the steps.
Cancel and re-run
The run page shows the status, the log and the output files of each step. It also has the Cancel run and Re-run buttons.
A dry run that stopped at step 2. The page shows the status and duration of each step, the log of the failed step and the JSON that the next step would have received.

An inventory source for Ansible and Terraform

Danbyte works as a dynamic inventory for Ansible and as a data source for Terraform, with the groups, variables and config contexts you have defined. You do not need an export step or a nightly job that copies your inventory into a second file, which would then go out of date.

Config contexts
Config contexts are layers of data that you attach by site, role, platform, tag or tenant. Danbyte merges them in a defined order.
Export templates
Export templates are Jinja templates for any object type. You can use them for configs, spreadsheets, label sheets or anything else your process needs.
Custom fields
You can add typed fields to any object. They are available in the API, in exports, in filters and in templates.
Webhooks
Danbyte sends a signed event when something changes and retries if the delivery fails. You choose the payload.

Scripts that run inside Danbyte

Scripts are written in Python and run inside Danbyte as the person who clicked Run. They can use the ORM and the API. Scripts run in a sandbox by default. On a server with bubblewrap installed, a script can reach the Danbyte API and nothing else on the network unless you allow more.

Sandboxed by default
The sandbox uses Landlock, with bubblewrap on top where it is installed. With bubblewrap, a script runs in its own namespaces and has no network access except to the API. You can take a single script out of the sandbox when it needs more.
Scoped tokens
An API token has a scope and the permissions of its owner. A read-only token rejects every request that would change data.
MCP server
Claude Code, Cursor, VS Code or your own agent can query Danbyte over MCP with the access of a token.
The scripts list shows which scripts exist, who is allowed to run each one, and the result of its last run.The scripts list shows which scripts exist, who is allowed to run each one, and the result of its last run.The log lists every run with what it changed and what it refused to change.The log lists every run with what it changed and what it refused to change.

Render a device config and detect drift

Everything you have modelled, including routing, is available to the config template of a device as structured data. One template can therefore render the whole device, in the vendor syntax you write. Danbyte renders what you have modelled, and you keep full control of the template.

The drift runner compares the configuration that is running on a device with the rendered configuration and shows the difference. SNMP discovery compares what the device reports about itself with what you have documented.

The model rendered through your own template. You can compare the result with the configuration on the device.

Config backups from Oxidized

Danbyte does not back up configurations itself. It reads them from your Oxidized server and shows them on the device page. You get the current config with find, copy and download, the history with its commits, and a diff between any two versions.

Danbyte is careful when it matches Oxidized nodes to devices. If a node could match more than one object, Danbyte does not link it and tells you why. If a node that was matched before gets a new match, the new match is only a proposal until someone confirms it. A new device with the same name therefore cannot take over the configuration of another device without anyone noticing. To read a config you need a permission that none of the built-in roles include.

Your devices
cph-core1
cph-dist01
aarhus-asw1
collects
Oxidizedyours
Runs onyour server
Keeps history inyour git repo
Logs in to devicesyes
reads
Danbyte
Showsthe Config tab
Needsits own permission
Logs in to devicesnever
Where a config comes from. Oxidized collects and stores the configs. Danbyte reads them from the Oxidized server and never connects to a device itself.

Scheduled sync from Proxmox, vCenter and Cloud Director

Danbyte syncs clusters, hosts, virtual machines, disks, networks and groups from Proxmox, vCenter and Cloud Director on a schedule. Each source has its own log of what changed and what the sync refused to change. Placement rules define where a VM is expected to be. When the interfaces of a VM differ from what is documented, you review the differences before they are applied.

A source with what it syncs, how often it runs and when it last ran.
Where a virtual machine is expected to be, and where it is now.

The API covers the whole product

The API covers every object type and has filtering, pagination, bulk operations and an OpenAPI schema. A token has a scope and inherits the permissions of its owner, so an integration can never see more than the person who created it.

Jobs run in a queue that you can watch. Plugins can add their own models, pages and API routes. All of this also works in an air-gapped install.

Clients
The browser
Ansible
Terraform
Your own scripts
An agent over MCP
same routes
One REST API/api
Coversevery object type
Listsfilters, pages, bulk
Described byan OpenAPI schema
Returnsthe objects the UI shows
as
A token
Its owner mayviewchangedelete
Its scopeview
It reachesview
The browser is one of the clients. The browser and every other client use the same API routes. A token gets the permissions of its owner, limited by its own scope.

Questions

Does Danbyte push configuration to my devices?

No. Danbyte renders the configuration from the model and shows you where a device differs from it. Your own automation pushes the configuration, and that is usually where your review and approval steps already are.

What can a script reach?

A script runs in a sandbox. On a server with bubblewrap installed, the script can reach the Danbyte API and nothing else on the network. Without bubblewrap the sandbox uses Landlock alone, and the network stays open. If a script needs to talk to devices, you take that script out of the sandbox yourself.

Is the API complete?

Yes. The UI is a client of the API, so anything you can do in the browser you can also do over REST. There is an OpenAPI schema that you can generate client code from.

See Automation and API with real data in it

The demo is a full install with a seeded network. Nothing to sign up for.