8000 DefectDojo hook specifies inconsistent timezones in test description · Issue #750 · secureCodeBox/secureCodeBox · GitHub
[go: up one dir, main page]

Skip to content

DefectDojo hook specifies inconsistent timezones in test description #750

@malexmave

Description

@malexmave

The DefectDojo hook automatically creates a product, engagement and test when uploading data, and, among other things, sets the description of the test to include the time of the scan. However, it seems different timezones for the start and end time it reports, because this is the result for a scan started at 9:49 a.m. local time / 7:49 a.m. UTC that lasts around a minute:

grafik

The error is likely in the hook, because 9:49 does not appear anywhere in the secureCodeBox scan results:

mmaass@my-machine tmp % k describe scan semgrep-flask-demo | grep 9:49
mmaass@my-machine tmp % k describe scan semgrep-flask-demo | grep 7:49
  Creation Timestamp:  2021-10-21T07:49:00Z
    Time:         2021-10-21T07:49:00Z
    Time:         2021-10-21T07:49:23Z
    Time:         2021-10-21T07:49:31Z
    Time:            2021-10-21T07:49:52Z
  Finished At:               2021-10-21T07:49:31Z

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0