-
Notifications
You must be signed in to change notification settings - Fork 4.9k
/
CreateUpdateAwsAssumeRoleConnectorSubscription_example.json
65 lines (65 loc) · 2.09 KB
/
CreateUpdateAwsAssumeRoleConnectorSubscription_example.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
{
"parameters": {
"api-version": "2020-01-01-preview",
"subscriptionId": "20ff7fc3-e762-44dd-bd96-b71116dcdc23",
"connectorName": "aws_dev2",
"connectorSetting": {
"properties": {
"hybridComputeSettings": {
"autoProvision": "On",
"resourceGroupName": "AwsConnectorRG",
"region": "West US 2",
"proxyServer": {
"ip": "167.220.197.140",
"port": "34"
},
"servicePrincipal": {
"applicationId": "ad9bcd79-be9c-45ab-abd8-80ca1654a7d1",
"secret": "<secret>"
}
},
"authenticationDetails": {
"authenticationType": "awsAssumeRole",
"awsAssumeRoleArn": "arn:aws:iam::81231569658:role/AscConnector",
"awsExternalId": "20ff7fc3-e762-44dd-bd96-b71116dcdc23"
}
}
}
},
"responses": {
"200": {
"body": {
"id": "/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/providers/Microsoft.Security/connectors/aws_dev2",
"name": "aws_dev2",
"type": "Microsoft.Security/connectors",
"properties": {
"hybridComputeSettings": {
"hybridComputeProvisioningState": "Valid",
"autoProvision": "On",
"resourceGroupName": "AwsConnectorRG",
"region": "West US 2",
"proxyServer": {
"ip": "167.220.197.140",
"port": "34"
},
"servicePrincipal": {
"applicationId": "ad9bcd79-be9c-45ab-abd8-80ca1654a7d1"
}
},
"authenticationDetails": {
"authenticationProvisioningState": "Valid",
"grantedPermissions": [
"AWS::AWSSecurityHubReadOnlyAccess",
"AWS::SecurityAudit",
"AWS::AmazonSSMAutomationRole"
],
"authenticationType": "awsAssumeRole",
"accountId": "81231569658",
"awsAssumeRoleArn": "arn:aws:iam::81231569658:role/AscConnector",
"awsExternalId": "20ff7fc3-e762-44dd-bd96-b71116dcdc23"
}
}
}
}
}
}