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

export

package
v0.16.0 Latest Latest
Warning

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

Go to latest
Published: Oct 12, 2026 License: BSD-2-Clause Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCommand

func NewCommand() *cobra.Command

Types

type ControlExport

type ControlExport struct {
	ID       string   `json:"id"`
	Title    string   `json:"title"`
	Status   string   `json:"status"`
	Owner    string   `json:"owner"`
	Findings []string `json:"finding_ids,omitempty"`
}

type EvidenceExport

type EvidenceExport struct {
	Type        string `json:"type"`
	Ref         string `json:"ref"`
	URL         string `json:"url"`
	Description string `json:"description"`
}

type FindingExport

type FindingExport struct {
	ID           string           `json:"id"`
	Title        string           `json:"title"`
	Severity     string           `json:"severity"`
	Status       string           `json:"status"`
	Controls     []string         `json:"controls"`
	ResolvedDate string           `json:"resolved_date,omitempty"`
	Evidence     []EvidenceExport `json:"evidence,omitempty"`
	TrackingURL  string           `json:"tracking_url,omitempty"`
}

type FrameworkEntryExport added in v0.9.0

type FrameworkEntryExport struct {
	Key      string   `json:"key"`
	Status   string   `json:"status,omitempty"`
	Controls []string `json:"controls"`
}

type FrameworkExport added in v0.9.0

type FrameworkExport struct {
	ID      string                 `json:"id"`
	Name    string                 `json:"name"`
	Entries []FrameworkEntryExport `json:"entries"`
}

type Package

type Package struct {
	Metadata   PackageMeta       `json:"metadata"`
	Controls   []ControlExport   `json:"controls"`
	Findings   []FindingExport   `json:"findings"`
	Frameworks []FrameworkExport `json:"frameworks,omitempty"`
}

type PackageMeta

type PackageMeta struct {
	GeneratedAt string `json:"generated_at"`
	Tool        string `json:"tool"`
}

Jump to

Keyboard shortcuts

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