Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
var ClusterIdentityAliasTask = coretask.NewAliasTask( googlecloudlogcomposerapiaudit_contract.ClusterIdentityTaskID, googlecloudk8scommon_contract.ClusterIdentityTaskID.Ref(), )
ClusterIdentityAliasTask aliases the cluster identity task for Composer API audit log inspection.
var FieldSetReaderTask = inspectiontaskbase.NewFieldSetReadTask( googlecloudlogcomposerapiaudit_contract.FieldSetReaderTaskID, googlecloudlogcomposerapiaudit_contract.ListLogEntriesTaskID.Ref(), []log.FieldSetReader{ &googlecloudcommon_contract.GCPOperationAuditLogFieldSetReader{}, &googlecloudlogcomposerapiaudit_contract.ComposerAuditLogResourceFieldSetReader{}, &googlecloudcommon_contract.GCPDefaultSeverityFieldSetReader{}, }, )
FieldSetReaderTask reads and parses field sets from Cloud Composer audit logs.
var ListLogEntriesTask = googlecloudcommon_contract.NewListLogEntriesTask(&composerAPIListLogEntriesTaskSetting{})
ListLogEntriesTask is the task that queries Cloud Composer audit logs from Cloud Logging.
var LogGrouperTask = inspectiontaskbase.NewLogGrouperTask( googlecloudlogcomposerapiaudit_contract.LogGrouperTaskID, googlecloudlogcomposerapiaudit_contract.FieldSetReaderTaskID.Ref(), func(ctx context.Context, l *log.Log) string { resourceFieldSet, err := log.GetFieldSet(l, &googlecloudlogcomposerapiaudit_contract.ComposerAuditLogResourceFieldSet{}) if err != nil { return "unknown" } return resourceFieldSet.EnvironmentName }, )
LogGrouperTask groups Cloud Composer audit logs by environment name.
var LogIngesterTask = googlecloudcommon_contract.NewGCPOperationLogIngesterTask( googlecloudlogcomposerapiaudit_contract.LogIngesterTaskID, googlecloudlogcomposerapiaudit_contract.FieldSetReaderTaskID.Ref(), googlecloudlogcomposerapiaudit_contract.LogTypeManagedAirflowAPI, )
LogIngesterTask ingests Cloud Composer audit logs into KHI v6 format.
var LogToTimelineMapperTask = inspectiontaskbase.NewLogToTimelineMapperTask[*googlecloudcommon_contract.GCPOperationTracker]( googlecloudlogcomposerapiaudit_contract.LogToTimelineMapperTaskID, &composerAuditLogLogToTimelineMapperSetting{}, inspectioncore_contract.FeatureTaskLabel( "Managed Airflow API Logs", "Gather Managed Airflow API audit logs to visualize environment operations (creation, update, and deletion) on timelines.", 5500, true, ), )
LogToTimelineMapperTask maps Cloud Composer audit logs to timeline events and operation revisions.
Functions ¶
func GenerateComposerAuditQuery ¶
GenerateComposerAuditQuery generates a Cloud Logging filter string for Cloud Composer audit logs.
func Register ¶
func Register(registry coreinspection.InspectionTaskRegistry) error
Register registers all googlecloudlogcomposerapiaudit inspection tasks to the registry.
Types ¶
This section is empty.