Skip to content

Sarif output ignores trim-path-prefix #4659

@elupus

Description

@elupus

Describe the bug
The artifactLocation in the sarif report does not strip the path prefix.

CodeChecker version
6.26.0

To Reproduce

CodeChecker parse report --trim-path-prefix --export sarif --output report.sarif

Expected behaviour

Paths in sarif output is relative instead of absolute

Desktop (please complete the following information)

  • OS: Linux
  • Browser: N/A
  • Version: N/A

Additional context

This looks to need similar fix as #4387

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