Enabling AWS data connector as code

Brass Contributor

Hi,

Has anyone succeeded enabling the AWS data connector as code? In this example (https://github.com/Azure/Azure-Sentinel/blob/master/Tools/Sentinel-All-In-One/ARMTemplates/LinkedTem...) other data connectors are enabled through code, but I am unsure how to "add the role" for the AWS data connector.

Assume that the role is already created in the IAM of AWS, and I have the Role ARN

1 Reply

I found a solution from this documentation https://docs.microsoft.com/en-us/rest/api/securityinsights/data-connectors/list#awscloudtraildatacon...

I provided a snippet of the working bicep structure, in case anyone is interested. (awsRoleArn is provided as a parameter in this case)

Larssen92_1-1634121785924.png