Skip to content

Commit

Permalink
[otel-agent] extension: require authentication token (#29069)
Browse files Browse the repository at this point in the history
Co-authored-by: jackgopack4 <john.peterson@datadoghq.com>
  • Loading branch information
truthbk and jackgopack4 authored Sep 27, 2024
1 parent b017f0f commit 2588d20
Show file tree
Hide file tree
Showing 12 changed files with 652 additions and 92 deletions.
111 changes: 111 additions & 0 deletions comp/api/authtoken/go.mod
Original file line number Diff line number Diff line change
@@ -0,0 +1,111 @@
module github.com/DataDog/datadog-agent/comp/api/authtoken

go 1.22.0

replace (
github.com/DataDog/datadog-agent/cmd/agent/common/path => ../../../cmd/agent/common/path
github.com/DataDog/datadog-agent/comp/api/api/def => ../../../comp/api/api/def
github.com/DataDog/datadog-agent/comp/core/config => ../../../comp/core/config
github.com/DataDog/datadog-agent/comp/core/flare/builder => ../../../comp/core/flare/builder
github.com/DataDog/datadog-agent/comp/core/flare/types => ../../../comp/core/flare/types
github.com/DataDog/datadog-agent/comp/core/log/def => ../../../comp/core/log/def
github.com/DataDog/datadog-agent/comp/core/log/mock => ../../../comp/core/log/mock
github.com/DataDog/datadog-agent/comp/core/secrets => ../../../comp/core/secrets
github.com/DataDog/datadog-agent/comp/core/telemetry => ../../../comp/core/telemetry
github.com/DataDog/datadog-agent/comp/def => ../../../comp/def
github.com/DataDog/datadog-agent/pkg/api => ../../../pkg/api
github.com/DataDog/datadog-agent/pkg/collector/check/defaults => ../../../pkg/collector/check/defaults
github.com/DataDog/datadog-agent/pkg/config/env => ../../../pkg/config/env
github.com/DataDog/datadog-agent/pkg/config/mock => ../../../pkg/config/mock
github.com/DataDog/datadog-agent/pkg/config/model => ../../../pkg/config/model
github.com/DataDog/datadog-agent/pkg/config/setup => ../../../pkg/config/setup
github.com/DataDog/datadog-agent/pkg/config/utils => ../../../pkg/config/utils
github.com/DataDog/datadog-agent/pkg/util/executable => ../../../pkg/util/executable
github.com/DataDog/datadog-agent/pkg/util/filesystem => ../../../pkg/util/filesystem
github.com/DataDog/datadog-agent/pkg/util/fxutil => ../../../pkg/util/fxutil
github.com/DataDog/datadog-agent/pkg/util/hostname/validate => ../../../pkg/util/hostname/validate/
github.com/DataDog/datadog-agent/pkg/util/log => ../../../pkg/util/log
github.com/DataDog/datadog-agent/pkg/util/log/setup => ../../../pkg/util/log/setup
github.com/DataDog/datadog-agent/pkg/util/optional => ../../../pkg/util/optional
github.com/DataDog/datadog-agent/pkg/util/pointer => ../../../pkg/util/pointer
github.com/DataDog/datadog-agent/pkg/util/scrubber => ../../../pkg/util/scrubber
github.com/DataDog/datadog-agent/pkg/util/system => ../../../pkg/util/system
github.com/DataDog/datadog-agent/pkg/util/system/socket => ../../../pkg/util/system/socket/
github.com/DataDog/datadog-agent/pkg/util/testutil => ../../../pkg/util/testutil
github.com/DataDog/datadog-agent/pkg/util/winutil => ../../../pkg/util/winutil
github.com/DataDog/datadog-agent/pkg/version => ../../../pkg/version
)

require (
github.com/DataDog/datadog-agent/comp/core/config v0.56.0
github.com/DataDog/datadog-agent/comp/core/log/def v0.58.0-devel
github.com/DataDog/datadog-agent/comp/core/log/mock v0.58.0-devel
github.com/DataDog/datadog-agent/pkg/api v0.56.0
github.com/DataDog/datadog-agent/pkg/util/fxutil v0.56.0
github.com/DataDog/datadog-agent/pkg/util/optional v0.56.0
github.com/stretchr/testify v1.9.0
go.uber.org/fx v1.22.2
)

require (
github.com/DataDog/datadog-agent/comp/core/flare/builder v0.56.0 // indirect
github.com/DataDog/datadog-agent/comp/core/flare/types v0.56.0 // indirect
github.com/DataDog/datadog-agent/comp/core/secrets v0.56.0 // indirect
github.com/DataDog/datadog-agent/comp/def v0.56.0 // indirect
github.com/DataDog/datadog-agent/pkg/collector/check/defaults v0.56.0 // indirect
github.com/DataDog/datadog-agent/pkg/config/env v0.56.0 // indirect
github.com/DataDog/datadog-agent/pkg/config/mock v0.58.0-devel // indirect
github.com/DataDog/datadog-agent/pkg/config/model v0.56.0 // indirect
github.com/DataDog/datadog-agent/pkg/config/setup v0.56.0 // indirect
github.com/DataDog/datadog-agent/pkg/config/utils v0.56.0 // indirect
github.com/DataDog/datadog-agent/pkg/util/executable v0.56.0 // indirect
github.com/DataDog/datadog-agent/pkg/util/filesystem v0.56.0 // indirect
github.com/DataDog/datadog-agent/pkg/util/hostname/validate v0.56.0 // indirect
github.com/DataDog/datadog-agent/pkg/util/log v0.56.0 // indirect
github.com/DataDog/datadog-agent/pkg/util/log/setup v0.58.0-devel // indirect
github.com/DataDog/datadog-agent/pkg/util/pointer v0.56.0 // indirect
github.com/DataDog/datadog-agent/pkg/util/scrubber v0.56.0 // indirect
github.com/DataDog/datadog-agent/pkg/util/system v0.56.0 // indirect
github.com/DataDog/datadog-agent/pkg/util/system/socket v0.56.0 // indirect
github.com/DataDog/datadog-agent/pkg/util/winutil v0.56.0 // indirect
github.com/DataDog/datadog-agent/pkg/version v0.56.0 // indirect
github.com/DataDog/viper v1.13.5 // indirect
github.com/Microsoft/go-winio v0.6.1 // indirect
github.com/cihub/seelog v0.0.0-20170130134532-f561c5e57575 // indirect
github.com/davecgh/go-spew v1.1.1 // indirect
github.com/fsnotify/fsnotify v1.7.0 // indirect
github.com/go-ole/go-ole v1.2.6 // indirect
github.com/hashicorp/hcl v1.0.0 // indirect
github.com/hectane/go-acl v0.0.0-20190604041725-da78bae5fc95 // indirect
github.com/inconshreveable/mousetrap v1.1.0 // indirect
github.com/kardianos/osext v0.0.0-20190222173326-2bc1f35cddc0 // indirect
github.com/lufia/plan9stats v0.0.0-20211012122336-39d0f177ccd0 // indirect
github.com/magiconair/properties v1.8.1 // indirect
github.com/mitchellh/mapstructure v1.1.2 // indirect
github.com/mohae/deepcopy v0.0.0-20170929034955-c48cc78d4826 // indirect
github.com/pelletier/go-toml v1.2.0 // indirect
github.com/pmezard/go-difflib v1.0.0 // indirect
github.com/power-devops/perfstat v0.0.0-20210106213030-5aafc221ea8c // indirect
github.com/shirou/gopsutil/v3 v3.23.12 // indirect
github.com/shoenig/go-m1cpu v0.1.6 // indirect
github.com/spf13/afero v1.1.2 // indirect
github.com/spf13/cast v1.5.1 // indirect
github.com/spf13/cobra v1.7.0 // indirect
github.com/spf13/jwalterweatherman v1.0.0 // indirect
github.com/spf13/pflag v1.0.5 // indirect
github.com/tklauser/go-sysconf v0.3.12 // indirect
github.com/tklauser/numcpus v0.6.1 // indirect
github.com/yusufpapurcu/wmi v1.2.3 // indirect
go.uber.org/atomic v1.11.0 // indirect
go.uber.org/dig v1.18.0 // indirect
go.uber.org/multierr v1.11.0 // indirect
go.uber.org/zap v1.27.0 // indirect
golang.org/x/exp v0.0.0-20240808152545-0cdaa3abc0fa // indirect
golang.org/x/mod v0.20.0 // indirect
golang.org/x/sync v0.8.0 // indirect
golang.org/x/sys v0.24.0 // indirect
golang.org/x/text v0.17.0 // indirect
golang.org/x/tools v0.24.0 // indirect
gopkg.in/yaml.v2 v2.4.0 // indirect
gopkg.in/yaml.v3 v3.0.1 // indirect
)
Loading

0 comments on commit 2588d20

Please sign in to comment.