-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
Prowler V4.5.0 Import/re-import issue #11210
Labels
Comments
The same issue here :( |
ivan-morhun
added a commit
to ivan-morhun/django-DefectDojo
that referenced
this issue
Nov 7, 2024
…' key in finding with 'time_dt'
ivan-morhun
added a commit
to ivan-morhun/django-DefectDojo
that referenced
this issue
Nov 7, 2024
…' key in finding with 'time_dt'
ivan-morhun
changed the title
Prowler V4 Import/re-import issue
Prowler V4.5.0 Import/re-import issue
Nov 7, 2024
mtesauro
pushed a commit
that referenced
this issue
Nov 18, 2024
…dt' (#11213) * #11210 prowler_v4.py Prowler v4.5.0 changed the 'event_time' key in finding with 'time_dt' * #11210 prowler_v4.py Prowler v4.5.0 changed the 'event_time' key in finding with 'time_dt' * Add tesst to support prowler version <4.5.0 * Return new-line * Update tests, clean up scans * Fix ruff * Rename some stuff --------- Co-authored-by: Cody Maffucci <46459665+Maffooch@users.noreply.github.com>
Thanks for the fix. No everything works as expected! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Bug description
During Prowler v4 report importing/re-importing, there is an issue with parsing the finding datetime key. If I'm not mistaken this line https://github.com/DefectDojo/django-DefectDojo/blob/master/dojo/tools/aws_prowler_v3plus/prowler_v4.py#L40 tries to get "event_time" key from the finding dict, but Prowler v4 report doesn't have such key, there is
time
key instead. The next step causes an issue when trying to convert ISO timestamp https://github.com/DefectDojo/django-DefectDojo/blob/master/dojo/tools/aws_prowler_v3plus/prowler_v4.py#L75Steps to reproduce
Steps to reproduce the behavior:
Expected behavior
Report is imported
Deployment method (select with an
X
)Logs
Sample scan files
Example of report
Screenshots
The text was updated successfully, but these errors were encountered: