googlecloudlogcomposerapiaudit_impl

package
v0.58.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 3, 2026 License: Apache-2.0 Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

ClusterIdentityAliasTask aliases the cluster identity task for Composer API audit log inspection.

View Source
var ListLogEntriesTask = googlecloudcommon_contract.NewStructuredListLogEntriesTask(&composerAPIListLogEntriesTaskSetting{})

ListLogEntriesTask is the task that queries Cloud Composer audit logs from Cloud Logging.

View Source
var LogGrouperTask = inspectiontaskbase.NewLogGrouperTask(
	googlecloudlogcomposerapiaudit_contract.LogGrouperTaskID,
	googlecloudlogcomposerapiaudit_contract.ListLogEntriesTaskID.Ref(),
	func(ctx context.Context, l *log.Log) string {
		resourceFieldSet, err := googlecloudlogcomposerapiaudit_contract.ExtractComposerAuditLogResource(l.NodeReader)
		if err != nil {
			return "unknown"
		}
		return resourceFieldSet.EnvironmentName
	},
)

LogGrouperTask groups Cloud Composer audit logs by environment name.

LogIngesterTask ingests Cloud Composer audit logs into KHI v6 format.

View Source
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

func GenerateComposerAuditQuery(projectID, location, environmentName string) string

GenerateComposerAuditQuery generates a Cloud Logging filter string for Cloud Composer audit logs.

func GenerateComposerAuditStructuredQuery added in v0.58.2

func GenerateComposerAuditStructuredQuery(projectID, location, environmentName string) *logestimator.StructuredLogQuery

GenerateComposerAuditStructuredQuery generates a structured query 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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL