Help us shape the future of Go! Take the 2026 Go Developer Survey

sigcheck

package
v1.100.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 10, 2026 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Overview

Package sigcheck parses Sysinternals sigcheck CSV/TSV output into a JSON-friendly structure for policy evaluation. https://learn.microsoft.com/en-us/sysinternals/downloads/sigcheck

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Report

type Report struct {
	Header []string
	// Rows holds one map per data row, keyed by header column. If the header
	// contains duplicate column names, the last column wins.
	Rows []map[string]string
}

Report is a parsed sigcheck report: the CSV header columns and one map per data row, keyed by header column.

func Parse

func Parse(raw []byte) (*Report, error)

Parse decodes sigcheck CSV/TSV output. It strips/decodes UTF-8 and UTF-16 byte-order marks and auto-detects whether the delimiter is a comma or a tab.

func (*Report) HasColumns

func (r *Report) HasColumns(cols ...string) bool

HasColumns reports whether every named column is present in the header.

func (*Report) JSON

func (r *Report) JSON() ([]byte, error)

JSON marshals the report rows as a JSON array. A header-only report marshals to "[]".

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL