Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Plextrac Database to Ghostwriter #343

Open
hansonryne opened this issue Sep 27, 2023 · 3 comments
Open

Plextrac Database to Ghostwriter #343

hansonryne opened this issue Sep 27, 2023 · 3 comments

Comments

@hansonryne
Copy link

Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
It would be great if there was a conversion tool to bring a Plextrac findings database over to the Ghostwriter database.

Describe the solution you'd like
A command line tool or an integration with the web interface with a json drag and drop would be great.

Describe alternatives you've considered
The only way I am aware at this point is to copy/paste by hand.

Additional context
We would love to use Ghostwriter but have a large database that we want to bring over from Plextrac with us.

@chrismaddalena
Copy link
Collaborator

Hey @hansonryne, that should be feasible, but anyone developing that utility would need an example of a Plextrac database. I've never used Plextrac and don't know the schema.

If Plextrac has an API, the conversion could be scripted to pull findings from Plextrac and ad them to Ghostwriter via Ghostwriter's GraphQL API.

@hansonryne
Copy link
Author

Thanks for the response. Here is a link to the API for the write-ups DB that has the fields for any findings saved to the database:
https://api-docs.plextrac.com/#cd707d09-1e7e-4bf0-9b97-92b48800821e

@chrismaddalena
Copy link
Collaborator

Thanks for sharing the link. Migrating seems very doable. You could loop over all the writeups in PlexTrac and send each one to Ghostwriter via the GraphQL API as a new finding. The title, description, recommendations, references, and severity fields all have counterparts in Ghostwriter. Then you could go through the findings and perform clean-up in Ghostwriter.

Ghostwriter breaks up findings into description and impact. There are also fields for detection recommendations and CVSS. You might want to go through the findings and break-up the description into those fields and.or add CVSS scoring.

It should be pretty simple.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants