We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7ca2d6f commit 4fc0e50Copy full SHA for 4fc0e50
pkg/falcon/extractor.go
@@ -313,7 +313,7 @@ func GetMessages(config *config.Config, ctx context.Context) (results map[string
313
CveID: *vuln.Cve.ID,
314
CveSeverity: vuln.Cve.Severity,
315
TimestampFound: *vuln.CreatedTimestamp,
316
- DaysOpen: uint(math.Ceil(time.Now().Sub(createdTime).Hours() / 24)),
+ DaysOpen: uint(math.Ceil(time.Since(createdTime).Hours() / 24)),
317
}
318
319
for _, mitigation := range vuln.Remediation.Entities {
0 commit comments