Comments (3)
Apart from handling known repeated record types, we need to protect from other repeated records. Perhaps keep track of what types were encountered in an event and report an optional and recoverable error if a record is repeated unexpectedly.
from aushape.
Comparing approaches
NOTE: Execve records need to be transformed in any case, as we cannot have
numbered field names in a schema.
- No explicit events, records only
- Searching is complicated
- Very simple code (execve records still need modification to fit a schema)
- New duplicated record types are no problem
- Transformation is straight-forward
- Getting all records for each event is a two-step search, as joining is not supported in ElasticSearch
- Searching execve records is problematic
- Event object with record array inside
- Searching is complicated
- Straight-forward, simple code
- New duplicated record types are no problem
- Transformation is straight-forward
- Needs nested data type use on record level, which is supported very poorly by Kibana. Otherwise fields from different record types mix.
- Needs explicit record type mention with each search
- Many cases affected, because fields mix between record types, and they can have different meanings
- Event objects with record type map, repeated records are distributed between distributed events
- Searching is complicated
- A little complicated code
- New duplicated record types are no problem
- Transformation is confusing
- It is possible that only some or one record with repeated type will show up in results. Requires extra searching step to reveal all the records, which gets more complicated if more than one event is matched.
- Breaks one-to-one conversion relationship on top (event) level, confusing
- Introduces irregularity into the design right from the start
- Event objects with record type map, duplicated records aggregated (current)
- Simple searching in most cases
- Complicated code, growing with number of repeated record types
- New duplicated record types need manual handling
- Transformation is straight-forward with duplicated records an exception
- Still requires some nested data types, but only for a few record types
- Needs extra error handling for unexpected duplicated records.
from aushape.
There is no confirmation to repeated AVC records.
from aushape.
Related Issues (20)
- Scan the code for TODO and FIXME
- Ignore or warn about event not being trimmed to the required maximum
- Consider having field value sub-fields HOT 2
- Install schemas and Elasticsearch mapping
- Add instructions on Elasticsearch forwarding to README.md
- Rename `host` field to `node` to match audit logs better HOT 1
- Implement outputting normalized audit event data
- Make parsed data output optional
- Implement Elasticsearch mapping generation
- Mention --enable-debug configure option in README.md
- Implement support for output format, which can easily be forwarded to ElasticSearch HOT 1
- Handle repeated NETFILTER_CFG records
- Some execve events are considered invalid
- Remote audit logs HOT 25
- Docker VIRT_CONTROL vm field garbage
- Support building without audit normalization API
- Implement integration tests
- Error normalizing NETFILTER_CFG HOT 4
- aushape: error while loading shared libraries: libaushape.so.0: cannot open shared object file: No such file or directory HOT 1
- undeclared symbols on make
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 aushape.