Skip to content
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions scanpullrequest/scanpullrequest.go
Original file line number Diff line number Diff line change
Expand Up @@ -164,6 +164,13 @@ func auditPullRequestAndReport(repoConfig *utils.Repository, client vcsclient.Vc
)
}
}()
/* TODO eran
we need to insert somewhere the following logic:
If in app-context, call Evaluation API somewhere and get the 'missing_data' that indicates the missing scans (for the relevant msi).
those missing scans must be performed and they are overriding CC, frogbot-apps, or any other source that can decide which scans we run
After the scans are completed (must be completed) we call the Evaluation api again to get the Allow/Deny status and act accordingly with the fail logic.
*/

// Audit PR code
issuesCollection, err = auditPullRequestCode(repoConfig, scanDetails, sourceBranchWd, targetBranchWd)
return
Expand Down
Loading