azureactivitylogeventhub

package
v0.3.0-rc.2 Latest Latest
Warning

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

Go to latest
Published: Jul 1, 2025 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

Types

type ActivityLogAuthorization

type ActivityLogAuthorization struct {
	Scope    string                `json:"scope"`
	Action   string                `json:"action"`
	Evidence AuthorizationEvidence `json:"evidence"`
}

type ActivityLogEventData

type ActivityLogEventData struct {
	Records []*ActivityLogEventRecord `json:"records"`
}

type ActivityLogEventIdentity

type ActivityLogEventIdentity struct {
	Authorization *ActivityLogAuthorization `json:"authorization"`
	Claims        map[string]string         `json:"claims"`
}

type ActivityLogEventRecord

type ActivityLogEventRecord struct {
	RoleLocation    string                    `json:"RoleLocation"`   //nolint:tagliatelle
	Stamp           string                    `json:"Stamp"`          //nolint:tagliatelle
	ReleaseVersion  string                    `json:"ReleaseVersion"` //nolint:tagliatelle
	Time            string                    `json:"time"`
	ResourceID      string                    `json:"resourceId"`
	OperationName   string                    `json:"operationName"`
	Category        string                    `json:"category"`
	ResultType      string                    `json:"resultType"`
	ResultSignature string                    `json:"resultSignature"`
	DurationMs      string                    `json:"durationMs"`
	CallerIPAddress string                    `json:"callerIpAddress"`
	CorrelationID   string                    `json:"correlationId"`
	Identity        *ActivityLogEventIdentity `json:"identity"`
	Level           string                    `json:"level"`
	Properties      map[string]any            `json:"properties"`
}

type AuthorizationEvidence

type AuthorizationEvidence struct {
	Role                string `json:"role"`
	RoleAssignmentScope string `json:"roleAssignmentScope"`
	RoleAssignmentID    string `json:"roleAssignmentId"`
	RoleDefinitionID    string `json:"roleDefinitionId"`
	PrincipalID         string `json:"principalId"`
	PrincipalType       string `json:"principalType"`
}

Jump to

Keyboard shortcuts

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