Documentation
¶
Overview ¶
Package sha holds Security Health Analytics finding entities and functions
Index ¶
- func BucketName(resource string) string
- func ClusterID(resource string) string
- func ClusterZone(resource string) string
- func Dataset(resource string) string
- func FirewallID(resource string) string
- func IgnoreFinding(finding GenericFindingState) bool
- func Instance(resource string) string
- func OrganizationID(resource string) string
- func Zone(resource string) string
- type GenericFindingState
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BucketName ¶
BucketName returns name of the bucket. Resource assumed valid due to prior validate call.
func ClusterZone ¶
ClusterZone returns the zone of the cluster.
func FirewallID ¶
FirewallID returns the numerical ID of the firewall.
func IgnoreFinding ¶
func IgnoreFinding(finding GenericFindingState) bool
IgnoreFinding returns if this finding should be ignored or not.
func OrganizationID ¶
OrganizationID returns the organization name.
Types ¶
type GenericFindingState ¶
type GenericFindingState interface {
GetState() string
}
GenericFindingState is a finding that exposes its state.
Click to show internal directories.
Click to hide internal directories.