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

HCL appscan issue / An exception error occurred during the report import:argument of type 'NoneType' is not iterable #10074

Closed
johnfelipe opened this issue Apr 30, 2024 · 15 comments
Labels

Comments

@johnfelipe
Copy link

SNAG-0225

HCL version

SNAG-0226

export like this:

SNAG-0227

issue show like this:

An exception error occurred during the report import:argument of type 'NoneType' is not iterable

view video:

SNAG-0016.mp4
@johnfelipe johnfelipe added the bug label Apr 30, 2024
@johnfelipe johnfelipe changed the title HCL appscan issue HCL appscan issue / An exception error occurred during the report import:argument of type 'NoneType' is not iterable Apr 30, 2024
@manuel-sommer
Copy link
Contributor

Could you please add an outputfile, then I will make a PR

@johnfelipe
Copy link
Author

where can review or download that outputfile?

@manuel-sommer
Copy link
Contributor

Can you please Download the XML from your HCL appscan, anonymize critical values and upload that file to this issue here. Then, I can easily reproduce and fix it.

@johnfelipe
Copy link
Author

how can anonymize critical values, because that xml have critical and privacy data, tell me witch nodes in xml file need to be replace or delete?

@johnfelipe
Copy link
Author

xml file have 123325 lines, is a big xml file

@manuel-sommer
Copy link
Contributor

Please take a look yourself which data you need to anonymize to not expose critical data.

@manuel-sommer
Copy link
Contributor

You can shorten it. I have done it in the past also for other unittest files

@johnfelipe
Copy link
Author

johnfelipe commented Apr 30, 2024 via email

@manuel-sommer
Copy link
Contributor

I am sorry, I will not share my private email address here. Can you either post a file to reproduce it or the exact error (see container logs)

@johnfelipe
Copy link
Author

johnfelipe commented May 1, 2024 via email

@johnfelipe
Copy link
Author

Pls Review my GitHub profile and send me an email to Gmail share there

@manuel-sommer
Copy link
Contributor

Hi @johnfelipe.
Let me get more clear here. You have these options:

  • You can upload the file directly to this issue or share here a link to access this file. I will then make a PR and fix the issue. However, I will NOT anonymize any data within the file and use the file as it is within a unittest.
  • You can ask the official DefectDojo support https://defectdojo.com/pricing for help.
  • You can do a PR yourself.
  • You can ask somebody else to fix it.

I will not:

  • ... write you an email to get the sample scan file.
  • ... reproduce the issue myself as I don't have access to HCL.
  • ... anonymize any data within a provided sample file.

I hope this helps to clarify responsibilities.

Best,

Manuel

@johnfelipe
Copy link
Author

PrimeRead30042024 - copia.zip

ok all nodes is CENSURED, can you use and create a PR with fixes

manuel-sommer added a commit to manuel-sommer/django-DefectDojo that referenced this issue May 2, 2024
cneill pushed a commit that referenced this issue May 3, 2024
* 🐛 fix hcl_appscan, handle severity is None #10074

* fix according to review
@johnfelipe
Copy link
Author

When can update, and retry?

@johnfelipe
Copy link
Author

is already updated but is not good with tittle and other things, i will open new issue

SNAG-0253

i think is not parse all xml file
SNAG-0254

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants