MCPcopy Create free account

hub / github.com/DataDog/datadog-agent / functions

Functions32,574 in github.com/DataDog/datadog-agent

↓ 2 callersMethodReloadPolicies
(ctx context.Context, in *ReloadPoliciesParams, opts ...grpc.CallOption)
pkg/security/proto/api/api_grpc.pb.go:50
↓ 2 callersMethodReloadPolicies
ReloadPolicies reloads the policies
pkg/security/rules/engine.go:228
↓ 2 callersMethodReloadPolicies
()
pkg/security/agent/client.go:42
↓ 2 callersMethodRemove
Remove implements Cache#Remove. It is a thread safe version of remove.
pkg/util/trivy/cache.go:470
↓ 2 callersMethodRemoveAllRedisArgs
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 callersFunctionRemoveCheckMetadata
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 callersFunctionRemoveCheckStats
RemoveCheckStats removes a check from the check stats map
pkg/collector/runner/expvars/expvars.go:148
↓ 2 callersMethodRemoveConnections
RemoveConnections removes the given keys from the state
pkg/network/state.go:106
↓ 2 callersMethodRemoveDump
RemoveDump removes a dump
pkg/security/security_profile/dump/manager.go:576
↓ 2 callersMethodRemoveExpiredClient
(clientID string)
pkg/network/client_pool.go:52
↓ 2 callersMethodRemoveOutdatedFiles
RemoveOutdatedFiles removes the outdated files when a file is older than outDatedFileDayCount days.
comp/forwarder/defaultforwarder/internal/retry/file_removal_policy.go:72
↓ 2 callersMethodRemovePID
RemovePID removes the provided pid from the list of pids
pkg/security/resolvers/cgroup/model/model.go:104
↓ 2 callersMethodRemoveScheduler
(string)
pkg/clusteragent/clusterchecks/handler.go:42
↓ 2 callersMethodRemoveUnknownDomains
RemoveUnknownDomains remove unknown domains.
comp/forwarder/defaultforwarder/internal/retry/file_removal_policy.go:79
↓ 2 callersMethodRendered
Rendered renders the info for display on the status page.
pkg/logs/internal/status/info.go:154
↓ 2 callersMethodReplaceStatsGroup
ReplaceStatsGroup applies the replacer rules to the given stats bucket group.
pkg/trace/filters/replacer.go:72
↓ 2 callersMethodReportAsAgentDiagnoses
ReportAsAgentDiagnoses converts diagnoses to Agent diagnose CLI format
pkg/networkdevice/diagnoses/diagnoses.go:60
↓ 2 callersMethodReportContainers
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 callersMethodReportEvent
ReportEvent reports event.
cmd/agentless-scanner/findings_reporter.go:101
↓ 2 callersMethodReportHeartbeatEvent
ReportHeartbeatEvent sends HeartbeatEvents reporting the current set of policies
pkg/security/rules/policy_monitor.go:79
↓ 2 callersMethodReportMetrics
ReportMetrics reports metrics using Sender
pkg/collector/corechecks/snmp/internal/report/report_metrics.go:50
↓ 2 callersMethodReportRaw
(content []byte, service string, tags ...string)
pkg/security/common/raw_reporter.go:10
↓ 2 callersMethodRequestLatency
()
pkg/network/protocols/http/model.go:17
↓ 2 callersFunctionRequireKernelVersion
RequireKernelVersion skips a test if the minimum kernel version is not met
pkg/ebpf/ebpftest/version_linux.go:15
↓ 2 callersMethodReset
Reset resets the groupingFilter so that it may be used again.
pkg/obfuscate/sql.go:285
↓ 2 callersMethodReset
Reset closes the circuit breaker and its state.
pkg/network/netlink/circuit_breaker.go:98
↓ 2 callersFunctionResetGlobalLeaderEngine
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 callersFunctionResetGlobalStore
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 callersMethodResetProcesses
ResetProcesses resets the state of the store so that newProcesses are the only entites stored.
pkg/workloadmeta/types.go:124
↓ 2 callersMethodResolve
Resolve returns the tags for the given id
pkg/security/tests/fake_tags_resolver.go:39
↓ 2 callersMethodResolve
Resolve returns the tags for the given id
pkg/security/tests/fake_tags_resolver.go:83
↓ 2 callersMethodResolveBasename
(e *model.FileFields)
pkg/security/resolvers/path/resolver.go:23
↓ 2 callersFunctionResolveEndpointConfigAuto
ResolveEndpointConfigAuto automatically resolves endpoint pod and node information if available
pkg/autodiscovery/common/utils/prometheus_apiserver.go:89
↓ 2 callersMethodResolveFileFieldsPath
(e *model.FileFields, pidCtx *model.PIDContext, ctrCtx *model.ContainerContext)
pkg/security/resolvers/path/resolver.go:24
↓ 2 callersMethodResolveImageName
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 callersMethodResolveImageNameFromContainer
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 callersMethodResolveNameFromCache
ResolveNameFromCache returns the name
pkg/security/resolvers/dentry/resolver.go:216
↓ 2 callersMethodResolveNetworkNamespace
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 callersMethodResolveNewProcessCacheEntry
ResolveNewProcessCacheEntry resolves the context fields of a new process cache entry parsed from kernel data
pkg/security/resolvers/process/resolver_linux.go:732
↓ 2 callersMethodResolveParentFromCache
ResolveParentFromCache resolves the parent
pkg/security/resolvers/dentry/resolver.go:618
↓ 2 callersMethodResolveProcessCacheEntry
(ev *Event)
pkg/security/secl/model/model.go:592
↓ 2 callersMethodResolveProcessCacheEntry
ResolveProcessCacheEntry queries the ProcessResolver to retrieve the ProcessContext of the event
pkg/security/probe/field_handlers_linux.go:22
↓ 2 callersMethodResolveWithErr
(id string)
pkg/security/resolvers/tags/resolver.go:45
↓ 2 callersMethodResourceList
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 callersMethodRestoreCurrentStateFromFile
RestoreCurrentStateFromFile loads the current context from a file
pkg/serverless/executioncontext/executioncontext.go:195
↓ 2 callersFunctionResultToColumnValues
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 callersFunctionRt
(t)
cmd/agent/gui/views/private/js/purify.min.js:2
↓ 2 callersFunctionRuleStateFromDefinition
RuleStateFromDefinition returns a rule state based on the rule definition
pkg/security/rules/policy_monitor.go:215
↓ 2 callersFunctionRun
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 callersMethodRun
Run the OTLP pipeline.
comp/otelcol/otlp/collector.go:206
↓ 2 callersMethodRun
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 callersMethodRun
Run starts a new thread to listen for process events
pkg/process/events/listener_linux.go:80
↓ 2 callersFunctionRunAgent
RunAgent initialized resources and starts API server
cmd/security-agent/subcommands/start/command.go:162
↓ 2 callersFunctionRunDogstatsd
RunDogstatsd starts the dogstatsd server
cmd/dogstatsd/subcommands/start/command.go:152
↓ 2 callersFunctionRunDogstatsdFct
(cliParams *CLIParams, defaultConfPath string, defaultLogFile string, fct interface{})
cmd/dogstatsd/subcommands/start/command.go:87
↓ 2 callersMethodRunHPA
RunHPA starts the controller to process events about Horizontal Pod Autoscalers
pkg/util/kubernetes/apiserver/hpa_controller.go:79
↓ 2 callersFunctionRunImport
(t *testing.T, integrations []string)
cmd/agent/common/import_test.go:75
↓ 2 callersMethodRunSelfTest
(ctx context.Context, in *RunSelfTestParams, opts ...grpc.CallOption)
pkg/security/proto/api/api_grpc.pb.go:48
↓ 2 callersFunctionRunServer
(t testing.TB, serverAddr, serverPort string)
pkg/network/protocols/kafka/server.go:19
↓ 2 callersMethodRunWPA
RunWPA starts the controller to process events about Watermark Pod Autoscalers
pkg/util/kubernetes/apiserver/wpa_controller.go:45
↓ 2 callersFunctionRuntimeArch
RuntimeArch returns the arch as will be visible in CWS events and security profiles
pkg/security/utils/arch.go:11
↓ 2 callersFunctionRuntimeSettings
RuntimeSettings returns all runtime configurable settings
pkg/config/settings/runtime_setting.go:54
↓ 2 callersMethodSaveCurrentExecutionContext
SaveCurrentExecutionContext stores the current context to a file
pkg/serverless/executioncontext/executioncontext.go:180
↓ 2 callersMethodSaveSecurityProfile
(name string, tag string)
pkg/security/agent/client.go:47
↓ 2 callersFunctionScanFunction
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 callersMethodScheduleConnectionReset
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 callersMethodScrubDataObj
ScrubDataObj scrubs credentials from the data interface by recursively walking over all the nodes
pkg/util/scrubber/yaml_scrubber.go:82
↓ 2 callersMethodScrubFile
ScrubFile scrubs credentials from file given by pathname
pkg/util/scrubber/scrubber.go:102
↓ 2 callersFunctionScrubJSON
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 callersMethodScrubLine
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 callersFunctionScrubPod
ScrubPod scrubs a pod.
pkg/orchestrator/redact/pod.go:38
↓ 2 callersFunctionSearchTargetPerName
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 callersFunctionSecurityAgentSubcommands
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 callersMethodSend
(*SecurityEventMessage)
pkg/security/proto/api/api_grpc.pb.go:361
↓ 2 callersMethodSend
(*StreamTagsResponse)
pkg/proto/pbgo/core/api.pb.go:591
↓ 2 callersFunctionSendDNSQueriesOnPort
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 callersMethodSendEventPlatformEvent
(e *message.Message, eventType string)
pkg/epforwarder/epforwarder.go:196
↓ 2 callersFunctionSendFlare
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 callersMethodSendIterableSeries
(serieSource metrics.SerieSource)
pkg/serializer/serializer.go:94
↓ 2 callersMethodSendMetadata
(m marshaler.JSONMarshaler)
pkg/serializer/serializer.go:99
↓ 2 callersMethodSendMsg
SendMsg provides a mock function with given fields: m
pkg/eventmonitor/proto/api/mocks/event_monitoring_module_get_process_events_client.go:117
↓ 2 callersFunctionSendOutOfMemoryEnhancedMetric
SendOutOfMemoryEnhancedMetric sends an enhanced metric representing a function running out of memory at a given time
pkg/serverless/metrics/enhanced_metrics.go:216
↓ 2 callersMethodSendServiceChecks
SendServiceChecks serializes a list of serviceChecks and sends the payload to the forwarder
pkg/serializer/serializer.go:288
↓ 2 callersMethodSendSketch
SendSketch serializes a list of SketSeriesList and sends the payload to the forwarder
pkg/serializer/serializer.go:355
↓ 2 callersFunctionSendUDPPacket
SendUDPPacket sends data to a local port over UDP.
comp/netflow/testutil/testutil.go:43
↓ 2 callersMethodSerializer
Serializer returns the serializer used by the Demultiplexer instance.
pkg/aggregator/demultiplexer.go:34
↓ 2 callersMethodServeHTTP
ServeHTTP - see type LambdaLogsCollector comment.
pkg/serverless/logs/http.go:27
↓ 2 callersMethodServerlessFlush
ServerlessFlush flushes all the data to the aggregator to them send it to the Datadog intake.
comp/dogstatsd/server/component.go:35
↓ 2 callersFunctionServiceNameFromTags
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 callersMethodServicesForPod
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 callersMethodSet
Set updates services for a given namespace and pod name.
pkg/util/kubernetes/apiserver/services_kubelet.go:29
↓ 2 callersMethodSet
Set changes the value of the runtime setting
pkg/config/settings/runtime_setting_profiling.go:60
↓ 2 callersMethodSet
Set a value by key in a config map
test/new-e2e/pkg/runner/configmap.go:45
↓ 2 callersMethodSetBPF
SetBPF attaches an assembled BPF program to the socket
pkg/network/netlink/socket.go:343
↓ 2 callersFunctionSetConfigMapFromSecret
SetConfigMapFromSecret set config map from a secret store
test/new-e2e/pkg/runner/configmap.go:65
↓ 2 callersMethodSetContent
SetContent stores the message part of the structured log, in the "message" key of the underlying map.
pkg/logs/message/message.go:267
↓ 2 callersMethodSetDefault
SetDefault wraps Viper for concurrent access
pkg/config/model/viper.go:88
↓ 2 callersMethodSetDefaultHandlers
SetDefaultHandlers sets the default handlers for AttemptHandler and CompletionHandler
comp/forwarder/defaultforwarder/transaction/transaction.go:243
↓ 2 callersMethodSetDefaults
SetDefaults sets default values wherever possible, returning an error if any values are malformed.
comp/netflow/config/config.go:72
↓ 2 callersMethodSetEnvKeyReplacer
(r *strings.Replacer)
pkg/config/model/types.go:108
← previousnext →7,001–7,100 of 32,574, ranked by callers