Skip to content

Commit 08bbba8

Browse files
committed
Update docs for per product control files
1 parent a7524c2 commit 08bbba8

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

docs/manual/developer/03_creating_content.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -837,6 +837,8 @@ controls:
837837
- systemd_target_multi_user
838838
```
839839

840+
Control files that apply to multiple products should be stored in `controls` folder in the root of the project.
841+
If the control file is only applicable to one product it should be store in the `controls` directory under the products folder.
840842

841843
### Defining levels
842844

docs/manual/developer/04_style_guide.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -317,7 +317,8 @@ Benchmark sections must be in the following order, if they are present.
317317

318318
### Controls
319319

320-
These rules apply to the files in `controls/`.
320+
These rules apply to the files in `controls/` and `products/*/controls`.
321+
Product specific controls should be stored under the respective controls directory.
321322
All the above [YAML](#yaml) rules apply.
322323

323324
#### Control Sections

0 commit comments

Comments
 (0)