Skip to content

Commit

Permalink
Merge pull request #1941 from akto-api-security/hotfix/fix_count_map_…
Browse files Browse the repository at this point in the history
…testing_redundancy

"Added support for endtimestamp in report"
  • Loading branch information
Ark2307 authored Jan 8, 2025
2 parents 1695ca7 + 712094d commit 4e65002
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -383,7 +383,8 @@ function IssuesPage() {
'filterCollectionsId': collectionIdsArray,
'filterSeverity': filterSeverity,
filterSubCategory: filterSubCategory,
startEpoch: [startTimestamp.toString()]
startEpoch: [startTimestamp.toString()],
endTimeStamp: [endTimestamp.toString()]
}
setIssuesFilters(obj)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -135,6 +135,7 @@ const VulnerabilityReport = () => {
let testingRunCountsFromDB = 0
let issuesFilters = JSON.parse(JSON.stringify(currentFilters));
issuesFilters.startEpoch = parseInt(currentFilters.startEpoch[0]);
issuesFilters.endTimeStamp = parseInt(currentFilters.endTimeStamp[0]);
issuesFilters.filterCollectionsId = currentFilters.filterCollectionsId.map((x) => {
if(x !== null && x.length > 0) return parseInt(x)
})
Expand Down

0 comments on commit 4e65002

Please sign in to comment.