Versions in this module Expand all Collapse all v0 v0.1.1 Dec 2, 2025 v0.1.0 Nov 26, 2025 Changes in this version + type Cloud struct + Account struct{ ... } + CloudPartition string + Provider string + Region string + type FindingInfo struct + Analytic ... + CreatedTime int64 + CreatedTimeDt string + Desc string + FirstSeenTime int64 + FirstSeenTimeDt string + LastSeenTime int64 + LastSeenTimeDt string + ModifiedTime int64 + ModifiedTimeDt string + Product *Product + Title string + Types []string + UID string + UIDalt string + type Metadata struct + Product MetadataProduct + Profiles []string + UID string + Version string + type MetadataProduct struct + Feature ... + Name string + UID string + VendorName string + type OCSFCompliance struct + Assessments []struct{ ... } + Control string + ControlParameters []any + Requirements []string + Standards []string + Status string + StatusID int + type OCSFResource struct + CloudPartition string + Data map[string]any + Name string + Owner *ResourceOwner + Region string + Tags []ResourceTag + Type string + UID string + type Product struct + Feature ... + Name string + UID string + VendorName string + type Remediation struct + Desc string + References []string + type ResourceOwner struct + Account struct{ ... } + type ResourceTag struct + Name string + Value string + type SecurityHubEvent interface + GetDetailType func() string + GetEventID func() string + type SecurityHubEventInput struct + Detail json.RawMessage + DetailType string + EventID string + type SecurityHubV2Finding struct + ActivityID int + ActivityName string + CategoryName string + CategoryUID int + ClassName string + ClassUID int + Cloud Cloud + Compliance *OCSFCompliance + FindingInfo FindingInfo + Metadata Metadata + Remediation *Remediation + Resources []OCSFResource + Severity string + SeverityID int + Status string + StatusID int + Time int64 + TimeDt string + TypeName string + TypeUID int + func NewSecurityHubFinding(raw json.RawMessage) (*SecurityHubV2Finding, error) + func (shf *SecurityHubV2Finding) BuildConsoleUrl(consoleURL, accessPortalURL, accessRoleName, shRegion string) string + func (shf *SecurityHubV2Finding) GetFindingCategory() string + func (shf *SecurityHubV2Finding) GetSeverityEmoji() string + func (shf *SecurityHubV2Finding) IsAlertable() bool + func (shf *SecurityHubV2Finding) SlackMessage(consoleURL, accessPortalURL, accessRoleName, shRegion string) (slack.MsgOption, slack.MsgOption)