Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The occurrenceCount property on sarif file is not respected by the extension #59

Open
quasarea opened this issue Dec 9, 2024 · 0 comments

Comments

@quasarea
Copy link

quasarea commented Dec 9, 2024

Hi,

I have some cases where issues introduced are aggregated due to distance from original macro files. In such cases I do only specify i.e.:

      "results": [
        {
          "ruleId": "401",
          "ruleIndex": 0,
          "message": {
            "text": "Subprogram used but not defined"
          },
          "locations": [
            {
              "physicalLocation": {
                "artifactLocation": {
                  "uri": "file:///C:/"
                }
              }
            }
          ],
          "guid": "1dcad1b4-8782-42fc-b3ea-3ad60f38e0c1",
          "correlationGuid": "1dcad1b4-8782-42fc-b3ea-3ad60f38e0c1",
          "occurrenceCount": 309,
          "baselineState": "new",
          "provenance": {
            "firstDetectionTimeUtc": "2024-12-09T12:33:52.069Z"
          },
          "properties": {
            "ResultMatching": {}
          }
        },

Note occurrenceCount equals to 309, but on results tab I get 1:
Image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant