Commit 3bedbe7
committed
docs(ocsf): document why protocol_name and rule_type remain String
Add inline comments explaining the intentional decision to keep these
fields as String rather than typed enums: protocol_name is free-form
per the OCSF spec, and rule_type is a project-specific extension with
runtime-dynamic values from the policy engine.1 parent 5e134ca commit 3bedbe7
File tree
2 files changed
+6
-0
lines changed- crates/openshell-ocsf/src/objects
2 files changed
+6
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
12 | 15 | | |
13 | 16 | | |
14 | 17 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
15 | 18 | | |
16 | 19 | | |
17 | 20 | | |
| |||
0 commit comments