compliance

package
v1.2.2 Latest Latest
Warning

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

Go to latest
Published: Aug 6, 2026 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ComplianceReporter

type ComplianceReporter struct {
	// contains filtered or unexported fields
}

func NewComplianceReporter

func NewComplianceReporter(auditPath string) *ComplianceReporter

func (*ComplianceReporter) ExportHIPAAEvidence

func (c *ComplianceReporter) ExportHIPAAEvidence(startDate, endDate time.Time) (*HIPAAReport, error)

func (*ComplianceReporter) ExportSOC2Evidence

func (c *ComplianceReporter) ExportSOC2Evidence(startDate, endDate time.Time) (*SOC2Report, error)

type EventSummary

type EventSummary struct {
	Total        int            `json:"total"`
	Success      int            `json:"success"`
	Failure      int            `json:"failure"`
	ByEventType  map[string]int `json:"by_event_type"`
	ByStatusCode map[string]int `json:"by_status_code"`
	From         time.Time      `json:"from"`
	To           time.Time      `json:"to"`
}

type HIPAAReport

type HIPAAReport struct {
	GeneratedAt time.Time    `json:"generated_at"`
	Summary     EventSummary `json:"summary"`
}

type SOC2Report

type SOC2Report struct {
	GeneratedAt time.Time    `json:"generated_at"`
	Summary     EventSummary `json:"summary"`
}

Jump to

Keyboard shortcuts

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