{
  "id": "390137996571050950",
  "type": "analysis_run.updated",
  "createdAt": 1642069966,
  "data": {
    "object": {
      "id": "UnVaOmZvcG64eQ==",
      "object": "AnalysisRun",
      "runUid": "75d0dd35-d12c-4f8d-67f1-494b9c1abcdef",
      "status": "PENDING",
      "branchName": "patch-1",
      "baseOid": "07e790b6d5a7e720acf5f2af4b707c2ff1cabceed",
      "commitOid": "99da4fzf3e680e28c3z86afebz3693d3f80bf67b",
      "createdAt": 1642069941,
      "updatedAt": 1642069966,
      "repository": {
        "id": "UmVwb2Npb99yeTp7z3Z23HY=",
        "object": "Repository",
        "name": "demo-go",
        "vcsProvider": "GITHUB",
        "vcsUrl": "https://github.com/deepsourcelabs/demo-go",
        "defaultBranch": "master",
        "latestCommitOid": "07e790b6d5a7e720acf5f2af4b707c2ff1cabceed",
        "isPrivate": false,
        "isActivated": true,
        "account": {
          "id": "T2dzZXIYmm1n2nBi",
          "object": "Account",
          "login": "deepsourcelabs",
          "vcsProvider": "GITHUB",
          "type": "TEAM",
          "avatarUrl": "https://static.deepsource.io/avatars/avatar.png",
          "vcsUrl": "https://github.com/deepsourcelabs"
        }
      },
      "summary": {
        "object": "AnalysisRunSummary",
        "occurrencesIntroduced": 6,
        "occurrencesResolved": 0,
        "occurrenceDistributionByAnalyzer": [
          {
            "object": "OccurrenceDistributionByAnalyzer",
            "analyzerShortcode": "docker",
            "introduced": 0
          },
          {
            "object": "OccurrenceDistributionByAnalyzer",
            "analyzerShortcode": "secrets",
            "introduced": 0
          },
          {
            "object": "OccurrenceDistributionByAnalyzer",
            "analyzerShortcode": "go",
            "introduced": 6
          }
        ],
        "occurrenceDistributionByCategory": [
          {
            "object": "OccurrenceDistributionByCategory",
            "category": "ANTI_PATTERN",
            "introduced": 4
          },
          {
            "object": "OccurrenceDistributionByCategory",
            "category": "BUG_RISK",
            "introduced": 2
          }
        ]
      },
      "checks": [
        {
          "id": "Q5zyY2s2onlyZW53",
          "object": "Check",
          "sequence": 2,
          "status": "PENDING",
          "analyzer": {
            "id": "Q3ZhbZl6ZXI7b1x3cW5i",
            "object": "Analyzer",
            "shortcode": "docker",
            "name": "Docker",
            "logoUrl": "https://static.deepsource.io/analyzer_logos/docker.svg"
          },
          "createdAt": 1642069941,
          "updatedAt": 1642069942,
          "finishedAt": null,
          "summary": {
            "object": "CheckSummary",
            "occurrencesIntroduced": 0,
            "occurrencesResolved": 0,
            "occurrenceDistributionByCategory": []
          },
          "metrics": []
        },
        {
          "id": "Z8abY2s6YzF4cd5k",
          "object": "Check",
          "sequence": 3,
          "status": "SUCCESS",
          "analyzer": {
            "id": "DZ9hbHl6ZXI6aHpjZW26",
            "object": "Analyzer",
            "shortcode": "secrets",
            "name": "Secrets",
            "logoUrl": "https://static.deepsource.io/analyzer_logos/secrets.svg"
          },
          "createdAt": 1642069941,
          "updatedAt": 1642069946,
          "finishedAt": 1642069945,
          "summary": {
            "object": "CheckSummary",
            "occurrencesIntroduced": 0,
            "occurrencesResolved": 0,
            "occurrenceDistributionByCategory": []
          },
          "metrics": []
        },
        {
          "id": "P1hlF1s6Ymd2Z3bv",
          "object": "Check",
          "sequence": 1,
          "status": "FAILURE",
          "analyzer": {
            "id": "YU5hbHl6API6c78ieXZ6",
            "object": "Analyzer",
            "shortcode": "go",
            "name": "Go",
            "logoUrl": "https://static.deepsource.io/analyzer_logos/go.svg"
          },
          "createdAt": 1642069941,
          "updatedAt": 1642069966,
          "finishedAt": 1642069966,
          "summary": {
            "object": "CheckSummary",
            "occurrencesIntroduced": 6,
            "occurrencesResolved": 0,
            "occurrenceDistributionByCategory": [
              {
                "object": "OccurrenceDistributionByCategory",
                "category": "ANTI_PATTERN",
                "introduced": 4
              },
              {
                "object": "OccurrenceDistributionByCategory",
                "category": "BUG_RISK",
                "introduced": 2
              }
            ]
          },
          "metrics": [
            {
              "object": "RepositoryMetric",
              "name": "Documentation Coverage",
              "shortcode": "DCV",
              "description": "Track the extent to which your application code is documented.",
              "unit": "%",
              "positiveDirection": "UPWARD",
              "minValueAllowed": 0,
              "maxValueAllowed": 100,
              "items": [
                {
                  "id": "UmVwb3NpdG9yeU1ldHJpY0l0ZW06b3Zwb3l4",
                  "object": "RepositoryMetricItem",
                  "key": "GO",
                  "threshold": 85,
                  "values": [
                    {
                      "id": "TWV0cmljVmFsdWU6em9tamRt",
                      "object": "MetricValue",
                      "value": 90.0,
                      "valueDisplay": "90.0%",
                      "threshold": 80,
                      "thresholdStatus": "PASSING",
                      "createdAt": 1676366233
                    }
                  ]
                }
              ]
            },
            {
              "object": "RepositoryMetric",
              "name": "External Dependencies",
              "shortcode": "DDP",
              "description": "Total number of 3rd-party dependencies used in this repository.",
              "unit": null,
              "positiveDirection": "DOWNWARD",
              "minValueAllowed": 0,
              "maxValueAllowed": null,
              "items": [
                {
                  "id": "UmVwb3NpdG9yeU1ldHJpY0l0ZW06em5neWxi",
                  "object": "RepositoryMetricItem",
                  "key": "GO",
                  "threshold": 0,
                  "values": [
                    {
                      "id": "TWV0cmljVmFsdWU6emtrbGRk",
                      "object": "MetricValue",
                      "value": 1,
                      "valueDisplay": "1",
                      "threshold": 0,
                      "thresholdStatus": "FAILING",
                      "createdAt": 1676366233
                    }
                  ]
                }
              ]
            }
          ]
        }
      ]
    }
  }
}