Comments (4)
Note that, json-schema of a class is already exportable via the server. Check "JSON Schema" button in the screenshot below.
from ocsf-server.
I was just looking into this. I think this is documented in the api docs here https://schema.ocsf.io/doc/index.html#/Schema%20Export/SchemaWeb_SchemaController_export_schema. an example would be https://schema.ocsf.io/export/schema?extenions=linux,win. What I'm currently on sure of is how the profiles affect the schema exported. When I apply profiles they seem to get smaller.
from ocsf-server.
Two things to note:
- The
/export/schema
URL and the other/export
URLs return the OCSF's own definition format. These are not in JSON Schema format. The JSON Schema exporting is on the/schema
URL paths. - The
extensions
andprofiles
parameters are filters. Without them, all extensions and profiles are included. With them, only the extensions and profiles specified are included. The documentation isn't clear that this is a filtering mechanism, and doesn't mention that if the parameter is supplied but is empty, it means filter out all.
from ocsf-server.
Ah that is good to know. Thanks @rmouritzen-splunk!
from ocsf-server.
Related Issues (20)
- Container profile is incorrectly shown on most class detail pages HOT 1
- Clicking "JSON Schema" from "Base Event" page leads to 404 HOT 1
- The "source" of object attributes are not accurate
- Show enums for attributes in the dictionary view
- Presentation of redefined attributes types in objects is incorrect
- JSON Schema link is broken HOT 1
- Improve profile presentation
- Support observable definitions in patch extends
- Parent_process recursion in sample events HOT 1
- Rework extension and profile checkboxes HOT 1
- Add "platform extension" concept HOT 1
- 502 on https://schema.ocsf.io HOT 1
- Excessive warnings during startup against existing 1.2.0 OCSF HOT 2
- Event validation improvements HOT 3
- v2 validation APIs are not handling enum arrays HOT 2
- "See Specific Usage" description convention enforcement
- Support modifying constraints HOT 2
- Add category_uid to base of compiled class definitions
- Swagger API curl command insufficient for schema.ocsf.io's Self-Signed Certificate
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ocsf-server.