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

Cookie cutter template parser for new scanners #4165

Merged
merged 1 commit into from
Mar 30, 2021

Conversation

aaronweaver
Copy link
Contributor

A cookie cutter scanner template generator to aid in rapidly developing new scanners and assuring the requirements are met for adding a new parser.

Code is invoke from: https://github.com/DefectDojo/cookiecutter-scanner-parser

To get started you will need to install cookiecutter.

$ pip install cookiecutter

Then generate your scanner parser from the root of django-DefectDojo:

$ cookiecutter https://github.com/DefectDojo/cookiecutter-scanner-parser

@madchap
Copy link
Collaborator

madchap commented Mar 30, 2021

Is this working well/adhering to with the refactoring that @damiencarol's done around the implementing parsers? (have not checked yet). Thanks :)

@damiencarol
Copy link
Contributor

will definitively take a look at this project :)

@aaronweaver
Copy link
Contributor Author

Templates are based off of more recent parsers where possible, but I expect more refactoring can be done.

@damiencarol
Copy link
Contributor

yeah, saw few things that could be added like checks on endpoints + the ex of code that manage endpoints in parsers.
the only thing that bother me is that the parsers and the code around changed a lot since few months and will change a lot in the future with some features like finding groups or snippets etc..
That will require to maintain both, not very cool :)

@damiencarol damiencarol merged commit f979beb into DefectDojo:dev Mar 30, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants