Search code examples
fortify

Automating Fortify Audit Workbench


Does Fortify Audit Workbench have any command-line options that would allow me to put it in a cron job and run it daily?

The scan takes over two hours, I would like it to run overnight and see the results in the morning.

Jason


Solution

  • Audit Workbench is the GUI front end for the underlying SCA engine (sourceanalyzer)

    If you know how to scan your code though the commandline you can create a windows batch file or bash script to execute it.

    The hardest part will be to come up with translation command. That is going to be language and project specific.

    Your script should have a minimum of 3 steps

    • Clean
    • Translate
    • Scan

    There is a fourth optional step to upload the scan results to your SSC instance. This step is utilizing the fortifyclient command.

    References:

    Without any further information, we cannot help you with the actual commands.