Documentation
¶
Index ¶
Constants ¶
View Source
const ( // TagGoogle tag TagGoogle = "google" // TagGCP tag TagGCP = "gcp" // TagAssetInventory tag TagAssetInventory = "asset" // TagServiceAccount tag TagServiceAccount = "serviceAccount" // TagCloudSploit tag TagCloudSploit = "cloudsploit" // TagSCC tag TagSCC = "scc" // TagPortscan tag TagPortscan = "portscan" )
View Source
const UnknownService string = "unknown"
UnknownService unknown service name label
Variables ¶
This section is empty.
Functions ¶
func CutString ¶
CutString returns cutting specific `cut` characters with ` ...` suffix from `input` string.
func GetServiceName ¶
GetServiceName return service name from `fullResourceName`. (Resource name format: https://cloud.google.com/asset-inventory/docs/resource-name-format)
func GetShortResourceName ¶
GetShortResourceName return short resoruce name from `fullResourceName`. (Resource name format: https://cloud.google.com/asset-inventory/docs/resource-name-format)
func InitScanStatus ¶
func InitScanStatus(g *google.GCPDataSource) *google.AttachGCPDataSourceRequest
InitScanStatus return init AttachGCPDataSourceRequest data
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.