MCPcopy Create free account

hub / github.com/Gui774ume/network-security-probe / functions

Functions555 in github.com/Gui774ume/network-security-probe

↓ 25 callersMethodAdd
Add - Adds a new ProfileVersion to the set
pkg/processor/profileloader/profileloader.go:74
↓ 17 callersMethodDeepCopyInto
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
pkg/k8s/apis/securityprobe.datadoghq.com/v1/zz_generated.deepcopy.go:108
↓ 15 callersFunctionGetHostByteOrder
GetHostByteOrder - Returns the host byte order
pkg/utils/utils.go:223
↓ 14 callersMethodDispatchEvent
(event ProbeEvent)
pkg/model/nsp.go:35
↓ 14 callersFunctionInterfaceToBytes
InterfaceToBytes - Tranforms an interface into a C bytes array
pkg/utils/utils.go:174
↓ 13 callersMethodGetMapSection
()
pkg/processor/profileloader/keyvalue/keyvalue.go:133
↓ 12 callersMethodGetProfileKeyValues
GetProfileKeyValues - Returns the profile key-values of the L3Rule
pkg/k8s/apis/securityprobe.datadoghq.com/v1/types.go:408
↓ 11 callersMethodString
()
pkg/processor/profileloader/keyvalue/keyvalue.go:135
↓ 10 callersFunctionfill_metadata
ebpf/main.c:216
↓ 9 callersMethodGetBootTime
()
pkg/model/nsp.go:34
↓ 8 callersMethodGetName
()
pkg/model/monitor.go:43
↓ 8 callersMethodStart
()
pkg/model/monitor.go:41
↓ 8 callersFunctionUint64ToIPv4
Uint64ToIPv4 - Transforms an uint64 representation of an IPv4 into a string
pkg/utils/utils.go:131
↓ 8 callersFunctionUint64sToIPv6
Uint64sToIPv6 - Transforms an [2]uint64 representation of an IPv6 into a string
pkg/utils/utils.go:143
↓ 7 callersMethodStop
()
pkg/model/monitor.go:42
↓ 6 callersFunctionChar6ToEth
Char6ToEth - Transforms an int64 representation of an IPv4 into a string
pkg/utils/utils.go:161
↓ 6 callersMethodDelete
(name string, options *metav1.DeleteOptions)
pkg/k8s/client/clientset/versioned/typed/securityprobe.datadoghq.com/v1/securityprofile.go:42
↓ 6 callersMethodGetConfig
()
pkg/model/nsp.go:31
↓ 6 callersMethodGetProfileMapOfMapsKeyValue
GetProfileMapOfMapsKeyValue - Returns the profile MapsOfMaps key-values of the EgressRule
pkg/k8s/apis/securityprobe.datadoghq.com/v1/types.go:302
↓ 5 callersMethodGetEventType
()
pkg/model/event.go:96
↓ 5 callersMethodGetKey
GetKey - Returns the unsafe pointer to the key
pkg/processor/profileloader/keyvalue/keyvalue.go:118
↓ 5 callersFunctionGetNetnsFromPid
GetNetnsFromPid - Returns the network namespace of a process
pkg/utils/utils.go:81
↓ 5 callersMethodGetWaitGroup
()
pkg/model/nsp.go:30
↓ 5 callersMethodgetEntry
()
pkg/model/event.go:253
↓ 5 callersFunctiongetNamespaceID
getNamespaceID - Returns the namespace id in brackets
pkg/utils/utils.go:59
↓ 4 callersMethodGetKubeConfig
()
pkg/model/nsp.go:32
↓ 4 callersMethodInit
(nsp NSPInterface)
pkg/model/monitor.go:40
↓ 4 callersMethodName
()
pkg/probe/probe.go:52
↓ 4 callersFunctionNewCIDRMapOfMapsKeyValue
NewCIDRMapOfMapsKeyValue - Creates a new MapOfMaps key-value for the provided cidrs
pkg/processor/profileloader/keyvalue/keyvalue.go:480
↓ 4 callersFunctionassess
* assess - Decides if the packet should be dropped or allowed. * @event: pointer to a net_event_t structure that holds the parsed data * @session: p
ebpf/main.c:1610
↓ 4 callersFunctiondevice_from_net_device
* device_from_net_device - Returns a device_t instance from a net_device instance * @dev: device */
ebpf/main.c:2463
↓ 4 callersFunctionparse_packet
* parse_packet - Parses a packet * @skb: skb structure of the packet * @event: pointer to a net_event_t structure to hold the parsed data */
ebpf/main.c:1430
↓ 4 callersFunctionresolve_netns_pid
* resolve_netns_pid - Resolves the netns and pid (when there is one) associated to the packet * @event: pointer to a net_event_t structure that holds
ebpf/main.c:1559
↓ 4 callersFunctionupdate_session
* update_session - Update the underlying session of the network event for monitoring purposes * @event: pointer to a net_event_t structure that holds
ebpf/main.c:1474
↓ 3 callersFunctionAsset
Asset loads and returns the asset for the given name. It returns an error if the asset could not be found or could not be loaded.
pkg/probe/probe.go:94
↓ 3 callersFunctionDecodeDNS
DecodeDNS - Returns the domain name from its kernel representation
pkg/utils/utils.go:202
↓ 3 callersMethodDeleteSecurityProfile
DeleteSecurityProfile - Deletes a security profile from the kernel.
pkg/processor/profileloader/profileloader.go:465
↓ 3 callersMethodGet
Get retrieves the SecurityProfile from the indexer for a given namespace and name.
pkg/k8s/client/listers/securityprobe.datadoghq.com/v1/securityprofile.go:65
↓ 3 callersMethodGet
(name string, options metav1.GetOptions)
pkg/k8s/client/clientset/versioned/typed/securityprobe.datadoghq.com/v1/securityprofile.go:44
↓ 3 callersMethodGetActionFlag
GetActionFlag - Computes the action flag of the security profile
pkg/k8s/apis/securityprobe.datadoghq.com/v1/types.go:63
↓ 3 callersMethodGetCollection
()
pkg/model/nsp.go:33
↓ 3 callersFunctionGetPidnsFromPid
GetPidnsFromPid - Returns the pid namespace of a process
pkg/utils/utils.go:72
↓ 3 callersMethodGetTimestamp
()
pkg/model/event.go:95
↓ 3 callersMethodInformer
()
pkg/k8s/client/informers/externalversions/generic.go:32
↓ 3 callersMethodIsEmpty
IsEmpty - Returns true if the UID and the ResourceVersion are empty
pkg/processor/profileloader/profileloader.go:66
↓ 3 callersMethodLookupPid
lookupPid - Returns an existing or create the pid's cache entry
pkg/nsp/cache.go:43
↓ 3 callersMethodSecurityProfiles
SecurityProfiles returns a SecurityProfileInformer.
pkg/k8s/client/informers/externalversions/securityprobe.datadoghq.com/v1/interface.go:28
↓ 3 callersMethodSecurityprobeV1
()
pkg/k8s/client/clientset/versioned/clientset.go:32
↓ 3 callersMethodWatch
(opts metav1.ListOptions)
pkg/k8s/client/clientset/versioned/typed/securityprobe.datadoghq.com/v1/securityprofile.go:46
↓ 3 callersFunction_filePath
(dir, name string)
pkg/probe/probe.go:231
↓ 3 callersMethodcreateContainerEventFromContainerID
createContainerEventFromContainerID - Creates a container event (empty action) based on a container ID
pkg/monitor/container/docker/docker.go:262
↓ 3 callersMethodfilterAndDispatchEvent
filterAndDispatchEvent - Filters and dispatch the container event
pkg/monitor/container/docker/docker.go:242
↓ 3 callersFunctionlibbpf_nla_data
* libbpf_nla_data - head of payload * @nla: netlink attribute */
ebpf/bpf/nlattr.h:69
↓ 2 callersMethodCommitSecurityProfile
CommitSecurityProfile - Ensures that the provided profile is the one used by the provided container When necessary, will either update and / or delete
pkg/processor/profileloader/profileloader.go:426
↓ 2 callersFunctionCookieListContains
CookieListContains - Checks if a cookie is in a list of cookies. The functions returns the first id in the map if there is a match.
pkg/processor/profileloader/keyvalue/keyvalue.go:46
↓ 2 callersMethodDeleteKeyValue
DeleteKeyValue - Deletes a key value in the kernel
pkg/processor/profileloader/profileloader.go:523
↓ 2 callersMethodDeleteProfileMappings
DeleteProfileMappings - Removes the mappings between a profile and a container
pkg/processor/profileloader/profileloader.go:699
↓ 2 callersFunctionEncodeDNS
EncodeDNS - Returns the DNS packet representation of a domain name
pkg/utils/utils.go:183
↓ 2 callersMethodGetNamespaceCacheData
()
pkg/model/event.go:101
↓ 2 callersMethodGetProcessCacheData
()
pkg/model/event.go:99
↓ 2 callersMethodGetProfileNSKeyValues
GetProfileNSKeyValues - Returns the namespace key-values of the profile
pkg/k8s/apis/securityprobe.datadoghq.com/v1/types.go:176
↓ 2 callersMethodGetUnsafePointer
GetUnsafePointer - Returns an unsafe Pointer to the data
pkg/processor/profileloader/keyvalue/keyvalue.go:387
↓ 2 callersMethodGetValue
GetValue - Returns the unsafe pointer to the value
pkg/processor/profileloader/keyvalue/keyvalue.go:123
↓ 2 callersMethodHasSameResourceVersion
HasSameResourceVersion - Returns true if the ResourceVersions match
pkg/processor/profileloader/profileloader.go:56
↓ 2 callersMethodHasSameUID
HasSameUID - Returns true if the UIDs match
pkg/processor/profileloader/profileloader.go:51
↓ 2 callersMethodIsInCache
IsInCache - Checks if the process is in cache
pkg/model/event.go:215
↓ 2 callersMethodList
List lists all SecurityProfiles in the indexer.
pkg/k8s/client/listers/securityprobe.datadoghq.com/v1/securityprofile.go:31
↓ 2 callersMethodLookupNamespace
LookupNamespace - Returns an existing or create the netns cache entry
pkg/nsp/cache.go:83
↓ 2 callersMethodModTime
()
pkg/probe/probe.go:61
↓ 2 callersFunctionNewCookie
NewCookie - Returns a new cookie randomly generated
pkg/processor/profileloader/keyvalue/keyvalue.go:40
↓ 2 callersFunctionNewDNSKey
NewDNSKey - Creates a new DNSKey and encodes the domain string appropriately
pkg/processor/profileloader/keyvalue/keyvalue.go:259
↓ 2 callersFunctionNewFilteredSecurityProfileInformer
NewFilteredSecurityProfileInformer constructs a new informer for SecurityProfile type. Always prefer using an informer factory to get a shared informe
pkg/k8s/client/informers/externalversions/securityprobe.datadoghq.com/v1/securityprofile.go:57
↓ 2 callersFunctionNewSharedInformerFactoryWithOptions
NewSharedInformerFactoryWithOptions constructs a new instance of a SharedInformerFactory with additional options.
pkg/k8s/client/informers/externalversions/factory.go:92
↓ 2 callersFunctionProfileInputToTransportProtocol
ProfileInputToTransportProtocol - Transforms a profile input into a transport protocol
pkg/model/kernel/const.go:369
↓ 2 callersMethodPutKeyValue
PutKeyValue - Inserts a key value in the kernel
pkg/processor/profileloader/profileloader.go:543
↓ 2 callersMethodRemoveContainerID
RemoveContainerID - Removes a container ID from the list of container IDs
pkg/processor/profileloader/profileloader.go:91
↓ 2 callersMethodSecurityProfiles
SecurityProfiles returns an object that can list and get SecurityProfiles.
pkg/k8s/client/listers/securityprobe.datadoghq.com/v1/securityprofile.go:33
↓ 2 callersMethodV1
V1 provides access to shared informers for resources in V1.
pkg/k8s/client/informers/externalversions/securityprobe.datadoghq.com/interface.go:29
↓ 2 callersFunctionadd_nat_entry
* add_nat_entry - Add a nat entry to the session * @event: pointer to a net_event_t structure to hold the parsed data * @session: session to which t
ebpf/main.c:2059
↓ 2 callersMethodcomputeListOfBinaryIDs
(netns uint64)
pkg/processor/profileloader/profileloader.go:724
↓ 2 callersMethodhandleNewSecurityProfile
handleSecurityProfileUpdate - Handles a security profile update
pkg/processor/profileloader/profileloader.go:332
↓ 2 callersFunctionparseConfigFromPath
parseConfigFromPath - Parses the provided configuration file
pkg/config/config.go:107
↓ 1 callersMethodAddContainerID
AddContainerID - Appends a container ID to the list of containers of this profile, only if it is not already in the list.
pkg/processor/profileloader/profileloader.go:102
↓ 1 callersFunctionAssetDir
AssetDir returns the file names below a certain directory embedded in the file by go-bindata. For example if you run go-bindata on data/... and data c
pkg/probe/probe.go:159
↓ 1 callersFunctionAssetInfo
AssetInfo loads and returns the asset info for the given name. It returns an error if the asset could not be found or could not be loaded.
pkg/probe/probe.go:120
↓ 1 callersMethodBinaryIDFromPath
BinaryIDFromPath - Returns the binary_id associated to the provided binary path.
pkg/k8s/apis/securityprobe.datadoghq.com/v1/types.go:218
↓ 1 callersMethodCreate
(*v1.SecurityProfile)
pkg/k8s/client/clientset/versioned/typed/securityprobe.datadoghq.com/v1/securityprofile.go:40
↓ 1 callersMethodDeepCopy
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecurityProfile.
pkg/k8s/apis/securityprobe.datadoghq.com/v1/zz_generated.deepcopy.go:246
↓ 1 callersMethodDeepCopy
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecurityProfileList.
pkg/k8s/apis/securityprobe.datadoghq.com/v1/zz_generated.deepcopy.go:279
↓ 1 callersMethodDeepCopyInto
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
pkg/k8s/apis/securityprobe.datadoghq.com/v1/zz_generated.deepcopy.go:29
↓ 1 callersMethodDeepCopyInto
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
pkg/k8s/apis/securityprobe.datadoghq.com/v1/zz_generated.deepcopy.go:63
↓ 1 callersMethodDeepCopyInto
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
pkg/k8s/apis/securityprobe.datadoghq.com/v1/zz_generated.deepcopy.go:79
↓ 1 callersMethodDeepCopyInto
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
pkg/k8s/apis/securityprobe.datadoghq.com/v1/zz_generated.deepcopy.go:129
↓ 1 callersMethodDeepCopyInto
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
pkg/k8s/apis/securityprobe.datadoghq.com/v1/zz_generated.deepcopy.go:145
↓ 1 callersMethodDeepCopyInto
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
pkg/k8s/apis/securityprobe.datadoghq.com/v1/zz_generated.deepcopy.go:171
↓ 1 callersMethodDeepCopyInto
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
pkg/k8s/apis/securityprobe.datadoghq.com/v1/zz_generated.deepcopy.go:202
↓ 1 callersMethodDeepCopyInto
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
pkg/k8s/apis/securityprobe.datadoghq.com/v1/zz_generated.deepcopy.go:220
↓ 1 callersMethodDeepCopyInto
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
pkg/k8s/apis/securityprobe.datadoghq.com/v1/zz_generated.deepcopy.go:237
↓ 1 callersMethodDeepCopyInto
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
pkg/k8s/apis/securityprobe.datadoghq.com/v1/zz_generated.deepcopy.go:264
↓ 1 callersMethodDeepCopyInto
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
pkg/k8s/apis/securityprobe.datadoghq.com/v1/zz_generated.deepcopy.go:297
next →1–100 of 555, ranked by callers