Get Code review runs data

Get Code review runs data

NameRequiredTypeInDescription
pagenonumberquerythe index of the results page
sortByno - default 'usersCount'stringqueryThe column name by which to sort the results
Type: (weeklyCommits, usersCount, failedPrs, pendingFixPrs, scanTime, repository, organization)
searchnostringquerysearch for code reviews of specific repositories
limitnonumberquerylimit number of results

Response Example 1:

[
  {
    "hasNext": true,
    "data": [{
      "id": "1",
      "organization": "prismacloudcas",
      "repository": "terragoat",
      "sourceType": "Github",
      "runId": 5,
      "commitId": "123456",
      "gitUser": "Michal",
      "status": "COMPLETED",
      "scanStatus": "HARD_FAIL",
      "results": { "CRITICAL": 10, "MEDIUM": 5, "HIGH": 20, "LOW": 1 },
      "PR": {
        "title": "My PR",
        "prNumber": "5",
        "fromBranch": "feature/mod-aws-node",
        "intoBranch": "main",
        "enforcementRule": {
          "BUILD_INTEGRITY": {
            "softFailThreshold": "CRITICAL",
            "hardFailThreshold": "CRITICAL",
            "commentsBotThreshold": "HIGH"
          },
          "SECRETS": {
            "softFailThreshold": "CRITICAL",
            "hardFailThreshold": "CRITICAL",
            "commentsBotThreshold": "HIGH"
          },
          "IAC": {
            "softFailThreshold": "CRITICAL",
            "hardFailThreshold": "CRITICAL",
            "commentsBotThreshold": "HIGH"
          },
          "VULNERABILITIES": {
            "softFailThreshold": "CRITICAL",
            "hardFailThreshold": "CRITICAL",
            "commentsBotThreshold": "HIGH"
          },
          "LICENSES": {
            "softFailThreshold": "CRITICAL",
            "hardFailThreshold": "CRITICAL",
            "commentsBotThreshold": "HIGH"
          }
        }
      },
      "defaultBranch": "main"
    }]
  }
]
Language
Authorization
Header
Click Try It! to start a request and see the response here!