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

Support the byteOffset from Region object for Sarif #463

Open
kgevorkyan opened this issue Nov 29, 2022 · 0 comments
Open

Support the byteOffset from Region object for Sarif #463

kgevorkyan opened this issue Nov 29, 2022 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@kgevorkyan
Copy link
Member

Seems, that Sarif supports two options for identify the place of warning/fixes via Region object:

  1. By indicating the lines and columns
  2. By indicating the byteOffset and byteLength

For now we support only lines and columns for indicating, but it will be good enough to support byte offsets too

See https://docs.oasis-open.org/sarif/sarif/v2.1.0/os/sarif-v2.1.0-os.html#_Toc34317889

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

No branches or pull requests

1 participant