Skip to content
You're reading the docs for DRE 0.2 (v0.2.2). 0.3 adds messages, several outputs per report and when:, and changes nothing you wrote. This page for 0.5 · New in 0.5

sets.yml reference

Set names mapped to their definitions.

Where: sets.yml, or any YAML file of Sets.

For editor autocomplete and validation, add this as the first line of the file (editor setup):

# yaml-language-server: $schema=https://getdre.com/schemas/v0.2/sets.schema.json

The file maps names to entries; each entry has these keys.

Key Type Default Description
profile string The connection a Binding with this Set runs on. May use Jinja with var(), env_var(), run.* and target.name.
vars map Variables, read in SQL and YAML with var('name'). Values can be strings, numbers, booleans, lists or maps.