|
| 1 | +{ |
| 2 | + "parameters": { |
| 3 | + "api-version": "2023-03-01-preview", |
| 4 | + "subscriptionId": "a5caac9c-5c04-49af-b3d0-e204f40345d5" |
| 5 | + }, |
| 6 | + "responses": { |
| 7 | + "200": { |
| 8 | + "body": { |
| 9 | + "value": [ |
| 10 | + { |
| 11 | + "id": "/subscriptions/a5caac9c-5c04-49af-b3d0-e204f40345d5/resourceGroups/exampleResourceGroup1/providers/Microsoft.Security/securityConnectors/exampleSecurityConnectorAws", |
| 12 | + "name": "exampleSecurityConnectorAws", |
| 13 | + "type": "Microsoft.Security/securityConnectors", |
| 14 | + "etag": "etag value", |
| 15 | + "kind": "", |
| 16 | + "location": "Central US", |
| 17 | + "tags": {}, |
| 18 | + "systemData": { |
| 19 | + |
| 20 | + "createdByType": "User", |
| 21 | + "createdAt": "2021-08-31T13:47:50.328Z", |
| 22 | + "lastModifiedBy": "[email protected]", |
| 23 | + "lastModifiedByType": "User", |
| 24 | + "lastModifiedAt": "2021-08-31T13:47:50.328Z" |
| 25 | + }, |
| 26 | + "properties": { |
| 27 | + "hierarchyIdentifier": "exampleHierarchyId", |
| 28 | + "environmentData": { |
| 29 | + "environmentType": "AwsAccount" |
| 30 | + }, |
| 31 | + "environmentName": "AWS", |
| 32 | + "offerings": [ |
| 33 | + { |
| 34 | + "offeringType": "CspmMonitorAws", |
| 35 | + "nativeCloudConnection": { |
| 36 | + "cloudRoleArn": "arn:aws:iam::00000000:role/ASCMonitor" |
| 37 | + } |
| 38 | + } |
| 39 | + ] |
| 40 | + } |
| 41 | + }, |
| 42 | + { |
| 43 | + "id": "/subscriptions/a5caac9c-5c04-49af-b3d0-e204f40345d5/resourceGroups/exampleResourceGroup2/providers/Microsoft.Security/securityConnectors/exampleSecurityConnectorAwsOrganization", |
| 44 | + "name": "exampleSecurityConnectorAwsOrganization", |
| 45 | + "type": "Microsoft.Security/securityConnectors", |
| 46 | + "etag": "etag value", |
| 47 | + "kind": "", |
| 48 | + "location": "Central US", |
| 49 | + "tags": {}, |
| 50 | + "systemData": { |
| 51 | + |
| 52 | + "createdByType": "User", |
| 53 | + "createdAt": "2021-12-15T13:47:50.328Z", |
| 54 | + "lastModifiedBy": "[email protected]", |
| 55 | + "lastModifiedByType": "User", |
| 56 | + "lastModifiedAt": "2021-12-15T13:47:50.328Z" |
| 57 | + }, |
| 58 | + "properties": { |
| 59 | + "hierarchyIdentifier": "exampleHierarchyId", |
| 60 | + "environmentData": { |
| 61 | + "environmentType": "AwsAccount", |
| 62 | + "organizationalData": { |
| 63 | + "organizationMembershipType": "Organization", |
| 64 | + "stacksetName": "myStackSetName", |
| 65 | + "excludedAccountIds": [ |
| 66 | + "excludedAccountIdExample" |
| 67 | + ] |
| 68 | + } |
| 69 | + }, |
| 70 | + "environmentName": "AWS", |
| 71 | + "offerings": [ |
| 72 | + { |
| 73 | + "offeringType": "CspmMonitorAws", |
| 74 | + "nativeCloudConnection": { |
| 75 | + "cloudRoleArn": "arn:aws:iam::00000000:role/ASCMonitor" |
| 76 | + } |
| 77 | + } |
| 78 | + ] |
| 79 | + } |
| 80 | + }, |
| 81 | + { |
| 82 | + "id": "/subscriptions/a5caac9c-5c04-49af-b3d0-e204f40345d5/resourceGroups/exampleResourceGroup3/providers/Microsoft.Security/securityConnectors/exampleSecurityConnectorGithub", |
| 83 | + "name": "githubTest", |
| 84 | + "etag": "etag value", |
| 85 | + "type": "Microsoft.Security/securityconnectors", |
| 86 | + "location": "centralus", |
| 87 | + "kind": "", |
| 88 | + "tags": {}, |
| 89 | + "systemData": { |
| 90 | + |
| 91 | + "createdByType": "User", |
| 92 | + "createdAt": "2021-12-15T13:47:50.328Z", |
| 93 | + "lastModifiedBy": "[email protected]", |
| 94 | + "lastModifiedByType": "User", |
| 95 | + "lastModifiedAt": "2021-12-15T13:47:50.328Z" |
| 96 | + }, |
| 97 | + "properties": { |
| 98 | + "hierarchyIdentifier": "/subscriptions/a5caac9c-5c04-49af-b3d0-e204f40345d5/resourceGroups/exampleResourceGroup3/providers/Microsoft.SecurityDevops/githubConnectors/exampleGithubConnector", |
| 99 | + "environmentName": "Github", |
| 100 | + "environmentData": { |
| 101 | + "environmentType": "GithubScope" |
| 102 | + }, |
| 103 | + "offerings": [ |
| 104 | + { |
| 105 | + "offeringType": "CspmMonitorGithub" |
| 106 | + } |
| 107 | + ] |
| 108 | + } |
| 109 | + }, |
| 110 | + { |
| 111 | + "id": "/subscriptions/a5caac9c-5c04-49af-b3d0-e204f40345d5/resourceGroups/exampleResourceGroup3/providers/Microsoft.Security/securityConnectors/exampleSecurityConnectorAzureDevOpsConnectors", |
| 112 | + "name": "AzureDevOpsTest", |
| 113 | + "etag": "etag value", |
| 114 | + "type": "Microsoft.Security/securityconnectors", |
| 115 | + "location": "centralus", |
| 116 | + "kind": "", |
| 117 | + "tags": {}, |
| 118 | + "systemData": { |
| 119 | + |
| 120 | + "createdByType": "User", |
| 121 | + "createdAt": "2021-12-15T13:47:50.328Z", |
| 122 | + "lastModifiedBy": "[email protected]", |
| 123 | + "lastModifiedByType": "User", |
| 124 | + "lastModifiedAt": "2021-12-15T13:47:50.328Z" |
| 125 | + }, |
| 126 | + "properties": { |
| 127 | + "hierarchyIdentifier": "/subscriptions/a5caac9c-5c04-49af-b3d0-e204f40345d5/resourceGroups/exampleResourceGroup3/providers/Microsoft.SecurityDevops/azureDevOpsConnectors/exampleAzureDevOpsConnector", |
| 128 | + "environmentName": "Github", |
| 129 | + "environmentData": { |
| 130 | + "environmentType": "GithubScope" |
| 131 | + }, |
| 132 | + "offerings": [ |
| 133 | + { |
| 134 | + "offeringType": "CspmMonitorGithub" |
| 135 | + } |
| 136 | + ] |
| 137 | + } |
| 138 | + }, |
| 139 | + { |
| 140 | + "id": "/subscriptions/a5caac9c-5c04-49af-b3d0-e204f40345d5/resourceGroups/exampleResourceGroup3/providers/Microsoft.Security/securityConnectors/exampleSecurityConnectorGcp", |
| 141 | + "name": "exampleSecurityConnectorGcp", |
| 142 | + "type": "Microsoft.Security/securityConnectors", |
| 143 | + "etag": "etag value", |
| 144 | + "kind": "", |
| 145 | + "location": "Central US", |
| 146 | + "tags": {}, |
| 147 | + "systemData": { |
| 148 | + |
| 149 | + "createdByType": "User", |
| 150 | + "createdAt": "2021-12-15T13:47:50.328Z", |
| 151 | + "lastModifiedBy": "[email protected]", |
| 152 | + "lastModifiedByType": "User", |
| 153 | + "lastModifiedAt": "2021-12-15T13:47:50.328Z" |
| 154 | + }, |
| 155 | + "properties": { |
| 156 | + "hierarchyIdentifier": "exampleHierarchyId", |
| 157 | + "environmentData": { |
| 158 | + "environmentType": "GcpProject", |
| 159 | + "projectDetails": { |
| 160 | + "projectNumber": "exampleHierarchyId", |
| 161 | + "projectId": "My-0GCP-Project", |
| 162 | + "workloadIdentityPoolId": "6c78da41157548d3b1d8b3c72effdf8c" |
| 163 | + } |
| 164 | + }, |
| 165 | + "environmentName": "GCP", |
| 166 | + "offerings": [ |
| 167 | + { |
| 168 | + "offeringType": "CspmMonitorGcp", |
| 169 | + "nativeCloudConnection": { |
| 170 | + "workloadIdentityProviderId": "My workload identity provider Id", |
| 171 | + "serviceAccountEmailAddress": "[email protected]" |
| 172 | + } |
| 173 | + } |
| 174 | + ] |
| 175 | + } |
| 176 | + } |
| 177 | + ] |
| 178 | + } |
| 179 | + } |
| 180 | + } |
| 181 | +} |
0 commit comments