Skip to main content

sarif-to-annotations

Python CLI that converts SARIF files into annotations that GitHub can understand.

Installation

Either:

  • Use the container image from GHCR (ghcr.io/saleor/sarif-to-annotations)
  • Install from PyPI: pip install sarif-to-annotations

Usage

$ sarif-to-annotations <PATH_TO_SARIF>

For example, if using GHCR, you can do the following:

$ docker run \
    -v ./:/work:ro \
    -w /work \
    --rm \
    ghcr.io/saleor/sarif-to-annotations \
    ./test/assets/semgrep-results-found.json

Example output:

::error file=.github/workflows/create-tag-with-release-pr.yml,line=83::Potential script injection through string interpolation%2C use an intermediate environment variable instead of ${{ ... }}.
::error file=.github/workflows/publish-load-test.yml,line=17::Potential script injection through string interpolation%2C use an intermediate environment variable instead of ${{ ... }}.
::error file=.github/workflows/publish-load-test.yml,line=43::Potential script injection through string interpolation%2C use an intermediate environment variable instead of ${{ ... }}.
::error file=.github/workflows/test-env-deploy.yml,line=40::Potential script injection through string interpolation%2C use an intermediate environment variable instead of ${{ ... }}.
::error file=.github/workflows/tests-and-linters.yml,line=80::Potential script injection through string interpolation%2C use an intermediate environment variable instead of ${{ ... }}.

Metadata

Release files for sarif-to-annotations 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for sarif-to-annotations 0.1.0
File Size Uploaded Provenance Actions
sarif_to_annotations-0.1.0.tar.gz 3.9 kB With provenance Details for sarif_to_annotations-0.1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for sarif-to-annotations 0.1.0
File Interpreter ABI Platform Actions
sarif_to_annotations-0.1.0-py3-none-any.whl Python 3 none any Details for sarif_to_annotations-0.1.0-py3-none-any.whl

Total release size: 9.6 kB

Release files / sarif_to_annotations-0.1.0.tar.gz

Download URL sarif_to_annotations-0.1.0.tar.gz
Size 3.9 kB
Tags Source
SHA-256 checksum
How to use checksums
4cf49d83e79c67228d2a85d489cfce073dc292a5e3b16d74100e07558b269e6f
BLAKE2b-256 checksum
How to use checksums
50b233447e74dcfd7070cf3438f348d1b25a3d973431a2a45d416c21c157a8a0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.7

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Mar 5, 2026.

Transparency log

Release files / sarif_to_annotations-0.1.0-py3-none-any.whl

Download URL sarif_to_annotations-0.1.0-py3-none-any.whl
Size 5.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
79bce7db83ee989ee305013f9203a4b5aae60a5a172c099694375bfa790824db
BLAKE2b-256 checksum
How to use checksums
d95767161a69edf0e07712ac087ae08302844d9e40f41fa38b5176d264a95c36
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.7

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Mar 5, 2026.

Transparency log

Security for sarif-to-annotations 0.1.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

All 2 files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for sarif_to_annotations-0.1.0.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Mar 5, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files Full provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page