Repository navigation
Commit a711f9a
committed
test(ocsf): validate OCSF events with openshell-ocsf-validate
Replace openshell-ocsf's hand-written schema walker with
openshell-ocsf-validate in the builder, producer, gateway audit and
Podman e2e tests. One validate_event call now covers what the
per-object validate_required_fields, validate_known_fields and
validate_enum_value calls checked, and adds type checks and enum
checks for every attribute.
Remove the validation module and the vendored OCSF object and class
schemas from openshell-ocsf. The e2e suite no longer depends on
openshell-ocsf directly.
Signed-off-by: Kris Hicks <khicks@nvidia.com>1 parent f68db91 commit a711f9a
57 files changed
Lines changed: 328 additions & 16560 deletions
File tree
- crates
- openshell-ocsf
- schemas/ocsf
- v1.8.0
- classes
- objects
- profiles
- src
- builders
- objects
- validation
- openshell-server
- src/auth/audit
- openshell-supervisor-network
- src
- l7
- openshell-supervisor-process
- src
- e2e/rust
- tests
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
13 | | - | |
14 | 13 | | |
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
14 | | - | |
| 14 | + | |
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
| |||
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
| 27 | + | |
27 | 28 | | |
28 | 29 | | |
29 | 30 | | |
| |||
This file was deleted.
This file was deleted.
0 commit comments