export

package
v0.4.2 Latest Latest
Warning

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

Go to latest
Published: Apr 17, 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 Package

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

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