---
title: AWS GuardDuty
description: Ingest AWS GuardDuty findings into Lakewatch from cloud storage and schematize them with the built-in aws\_guardduty parser.
canonical_url: https://docs.databricks.com/aws/en/lakewatch/ingest-data/supported-logs/aws-guardduty
---

# AWS GuardDuty

> [!NOTE]
> **Beta**
>
> Lakewatch is in [Beta](https://docs.databricks.com/aws/en/release-notes/release-types.md). Workspace admins can control access to this feature from the **Previews** page. See [ Manage workspace-level previews](https://docs.databricks.com/aws/en/admin/workspace-settings/manage-previews.md#workspace).

## Overview

AWS GuardDuty is a threat detection service that continuously monitors your AWS accounts and workloads for malicious activity and unauthorized behavior. Lakewatch ingests AWS GuardDuty from cloud storage using Auto Loader and schematizes the data with the built-in `aws_guardduty` parser. This is a cloud storage source, not an API connector.

## Onboard AWS GuardDuty

To ingest AWS GuardDuty, create a cloud storage datasource and attach the built-in `aws_guardduty` parser so events are written to a schematized parsed table. For prerequisites, Unity Catalog access, and the full datasource setup steps, see [Cloud storage](https://docs.databricks.com/aws/en/lakewatch/ingest-data/ingestion-methods/cloud-storage.md).

## Parsed schema and observables

The built-in `aws_guardduty` parser schematizes AWS GuardDuty into a parsed table. Every parsed table also carries the Lakewatch-managed columns:

* `lw_id`: A non-null string Lakewatch uses as the primary key, supporting deduplication across incremental reads.
* `time`: A non-null event timestamp assigned by the parser.
* `lw_meta`: Standard Lakewatch processing metadata.
* `lw_observables`: Values extracted from fields marked as security observables in the parser.

See [Parser reference](https://docs.databricks.com/aws/en/lakewatch/ingest-data/custom-logs/parser-reference.md).

**Parsed table schema**

The `aws_guardduty` parser writes the following columns (generated from the parser definition):

| Column                        | Data type   |
| ----------------------------- | ----------- |
| `time`                        | `TIMESTAMP` |
| `schemaVersion`               | `STRING`    |
| `accountId`                   | `STRING`    |
| `region`                      | `STRING`    |
| `partition`                   | `STRING`    |
| `id`                          | `STRING`    |
| `arn`                         | `STRING`    |
| `type`                        | `STRING`    |
| `resource`                    | `VARIANT`   |
| `severity`                    | `DOUBLE`    |
| `createdAt`                   | `TIMESTAMP` |
| `title`                       | `STRING`    |
| `description`                 | `STRING`    |
| `service`                     | `VARIANT`   |
| `associatedAttackSequenceArn` | `STRING`    |

**Parser observables**

The parser extracts the following fields into `lw_observables` (generated from the parser definition):

| Field                         | Observable       |
| ----------------------------- | ---------------- |
| `accountId`                   | `aws_account_id` |
| `arn`                         | `aws_arn`        |
| `associatedAttackSequenceArn` | `aws_arn`        |

The following `VARIANT` fields are scanned for observables by matching nested key names. The table lists the observable types extracted from each:

| Field                    | Observable types scanned                                                                                           |
| ------------------------ | ------------------------------------------------------------------------------------------------------------------ |
| `resource`               | `actor_id`, `aws_account_id`, `aws_arn`, `aws_instance_id`, `domain`, `ip`, `resource_tag`, `trace_id`, `username` |
| `service.additionalInfo` | `actor_id`, `aws_account_id`, `aws_arn`, `aws_instance_id`, `domain`, `ip`, `resource_tag`, `trace_id`, `username` |
| `service.action`         | `actor_id`, `aws_account_id`, `aws_arn`, `aws_instance_id`, `domain`, `ip`, `resource_tag`, `trace_id`, `username` |
| `service.detection`      | `actor_id`, `aws_account_id`, `aws_arn`, `aws_instance_id`, `domain`, `ip`, `resource_tag`, `trace_id`, `username` |
