fortify-ps / FortifyBugTrackerUtility

Automated submission of FoD and SSC vulnerabilities to external systems
MIT License
25 stars 14 forks source link

Document how to start fresh #48

Open bars0um opened 3 years ago

bars0um commented 3 years ago

It may take a few turns for us to come up with the best setup for a specific team in terms of the bug template and the kind of information they would like in their tickets.

Is there an easy method to clean up and re-start the process with FoD-Azure?

At present I'm having to do the following:

Thanks!

rsenden commented 3 years ago

Short version: The approach you are currently using is probably the cleanest approach.

Long version: The utility can store bug links in FoD either as native FoD bug links, or in FoD issue comments. Depending on which approach you are using:

So, while testing different layouts you could do the following:

You could even keep a copy of the configuration file for each test run around, allowing you to easily switch back and forth between your different test configurations. This could for example be useful if you wish to test bug state management with different configurations:

Needless to say, for every commentTargetName value, a new comment will be added to every submitted vulnerability. You may want to clean this up once you're done testing, using your original approach of deleting and recreating the application release.

bars0um commented 3 years ago

@rsenden Thanks for your response!

I believe I've tried clearing the bug tracker setting on FoD but the tracker was still trying to synchronize bugs.

Perhaps an API call to just set the bug-links to blank for a release would work?