Complete the code to enable GuardDuty in a specific AWS region.
aws guardduty create-detector --enable [1] --region us-east-1
To enable GuardDuty, the --enable flag must be set to true.
Complete the code to list all GuardDuty findings in a detector.
aws guardduty list-findings --detector-id [1] --region us-west-2
The --detector-id requires the unique detector ID string.
Fix the error in the command to get details of a specific GuardDuty finding.
aws guardduty get-finding --detector-id [1] --finding-id 1111-2222-3333 --region us-east-2
The --detector-id must be the actual detector ID string, not a command or region.
Fill both blanks to create a GuardDuty member account in an organization.
aws guardduty create-members --detector-id [1] --account-details AccountId=[2],Email=member@example.com --region us-east-1
The --detector-id needs the detector ID string, and AccountId needs the AWS account number.
Fill all three blanks to update GuardDuty detector settings.
aws guardduty update-detector --detector-id [1] --enable [2] --finding-publishing-frequency [3] --region us-west-1
The detector ID is a string, --enable expects a boolean, and --finding-publishing-frequency accepts values like FIFTEEN_MINUTES.