Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Gui774ume/network-security-probe
/ functions
Functions
555 in github.com/Gui774ume/network-security-probe
⨍
Functions
555
◇
Types & classes
292
↓ 25 callers
Method
Add
Add - Adds a new ProfileVersion to the set
pkg/processor/profileloader/profileloader.go:74
↓ 17 callers
Method
DeepCopyInto
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 callers
Function
GetHostByteOrder
GetHostByteOrder - Returns the host byte order
pkg/utils/utils.go:223
↓ 14 callers
Method
DispatchEvent
(event ProbeEvent)
pkg/model/nsp.go:35
↓ 14 callers
Function
InterfaceToBytes
InterfaceToBytes - Tranforms an interface into a C bytes array
pkg/utils/utils.go:174
↓ 13 callers
Method
GetMapSection
()
pkg/processor/profileloader/keyvalue/keyvalue.go:133
↓ 12 callers
Method
GetProfileKeyValues
GetProfileKeyValues - Returns the profile key-values of the L3Rule
pkg/k8s/apis/securityprobe.datadoghq.com/v1/types.go:408
↓ 11 callers
Method
String
()
pkg/processor/profileloader/keyvalue/keyvalue.go:135
↓ 10 callers
Function
fill_metadata
ebpf/main.c:216
↓ 9 callers
Method
GetBootTime
()
pkg/model/nsp.go:34
↓ 8 callers
Method
GetName
()
pkg/model/monitor.go:43
↓ 8 callers
Method
Start
()
pkg/model/monitor.go:41
↓ 8 callers
Function
Uint64ToIPv4
Uint64ToIPv4 - Transforms an uint64 representation of an IPv4 into a string
pkg/utils/utils.go:131
↓ 8 callers
Function
Uint64sToIPv6
Uint64sToIPv6 - Transforms an [2]uint64 representation of an IPv6 into a string
pkg/utils/utils.go:143
↓ 7 callers
Method
Stop
()
pkg/model/monitor.go:42
↓ 6 callers
Function
Char6ToEth
Char6ToEth - Transforms an int64 representation of an IPv4 into a string
pkg/utils/utils.go:161
↓ 6 callers
Method
Delete
(name string, options *metav1.DeleteOptions)
pkg/k8s/client/clientset/versioned/typed/securityprobe.datadoghq.com/v1/securityprofile.go:42
↓ 6 callers
Method
GetConfig
()
pkg/model/nsp.go:31
↓ 6 callers
Method
GetProfileMapOfMapsKeyValue
GetProfileMapOfMapsKeyValue - Returns the profile MapsOfMaps key-values of the EgressRule
pkg/k8s/apis/securityprobe.datadoghq.com/v1/types.go:302
↓ 5 callers
Method
GetEventType
()
pkg/model/event.go:96
↓ 5 callers
Method
GetKey
GetKey - Returns the unsafe pointer to the key
pkg/processor/profileloader/keyvalue/keyvalue.go:118
↓ 5 callers
Function
GetNetnsFromPid
GetNetnsFromPid - Returns the network namespace of a process
pkg/utils/utils.go:81
↓ 5 callers
Method
GetWaitGroup
()
pkg/model/nsp.go:30
↓ 5 callers
Method
getEntry
()
pkg/model/event.go:253
↓ 5 callers
Function
getNamespaceID
getNamespaceID - Returns the namespace id in brackets
pkg/utils/utils.go:59
↓ 4 callers
Method
GetKubeConfig
()
pkg/model/nsp.go:32
↓ 4 callers
Method
Init
(nsp NSPInterface)
pkg/model/monitor.go:40
↓ 4 callers
Method
Name
()
pkg/probe/probe.go:52
↓ 4 callers
Function
NewCIDRMapOfMapsKeyValue
NewCIDRMapOfMapsKeyValue - Creates a new MapOfMaps key-value for the provided cidrs
pkg/processor/profileloader/keyvalue/keyvalue.go:480
↓ 4 callers
Function
assess
* 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 callers
Function
device_from_net_device
* device_from_net_device - Returns a device_t instance from a net_device instance * @dev: device */
ebpf/main.c:2463
↓ 4 callers
Function
parse_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 callers
Function
resolve_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 callers
Function
update_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 callers
Function
Asset
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 callers
Function
DecodeDNS
DecodeDNS - Returns the domain name from its kernel representation
pkg/utils/utils.go:202
↓ 3 callers
Method
DeleteSecurityProfile
DeleteSecurityProfile - Deletes a security profile from the kernel.
pkg/processor/profileloader/profileloader.go:465
↓ 3 callers
Method
Get
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 callers
Method
Get
(name string, options metav1.GetOptions)
pkg/k8s/client/clientset/versioned/typed/securityprobe.datadoghq.com/v1/securityprofile.go:44
↓ 3 callers
Method
GetActionFlag
GetActionFlag - Computes the action flag of the security profile
pkg/k8s/apis/securityprobe.datadoghq.com/v1/types.go:63
↓ 3 callers
Method
GetCollection
()
pkg/model/nsp.go:33
↓ 3 callers
Function
GetPidnsFromPid
GetPidnsFromPid - Returns the pid namespace of a process
pkg/utils/utils.go:72
↓ 3 callers
Method
GetTimestamp
()
pkg/model/event.go:95
↓ 3 callers
Method
Informer
()
pkg/k8s/client/informers/externalversions/generic.go:32
↓ 3 callers
Method
IsEmpty
IsEmpty - Returns true if the UID and the ResourceVersion are empty
pkg/processor/profileloader/profileloader.go:66
↓ 3 callers
Method
LookupPid
lookupPid - Returns an existing or create the pid's cache entry
pkg/nsp/cache.go:43
↓ 3 callers
Method
SecurityProfiles
SecurityProfiles returns a SecurityProfileInformer.
pkg/k8s/client/informers/externalversions/securityprobe.datadoghq.com/v1/interface.go:28
↓ 3 callers
Method
SecurityprobeV1
()
pkg/k8s/client/clientset/versioned/clientset.go:32
↓ 3 callers
Method
Watch
(opts metav1.ListOptions)
pkg/k8s/client/clientset/versioned/typed/securityprobe.datadoghq.com/v1/securityprofile.go:46
↓ 3 callers
Function
_filePath
(dir, name string)
pkg/probe/probe.go:231
↓ 3 callers
Method
createContainerEventFromContainerID
createContainerEventFromContainerID - Creates a container event (empty action) based on a container ID
pkg/monitor/container/docker/docker.go:262
↓ 3 callers
Method
filterAndDispatchEvent
filterAndDispatchEvent - Filters and dispatch the container event
pkg/monitor/container/docker/docker.go:242
↓ 3 callers
Function
libbpf_nla_data
* libbpf_nla_data - head of payload * @nla: netlink attribute */
ebpf/bpf/nlattr.h:69
↓ 2 callers
Method
CommitSecurityProfile
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 callers
Function
CookieListContains
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 callers
Method
DeleteKeyValue
DeleteKeyValue - Deletes a key value in the kernel
pkg/processor/profileloader/profileloader.go:523
↓ 2 callers
Method
DeleteProfileMappings
DeleteProfileMappings - Removes the mappings between a profile and a container
pkg/processor/profileloader/profileloader.go:699
↓ 2 callers
Function
EncodeDNS
EncodeDNS - Returns the DNS packet representation of a domain name
pkg/utils/utils.go:183
↓ 2 callers
Method
GetNamespaceCacheData
()
pkg/model/event.go:101
↓ 2 callers
Method
GetProcessCacheData
()
pkg/model/event.go:99
↓ 2 callers
Method
GetProfileNSKeyValues
GetProfileNSKeyValues - Returns the namespace key-values of the profile
pkg/k8s/apis/securityprobe.datadoghq.com/v1/types.go:176
↓ 2 callers
Method
GetUnsafePointer
GetUnsafePointer - Returns an unsafe Pointer to the data
pkg/processor/profileloader/keyvalue/keyvalue.go:387
↓ 2 callers
Method
GetValue
GetValue - Returns the unsafe pointer to the value
pkg/processor/profileloader/keyvalue/keyvalue.go:123
↓ 2 callers
Method
HasSameResourceVersion
HasSameResourceVersion - Returns true if the ResourceVersions match
pkg/processor/profileloader/profileloader.go:56
↓ 2 callers
Method
HasSameUID
HasSameUID - Returns true if the UIDs match
pkg/processor/profileloader/profileloader.go:51
↓ 2 callers
Method
IsInCache
IsInCache - Checks if the process is in cache
pkg/model/event.go:215
↓ 2 callers
Method
List
List lists all SecurityProfiles in the indexer.
pkg/k8s/client/listers/securityprobe.datadoghq.com/v1/securityprofile.go:31
↓ 2 callers
Method
LookupNamespace
LookupNamespace - Returns an existing or create the netns cache entry
pkg/nsp/cache.go:83
↓ 2 callers
Method
ModTime
()
pkg/probe/probe.go:61
↓ 2 callers
Function
NewCookie
NewCookie - Returns a new cookie randomly generated
pkg/processor/profileloader/keyvalue/keyvalue.go:40
↓ 2 callers
Function
NewDNSKey
NewDNSKey - Creates a new DNSKey and encodes the domain string appropriately
pkg/processor/profileloader/keyvalue/keyvalue.go:259
↓ 2 callers
Function
NewFilteredSecurityProfileInformer
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 callers
Function
NewSharedInformerFactoryWithOptions
NewSharedInformerFactoryWithOptions constructs a new instance of a SharedInformerFactory with additional options.
pkg/k8s/client/informers/externalversions/factory.go:92
↓ 2 callers
Function
ProfileInputToTransportProtocol
ProfileInputToTransportProtocol - Transforms a profile input into a transport protocol
pkg/model/kernel/const.go:369
↓ 2 callers
Method
PutKeyValue
PutKeyValue - Inserts a key value in the kernel
pkg/processor/profileloader/profileloader.go:543
↓ 2 callers
Method
RemoveContainerID
RemoveContainerID - Removes a container ID from the list of container IDs
pkg/processor/profileloader/profileloader.go:91
↓ 2 callers
Method
SecurityProfiles
SecurityProfiles returns an object that can list and get SecurityProfiles.
pkg/k8s/client/listers/securityprobe.datadoghq.com/v1/securityprofile.go:33
↓ 2 callers
Method
V1
V1 provides access to shared informers for resources in V1.
pkg/k8s/client/informers/externalversions/securityprobe.datadoghq.com/interface.go:29
↓ 2 callers
Function
add_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 callers
Method
computeListOfBinaryIDs
(netns uint64)
pkg/processor/profileloader/profileloader.go:724
↓ 2 callers
Method
handleNewSecurityProfile
handleSecurityProfileUpdate - Handles a security profile update
pkg/processor/profileloader/profileloader.go:332
↓ 2 callers
Function
parseConfigFromPath
parseConfigFromPath - Parses the provided configuration file
pkg/config/config.go:107
↓ 1 callers
Method
AddContainerID
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 callers
Function
AssetDir
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 callers
Function
AssetInfo
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 callers
Method
BinaryIDFromPath
BinaryIDFromPath - Returns the binary_id associated to the provided binary path.
pkg/k8s/apis/securityprobe.datadoghq.com/v1/types.go:218
↓ 1 callers
Method
Create
(*v1.SecurityProfile)
pkg/k8s/client/clientset/versioned/typed/securityprobe.datadoghq.com/v1/securityprofile.go:40
↓ 1 callers
Method
DeepCopy
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 callers
Method
DeepCopy
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 callers
Method
DeepCopyInto
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 callers
Method
DeepCopyInto
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 callers
Method
DeepCopyInto
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 callers
Method
DeepCopyInto
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 callers
Method
DeepCopyInto
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 callers
Method
DeepCopyInto
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 callers
Method
DeepCopyInto
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 callers
Method
DeepCopyInto
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 callers
Method
DeepCopyInto
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 callers
Method
DeepCopyInto
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 callers
Method
DeepCopyInto
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