applicationprofilemanager

package
v0.2.214 Latest Latest
Warning

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

Go to latest
Published: Dec 31, 2024 License: Apache-2.0 Imports: 43 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CalculateHTTPEndpointHash added in v0.2.145

func CalculateHTTPEndpointHash(endpoint *v1beta1.HTTPEndpoint) string

func GetEndpointIdentifier added in v0.2.178

func GetEndpointIdentifier(request *tracerhttptype.Event) (string, error)

func GetInitOperations added in v0.2.178

func GetInitOperations(containerType string, containerIndex int) []utils.PatchOperation

func GetNewEndpoint added in v0.2.145

func GetNewEndpoint(event *tracerhttptype.Event, identifier string) (*v1beta1.HTTPEndpoint, error)

func IsPolicyIncluded added in v0.2.178

func IsPolicyIncluded(existingPolicy, newPolicy *v1beta1.RulePolicy) bool

Types

type ApplicationProfileManager

type ApplicationProfileManager struct {
	// contains filtered or unexported fields
}

func CreateApplicationProfileManager

func CreateApplicationProfileManager(ctx context.Context, cfg config.Config, clusterName string, k8sClient k8sclient.K8sClientInterface, storageClient storage.StorageClient, preRunningContainerIDs mapset.Set[string], k8sObjectCache objectcache.K8sObjectCache, seccompManager seccompmanager.SeccompManagerClient) (*ApplicationProfileManager, error)

func (*ApplicationProfileManager) ContainerCallback

func (am *ApplicationProfileManager) ContainerCallback(notif containercollection.PubSubEvent)

func (*ApplicationProfileManager) ContainerReachedMaxTime

func (am *ApplicationProfileManager) ContainerReachedMaxTime(containerID string)

func (*ApplicationProfileManager) RegisterPeekFunc

func (am *ApplicationProfileManager) RegisterPeekFunc(peek func(mntns uint64) ([]string, error))

func (*ApplicationProfileManager) ReportCapability

func (am *ApplicationProfileManager) ReportCapability(k8sContainerID, capability string)

func (*ApplicationProfileManager) ReportDroppedEvent

func (am *ApplicationProfileManager) ReportDroppedEvent(k8sContainerID string)

func (*ApplicationProfileManager) ReportFileExec

func (am *ApplicationProfileManager) ReportFileExec(k8sContainerID, path string, args []string)

func (*ApplicationProfileManager) ReportFileOpen

func (am *ApplicationProfileManager) ReportFileOpen(k8sContainerID, path string, flags []string)

func (*ApplicationProfileManager) ReportHTTPEvent added in v0.2.145

func (am *ApplicationProfileManager) ReportHTTPEvent(k8sContainerID string, event *tracerhttptype.Event)

func (*ApplicationProfileManager) ReportRulePolicy added in v0.2.178

func (am *ApplicationProfileManager) ReportRulePolicy(k8sContainerID, ruleId, allowedProcess string, allowedContainer bool)

Jump to

Keyboard shortcuts

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