MCPcopy Create free account

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

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

↓ 1 callersFunctionisHidepid2Set
(mountsOptsLookup map[string]struct{})
cmd/agent/common/misconfig/mounts.go:29
↓ 1 callersFunctionisHostnameCanonicalForIntake
isHostnameCanonicalForIntake returns true if the intake will use the hostname as canonical hostname.
pkg/util/hostname/warnings.go:19
↓ 1 callersFunctionisInGutter
(node)
cmd/agent/gui/views/private/js/codemirror.js:9001
↓ 1 callersFunctionisInvalidDiscarder
isInvalidDiscarder returns whether the given value is a valid discarder for the given field
pkg/security/probe/discarders_linux.go:495
↓ 1 callersMethodisJavaProcess
isJavaProcess checks if the given PID comm's name is java. The method is much faster and efficient that using process.NewProcess(pid).Name().
pkg/network/usm/ebpf_javatls.go:186
↓ 1 callersFunctionisKernelThread
Return whether the PID is of a kernel thread, based on whether it has the init process (PID 1) as ancestor
pkg/gohai/processes/gops/process_info_linux.go:19
↓ 1 callersFunctionisKinesisStreamEvent
(event map[string]any)
pkg/serverless/trigger/events.go:247
↓ 1 callersMethodisKnownMetric
isKnownMetric returns whether the KSM metric name is known by the check A known metric should satisfy one of the conditions: - has a datadog metric na
pkg/collector/corechecks/cluster/ksm/kubernetes_state.go:892
↓ 1 callersFunctionisKongAPIGatewayEvent
Kong API Gateway events are regular API Gateway events with a few missing fields (cf. https://github.com/Kong/kong/blob/348c980/kong/plugins/aws-lambd
pkg/serverless/trigger/events.go:202
↓ 1 callersFunctionisLRU
(typ ebpf.MapType)
pkg/collector/corechecks/ebpf/probe/ebpfcheck/probe.go:397
↓ 1 callersFunctionisLambdaFunctionURLEvent
(event map[string]any)
pkg/serverless/trigger/events.go:288
↓ 1 callersMethodisLastPayloadFull
isLastPayloadFull returns whether the last payload entry is full compared to the configured chunk size. isLastPayloadFull is not thread-safe, the call
pkg/collector/corechecks/containerlifecycle/queue.go:112
↓ 1 callersFunctionisListOfDumpsEqual
(list1, list2 []*activityDumpIdentifier)
pkg/security/tests/activity_dumps_test.go:437
↓ 1 callersFunctionisLiteral
(r rune)
pkg/compliance/aptconfig/aptconfig.go:246
↓ 1 callersFunctionisManualUserDrop
(priority sampler.SamplingPriority, pt *traceutil.ProcessedTrace)
pkg/trace/agent/agent.go:503
↓ 1 callersMethodisMatching
(hash []byte)
pkg/security/probe/constantfetch/fetcher.go:210
↓ 1 callersFunctionisModifierKey
(value)
cmd/agent/gui/views/private/js/codemirror.js:6681
↓ 1 callersFunctionisMouseLikeTouchEvent
(e)
cmd/agent/gui/views/private/js/codemirror.js:7823
↓ 1 callersMethodisNeeded
()
pkg/network/driver/driver_windows.go:73
↓ 1 callersMethodisNeededForSecurityProfile
(eventType eval.EventType)
pkg/security/probe/probe_linux.go:1092
↓ 1 callersFunctionisNormalizedASCIITag
(tag string, checkValidStartChar bool)
pkg/trace/traceutil/normalize.go:313
↓ 1 callersFunctionisNsTargeted
(ns string)
pkg/clusteragent/admission/mutate/auto_instrumentation.go:190
↓ 1 callersFunctionisObsPipelineEnabled
(core corecompcfg.Component)
comp/trace/config/setup.go:880
↓ 1 callersFunctionisPartial
(flag string)
pkg/logs/internal/parsers/kubernetes/kubernetes.go:70
↓ 1 callersFunctionisPodMetric
(labels model.Metric)
pkg/collector/corechecks/containers/kubelet/provider/cadvisor/provider.go:583
↓ 1 callersFunctionisPodStatic
isPodStatic identifies whether a pod is static or not based on an annotation Static pods can be sent to the kubelet from files or an http endpoint.
pkg/util/kubernetes/kubelet/kubelet.go:422
↓ 1 callersMethodisProxied
(c *model.Connection)
pkg/process/metadata/parser/dockerproxy.go:104
↓ 1 callersFunctionisReaderClosed
isReaderClosed returns true if a reader has been closed.
pkg/logs/tailers/docker/tailer.go:344
↓ 1 callersFunctionisRemoteConfigEnabled
If RC is globally enabled, RC is enabled for CWS, unless the CWS-specific RC value is explicitly set to false
pkg/security/config/config.go:349
↓ 1 callersFunctionisRemoteFS
isRemoteFS returns whether a filesystem with the given type and source is remote. It is considered remote if - the source contains a ':' - the source
pkg/gohai/filesystem/filesystem_nix.go:169
↓ 1 callersFunctionisS3Event
(event map[string]any)
pkg/serverless/trigger/events.go:251
↓ 1 callersFunctionisSNSEvent
(event map[string]any)
pkg/serverless/trigger/events.go:255
↓ 1 callersFunctionisSNSSQSEvent
(event map[string]any)
pkg/serverless/trigger/events.go:263
↓ 1 callersFunctionisSQSEvent
(event map[string]any)
pkg/serverless/trigger/events.go:259
↓ 1 callersMethodisSet
()
pkg/security/security_profile/activity_tree/activity_tree.go:99
↓ 1 callersMethodisSocks5ProxySet
()
comp/logs/agent/config/config_keys.go:73
↓ 1 callersMethodisSupportClusterCollector
(collector collectors.Collector, collectorInventory *inventory.CollectorInventory)
pkg/collector/corechecks/cluster/orchestrator/discovery/collector_discovery_crd.go:127
↓ 1 callersFunctionisTCPFlowEstablished
(flow *driver.PerFlowData)
pkg/network/event_windows.go:49
↓ 1 callersFunctionisTemplateField
isTemplateField verifies the key the needed information to build a config template
pkg/autodiscovery/providers/consul.go:286
↓ 1 callersFunctionisURLBeyondLimits
(uriLength, numBuckets int)
pkg/util/kubernetes/autoscalers/processor.go:222
↓ 1 callersFunctionisUnusedUDPPort
(t *testing.T, port int)
pkg/network/port_test.go:183
↓ 1 callersMethodisValid
isValid checks is the status code is in the range of valid HTTP responses.
pkg/network/protocols/http/stats.go:151
↓ 1 callersFunctionisValidCharAfterOperator
isValidCharAfterOperator returns true if c is a valid character after an operator
pkg/obfuscate/sql_tokenizer.go:926
↓ 1 callersFunctionisValidPath
(s string)
pkg/trace/api/evp_proxy.go:233
↓ 1 callersFunctionisValidPort
(port int)
cmd/system-probe/subcommands/run/command.go:343
↓ 1 callersFunctionisValidQueryString
(s string)
pkg/trace/api/evp_proxy.go:242
↓ 1 callersFunctionisValidRootNode
isValidRootNode evaluates if the provided process entry is allowed to become a root node of an Activity Dump
pkg/security/security_profile/activity_tree/activity_tree.go:350
↓ 1 callersFunctionisValidServiceCheckStatus
(serviceCheckStatus string)
pkg/collector/corechecks/systemd/systemd.go:512
↓ 1 callersFunctionisValidSubdomain
We don't want to accept any valid URL, we are strict in what we accept as a subdomain, path or query string to prevent abusing this API for other purp
pkg/trace/api/evp_proxy.go:224
↓ 1 callersFunctionisValidTTYName
isValidTTYName uses a naive assumption as other tty driver may create tty with other prefix
pkg/security/secl/model/unmarshallers_linux.go:146
↓ 1 callersFunctionisWPACRDNotFoundError
(err error)
pkg/util/kubernetes/apiserver/wpa_controller.go:94
↓ 1 callersMethodisWPAEnabled
()
pkg/util/kubernetes/apiserver/wpa_controller.go:153
↓ 1 callersMethodisWantedQueryType
(checktype layers.DNSType)
pkg/network/dns/parser.go:247
↓ 1 callersFunctionisWhiteSpace
(c uint8)
pkg/compliance/dbconfig/loader.go:477
↓ 1 callersFunctionisZeros
(p net.IP)
pkg/security/secl/compiler/eval/cidr.go:67
↓ 1 callersFunctionis_allowed_repo_branch
(branch)
tasks/utils.py:43
↓ 1 callersFunctionis_bpftool_compatible
(ctx)
tasks/system_probe.py:1387
↓ 1 callersFunctionis_ec2_ip_entry
(entry)
tasks/kernel_matrix_testing/stacks.py:191
↓ 1 callersFunctionis_excluded
(pkg)
tasks/licenses.py:144
↓ 1 callersFunctionis_go_file
Checks if file is a go file from the Agent code.
tasks/git-hooks/govet.py:37
↓ 1 callersFunctionis_root
()
tasks/kernel_matrix_testing/init_kmt.py:71
↓ 1 callersFunctionis_subset
(subset, superset)
test/e2e/cws-tests/tests/lib/cspm/finding.py:19
↓ 1 callersFunctionis_system_probe
(owners, files)
tasks/pipeline.py:482
↓ 1 callersFunctionis_team_owner
(file: str, team: str)
tasks/show_linters_issues/golangci_lint_parser.py:23
↓ 1 callersFunctioniterateBidiSections
(order, from, to, f)
cmd/agent/gui/views/private/js/codemirror.js:904
↓ 1 callersFunctionjobCompleteTransformer
jobCompleteTransformer sends a metric and a service check based on kube_job_complete
pkg/collector/corechecks/cluster/ksm/kubernetes_state_transformers.go:356
↓ 1 callersFunctionjobFailedTransformer
jobFailedTransformer sends a metric and a service check based on kube_job_failed
pkg/collector/corechecks/cluster/ksm/kubernetes_state_transformers.go:376
↓ 1 callersFunctionjobStatusFailedTransformer
jobStatusFailedTransformer sends a metric based on kube_job_status_failed The KSM upstream `kube_job_status_failed` metric has the following behavior
pkg/collector/corechecks/cluster/ksm/kubernetes_state_transformers.go:447
↓ 1 callersFunctionjobStatusSucceededTransformer
jobStatusSucceededTransformer sends a metric based on kube_job_status_succeeded
pkg/collector/corechecks/cluster/ksm/kubernetes_state_transformers.go:433
↓ 1 callersMethodjob_log
Gets the log file for a given job.
tasks/libs/common/gitlab.py:170
↓ 1 callersFunctionjsonRountrip
(i interface{}, v interface{})
cmd/security-agent/subcommands/check/command.go:306
↓ 1 callersFunctionjunit_upload_from_tgz
Upload all JUnit XML files contained in given tgz archive.
tasks/libs/junit_upload.py:139
↓ 1 callersFunctionkernel_in_vmset
(vmset, kernel)
tasks/kernel_matrix_testing/vmconfig.py:343
↓ 1 callersFunctionkeyName
(event, noShift)
cmd/agent/gui/views/private/js/codemirror.js:6696
↓ 1 callersFunctionkeyPairAuthMethod
(pemBytes []byte)
test/new-e2e/system-probe/connector/sshtools/config.go:78
↓ 1 callersFunctionkitchen_prepare_btfs
(ctx, files_dir, arch=CURRENT_ARCH)
tasks/system_probe.py:1407
↓ 1 callersFunctionkvm_ok
(ctx)
tasks/kernel_matrix_testing/stacks.py:79
↓ 1 callersFunctionlabelName
(prefix, labelName string)
pkg/collector/corechecks/cluster/ksm/customresources/utils.go:112
↓ 1 callersFunctionlastChangeEvent
(hist, force)
cmd/agent/gui/views/private/js/codemirror.js:4736
↓ 1 callersFunctionlastErrorMessage
lastErrorMessage converts the last error message to html
pkg/status/helpers.go:100
↓ 1 callersFunctionlastErrorTraceback
(value string)
pkg/status/helpers.go:87
↓ 1 callersMethodlastPayload
lastPayload returns the last payload entry in the queue. lastPayload is not thread-safe, the caller must lock the queue.
pkg/collector/corechecks/containerlifecycle/queue.go:101
↓ 1 callersMethodlast_pipeline_for_ref
Gets the last pipeline for a given reference. per_page cannot exceed 100.
tasks/libs/common/gitlab.py:87
↓ 1 callersMethodlatestRevision
(rel *release, storage helmStorage)
pkg/collector/corechecks/cluster/helm/releases_store.go:125
↓ 1 callersMethodlatestValueByContext
(metricFam *prom.MetricFamily, uidFromLabelsFunc uidFromLabelsFunc)
pkg/collector/corechecks/containers/kubelet/provider/cadvisor/provider.go:330
↓ 1 callersMethodlatestVersion
(r role)
pkg/config/remote/uptane/remote_store.go:50
↓ 1 callersMethodlatest_release
(self)
tasks/libs/common/github_api.py:160
↓ 1 callersFunctionlaunchFakeProcess
(ctx context.Context, t *testing.T, tmp, procname string)
cmd/system-probe/modules/compliance_test.go:61
↓ 1 callersMethodlaunchScan
(ctx context.Context, scan *scanTask)
cmd/agentless-scanner/main.go:1420
↓ 1 callersFunctionlaunchScannerMalwareLocal
(ctx context.Context, scan *scanTask, mountPoint string)
cmd/agentless-scanner/scanner_malware.go:17
↓ 1 callersFunctionlaunchScannerTrivyLambda
(ctx context.Context, scan *scanTask, codePath string)
cmd/agentless-scanner/scanner_vulns.go:103
↓ 1 callersFunctionlaunchScannerTrivyLocal
(ctx context.Context, scan *scanTask, mountPoint string)
cmd/agentless-scanner/scanner_vulns.go:37
↓ 1 callersFunctionlaunchScannerTrivyVM
(ctx context.Context, scan *scanTask, ebsclient *ebs.Client, snapshotARN arn.ARN)
cmd/agentless-scanner/scanner_vulns.go:70
↓ 1 callersMethodlaunchTailers
launch launches new tailers for a new source.
pkg/logs/launchers/file/launcher.go:229
↓ 1 callersFunctionlayersFromDockerHistory
(history []image.HistoryResponseItem)
pkg/workloadmeta/collectors/internal/docker/docker.go:631
↓ 1 callersMethodleaderWatch
(ctx context.Context)
pkg/clusteragent/clusterchecks/handler.go:169
↓ 1 callersMethodleastBusyRunner
leastBusyRunner returns the runner with the lowest utilization. If there are several options, it gives preference to preferredRunner. If preferredRunn
pkg/clusteragent/clusterchecks/checks_distribution.go:63
↓ 1 callersFunctionleftButtonDown
(cm, pos, repeat, event)
cmd/agent/gui/views/private/js/codemirror.js:7255
↓ 1 callersFunctionleftButtonSelect
(cm, event, start, behavior)
cmd/agent/gui/views/private/js/codemirror.js:7321
↓ 1 callersFunctionleftButtonStartDrag
(cm, event, pos, behavior)
cmd/agent/gui/views/private/js/codemirror.js:7273
← previousnext →13,801–13,900 of 32,574, ranked by callers