sparse-intern-71089
03/01/2023, 2:19 AMlittle-cartoon-10569
03/01/2023, 2:25 AMfreezing-umbrella-71201
03/01/2023, 2:32 AMlittle-cartoon-10569
03/01/2023, 2:38 AMlittle-cartoon-10569
03/01/2023, 2:39 AMlittle-cartoon-10569
03/01/2023, 2:40 AMfreezing-umbrella-71201
03/01/2023, 2:43 AMfreezing-umbrella-71201
03/01/2023, 2:43 AMfreezing-umbrella-71201
03/02/2023, 1:27 AMBadRequestException: The request is rejected because an invalid or out-of-range value is specified as an input parameter.
Is my understanding correct that as we already have an existing organisation, we just need the config? Thank you!
for (const region of regions) {
const provider = new aws.Provider(region, { region });
const detector = new aws.guardduty.Detector(
region,
{
enable: true,
findingPublishingFrequency: "FIFTEEN_MINUTES",
},
{ provider }
);
new aws.guardduty.OrganizationConfiguration(
`guardduty-organization-${region}`,
{
autoEnable: true,
detectorId: detector.id,
datasources: {
malwareProtection: {
scanEc2InstanceWithFindings: {
ebsVolumes: { autoEnable: true },
},
},
s3Logs: {
autoEnable: true,
},
},
},
{ provider }
);
}
freezing-umbrella-71201
03/02/2023, 1:28 AMaccountId
and addition of a providerlittle-cartoon-10569
03/02/2023, 2:16 AMlittle-cartoon-10569
03/02/2023, 2:17 AMlittle-cartoon-10569
03/02/2023, 2:18 AMThe AWS account utilizing this resource must have been assigned as a delegated Organization administrator account, e.g., via the aws.guardduty.OrganizationAdminAccount resource.
little-cartoon-10569
03/02/2023, 2:18 AM