Comments (3)
Got it. Thanks for the swift and detailed response. This makes sense.
I can regenerate my files in YAML with bit of excel and notepad++ as I have structure ready. Regarding my other questions, i can make it work in yaml with either char(|) to handle newline, linebreaks or by quoting the dictionary/dynamic datatypes to escape those.
I will go ahead and close the issue.
from ossem.
Hey @ashwin-patil thank you for all the information. i believe it would be good to loop @hxnoyd in this since he created the script. Hey @hxnoyd , whenever you have a chance would you mind taking a look at @ashwin-patil questions about regarding the ossem_coverter.py script? Thank you man in advance.
from ossem.
Hi @ashwin-patil. ossem_converter.py
option to convert from markdown was a temporary feature of the script, that we used when converting the initial OSSEM data sets from markdown to YAML.
The reason why is not working for you is because the markdown parser expects the 'old' OSSEM markdown structure. The new markdown structure is generated out of YAML, thus with a different structure, that ossem_converter.py
does not know how to parse. This is the reason why the code was commented ;)
Ideally, everyone authoring new OSSEM data should do it in YAML. The reason for this is because YAML provides a cleaner data structure, due to is simplicity and readability. Another reason why ossem_converter.py
conversion from markdown to YAML was commented, was to avoid writing back to YAML, specially from sources prone to structure errors (like markdown), that would pollute the YAML source.
That said, I would suggest that you re-create your AWS data dictionaries in YAML, under the /source folder. After creating the YAML data, you can use ossem_converter.py
to generate the markdown. This will ensure that your PR will contain the YAML and the script generated markdown.
Going back to your questions:
Q: "Does the script accepts multi line markdowns for description field ?"
A: Yes, if you are using YAML.
Q: "Some of the fields in aws data sources are of dictionary/dynamic data type which can be seen in sample value. (e.g. UserIdentity, requestParameters, responseElements in CloudTrail). Are these supported in the markdown-to-yaml conversion ?"
A: Can you provide some event data as an example? I need more information to give you an informed answer :)
Thanks!
from ossem.
Related Issues (20)
- Question: Defining Data Models as Ontologies HOT 2
- Creating a Sub-Repo for Data Dictionaries HOT 1
- Validating content within OSSEM sub-repos HOT 1
- Picking initial entities for reviewing OSEEM Ontology HOT 1
- Sysmon data dictionaries compliant with entities HOT 2
- a few new fields for models and an entity
- Typographical Error HOT 1
- Issue on page /cdm/entities/device.html
- Update OSSEM CDM source, destination or target guideline
- `event_category_type` is duplicated (?)
- Remove column 'field name' from CIM HOT 2
- Windows Security logs, Computer Account Management auditing fields mismatch between events HOT 1
- CDM vs data dictionaries - what's the "source of truth" in cases of mismatch? HOT 2
- Windows Security logs, fields mismatch for Object Access HOT 1
- Issue on page /cdm/entities/destination_nat.html HOT 2
- Entities for scheduled tasks and services? HOT 2
- Extending data dictionaries? HOT 3
- Data dictionaries for the cowrie honeypot HOT 2
- WMI fields mismatch between sysmon events and built in wmi events
- Upated sysmon parser script to fix issue reported on Sentinel Github HOT 2
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 ossem.