Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/DataDog/datadog-agent
/ functions
Functions
32,574 in github.com/DataDog/datadog-agent
⨍
Functions
32,574
◇
Types & classes
5,280
↳
Endpoints
25
↓ 2 callers
Method
ReloadPolicies
(ctx context.Context, in *ReloadPoliciesParams, opts ...grpc.CallOption)
pkg/security/proto/api/api_grpc.pb.go:50
↓ 2 callers
Method
ReloadPolicies
ReloadPolicies reloads the policies
pkg/security/rules/engine.go:228
↓ 2 callers
Method
ReloadPolicies
()
pkg/security/agent/client.go:42
↓ 2 callers
Method
Remove
Remove implements Cache#Remove. It is a thread safe version of remove.
pkg/util/trivy/cache.go:470
↓ 2 callers
Method
RemoveAllRedisArgs
removeAllRedisArgs will take in a command and obfuscate all arguments following the command, regardless of if the command is valid Redis or not
pkg/obfuscate/redis.go:250
↓ 2 callers
Function
RemoveCheckMetadata
RemoveCheckMetadata removes metadata for a check a trigger a new payload. This need to be called when a check is unscheduled.
pkg/metadata/inventories/inventories.go:129
↓ 2 callers
Function
RemoveCheckStats
RemoveCheckStats removes a check from the check stats map
pkg/collector/runner/expvars/expvars.go:148
↓ 2 callers
Method
RemoveConnections
RemoveConnections removes the given keys from the state
pkg/network/state.go:106
↓ 2 callers
Method
RemoveDump
RemoveDump removes a dump
pkg/security/security_profile/dump/manager.go:576
↓ 2 callers
Method
RemoveExpiredClient
(clientID string)
pkg/network/client_pool.go:52
↓ 2 callers
Method
RemoveOutdatedFiles
RemoveOutdatedFiles removes the outdated files when a file is older than outDatedFileDayCount days.
comp/forwarder/defaultforwarder/internal/retry/file_removal_policy.go:72
↓ 2 callers
Method
RemovePID
RemovePID removes the provided pid from the list of pids
pkg/security/resolvers/cgroup/model/model.go:104
↓ 2 callers
Method
RemoveScheduler
(string)
pkg/clusteragent/clusterchecks/handler.go:42
↓ 2 callers
Method
RemoveUnknownDomains
RemoveUnknownDomains remove unknown domains.
comp/forwarder/defaultforwarder/internal/retry/file_removal_policy.go:79
↓ 2 callers
Method
Rendered
Rendered renders the info for display on the status page.
pkg/logs/internal/status/info.go:154
↓ 2 callers
Method
ReplaceStatsGroup
ReplaceStatsGroup applies the replacer rules to the given stats bucket group.
pkg/trace/filters/replacer.go:72
↓ 2 callers
Method
ReportAsAgentDiagnoses
ReportAsAgentDiagnoses converts diagnoses to Agent diagnose CLI format
pkg/networkdevice/diagnoses/diagnoses.go:60
↓ 2 callers
Method
ReportContainers
ReportContainers sends the metrics about currently running containers This function is critical for CWS/CSPM metering. Please tread carefully.
pkg/security/telemetry/telemetry.go:44
↓ 2 callers
Method
ReportEvent
ReportEvent reports event.
cmd/agentless-scanner/findings_reporter.go:101
↓ 2 callers
Method
ReportHeartbeatEvent
ReportHeartbeatEvent sends HeartbeatEvents reporting the current set of policies
pkg/security/rules/policy_monitor.go:79
↓ 2 callers
Method
ReportMetrics
ReportMetrics reports metrics using Sender
pkg/collector/corechecks/snmp/internal/report/report_metrics.go:50
↓ 2 callers
Method
ReportRaw
(content []byte, service string, tags ...string)
pkg/security/common/raw_reporter.go:10
↓ 2 callers
Method
RequestLatency
()
pkg/network/protocols/http/model.go:17
↓ 2 callers
Function
RequireKernelVersion
RequireKernelVersion skips a test if the minimum kernel version is not met
pkg/ebpf/ebpftest/version_linux.go:15
↓ 2 callers
Method
Reset
Reset resets the groupingFilter so that it may be used again.
pkg/obfuscate/sql.go:285
↓ 2 callers
Method
Reset
Reset closes the circuit breaker and its state.
pkg/network/netlink/circuit_breaker.go:98
↓ 2 callers
Function
ResetGlobalLeaderEngine
ResetGlobalLeaderEngine is a helper to remove the current LeaderEngine global It is ONLY to be used for tests
pkg/util/kubernetes/apiserver/leaderelection/leaderelection.go:88
↓ 2 callers
Function
ResetGlobalStore
ResetGlobalStore resets the global store back to nil. This is useful in lifecycle tests that start and stop parts of the agent multiple times.
pkg/workloadmeta/store.go:839
↓ 2 callers
Method
ResetProcesses
ResetProcesses resets the state of the store so that newProcesses are the only entites stored.
pkg/workloadmeta/types.go:124
↓ 2 callers
Method
Resolve
Resolve returns the tags for the given id
pkg/security/tests/fake_tags_resolver.go:39
↓ 2 callers
Method
Resolve
Resolve returns the tags for the given id
pkg/security/tests/fake_tags_resolver.go:83
↓ 2 callers
Method
ResolveBasename
(e *model.FileFields)
pkg/security/resolvers/path/resolver.go:23
↓ 2 callers
Function
ResolveEndpointConfigAuto
ResolveEndpointConfigAuto automatically resolves endpoint pod and node information if available
pkg/autodiscovery/common/utils/prometheus_apiserver.go:89
↓ 2 callers
Method
ResolveFileFieldsPath
(e *model.FileFields, pidCtx *model.PIDContext, ctrCtx *model.ContainerContext)
pkg/security/resolvers/path/resolver.go:24
↓ 2 callers
Method
ResolveImageName
ResolveImageName will resolve sha image name to their user-friendly name. For non-sha/non-repodigest names we will just return the name as-is.
pkg/util/docker/docker_util.go:211
↓ 2 callers
Method
ResolveImageNameFromContainer
ResolveImageNameFromContainer will resolve the container sha image name to their user-friendly name. It is similar to ResolveImageName except it tries
pkg/util/docker/docker_util.go:295
↓ 2 callers
Method
ResolveNameFromCache
ResolveNameFromCache returns the name
pkg/security/resolvers/dentry/resolver.go:216
↓ 2 callers
Method
ResolveNetworkNamespace
ResolveNetworkNamespace returns a file descriptor to the network namespace. WARNING: it is up to the caller to close this file descriptor when it is d
pkg/security/resolvers/netns/resolver.go:278
↓ 2 callers
Method
ResolveNewProcessCacheEntry
ResolveNewProcessCacheEntry resolves the context fields of a new process cache entry parsed from kernel data
pkg/security/resolvers/process/resolver_linux.go:732
↓ 2 callers
Method
ResolveParentFromCache
ResolveParentFromCache resolves the parent
pkg/security/resolvers/dentry/resolver.go:618
↓ 2 callers
Method
ResolveProcessCacheEntry
(ev *Event)
pkg/security/secl/model/model.go:592
↓ 2 callers
Method
ResolveProcessCacheEntry
ResolveProcessCacheEntry queries the ProcessResolver to retrieve the ProcessContext of the event
pkg/security/probe/field_handlers_linux.go:22
↓ 2 callers
Method
ResolveWithErr
(id string)
pkg/security/resolvers/tags/resolver.go:45
↓ 2 callers
Method
ResourceList
ResourceList is used to convert a list of raw resources to a generic list that can be used throughout a Processor.
pkg/collector/corechecks/cluster/orchestrator/processors/processor.go:72
↓ 2 callers
Method
RestoreCurrentStateFromFile
RestoreCurrentStateFromFile loads the current context from a file
pkg/serverless/executioncontext/executioncontext.go:195
↓ 2 callers
Function
ResultToColumnValues
ResultToColumnValues builds column values - ColumnResultValuesType: column values - nextOidsMap: represent the oids that can be used to retrieve follo
pkg/collector/corechecks/snmp/internal/valuestore/gosnmp_value.go:56
↓ 2 callers
Function
Rt
(t)
cmd/agent/gui/views/private/js/purify.min.js:2
↓ 2 callers
Function
RuleStateFromDefinition
RuleStateFromDefinition returns a rule state based on the rule definition
pkg/security/rules/policy_monitor.go:215
↓ 2 callers
Function
Run
Run runs an fx.App using the supplied options, returning any errors. This differs from fx.App#Run in that it returns errors instead of exiting the pr
pkg/util/fxutil/run.go:18
↓ 2 callers
Method
Run
Run the OTLP pipeline.
comp/otelcol/otlp/collector.go:206
↓ 2 callers
Method
Run
Run runs the generator to completion, writing the generated Go source code to the given writer. If an error occurs installing Go toolchain versions, c
pkg/network/go/lutgen/run.go:72
↓ 2 callers
Method
Run
Run starts a new thread to listen for process events
pkg/process/events/listener_linux.go:80
↓ 2 callers
Function
RunAgent
RunAgent initialized resources and starts API server
cmd/security-agent/subcommands/start/command.go:162
↓ 2 callers
Function
RunDogstatsd
RunDogstatsd starts the dogstatsd server
cmd/dogstatsd/subcommands/start/command.go:152
↓ 2 callers
Function
RunDogstatsdFct
(cliParams *CLIParams, defaultConfPath string, defaultLogFile string, fct interface{})
cmd/dogstatsd/subcommands/start/command.go:87
↓ 2 callers
Method
RunHPA
RunHPA starts the controller to process events about Horizontal Pod Autoscalers
pkg/util/kubernetes/apiserver/hpa_controller.go:79
↓ 2 callers
Function
RunImport
(t *testing.T, integrations []string)
cmd/agent/common/import_test.go:75
↓ 2 callers
Method
RunSelfTest
(ctx context.Context, in *RunSelfTestParams, opts ...grpc.CallOption)
pkg/security/proto/api/api_grpc.pb.go:48
↓ 2 callers
Function
RunServer
(t testing.TB, serverAddr, serverPort string)
pkg/network/protocols/kafka/server.go:19
↓ 2 callers
Method
RunWPA
RunWPA starts the controller to process events about Watermark Pod Autoscalers
pkg/util/kubernetes/apiserver/wpa_controller.go:45
↓ 2 callers
Function
RuntimeArch
RuntimeArch returns the arch as will be visible in CWS events and security profiles
pkg/security/utils/arch.go:11
↓ 2 callers
Function
RuntimeSettings
RuntimeSettings returns all runtime configurable settings
pkg/config/settings/runtime_setting.go:54
↓ 2 callers
Method
SaveCurrentExecutionContext
SaveCurrentExecutionContext stores the current context to a file
pkg/serverless/executioncontext/executioncontext.go:180
↓ 2 callers
Method
SaveSecurityProfile
(name string, tag string)
pkg/security/agent/client.go:47
↓ 2 callers
Function
ScanFunction
ScanFunction finds the program counter (PC) positions of machine code instructions within a specific range of the text section of a binary, using the
pkg/network/go/asmscan/scan.go:39
↓ 2 callers
Method
ScheduleConnectionReset
ScheduleConnectionReset allows signaling the worker that all connections should be recreated before sending the next transaction. Returns immediately.
comp/forwarder/defaultforwarder/worker.go:142
↓ 2 callers
Method
ScrubDataObj
ScrubDataObj scrubs credentials from the data interface by recursively walking over all the nodes
pkg/util/scrubber/yaml_scrubber.go:82
↓ 2 callers
Method
ScrubFile
ScrubFile scrubs credentials from file given by pathname
pkg/util/scrubber/scrubber.go:102
↓ 2 callers
Function
ScrubJSON
ScrubJSON scrubs credentials from the given JSON by loading the data and scrubbing the object instead of the serialized string, using the default scru
pkg/util/scrubber/default.go:288
↓ 2 callers
Method
ScrubLine
ScrubLine scrubs credentials from a single line of text. It can be safely applied to URLs or to strings containing URLs. It does not run multi-line r
pkg/util/scrubber/scrubber.go:127
↓ 2 callers
Function
ScrubPod
ScrubPod scrubs a pod.
pkg/orchestrator/redact/pod.go:38
↓ 2 callers
Function
SearchTargetPerName
SearchTargetPerName returns the endpoint matching a given target name. It allows to retrieve a given pod's endpoint address from a service.
pkg/util/kubernetes/apiserver/endpoints.go:23
↓ 2 callers
Function
SecurityAgentSubcommands
SecurityAgentSubcommands returns SubcommandFactories for the subcommands supported with the current build flags. The build tags in use right now are !
cmd/security-agent/subcommands/subcommands.go:25
↓ 2 callers
Method
Send
(*SecurityEventMessage)
pkg/security/proto/api/api_grpc.pb.go:361
↓ 2 callers
Method
Send
(*StreamTagsResponse)
pkg/proto/pbgo/core/api.pb.go:591
↓ 2 callers
Function
SendDNSQueriesOnPort
SendDNSQueriesOnPort makes a DNS query for every domain provided, on the given serverIP, port, and protocol.
pkg/network/tracer/testutil/testdns/test_dns_server.go:132
↓ 2 callers
Method
SendEventPlatformEvent
(e *message.Message, eventType string)
pkg/epforwarder/epforwarder.go:196
↓ 2 callers
Function
SendFlare
SendFlare sends a flare and returns the message returned by the backend. This entry point is deprecated in favor of the 'Send' method of the flare com
pkg/flare/flare.go:16
↓ 2 callers
Method
SendIterableSeries
(serieSource metrics.SerieSource)
pkg/serializer/serializer.go:94
↓ 2 callers
Method
SendMetadata
(m marshaler.JSONMarshaler)
pkg/serializer/serializer.go:99
↓ 2 callers
Method
SendMsg
SendMsg provides a mock function with given fields: m
pkg/eventmonitor/proto/api/mocks/event_monitoring_module_get_process_events_client.go:117
↓ 2 callers
Function
SendOutOfMemoryEnhancedMetric
SendOutOfMemoryEnhancedMetric sends an enhanced metric representing a function running out of memory at a given time
pkg/serverless/metrics/enhanced_metrics.go:216
↓ 2 callers
Method
SendServiceChecks
SendServiceChecks serializes a list of serviceChecks and sends the payload to the forwarder
pkg/serializer/serializer.go:288
↓ 2 callers
Method
SendSketch
SendSketch serializes a list of SketSeriesList and sends the payload to the forwarder
pkg/serializer/serializer.go:355
↓ 2 callers
Function
SendUDPPacket
SendUDPPacket sends data to a local port over UDP.
comp/netflow/testutil/testutil.go:43
↓ 2 callers
Method
Serializer
Serializer returns the serializer used by the Demultiplexer instance.
pkg/aggregator/demultiplexer.go:34
↓ 2 callers
Method
ServeHTTP
ServeHTTP - see type LambdaLogsCollector comment.
pkg/serverless/logs/http.go:27
↓ 2 callers
Method
ServerlessFlush
ServerlessFlush flushes all the data to the aggregator to them send it to the Datadog intake.
comp/dogstatsd/server/component.go:35
↓ 2 callers
Function
ServiceNameFromTags
ServiceNameFromTags returns the standard tag 'service' corresponding to a container It returns an empty string if tag not found
pkg/logs/internal/util/service_name.go:20
↓ 2 callers
Method
ServicesForPod
ServicesForPod returns the services mapped to a given pod and namespace. If nothing is found, the boolean is false. This call is thread-safe.
pkg/util/kubernetes/apiserver/services.go:20
↓ 2 callers
Method
Set
Set updates services for a given namespace and pod name.
pkg/util/kubernetes/apiserver/services_kubelet.go:29
↓ 2 callers
Method
Set
Set changes the value of the runtime setting
pkg/config/settings/runtime_setting_profiling.go:60
↓ 2 callers
Method
Set
Set a value by key in a config map
test/new-e2e/pkg/runner/configmap.go:45
↓ 2 callers
Method
SetBPF
SetBPF attaches an assembled BPF program to the socket
pkg/network/netlink/socket.go:343
↓ 2 callers
Function
SetConfigMapFromSecret
SetConfigMapFromSecret set config map from a secret store
test/new-e2e/pkg/runner/configmap.go:65
↓ 2 callers
Method
SetContent
SetContent stores the message part of the structured log, in the "message" key of the underlying map.
pkg/logs/message/message.go:267
↓ 2 callers
Method
SetDefault
SetDefault wraps Viper for concurrent access
pkg/config/model/viper.go:88
↓ 2 callers
Method
SetDefaultHandlers
SetDefaultHandlers sets the default handlers for AttemptHandler and CompletionHandler
comp/forwarder/defaultforwarder/transaction/transaction.go:243
↓ 2 callers
Method
SetDefaults
SetDefaults sets default values wherever possible, returning an error if any values are malformed.
comp/netflow/config/config.go:72
↓ 2 callers
Method
SetEnvKeyReplacer
(r *strings.Replacer)
pkg/config/model/types.go:108
← previous
next →
7,001–7,100 of 32,574, ranked by callers