Skip to content

SARIF File Merge Results in Much Bigger Merge File Than Combination of Originals #2849

@davewichers

Description

@davewichers

I'm merging two SARIF files that are 225MB and 215MB respectively, but the resulting merge file that is generated is: 1,038MB, which doesn't make sense.

I believe the generated merge file is significantly restructuring the SARIF file, causing lots of unnecessary duplication of content. For example, I search for "results" blocks in the two original files and there are only 1 in each.

But there are 45 "results" blocks in the merged file, rather than simply 2 (or ideally 1).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions