CmdID / aws / aws guardduty
aws guardduty create-detector
Creates a single GuardDuty detector. AWS CLI reference
1 example 6 options Its page in the AWS CLI reference
Examples
To enable GuardDuty in the current region
The following create-detector example creates a new detector, which enables GuardDuty, in the current region.
aws guardduty create-detector --enableIdentify--enableA Boolean value that specifies whether the detector is to be enabled.Its output
{
"DetectorId": "b6b992d6d2f48e64bc59180bfexample"
}For more information, see Enable Amazon GuardDuty in the GuardDuty User Guide.
Options
--client-tokenThe idempotency token for the create request.--data-sourcesDescribes which data sources will be enabled for the detector.--enableA Boolean value that specifies whether the detector is to be enabled.--featuresA list of features that will be configured for the detector.--finding-publishing-frequencyA value that specifies how frequently updated findings are exported.--tagsThe tags to be added to a new detector resource.