- 필수 기능
- 시작하기
- Glossary
- 표준 속성
- Guides
- Agent
- 통합
- 개방형텔레메트리
- 개발자
- Administrator's Guide
- API
- Datadog Mobile App
- CoScreen
- Cloudcraft
- 앱 내
- 서비스 관리
- 인프라스트럭처
- 애플리케이션 성능
- APM
- Continuous Profiler
- 스팬 시각화
- 데이터 스트림 모니터링
- 데이터 작업 모니터링
- 디지털 경험
- 소프트웨어 제공
- 보안
- AI Observability
- 로그 관리
- 관리
CSM Threats event for Windows have the following JSON schema:
BACKEND_EVENT_JSON_SCHEMA
{
"$id": "https://github.com/DataDog/datadog-agent/tree/main/pkg/security/serializers",
"$defs": {
"AgentContext": {
"properties": {
"rule_id": {
"type": "string"
},
"rule_version": {
"type": "string"
},
"rule_actions": {
"items": true,
"type": "array"
},
"policy_name": {
"type": "string"
},
"policy_version": {
"type": "string"
},
"version": {
"type": "string"
},
"os": {
"type": "string"
},
"arch": {
"type": "string"
},
"origin": {
"type": "string"
}
},
"additionalProperties": false,
"type": "object",
"required": [
"rule_id"
]
},
"ChangePermissionEvent": {
"properties": {
"username": {
"type": "string",
"description": "User name"
},
"user_domain": {
"type": "string",
"description": "User domain"
},
"path": {
"type": "string",
"description": "Object name"
},
"type": {
"type": "string",
"description": "Object type"
},
"old_sd": {
"type": "string",
"description": "Original Security Descriptor"
},
"new_sd": {
"type": "string",
"description": "New Security Descriptor"
}
},
"additionalProperties": false,
"type": "object",
"description": "ChangePermissionEventSerializer serializes a permission change event to JSON"
},
"ContainerContext": {
"properties": {
"id": {
"type": "string",
"description": "Container ID"
},
"created_at": {
"type": "string",
"format": "date-time",
"description": "Creation time of the container"
},
"variables": {
"$ref": "#/$defs/Variables",
"description": "Variables values"
}
},
"additionalProperties": false,
"type": "object",
"description": "ContainerContextSerializer serializes a container context to JSON"
},
"EventContext": {
"properties": {
"name": {
"type": "string",
"description": "Event name"
},
"category": {
"type": "string",
"description": "Event category"
},
"outcome": {
"type": "string",
"description": "Event outcome"
},
"async": {
"type": "boolean",
"description": "True if the event was asynchronous"
},
"matched_rules": {
"items": {
"$ref": "#/$defs/MatchedRule"
},
"type": "array",
"description": "The list of rules that the event matched (only valid in the context of an anomaly)"
},
"variables": {
"$ref": "#/$defs/Variables",
"description": "Variables values"
}
},
"additionalProperties": false,
"type": "object",
"description": "EventContextSerializer serializes an event context to JSON"
},
"ExitEvent": {
"properties": {
"cause": {
"type": "string",
"description": "Cause of the process termination (one of EXITED, SIGNALED, COREDUMPED)"
},
"code": {
"type": "integer",
"description": "Exit code of the process or number of the signal that caused the process to terminate"
}
},
"additionalProperties": false,
"type": "object",
"required": [
"cause",
"code"
],
"description": "ExitEventSerializer serializes an exit event to JSON"
},
"File": {
"properties": {
"path": {
"type": "string",
"description": "File path"
},
"device_path": {
"type": "string",
"description": "File device path"
},
"name": {
"type": "string",
"description": "File basename"
}
},
"additionalProperties": false,
"type": "object",
"description": "FileSerializer serializes a file to JSON"
},
"FileEvent": {
"properties": {
"path": {
"type": "string",
"description": "File path"
},
"device_path": {
"type": "string",
"description": "File device path"
},
"name": {
"type": "string",
"description": "File basename"
},
"destination": {
"$ref": "#/$defs/File",
"description": "Target file information"
}
},
"additionalProperties": false,
"type": "object",
"description": "FileEventSerializer serializes a file event to JSON"
},
"MatchedRule": {
"properties": {
"id": {
"type": "string",
"description": "ID of the rule"
},
"version": {
"type": "string",
"description": "Version of the rule"
},
"tags": {
"items": {
"type": "string"
},
"type": "array",
"description": "Tags of the rule"
},
"policy_name": {
"type": "string",
"description": "Name of the policy that introduced the rule"
},
"policy_version": {
"type": "string",
"description": "Version of the policy that introduced the rule"
}
},
"additionalProperties": false,
"type": "object",
"description": "MatchedRuleSerializer serializes a rule"
},
"Process": {
"properties": {
"pid": {
"type": "integer",
"description": "Process ID"
},
"ppid": {
"type": "integer",
"description": "Parent Process ID"
},
"exec_time": {
"type": "string",
"format": "date-time",
"description": "Exec time of the process"
},
"exit_time": {
"type": "string",
"format": "date-time",
"description": "Exit time of the process"
},
"executable": {
"$ref": "#/$defs/File",
"description": "File information of the executable"
},
"container": {
"$ref": "#/$defs/ContainerContext",
"description": "Container context"
},
"cmdline": {
"type": "string",
"description": "Command line arguments"
},
"user": {
"type": "string",
"description": "User name"
}
},
"additionalProperties": false,
"type": "object",
"description": "ProcessSerializer serializes a process to JSON"
},
"ProcessContext": {
"properties": {
"pid": {
"type": "integer",
"description": "Process ID"
},
"ppid": {
"type": "integer",
"description": "Parent Process ID"
},
"exec_time": {
"type": "string",
"format": "date-time",
"description": "Exec time of the process"
},
"exit_time": {
"type": "string",
"format": "date-time",
"description": "Exit time of the process"
},
"executable": {
"$ref": "#/$defs/File",
"description": "File information of the executable"
},
"container": {
"$ref": "#/$defs/ContainerContext",
"description": "Container context"
},
"cmdline": {
"type": "string",
"description": "Command line arguments"
},
"user": {
"type": "string",
"description": "User name"
},
"parent": {
"$ref": "#/$defs/Process",
"description": "Parent process"
},
"ancestors": {
"items": {
"$ref": "#/$defs/Process"
},
"type": "array",
"description": "Ancestor processes"
},
"variables": {
"$ref": "#/$defs/Variables",
"description": "Variables values"
},
"truncated_ancestors": {
"type": "boolean",
"description": "True if the ancestors list was truncated because it was too big"
}
},
"additionalProperties": false,
"type": "object",
"description": "ProcessContextSerializer serializes a process context to JSON"
},
"RegistryEvent": {
"properties": {
"key_name": {
"type": "string",
"description": "Registry key name"
},
"key_path": {
"type": "string",
"description": "Registry key path"
},
"value_name": {
"type": "string",
"description": "Value name of the key value"
}
},
"additionalProperties": false,
"type": "object",
"description": "RegistryEventSerializer serializes a registry event to JSON"
},
"UserContext": {
"properties": {
"name": {
"type": "string",
"description": "User name"
},
"sid": {
"type": "string",
"description": "Owner Sid"
}
},
"additionalProperties": false,
"type": "object",
"description": "UserContextSerializer serializes a user context to JSON"
},
"Variables": {
"type": "object",
"description": "Variables serializes the variable values"
}
},
"properties": {
"agent": {
"$ref": "#/$defs/AgentContext"
},
"title": {
"type": "string"
},
"evt": {
"$ref": "#/$defs/EventContext"
},
"date": {
"type": "string",
"format": "date-time"
},
"file": {
"$ref": "#/$defs/FileEvent"
},
"exit": {
"$ref": "#/$defs/ExitEvent"
},
"process": {
"$ref": "#/$defs/ProcessContext"
},
"container": {
"$ref": "#/$defs/ContainerContext"
},
"registry": {
"$ref": "#/$defs/RegistryEvent"
},
"usr": {
"$ref": "#/$defs/UserContext"
},
"permission_change": {
"$ref": "#/$defs/ChangePermissionEvent"
}
},
"additionalProperties": false,
"type": "object",
"required": [
"agent",
"title"
]
}
Parameter | Type | Description |
---|---|---|
agent | $ref | Please see AgentContext |
title | string | |
evt | $ref | Please see EventContext |
date | string | |
file | $ref | Please see FileEvent |
exit | $ref | Please see ExitEvent |
process | $ref | Please see ProcessContext |
container | $ref | Please see ContainerContext |
registry | $ref | Please see RegistryEvent |
usr | $ref | Please see UserContext |
permission_change | $ref | Please see ChangePermissionEvent |
AgentContext
{
"properties": {
"rule_id": {
"type": "string"
},
"rule_version": {
"type": "string"
},
"rule_actions": {
"items": true,
"type": "array"
},
"policy_name": {
"type": "string"
},
"policy_version": {
"type": "string"
},
"version": {
"type": "string"
},
"os": {
"type": "string"
},
"arch": {
"type": "string"
},
"origin": {
"type": "string"
}
},
"additionalProperties": false,
"type": "object",
"required": [
"rule_id"
]
}
ChangePermissionEvent
{
"properties": {
"username": {
"type": "string",
"description": "User name"
},
"user_domain": {
"type": "string",
"description": "User domain"
},
"path": {
"type": "string",
"description": "Object name"
},
"type": {
"type": "string",
"description": "Object type"
},
"old_sd": {
"type": "string",
"description": "Original Security Descriptor"
},
"new_sd": {
"type": "string",
"description": "New Security Descriptor"
}
},
"additionalProperties": false,
"type": "object",
"description": "ChangePermissionEventSerializer serializes a permission change event to JSON"
}
Field | Description |
---|---|
username | User name |
user_domain | User domain |
path | Object name |
type | Object type |
old_sd | Original Security Descriptor |
new_sd | New Security Descriptor |
ContainerContext
{
"properties": {
"id": {
"type": "string",
"description": "Container ID"
},
"created_at": {
"type": "string",
"format": "date-time",
"description": "Creation time of the container"
},
"variables": {
"$ref": "#/$defs/Variables",
"description": "Variables values"
}
},
"additionalProperties": false,
"type": "object",
"description": "ContainerContextSerializer serializes a container context to JSON"
}
Field | Description |
---|---|
id | Container ID |
created_at | Creation time of the container |
variables | Variables values |
References |
---|
Variables |
EventContext
{
"properties": {
"name": {
"type": "string",
"description": "Event name"
},
"category": {
"type": "string",
"description": "Event category"
},
"outcome": {
"type": "string",
"description": "Event outcome"
},
"async": {
"type": "boolean",
"description": "True if the event was asynchronous"
},
"matched_rules": {
"items": {
"$ref": "#/$defs/MatchedRule"
},
"type": "array",
"description": "The list of rules that the event matched (only valid in the context of an anomaly)"
},
"variables": {
"$ref": "#/$defs/Variables",
"description": "Variables values"
}
},
"additionalProperties": false,
"type": "object",
"description": "EventContextSerializer serializes an event context to JSON"
}
Field | Description |
---|---|
name | Event name |
category | Event category |
outcome | Event outcome |
async | True if the event was asynchronous |
matched_rules | The list of rules that the event matched (only valid in the context of an anomaly) |
variables | Variables values |
References |
---|
Variables |
ExitEvent
{
"properties": {
"cause": {
"type": "string",
"description": "Cause of the process termination (one of EXITED, SIGNALED, COREDUMPED)"
},
"code": {
"type": "integer",
"description": "Exit code of the process or number of the signal that caused the process to terminate"
}
},
"additionalProperties": false,
"type": "object",
"required": [
"cause",
"code"
],
"description": "ExitEventSerializer serializes an exit event to JSON"
}
Field | Description |
---|---|
cause | Cause of the process termination (one of EXITED, SIGNALED, COREDUMPED) |
code | Exit code of the process or number of the signal that caused the process to terminate |
File
{
"properties": {
"path": {
"type": "string",
"description": "File path"
},
"device_path": {
"type": "string",
"description": "File device path"
},
"name": {
"type": "string",
"description": "File basename"
}
},
"additionalProperties": false,
"type": "object",
"description": "FileSerializer serializes a file to JSON"
}
Field | Description |
---|---|
path | File path |
device_path | File device path |
name | File basename |
FileEvent
{
"properties": {
"path": {
"type": "string",
"description": "File path"
},
"device_path": {
"type": "string",
"description": "File device path"
},
"name": {
"type": "string",
"description": "File basename"
},
"destination": {
"$ref": "#/$defs/File",
"description": "Target file information"
}
},
"additionalProperties": false,
"type": "object",
"description": "FileEventSerializer serializes a file event to JSON"
}
Field | Description |
---|---|
path | File path |
device_path | File device path |
name | File basename |
destination | Target file information |
References |
---|
File |
MatchedRule
{
"properties": {
"id": {
"type": "string",
"description": "ID of the rule"
},
"version": {
"type": "string",
"description": "Version of the rule"
},
"tags": {
"items": {
"type": "string"
},
"type": "array",
"description": "Tags of the rule"
},
"policy_name": {
"type": "string",
"description": "Name of the policy that introduced the rule"
},
"policy_version": {
"type": "string",
"description": "Version of the policy that introduced the rule"
}
},
"additionalProperties": false,
"type": "object",
"description": "MatchedRuleSerializer serializes a rule"
}
Field | Description |
---|---|
id | ID of the rule |
version | Version of the rule |
tags | Tags of the rule |
policy_name | Name of the policy that introduced the rule |
policy_version | Version of the policy that introduced the rule |
Process
{
"properties": {
"pid": {
"type": "integer",
"description": "Process ID"
},
"ppid": {
"type": "integer",
"description": "Parent Process ID"
},
"exec_time": {
"type": "string",
"format": "date-time",
"description": "Exec time of the process"
},
"exit_time": {
"type": "string",
"format": "date-time",
"description": "Exit time of the process"
},
"executable": {
"$ref": "#/$defs/File",
"description": "File information of the executable"
},
"container": {
"$ref": "#/$defs/ContainerContext",
"description": "Container context"
},
"cmdline": {
"type": "string",
"description": "Command line arguments"
},
"user": {
"type": "string",
"description": "User name"
}
},
"additionalProperties": false,
"type": "object",
"description": "ProcessSerializer serializes a process to JSON"
}
Field | Description |
---|---|
pid | Process ID |
ppid | Parent Process ID |
exec_time | Exec time of the process |
exit_time | Exit time of the process |
executable | File information of the executable |
container | Container context |
cmdline | Command line arguments |
user | User name |
References |
---|
File |
ContainerContext |
ProcessContext
{
"properties": {
"pid": {
"type": "integer",
"description": "Process ID"
},
"ppid": {
"type": "integer",
"description": "Parent Process ID"
},
"exec_time": {
"type": "string",
"format": "date-time",
"description": "Exec time of the process"
},
"exit_time": {
"type": "string",
"format": "date-time",
"description": "Exit time of the process"
},
"executable": {
"$ref": "#/$defs/File",
"description": "File information of the executable"
},
"container": {
"$ref": "#/$defs/ContainerContext",
"description": "Container context"
},
"cmdline": {
"type": "string",
"description": "Command line arguments"
},
"user": {
"type": "string",
"description": "User name"
},
"parent": {
"$ref": "#/$defs/Process",
"description": "Parent process"
},
"ancestors": {
"items": {
"$ref": "#/$defs/Process"
},
"type": "array",
"description": "Ancestor processes"
},
"variables": {
"$ref": "#/$defs/Variables",
"description": "Variables values"
},
"truncated_ancestors": {
"type": "boolean",
"description": "True if the ancestors list was truncated because it was too big"
}
},
"additionalProperties": false,
"type": "object",
"description": "ProcessContextSerializer serializes a process context to JSON"
}
Field | Description |
---|---|
pid | Process ID |
ppid | Parent Process ID |
exec_time | Exec time of the process |
exit_time | Exit time of the process |
executable | File information of the executable |
container | Container context |
cmdline | Command line arguments |
user | User name |
parent | Parent process |
ancestors | Ancestor processes |
variables | Variables values |
truncated_ancestors | True if the ancestors list was truncated because it was too big |
References |
---|
File |
ContainerContext |
Process |
Variables |
RegistryEvent
{
"properties": {
"key_name": {
"type": "string",
"description": "Registry key name"
},
"key_path": {
"type": "string",
"description": "Registry key path"
},
"value_name": {
"type": "string",
"description": "Value name of the key value"
}
},
"additionalProperties": false,
"type": "object",
"description": "RegistryEventSerializer serializes a registry event to JSON"
}
Field | Description |
---|---|
key_name | Registry key name |
key_path | Registry key path |
value_name | Value name of the key value |
UserContext
{
"properties": {
"name": {
"type": "string",
"description": "User name"
},
"sid": {
"type": "string",
"description": "Owner Sid"
}
},
"additionalProperties": false,
"type": "object",
"description": "UserContextSerializer serializes a user context to JSON"
}
Field | Description |
---|---|
name | User name |
sid | Owner Sid |
Variables
{
"type": "object",
"description": "Variables serializes the variable values"
}