olacabs / jackhammer

Jackhammer - One Security vulnerability assessment/management tool to solve all the security team problems.
https://jch.olacabs.com/userguide
Other
718 stars 162 forks source link

Update dependencies #82

Open outdoorguy007 opened 6 years ago

outdoorguy007 commented 6 years ago

Hey all,

I was wondering if we could spend some time updating dependencies. I am running into some errors trying to insert a logo into the PDF generated in a vuln report and I wonder if it may be because of the outdated external dependencies. The following just blows up the datatable

extend:    'pdfHtml5',
    text:      '<i class="fa fa-file-pdf-o"></i> PDF',
    titleAttr: 'PDF',
    title: 'Vulnerability Report'
    customize: function ( doc ) {

            doc.content.splice(1, 0,
                {
                    margin: [0, 0, 0, 12],
                    alignment: 'center',
                    image: 'Logo.png'
                }
            );

    }