-
Notifications
You must be signed in to change notification settings - Fork 1
Milestones
davidstelter edited this page Sep 13, 2010
·
9 revisions
These are major project milestones which must be achieved in order for the project to succeed.
First off, must grok the existing Snort DB schema. Then make Rails/ActiveRecord talk to it. This might be pretty easy thanks to ActiveRecord’s neato schema discovery stuff, but there are bound to be some gotchas.
- ActiveRecord’s assumptions about table & column names.
- ActiveRecord’s unwillingness to work with composite primary keys.
- Now essentially complete
- Individual tables are mapped to objects, table & object naming issues sorted out. (06/25/09)
- Investigating Composite Primary Keys, a free Rails addon.
This is working pretty well, though I had to “help” ActiveRecord out as one of the composite key associations failed to work correctly.
Specifically, I couldn’t get Iphdr to successfully find its associated Event without writing a method that performs an explicit Event.find.
Weird, but it works for now.
(Update) Composite keys working pretty flawlessly, the problem with Event above was a typo…
Get a page up, something simple with a few statistics like total number of alerts, unique alerts, unique src IPs, etc. From this view start creating links to other views, such as per-alert listings, basically clone the basics of Acid/Base.
- simple explanations of things like the IP/mask fields, dates, interlinking, etc.
- figure out streamlined DB setup & document
- docs on basic code layout