Skip to content

Commit da07f63

Browse files
authored
Merge pull request #525 from simonbaird/link-to-scripts-in-last-blog
Update previous blog post with link to related bash scripts
2 parents 863c237 + b3b7ec1 commit da07f63

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

website/content/posts/01-validate-input-basics.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
title: Validating arbitrary data
3-
date: 2026-02-16T10:03:18-05:00
3+
date: 2026-02-16T10:51:25-05:00
44
author: Simon Baird
55
---
66
In this tutorial we'll introduce some basic Conforma concepts and
@@ -314,7 +314,7 @@ $ ec validate input --file input.yaml --policy policy.yaml --info --output json
314314
Error: success criteria not met
315315
{"success":false,"filepaths":[{"filepath":"input.yaml","violations":[{"msg":"A cat named Fluffy was found!","metadata":{"code":"main.no_cats","description":"Disallow felines. To exclude this rule add \"main.no_cats\" to the `exclude` section of the policy configuration.","solution":"Ensure no cats are present in the animal list!","title":"No cats"}},{"msg":"A cat named Luna was
316316
found!","metadata":{"code":"main.no_cats","description":"Disallow felines. To exclude this rule add \"main.no_cats\" to the `exclude` section of the policy configuration.","solution":"Ensure no cats are present in the animal list!","title":"No cats"}}],"warnings":[{"msg":"Charlie is here","metadata":{"code":"main.charlie_watch","description":"Charlie is a troublemaker!","solution":"Keep a close
317-
eye on Charlie.","title":"Charlie warning"}}],"successes":null,"success":false,"success-count":0}],"policy":{"sources":[{"policy":["./no-cats"]}]},"ec-version":"v0.8.108","effective-time":"2026-02-16T15:03:18.818953821Z"}
317+
eye on Charlie.","title":"Charlie warning"}}],"successes":null,"success":false,"success-count":0}],"policy":{"sources":[{"policy":["./no-cats"]}]},"ec-version":"v0.8.108","effective-time":"2026-02-16T15:51:26.291325876Z"}
318318

319319
```
320320

@@ -344,3 +344,5 @@ Violations: 2, Warnings: 1, Successes: 0
344344
345345
```
346346

347+
If you'd like to try the examples here for yourself, note that you can run
348+
this exercise interactively using the bash scripts [here](https://github.com/conforma/demos/tree/1626db89bdf4460af9a428bc82023821bce5ab6a/2026-01-validate-input-demo).

0 commit comments

Comments
 (0)