Files
fleet/.gitignore
T
George Karr a25ae3ddfc Adding initial tool - dibble the tapir for seeding data (#46122)
## Overview

`dibble` is a one-stop CLI for seeding a Fleet server with test data —
users, teams, policies, reports, labels, scripts, MDM profiles,
software, secrets, CAs, and vulns — replacing ~8 ad-hoc seeding tools
with a single binary.

It makes it easy to:
- **Spin up a populated dev/test server in one command** — `dibble all`
plants everything with sensible, idempotent defaults.
- **Skip the flag-memorization** — running `dibble` with no args
launches an interactive wizard that prompts for Fleet URL, API token,
theme, and which entities to seed, and offers to save the config to
`~/.dibble.yaml`.
- **Seed individual entity types** — `dibble users`, `dibble teams`,
`dibble policies`, etc., when you only need one slice.
- **Get themed, recognizable test data** — pick a theme (hitchhikers,
tng, lotr, ghibli, parksrec, …) so seeded names are easy to eyeball in
the UI.

Hosts are intentionally out of scope — `cmd/osquery-perf` still owns
that. `dibble hosts` is a thin convenience wrapper that picks a fleet,
fetches its enroll secret, and prints/runs the osquery-perf invocation
for you.

<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit

* **New Features**
* Dibble: a CLI tool to seed realistic test data, including an
interactive wizard and subcommands for
teams/users/software/policies/scripts/reports/profiles/labels/activities/enroll-secrets/hosts/vulns,
plus theme-driven “cas” and “ping”.
* Theme system: multiple curated themes to generate consistent seeded
identities, policies, software, labels, and scripts.
* **Chores**
* Ignored the built dibble binary and added a Makefile build target to
compile the dibble tool.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2026-06-17 11:07:05 -05:00

139 lines
2.6 KiB
Plaintext

# binaries
*.exe
# output directories
/build
vendor
node_modules
dist
# generated artifacts
assets/bundle*.*
assets/*@*.svg
assets/*@*.png
assets/*@*.gif
assets/*@*.eot
assets/*@*.woff
assets/*@*.woff2
assets/*@*.ttf
assets/*@*.mp4
frontend/templates/react.tmpl
bindata.go
server/bindata/generated.go
*.cover
*.test
*.log
coverage.txt
storybook-static
frontend/coverage
# typescript generated test files
tmp/
# test debug files
debug.test*
# operating system artifacts
.DS_Store
# test mysql server data
mysqldata/
# test helm charts
helm-temp
charts/fleet/charts/*.tgz
#editors
.idea
.swp
# Fleet local development DB backups
backup.sql.gz
# Common mistake for new developers to run npm install and then end up
# committing a package-lock.json. Fleet app uses Yarn with yarn.lock.
package-lock.json
!website/package-lock.json
# infra
.terraform
.terraform.tfstate*
terraform.tfstate*
# generated orbit installers and artifacts
fleet-osquery*
desktop.app.tar.gz
osqueryd.app.tar.gz
desktop.tar.gz
nudge.app.tar.gz
swiftDialog.app.tar.gz
# residual files when running the cpe command
cmd/cpe/etagenv
cmd/cpe/cpe*.sqlite
cmd/cpe/cpe*.sqlite.gz
# Testing TUF server
test_tuf
# Residual files when running the msrc generate command
msrc_in/
msrc_out/
# Residual files when running cmd/macoffice/generate.go
macoffice_rel_notes/
# Keys and certificates that may be generated in the root of the repo
# (e.g. with ./build/fleetctl generate ...).
/*.key
/*.crt
# IDE
.vscode
.cursor
# residual files when running the build-windows tool
orbit/cmd/desktop/manifest.xml
orbit/cmd/desktop/resource_windows.syso
orbit/cmd/orbit/manifest.xml
orbit/cmd/orbit/resource_windows.syso
# Residual files from osqueryd loadtests.
osquery_worker_*.jpg
# Residual files when building fleetd_tables extension.
fleetd_tables_*
# Location of test extensions executables
tools/test_extensions/hello_world/macos
tools/test_extensions/hello_world/linux
tools/test_extensions/hello_world/linux-arm64
tools/test_extensions/hello_world/windows
tools/test_extensions/hello_world/windows-arm64
# typical screencap output dir
tools/screencap/screenshots
# MDM asset manager build output (binary matches the package dir name)
tools/mdm/assets/assets
# Residual files when building fleet_tables extension.
fleet_tables_*.ext
# Local dev files
.env
.tool-versions
.zed/
third_party/vuln-check/go.sum
cvefeed
# Required to not make `fleet-desktop` macOS executable built with a `dirty` flag (see #35006).
Fleet\ Desktop.app
# custom golangci-lint executable
custom-gcl
/fleet
# dibble (the seed slinger) — binary lives next to source
tools/dibble/dibble