Title: DefectDojo date/time parsing bug · Issue #582 · secureCodeBox/secureCodeBox · GitHub
Open Graph Title: DefectDojo date/time parsing bug · Issue #582 · secureCodeBox/secureCodeBox
X Title: DefectDojo date/time parsing bug · Issue #582 · secureCodeBox/secureCodeBox
Description: 🐞 Bug report Describe the bug The DefectDojo persistence Hook seems to have an bug parsing some findings: Exception in thread "main" com.fasterxml.jackson.databind.exc.InvalidDefinitionException: Java 8 date/time type `java.time.LocalDat...
Open Graph Description: 🐞 Bug report Describe the bug The DefectDojo persistence Hook seems to have an bug parsing some findings: Exception in thread "main" com.fasterxml.jackson.databind.exc.InvalidDefinitionException: J...
X Description: 🐞 Bug report Describe the bug The DefectDojo persistence Hook seems to have an bug parsing some findings: Exception in thread "main" com.fasterxml.jackson.databind.exc.InvalidDefinitionEx...
Opengraph URL: https://github.com/secureCodeBox/secureCodeBox/issues/582
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"DefectDojo date/time parsing bug","articleBody":"## 🐞 Bug report\r\n\u003c!--\r\nThank you for reporting an issue in our project 🙌\r\n\r\nBefore opening a new issue, please make sure that we do not have any duplicates already open. You can ensure this by searching the issue list for this repository. If there is a duplicate, please close your issue and add a comment to the existing issue instead.\r\n--\u003e\r\n\r\n### Describe the bug\r\n\u003c!-- A clear and concise description of what the bug is. --\u003e\r\nThe DefectDojo persistence Hook seems to have an bug parsing some findings:\r\n\r\n```bash\r\nException in thread \"main\" com.fasterxml.jackson.databind.exc.InvalidDefinitionException: Java 8 date/time type `java.time.LocalDateTime` not supported by default: add Module \"com.fasterxml.jackson.datatype:jackson-datatype-jsr310\" to enable handling\r\n at [Source: (String)\"{\"count\":10,\"next\":null,\"previous\":null,\"results\":[{\"id\":13680,\"tags\":[],\"request_response\":{\"req_resp\":[]},\"accepted_risks\":[],\"push_to_jira\":false,\"age\":0,\"sla_days_remaining\":90,\"finding_meta\":[],\"related_fields\":null,\"jira_creation\":null,\"jira_change\":null,\"display_status\":\"Inactive, Duplicate\",\"finding_groups\":[],\"title\":\"Displays Information About Page Retrievals, Including Other Users.\",\"date\":\"2021-08-09\",\"sla_start_date\":null,\"cwe\":0,\"cve\":null,\"cvssv3\":null,\"cvssv3_score\":null,\"url\":nu\"[truncated 19279 chars]; line: 1, column: 1499] (through reference chain: io.securecodebox.persistence.defectdojo.models.DefectDojoResponse[\"results\"]-\u003ejava.util.ArrayList[0]-\u003eio.securecodebox.persistence.defectdojo.models.Finding[\"created\"])\r\n\tat com.fasterxml.jackson.databind.exc.InvalidDefinitionException.from(InvalidDefinitionException.java:67)\r\n\tat com.fasterxml.jackson.databind.DeserializationContext.reportBadDefinition(DeserializationContext.java:1764)\r\n\tat com.fasterxml.jackson.databind.deser.impl.UnsupportedTypeDeserializer.deserialize(UnsupportedTypeDeserializer.java:36)\r\n\tat com.fasterxml.jackson.databind.deser.impl.MethodProperty.deserializeAndSet(MethodProperty.java:129)\r\n\tat com.fasterxml.jackson.databind.deser.BeanDeserializer.vanillaDeserialize(BeanDeserializer.java:324)\r\n\tat com.fasterxml.jackson.databind.deser.BeanDeserializer.deserialize(BeanDeserializer.java:187)\r\n\tat com.fasterxml.jackson.databind.deser.std.CollectionDeserializer._deserializeFromArray(CollectionDeserializer.java:355)\r\n\tat com.fasterxml.jackson.databind.deser.std.CollectionDeserializer.deserialize(CollectionDeserializer.java:244)\r\n\tat com.fasterxml.jackson.databind.deser.std.CollectionDeserializer.deserialize(CollectionDeserializer.java:28)\r\n\tat com.fasterxml.jackson.databind.deser.impl.MethodProperty.deserializeAndSet(MethodProperty.java:129)\r\n\tat com.fasterxml.jackson.databind.deser.BeanDeserializer.vanillaDeserialize(BeanDeserializer.java:324)\r\n\tat com.fasterxml.jackson.databind.deser.BeanDeserializer.deserialize(BeanDeserializer.java:187)\r\n\tat com.fasterxml.jackson.databind.deser.DefaultDeserializationContext.readRootValue(DefaultDeserializationContext.java:322)\r\n\tat com.fasterxml.jackson.databind.ObjectMapper._readMapAndClose(ObjectMapper.java:4593)\r\n\tat com.fasterxml.jackson.databind.ObjectMapper.readValue(ObjectMapper.java:3548)\r\n\tat com.fasterxml.jackson.databind.ObjectMapper.readValue(ObjectMapper.java:3531)\r\n\tat io.securecodebox.persistence.defectdojo.service.FindingService.deserializeList(FindingService.java:48)\r\n\tat io.securecodebox.persistence.defectdojo.service.GenericDefectDojoService.internalSearch(GenericDefectDojoService.java:115)\r\n\tat io.securecodebox.persistence.defectdojo.service.GenericDefectDojoService.search(GenericDefectDojoService.java:124)\r\n\tat io.securecodebox.persistence.strategies.VersionedEngagementsStrategy.run(VersionedEngagementsStrategy.java:101)\r\n\tat io.securecodebox.persistence.DefectDojoPersistenceProvider.main(DefectDojoPersistenceProvider.java:42)\r\n```\r\n\r\nExample Findings File: [nikto-findings.json.txt](https://github.com/secureCodeBox/secureCodeBox/files/6952652/nikto-findings.json.txt)\r\n\r\n### Steps To Reproduce\r\n\u003c!--\r\nSteps to reproduce the behavior:\r\n1. Go to '...'\r\n2. Click on '....'\r\n3. Scroll down to '....'\r\n4. See error\r\n--\u003e\r\n\r\n### Expected behavior\r\n\u003c!-- A clear and concise description of what you expected to happen. --\u003e\r\n\r\n### System (please complete the following information):\r\n\u003c!--\r\n - secureCodeBox Version/Release\r\n - OS: [e.g. iOS]\r\n - Kubernetes Version [command: `kubectl version`]\r\n - Docker Version [command: `docker -v`]\r\n - Browser [e.g. chrome, safari, firefox,...]\r\n--\u003e\r\n\r\n### Screenshots / Logs\r\n\u003c!-- If applicable, add screenshots to help explain your problem. --\u003e\r\n\r\n### Additional context\r\n\u003c!-- Add any other context about the problem here. --\u003e\r\n","author":{"url":"https://github.com/rfelber","@type":"Person","name":"rfelber"},"datePublished":"2021-08-09T07:12:05.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":2},"url":"https://github.com/582/secureCodeBox/issues/582"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:bc7a7460-710f-b95e-521f-7e1ff0a06786 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | DD4E:1B6BE9:A2FB696:D32451F:69763E05 |
| html-safe-nonce | c85c79325f6deb24e7d3c9a477b3a2789a6b5cda779de4be41af939bfb6658bf |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJERDRFOjFCNkJFOTpBMkZCNjk2OkQzMjQ1MUY6Njk3NjNFMDUiLCJ2aXNpdG9yX2lkIjoiMTEzOTQ3NjE3NTY4MDU4NTIyMSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | aa42dd97eed5d234d9e54221df65002e41bf74484fd72d6705b2d7989198f0dc |
| hovercard-subject-tag | issue:963711126 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/secureCodeBox/secureCodeBox/582/issue_layout |
| twitter:image | https://opengraph.githubassets.com/88301ca62f1009ed535a5fe7e5f82c434a4224fe686de767a73762ca15751da4/secureCodeBox/secureCodeBox/issues/582 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/88301ca62f1009ed535a5fe7e5f82c434a4224fe686de767a73762ca15751da4/secureCodeBox/secureCodeBox/issues/582 |
| og:image:alt | 🐞 Bug report Describe the bug The DefectDojo persistence Hook seems to have an bug parsing some findings: Exception in thread "main" com.fasterxml.jackson.databind.exc.InvalidDefinitionException: J... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | rfelber |
| hostname | github.com |
| expected-hostname | github.com |
| None | c6814b4cc7afd45cd6e64525d0cff0e76dd802f315a5b0e55a7abda1d1d070d0 |
| turbo-cache-control | no-preview |
| go-import | github.com/secureCodeBox/secureCodeBox git https://github.com/secureCodeBox/secureCodeBox.git |
| octolytics-dimension-user_id | 34573705 |
| octolytics-dimension-user_login | secureCodeBox |
| octolytics-dimension-repository_id | 80711933 |
| octolytics-dimension-repository_nwo | secureCodeBox/secureCodeBox |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 80711933 |
| octolytics-dimension-repository_network_root_nwo | secureCodeBox/secureCodeBox |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 4ea235bfed58ef16c8a5642b3ac64b74f10c9f52 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width