- 필수 기능
- 시작하기
- Glossary
- 표준 속성
- Guides
- Agent
- 통합
- 개방형텔레메트리
- 개발자
- Administrator's Guide
- API
- Datadog Mobile App
- CoScreen
- Cloudcraft
- 앱 내
- 서비스 관리
- 인프라스트럭처
- 애플리케이션 성능
- APM
- Continuous Profiler
- 스팬 시각화
- 데이터 스트림 모니터링
- 데이터 작업 모니터링
- 디지털 경험
- 소프트웨어 제공
- 보안
- AI Observability
- 로그 관리
- 관리
",t};e.buildCustomizationMenuUi=t;function n(e){let t='
",t}function s(e){let n=e.filter.currentValue||e.filter.defaultValue,t='${e.filter.label}
`,e.filter.options.forEach(s=>{let o=s.id===n;t+=``}),t+="${e.filter.label}
`,t+=`When security signals don’t appear, this could be due to an incompatible Agent version:
datadog-agent status
Older Go tracer versions may not support App and API Protection features:
go get github.com/DataDog/dd-trace-go/v2@latest
go.mod
file for the current versionApp and API Protection requires specific environment variables to be set:
DD_APPSEC_ENABLED=true
in your deployment environmentDD_SERVICE
and DD_ENV
are properly configured for proper event attributionOutdated Go versions are not compatible with the latest security features:
unsupported Go version: go1.21 (try running `go get github.com/DataDog/go-libddwaf@latest`)
go get github.com/DataDog/go-libddwaf@latest
When CGO is disabled, special build configuration is required:
DD_TRACE_DEBUG=true
):go-libddwaf is disabled when cgo is disabled unless you compile with the go build tag `appsec`. It will require libdl.so.2. libpthread.so.0 and libc.so.6 shared libraries at run time on linux
appsec
tag: CGO_ENABLED=0 go build -tags=appsec
CGO_ENABLED=1 go build
The application may lack necessary file system access:
/tmp
(on non-Linux systems)Not all Go frameworks and libraries are supported:
When your application fails to start with errors related to missing shared libraries, this is typically caused by:
Missing runtime dependencies: The Datadog WAF requires libc.so.6
, libpthread.so.0
and libdl.so.2
at runtime
libdl.so.2: No such file or directory
.apt-get install libc6
(Debian/Ubuntu) or yum install glibc
(RHEL/CentOS)CGO disabled builds missing libraries: When using CGO_ENABLED=0
, the binary still requires shared libraries
-tags=appsec
build flag: CGO_ENABLED=0 go build -tags=appsec
Cross-compilation issues: Building on one architecture/OS and running on another
This occurs when your binary was built against a different libc version than what’s available at runtime:
glibc version mismatch: Binary built with newer glibc running on older glibc
version 'GLIBC_2.32' not found
musl vs glibc incompatibility: Alpine (musl) binary running on Debian/Ubuntu (glibc) or vice versa
No such file or directory
musl
package: apt-get install musl
libc6-compat
package: apk add libc6-compat
For detailed examples and best practices, see the Building your Go application with Datadog’s WAF guide.
If you’re using Bazel with rules_go, Orchestrion is not compatible with it. Instead:
For complete Bazel setup instructions, see the Building with Bazel section in the setup guide.
If you’re still experiencing problems: