Repository navigation
Commit ec1597d
test: add real OpenShell v0.1.7 OCSF 1.8.0 log fixtures
tests/fixtures/logs/ocsf-1.8.0.jsonl holds 17 supervisor records captured from an OpenShell v0.1.7 sandbox: classes 0, 4001 (Open allowed/denied and two policy-DNS Refuse records), 4002 (L7 allow/deny), 4007 and 5019. Device, container and record identifiers are scrubbed, and real resolved IPs are replaced with 203.0.113.x. tests/fixtures/ocsf-1.8.0-app mirrors the annotated app the records came from. The new CLI test checks the JSON counts and suggestions and adds a plain human golden.
Closes #70
Signed-off-by: Ilan Harel <[email protected]>1 parent 5a1ec7c commit ec1597d
5 files changed
Lines changed: 148 additions & 0 deletions
File tree
- tests
- fixtures
- logs
- ocsf-1.8.0-app
- golden
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2152 | 2152 | | |
2153 | 2153 | | |
2154 | 2154 | | |
| 2155 | + | |
| 2156 | + | |
| 2157 | + | |
| 2158 | + | |
| 2159 | + | |
| 2160 | + | |
| 2161 | + | |
| 2162 | + | |
| 2163 | + | |
| 2164 | + | |
| 2165 | + | |
| 2166 | + | |
| 2167 | + | |
| 2168 | + | |
| 2169 | + | |
| 2170 | + | |
| 2171 | + | |
| 2172 | + | |
| 2173 | + | |
| 2174 | + | |
| 2175 | + | |
| 2176 | + | |
| 2177 | + | |
| 2178 | + | |
| 2179 | + | |
| 2180 | + | |
| 2181 | + | |
| 2182 | + | |
| 2183 | + | |
| 2184 | + | |
| 2185 | + | |
| 2186 | + | |
| 2187 | + | |
| 2188 | + | |
| 2189 | + | |
| 2190 | + | |
| 2191 | + | |
| 2192 | + | |
| 2193 | + | |
| 2194 | + | |
| 2195 | + | |
| 2196 | + | |
| 2197 | + | |
| 2198 | + | |
| 2199 | + | |
| 2200 | + | |
| 2201 | + | |
| 2202 | + | |
| 2203 | + | |
| 2204 | + | |
| 2205 | + | |
| 2206 | + | |
| 2207 | + | |
| 2208 | + | |
0 commit comments