Documentation
¶
Overview ¶
Package main seeds test data across the domains, RE, reports, and alarms databases so that the backfill-roles scripts can be tested end-to-end.
It creates one domain, two users (one domain member, one not), several rules/reports with and without pre-existing roles, a couple of alarms, and optionally a SpiceDB parent relation for one rule to exercise the "policy already exists" path.
All IDs are deterministic so re-running is idempotent (INSERT … ON CONFLICT DO NOTHING).
Click to show internal directories.
Click to hide internal directories.