Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
var ClusterIdentityAliasTask = coretask.NewAliasTask( googlecloudlogonpremapiaudit_contract.ClusterIdentityTaskID, googlecloudk8scommon_contract.ClusterIdentityTaskID.Ref(), )
var FieldSetReaderTask = inspectiontaskbase.NewFieldSetReadTask(googlecloudlogonpremapiaudit_contract.FieldSetReaderTaskID, googlecloudlogonpremapiaudit_contract.ListLogEntriesTaskID.Ref(), []log.FieldSetReader{ &googlecloudcommon_contract.GCPOperationAuditLogFieldSetReader{}, &googlecloudlogonpremapiaudit_contract.OnPremAPIAuditResourceFieldSetReader{}, })
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(&onpremAPIListLogEntriesTaskSetting{})
var LogGrouperTask = inspectiontaskbase.NewLogGrouperTask(googlecloudlogonpremapiaudit_contract.LogGrouperTaskID, googlecloudlogonpremapiaudit_contract.FieldSetReaderTaskID.Ref(), func(ctx context.Context, l *log.Log) string { resourceFieldSet, err := log.GetFieldSet(l, &googlecloudlogonpremapiaudit_contract.OnPremAPIAuditResourceFieldSet{}) 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(googlecloudlogonpremapiaudit_contract.LogIngesterTaskID, googlecloudlogonpremapiaudit_contract.ListLogEntriesTaskID.Ref())
LogIngesterTask is a task that serializes MulticloudAPI audit logs for storage in the history builder.
var LogToTimelineMapperTask = inspectiontaskbase.NewLogToTimelineMapperTask[struct{}](googlecloudlogonpremapiaudit_contract.LogToTimelineMapperTaskID, &onpremAuditLogLogToTimelineMapperSetting{}, inspectioncore_contract.FeatureTaskLabel(`OnPrem API logs`, `Gather Anthos OnPrem audit log including cluster creation,deletion,enroll,unenroll and upgrades.`, enum.LogTypeOnPremAPI, 5000, true, ), )
LogToTimelineMapperTask is a task that adds revisions/events regarding logs.
Functions ¶
func Register ¶
func Register(registry coreinspection.InspectionTaskRegistry) error
Register registers all googlecloudlogonpremapiaudit inspection tasks to the registry.
Types ¶
This section is empty.