CmdID / aws / aws guardduty
aws guardduty update-custom-detection-rule-org-configuration
Updates the organization-level configuration for a custom detection rule, including the mode and include/exclude account lists. AWS CLI reference
4 options Its page in the AWS CLI reference
Options
--exclude-account-idsThe account IDs to exclude from the organization configuration.--include-account-idsThe account IDs to include in the organization configuration.--modeThe execution mode of the organization configuration.--rule-idThe unique identifier for the custom detection rule.