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

HTML rapports "Cannot read property 'riskcode' of undefined" #25

Open
bilalAchahbar opened this issue Nov 6, 2018 · 9 comments
Open

Comments

@bilalAchahbar
Copy link

I know this issue is been asked a couple of times, but I tried to output a HTML rapport a couple of weeks ago (after the last time this issue is being asked) and it worked perfectly with a HTML rapport.
But now it gives the same error as the persons asked before Error: Task Failed. Error: "Cannot read property 'riskcode' of undefined"; Markdown is fine but HTML is not working anymore

@kasunkv
Copy link
Owner

kasunkv commented Nov 6, 2018

Did you get different alert types in the second time you scanned your site? or the report is exactly the same with the issues reported previously?

@bilalAchahbar
Copy link
Author

I do not get your question.
The first time ( a couple of weeks ago) HTML option is working perfectly
The second time right now : i got this error and I don't get any error.

Markdown doesn't give any errors and gives a normal repport

@kasunkv
Copy link
Owner

kasunkv commented Nov 6, 2018

Could you check the HTML report you got when it worked and check the count for each type of security issues. and then take the markdown report (since HTML report is not working) and count each type of security issues reported and see if the count is different.

@bilalAchahbar
Copy link
Author

With the Html report i got 1 medium and 4 low risks
With the markdown report i got 1 low risk

@kasunkv
Copy link
Owner

kasunkv commented Nov 6, 2018

Also can you confirm that, in the markdown file that you got only 1 risk, the riskcode value is not available?

@bilalAchahbar
Copy link
Author

I can confirm that in the markdown i got only 1 risk.
What do you mean by the riskcode value ?

@andydkelly-ig
Copy link

I too am receiving the same error when trying to produce the HTML or XML report via the VSTS extension.

@HuguesJ
Copy link

HuguesJ commented Jun 3, 2019

I got the same issue with TFS on Prem and the latest version of the extension. Any way to work around the issue?

@jithuvgeorge
Copy link

jithuvgeorge commented Jul 18, 2019

@kasunkv, I too got the same issue. I am getting this error whenever there are 0 alerts after the scan. I think its something related to report generation.

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

5 participants