Repository navigation
0.2.0
0.2.0 — FieldInfo YAML templates
18 September 2026. Minor on the public 0.1.8 beta.
Install
pip install opentide==0.2.0
export OPENTIDE_REPO_ROOT=/path/to/detection-repo
opentide validate --strictChanged
opentide generate templateswalks PydanticFieldInfoinstead of the JSON Schemagen_templatewalker (#223).- Optional sections are commented YAML with
#hugging each key (#references:/#public:). Nested optionals are not commented again. Spacer blanks stay blank. - Placeholders are typed (no YAML
null). Nested bodies come from nested models. - Rule
configurationsare commented platform stubs (#sentinel:) rather than{}. - VS Code snippet conversion treats commented nested keys as mapping children, so
configurations:with only#sentinel:stubs is not turned into a tabstop.
Verify
python -c "import opentide; print(opentide.__version__)"
opentide setup --yes --name "Tutorial Detections" --org "Example Corp" --platform sentinel --path /tmp/tutorial-detections
opentide --repo /tmp/tutorial-detections generate
opentide --repo /tmp/tutorial-detections validate --strictExpect 0.2.0. .opentide/templates/rule.1.0.template.yaml must contain #sentinel:, hug # to keys ( #enabled:, not # enabled:), keep spacer blanks (no lone #), and contain no YAML null.
Links
License: EUPL-1.2. Issues: OpenTideHQ/opentide.