> ## Documentation Index
> Fetch the complete documentation index at: https://docs.blinkops.com/llms.txt
> Use this file to discover all available pages before exploring further.

# GuardDuty Create Detector

Creates a single Amazon GuardDuty detector.
A detector is a resource that represents the GuardDuty service.
To start using GuardDuty, you must create a detector in each Region where you enable the service.
You can have only one detector per account per region.
All data sources are enabled in a new detector by default.

<Note>
  External Documentation

  To learn more, visit the [AWS documentation](https://docs.aws.amazon.com/guardduty/latest/APIReference/API_CreateDetector.html).
</Note>

## Basic Parameters

<div className="integrations-table">
  | Parameter       | Description                                                                                                                                                                                                                                                               |
  | --------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
  | AWS Region      | Enter the desired AWS Region(s).<br /><br />To execute the action in multiple regions, provide a comma-separated list.<br />For example: `us-east-1,eu-west-2`.<br /><br />If you wish to run the action in all available regions, use the asterisk symbol (`*`) instead. |
  | Enable Detector | Specifies whether the detector is enabled.                                                                                                                                                                                                                                |
</div>

## Advanced Parameters

<div className="integrations-table">
  | Parameter                        | Description                                                                                                                                                                                                |
  | -------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
  | Client Token                     | The idempotency token for the create request.<br />It is a unique, case-sensitive string of up to 64 ASCII characters.<br />Idempotency token ensures that an API request completes no more than one time. |
  | Detector Tags                    | The tags to be added to a new detector resource.                                                                                                                                                           |
  | Disable XML To JSON Auto Convert | When checked, XML responses are not automatically converted into JSON format.                                                                                                                              |
  | Finding Publishing Frequency     | Specifies how frequently updated findings are exported to S3.                                                                                                                                              |
</div>

## Example Output

```json theme={"dark"}
{
	"detectorId": "example",
	"unprocessedDataSources": {
		"malwareProtection": {
			"scanEc2InstanceWithFindings": {
				"ebsVolumes": {
					"reason": "example",
					"status": "example"
				}
			},
			"serviceRole": "example"
		}
	}
}
```

## Workflow Library Example

[Guardduty Create Detector with Aws and Send Results Via Email](https://library.blinkops.com/workflows/guardduty-create-detector-with-aws-and-send-results-via-email)

<div className="iframe-wrapper">
  <div className="iframe-media">
    <img src="https://mintcdn.com/blinkops-2/ojHYuDeYX5FWuN8a/img/Icons/play-box.svg?fit=max&auto=format&n=ojHYuDeYX5FWuN8a&q=85&s=b8af968e71438a9499c3223c9bd29fb2" alt="Workflow Library" width="16" height="16" data-path="img/Icons/play-box.svg" />

    Preview this Workflow on desktop
  </div>

  <iframe className="iframe" src="https://library.blinkops.com/workflows/guardduty-create-detector-with-aws-and-send-results-via-email/canvas" />
</div>
