- 필수 기능
- 시작하기
- Glossary
- 표준 속성
- Guides
- Agent
- 통합
- 개방형텔레메트리
- 개발자
- Administrator's Guide
- API
- Datadog Mobile App
- CoScreen
- Cloudcraft
- 앱 내
- 서비스 관리
- 인프라스트럭처
- 애플리케이션 성능
- APM
- Continuous Profiler
- 스팬 시각화
- 데이터 스트림 모니터링
- 데이터 작업 모니터링
- 디지털 경험
- 소프트웨어 제공
- 보안
- AI Observability
- 로그 관리
- 관리
To try the preview of ASM Service Extensions for GCP, follow the setup instructions below.
You can enable application security with GCP Service Extensions within GCP Cloud Load Balancing. The Datadog Application Security Management (ASM) Service Extensions integration has support for threat detection and blocking.
The Datadog Agent is installed and configured for your application’s operating system or container, cloud, or virtual environment.
Configure the Agent with Remote Configuration to block attackers using the Datadog UI.
In your GCP project, verify that you have either the project owner
or editor
role, or the relevant Compute Engine IAM roles: compute.instanceAdmin.v1
(to spin up instances) and compute.networkAdmin
(to set up load balancing).
A GCP project with a Cloud Load Balancer configured with your services. Your Cloud Load Balancer must be one of the Application Load Balancers that supports Traffic Callouts.
Ensure that the Compute Engine API and Network Services API are enabled:
gcloud services enable compute.googleapis.com networkservices.googleapis.com
On your GCP project, multiple steps are needed to fully create a Service Extension. Google Cloud provides guides to create a callout backend service and create a Service Extension as a traffic extension.
To integrate a Service Extension with ASM, do the following:
Create a new VM Compute instance using the Datadog Service Extensions Docker image. The image is available on the Datadog Go tracer GitHub Registry.
The Docker image exposes some settings:
Environment variable | Default value | Description |
---|---|---|
DD_SERVICE_EXTENSION_HOST | 0.0.0.0 | gRPC server listening address. |
DD_SERVICE_EXTENSION_PORT | 443 | gRPC server port. |
DD_SERVICE_EXTENSION_HEALTHCHECK_PORT | 80 | HTTP server port for health checks. |
Configure the Datadog Agent to receive traces from the integration using the following environment variables:
Environment variable | Default value | Description |
---|---|---|
DD_AGENT_HOST | localhost | Hostname where your Datadog Agent is running. |
DD_TRACE_AGENT_PORT | 8126 | Port of the Datadog Agent for trace collection. |
Add the VM to an unmanaged instance group.
Specify http:80
and grpc:443
(or any other previously configured values) for the port mappings of the instance group.
Update the load balancer by creating a backend service and adding a backend.
Create a callout backend service that uses the HTTP/2 protocol and has an HTTP health check:
HTTP2
grpc
us-west1
80
(or any other previously configured value)Add the instance group with the extension server as a backend to the backend service.
Create a Traffic Service Extension callout.
Traffic extensions
as the type.When creating a new Extension Chain, do the following:
true
in the Match condition.Callouts
.애플리케이션 보안 관리에서 감지 활동을 잘 하고 있는지 확인하려면 알려진 공격 패턴을 애플리케이션으로 보내세요. 예를 들어 다음 curl 스크립트가 포함된 파일을 실행해 보안 스캐너 감지됨 규칙을 트리거할 수 있습니다.
for ((i=1;i<=250;i++));
do
# Target existing service’s routes
curl https://your-application-url/existing-route -A dd-test-scanner-log;
# Target non existing service’s routes
curl https://your-application-url/non-existing-route -A dd-test-scanner-log;
done
참고: dd-test-scanner-log
값은 최신 릴리스에서 지원됩니다.
애플리케이션을 활성화하고 실행한 몇 분 후 Application Signals Explorer에서 위협 정보가 표시되고 Vulnerability Explorer에 취약 정보가 표시됩니다.
The GCP Service Extensions integration uses the Datadog Go Tracer and inherits all environment variables from the tracer. You can find more information in Configuring the Go Tracing Library and ASM Library Configuration.
The available functionality for GCP Service Extensions version 1.71.0
has the following important limitations: