Skip to main content

SARIF Manager - NightVision

A simple CLI tool to assist with integrating NightVision DAST output to different providers. This CLI tool parses SARIF files generated by the NightVision CLI and output the results for different providers, like Azure DevOps, Slack, etc.

Currently supported providers:

Roadmap:

  • GitLab CI/CD
  • Jenkins

Note: GitHub Actions is supported natively by NightVision. See the documentation here.

Installation

pip install sarif-manager

Usage

sarif-manager --help

Example

Azure DevOps

Write logs in a pipeline:

azure write-logs \
    example.sarif \
    --org nightvision1 \
    --project temporary

Create work items:

sarif-manager azure create-work-items \
    example.sarif \
    --org nightvision1 \
    --project temporary
Example Output for `sarif-manager azure create-work-items`

Work item created - SQL Injection - PostgreSQL: https://dev.azure.com/nightvision1/ddb231ed-4bb7-43af-93fb-e3769c5055e6/_workitems/edit/126 Work item created - SQL Injection - PostgreSQL: https://dev.azure.com/nightvision1/ddb231ed-4bb7-43af-93fb-e3769c5055e6/_workitems/edit/127

Slack

See the Slack Integration instructions on how to create an app and generate a token.

You can run the command with the token and channel declared as environment variables (recommended):

export SLACK_CHANNEL=channel_id
export SLACK_BOT_TOKEN=my_token

sarif-manager slack send example.sarif

You can attach a PDF report to the Slack message:

sarif-manager slack send example.sarif --attach-pdf

You can also run the command with the token and channel inline:

sarif-manager slack send \
  example.sarif \
  --channel <channel_id> \
  --token <token_value

PDF Generation

Generate a PDF report from a SARIF file:

sarif-manager pdf generate example.sarif example.pdf --target-name "Example report" --target-url "https://example.com"

# You don't have to include the target-name and target-url if you don't want to
sarif-manager pdf generate example.sarif example.pdf

Metadata

Release files for sarif-manager 0.4.2

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-manager 0.4.2
File Size Uploaded Provenance
sarif_manager-0.4.2.tar.gz 114.7 kB With provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for sarif-manager 0.4.2
File Interpreter ABI Platform
sarif_manager-0.4.2-py3-none-any.whl Python 3 none any Details

Total release size: 143.7 kB

Release files / sarif_manager-0.4.2.tar.gz

Download URL sarif_manager-0.4.2.tar.gz
Size 114.7 kB
Tags Source
SHA-256 checksum
How to use checksums
acccbdbaaf5fe8d1ed7a438e51356959beb66f40285feae128270ff2cf0b7614
BLAKE2b-256 checksum
How to use checksums
0dbec6666775d2eec742dea7728b8bfd6d8de0f826ea28b7012469b8b5200dfa
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.12.8

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 Jan 30, 2025.

Transparency log

Release files / sarif_manager-0.4.2-py3-none-any.whl

Download URL sarif_manager-0.4.2-py3-none-any.whl
Size 29.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
04a43f41a32c1ba1ae7364d6d342603de9266ebb56db23eda385b0217ce24716
BLAKE2b-256 checksum
How to use checksums
c79aaaeb06d358b4ff79618148ffbe35794092c779d1405637d78ea04ee00a49
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.12.8

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 Jan 30, 2025.

Transparency log

Security for sarif-manager 0.4.2

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_manager-0.4.2.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 Jan 30, 2025.

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.

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