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

Acunetix Parser - month and day inversed in date #11206

Closed
1 of 3 tasks
ptitkosmos opened this issue Nov 6, 2024 · 2 comments
Closed
1 of 3 tasks

Acunetix Parser - month and day inversed in date #11206

ptitkosmos opened this issue Nov 6, 2024 · 2 comments
Labels

Comments

@ptitkosmos
Copy link

Bug description
The detection date is wrongly parsed resulting in a swap between month and day in this date. E.g. 12th February 2024 becomes 2nd December 2024

Steps to reproduce
Steps to reproduce the behavior:

  1. Create a Acunetix json file or use the attached file with the FirstSeenDate field filled with a revertable date : e.g. "FirstSeenDate": "12/02/2024 04:29 PM"
  2. Import the file
  3. See that the detection date is reverted

Expected behavior
The date should be well parsed.

Deployment method (select with an X)

  • Docker Compose
  • Kubernetes
  • GoDojo

**Defectdojo version
2.39.2

Sample scan files
If applicable, add sample scan files to help reproduce your problem.
Uploading 3af6a0aa-1d48-43ad-851f-54329e152545.json…

Screenshots
image
image

@ptitkosmos ptitkosmos added the bug label Nov 6, 2024
manuel-sommer added a commit to manuel-sommer/django-DefectDojo that referenced this issue Nov 7, 2024
mtesauro pushed a commit that referenced this issue Nov 11, 2024
* 🐛 fix Acunetix date #11206

* fix

* ruff

* add unittest
@manuel-sommer
Copy link
Contributor

@ptitkosmos , this can be closed

@ptitkosmos
Copy link
Author

@manuel-sommer Thanks 😊

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