Intevation / intelmq-certbund-contact

IntelMQ expert bots to lookup contact information in a database (part of the intelmq-cb-mailgen solution).
GNU Affero General Public License v3.0
3 stars 2 forks source link

easier export/backup and import for manual contact infos #6

Open bernhardreiter opened 6 years ago

bernhardreiter commented 6 years ago

Using sql commands when exporting manual contacts has the drawback that the specific _ids for interlinking the table entries have to be considered. This makes it complicated to create script that exports and re-imports parts of the manual contact infos, e.g. 100 contacts out of 300.

technical ideas

fody-backend has the ability to return and insert contact entries based on a datastructure that views one entry from the perspective of an "organisation" and offers a traversed tree as a json object. This works without "internal ids".

The idea is to build upon this interface for the purpose of backuping and re-inserting bulks.