Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
var ClusterIdentityAliasTask = coretask.NewAliasTask( googlecloudlogmulticloudapiaudit_contract.ClusterIdentityTaskID, googlecloudk8scommon_contract.ClusterIdentityTaskID.Ref(), )
var FieldSetReaderTask = inspectiontaskbase.NewFieldSetReadTask(googlecloudlogmulticloudapiaudit_contract.FieldSetReaderTaskID, googlecloudlogmulticloudapiaudit_contract.ListLogEntriesTaskID.Ref(), []log.FieldSetReader{ &googlecloudcommon_contract.GCPOperationAuditLogFieldSetReader{}, &googlecloudlogmulticloudapiaudit_contract.MulticloudAPIAuditResourceFieldSetReader{}, })
FieldSetReaderTask is a task that reads and parses field sets from MulticloudAPI audit logs. It uses GCPOperationAuditLogFieldSetReader and MulticloudAPIAuditResourceFieldSetReader to extract common GCP audit log fields and multicloud api-specific resource fields.
var ListLogEntriesTask = googlecloudcommon_contract.NewListLogEntriesTask(&multicloudAPIListLogEntriesTaskSetting{})
var LogGrouperTask = inspectiontaskbase.NewLogGrouperTask(googlecloudlogmulticloudapiaudit_contract.LogGrouperTaskID, googlecloudlogmulticloudapiaudit_contract.FieldSetReaderTaskID.Ref(), func(ctx context.Context, l *log.Log) string { resourceFieldSet, err := log.GetFieldSet(l, &googlecloudlogmulticloudapiaudit_contract.MulticloudAPIAuditResourceFieldSet{}) if err != nil { return "" } return resourceFieldSet.ResourcePath().Path }, )
LogGrouperTask is a task that groups MulticloudAPI audit logs by their resource path. This grouping allows for parallel processing of logs related to the same resource.
var LogIngesterTask = inspectiontaskbase.NewLogIngesterTask(googlecloudlogmulticloudapiaudit_contract.LogIngesterTaskID, googlecloudlogmulticloudapiaudit_contract.ListLogEntriesTaskID.Ref())
LogIngesterTask is a task that serializes MulticloudAPI audit logs for storage in the history builder.
var LogToTimelineMapperTask = inspectiontaskbase.NewLogToTimelineMapperTask[struct{}](googlecloudlogmulticloudapiaudit_contract.LogToTimelineMapperTaskID, &multicloudAuditLogLogToTimelineMapperSetting{}, inspectioncore_contract.FeatureTaskLabel(`MultiCloud API logs`, `Gather Anthos Multicloud audit log including cluster creation,deletion and upgrades.`, enum.LogTypeGkeAudit, 5000, true, ), )
LogToTimelineMapperTask is a task that adds revisions/events regarding logs.
Functions ¶
func Register ¶
func Register(registry coreinspection.InspectionTaskRegistry) error
Register registers all googlecloudlogmulticloudapiaudit inspection tasks to the registry.
Types ¶
This section is empty.