Doveps / mono

Code for Doveps projects
http://doveps.com
MIT License
0 stars 0 forks source link

Create a new table "knowledge" #50

Closed greenmoss closed 6 years ago

greenmoss commented 6 years ago

Goal: the new knowledge table stores connections between rows in the Debs, Users, etc tables and actions.

For instance, you ran a comparison between 33.33.33.50 and 33.33.33.51, and found new Debs and Users. Then you ran action/create from #49. The parameters from action/create should store the name, resource, and action in the knowledge table, along with links to the Debs, Users, etc tables.

JosiahRegencia commented 6 years ago

Does this mean the link to the row in the table or to the table itself?

greenmoss commented 6 years ago

link to the row in the table

JosiahRegencia commented 6 years ago

I just realized something. What it's supposed to save is the results to comparison right? If so, the results to the comparison are not present in either debs, groups, user, shadow since they are the base tables.

greenmoss commented 6 years ago

You created json output from #49. That has a bunch of packages, etc in it. You need to make a new knowledge entry for all of that information: the debs, groups, etc. That knowledge entry says "when I installed deb apache2, it added all these debs, groups, etc". The "knowledge" database table holds that information.

greenmoss commented 6 years ago

I'm going to call this one done, because you did create the table. However this needs some follow-up work.