Git Product home page Git Product logo

Comments (3)

Zeecka avatar Zeecka commented on June 2, 2024 1

Update

I've implemented Import/Export of Companies, Clients and Collaborators.

There is a lot of foreign keys for each categories, ie: a backup of clients won't save their companies. Therefore imported clients will not have any companies associated.

Open questions

  1. What do you expect from Templates import/export since you already can save them from the frontend ? A massive dump (lets say a zip ?) of docx + configuration ?

  2. According to the number of foreign keys (creator, reviewers, company, findings, ...) How do you see Audits import/export ? For now, Audit and Findings are 2 separated objects, but we might bee able to create a custom import/export parser.

  3. What about a "Full copy" which will copy the full MongoDB that you could import/export ?

  4. What do you think about a python script to facilitate migration between old pwndoc/pwndoc-ng and latest pwndoc-ng (API based) ?

cc @RobertDoc @Serizao @Syzik @TheZ3ro

from pwndoc-ng.

noraj avatar noraj commented on June 2, 2024 1
  1. What do you expect from Templates import/export since you already can save them from the frontend ? A massive dump (lets say a zip ?) of docx + configuration ?

I don't expect much for that, as you would probably save them outside of Pwndoc-ng anyway (eg. on a file share).

  1. According to the number of foreign keys (creator, reviewers, company, findings, ...) How do you see Audits import/export ? For now, Audit and Findings are 2 separated objects, but we might bee able to create a custom import/export parser.

Looks important for companies.

  1. What about a "Full copy" which will copy the full MongoDB that you could import/export ?

Could be the easiest for failure or new instance restoration. But it's nice to still have vulnerabilities or Custom data independently.

  1. What do you think about a python script to facilitate migration between old pwndoc/pwndoc-ng and latest pwndoc-ng (API based) ?

If you mean from pwndoc to pwndoc-ng, if you write such a script, you could share it on https://github.com/noraj/Pentest-collab-convert.

Collection of scripts used to convert stuff from one penetration testing collaborative platform to another and facilitate the migration of solution

from pwndoc-ng.

TheZ3ro avatar TheZ3ro commented on June 2, 2024 1
  1. What do you expect from Templates import/export since you already can save them from the frontend ? A massive dump (lets say a zip ?) of docx + configuration ?

I don't know how often one export a single template. IMHO a zip with docx files and the template configurations would be awesome. Or even a way to export the template configurations themselves (custom sections, custom fields, etc) that are missing from the frontend export IIRC.

  1. According to the number of foreign keys (creator, reviewers, company, findings, ...) How do you see Audits import/export ? For now, Audit and Findings are 2 separated objects, but we might bee able to create a custom import/export parser.

To be honest I think an audit export will need to resolve the foreign keys links and export a single "json" (we can think about the proper format) with all the meaningful data about the audit

  1. What about a "Full copy" which will copy the full MongoDB that you could import/export ?

I would like this feature. Also for "external backup" purposes in case the MongoDB gets corrupted during updates or such

  1. What do you think about a python script to facilitate migration between old pwndoc/pwndoc-ng and latest pwndoc-ng (API based) ?

I vouch for this as well. Ideally it could parse the MongoDB directly and implement the "Full copy" feature discussed above.

from pwndoc-ng.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.