Skip to content

Commit

Permalink
Add yamale validation for all component types.
Browse files Browse the repository at this point in the history
  • Loading branch information
obsidianforensics committed Aug 22, 2023
1 parent 0a4c1ef commit 4a7d9ac
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
5 changes: 4 additions & 1 deletion .github/workflows/yamale.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Validate DFIQ Components' YAML
name: Validate DFIQ YAML

on:
[push]
Expand All @@ -19,3 +19,6 @@ jobs:
- name: Validate Scenarios YAML
run: |
yamale -s utils/scenario_spec.yaml ./data/scenarios
yamale -s utils/facet_spec.yaml ./data/facets
yamale -s utils/question_spec.yaml ./data/questions
yamale -s utils/approach_spec.yaml ./data/approaches
2 changes: 1 addition & 1 deletion data/scenarios/S1001.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ description: >
An employee is suspected of unauthorized copying of sensitive data (code,
trade secrets, etc) from internal systems to those outside of the company's
control.
id: S1001xxx
id: S1001
dfiq_version: 1.0.0
tags:
- Insider

0 comments on commit 4a7d9ac

Please sign in to comment.