Security Connectors - List
Lists all the security connectors in the specified subscription. Use the 'nextLink' property in the response to get the next page of security connectors for the specified subscription.
GET https://management.azure.com/subscriptions/{subscriptionId}/providers/Microsoft.Security/securityConnectors?api-version=2021-12-01-preview
URI Parameters
Name | In | Required | Type | Description |
---|---|---|---|---|
subscription
|
path | True |
|
Azure subscription ID Regex pattern: |
api-version
|
query | True |
|
API version for the operation |
Responses
Name | Type | Description |
---|---|---|
200 OK |
OK |
|
Other Status Codes |
Error response that describes why the operation failed. |
Security
azure_auth
Azure Active Directory OAuth2 Flow
Type:
oauth2
Flow:
implicit
Authorization URL:
https://login.microsoftonline.com/common/oauth2/authorize
Scopes
Name | Description |
---|---|
user_impersonation | impersonate your user account |
Examples
List all security connectors of a specified subscription
Sample Request
GET https://management.azure.com/subscriptions/a5caac9c-5c04-49af-b3d0-e204f40345d5/providers/Microsoft.Security/securityConnectors?api-version=2021-12-01-preview
Sample Response
{
"value": [
{
"id": "/subscriptions/a5caac9c-5c04-49af-b3d0-e204f40345d5/resourceGroups/exampleResourceGroup1/providers/Microsoft.Security/securityConnectors/exampleSecurityConnectorAws",
"name": "exampleSecurityConnectorAws",
"type": "Microsoft.Security/securityConnectors",
"etag": "etag value",
"kind": "",
"location": "Central US",
"tags": {},
"systemData": {
"createdBy": "user@contoso.com",
"createdByType": "User",
"createdAt": "2021-08-31T13:47:50.328Z",
"lastModifiedBy": "user@contoso.com",
"lastModifiedByType": "User",
"lastModifiedAt": "2021-08-31T13:47:50.328Z"
},
"properties": {
"hierarchyIdentifier": "exampleHierarchyId",
"environmentData": {
"environmentType": "AwsAccount"
},
"environmentName": "AWS",
"offerings": [
{
"offeringType": "CspmMonitorAws",
"nativeCloudConnection": {
"cloudRoleArn": "arn:aws:iam::00000000:role/ASCMonitor"
}
}
]
}
},
{
"id": "/subscriptions/a5caac9c-5c04-49af-b3d0-e204f40345d5/resourceGroups/exampleResourceGroup2/providers/Microsoft.Security/securityConnectors/exampleSecurityConnectorAwsOrganization",
"name": "exampleSecurityConnectorAwsOrganization",
"type": "Microsoft.Security/securityConnectors",
"etag": "etag value",
"kind": "",
"location": "Central US",
"tags": {},
"systemData": {
"createdBy": "user@contoso.com",
"createdByType": "User",
"createdAt": "2021-12-15T13:47:50.328Z",
"lastModifiedBy": "user@contoso.com",
"lastModifiedByType": "User",
"lastModifiedAt": "2021-12-15T13:47:50.328Z"
},
"properties": {
"hierarchyIdentifier": "exampleHierarchyId",
"environmentData": {
"environmentType": "AwsAccount",
"organizationalData": {
"organizationMembershipType": "Organization",
"stacksetName": "myStackSetName",
"excludedAccountIds": [
"excludedAccountIdExample"
]
}
},
"environmentName": "AWS",
"offerings": [
{
"offeringType": "CspmMonitorAws",
"nativeCloudConnection": {
"cloudRoleArn": "arn:aws:iam::00000000:role/ASCMonitor"
}
}
]
}
},
{
"id": "/subscriptions/a5caac9c-5c04-49af-b3d0-e204f40345d5/resourceGroups/exampleResourceGroup3/providers/Microsoft.Security/securityConnectors/exampleSecurityConnectorGithub",
"name": "githubTest",
"etag": "etag value",
"type": "Microsoft.Security/securityconnectors",
"location": "centralus",
"kind": "",
"tags": {},
"systemData": {
"createdBy": "user@contoso.com",
"createdByType": "User",
"createdAt": "2021-12-15T13:47:50.328Z",
"lastModifiedBy": "user@contoso.com",
"lastModifiedByType": "User",
"lastModifiedAt": "2021-12-15T13:47:50.328Z"
},
"properties": {
"hierarchyIdentifier": "/subscriptions/a5caac9c-5c04-49af-b3d0-e204f40345d5/resourceGroups/exampleResourceGroup3/providers/Microsoft.SecurityDevops/githubConnectors/exampleGithubConnector",
"environmentName": "Github",
"environmentData": {
"environmentType": "GithubScope"
},
"offerings": [
{
"offeringType": "CspmMonitorGithub"
}
]
}
},
{
"id": "/subscriptions/a5caac9c-5c04-49af-b3d0-e204f40345d5/resourceGroups/exampleResourceGroup3/providers/Microsoft.Security/securityConnectors/exampleSecurityConnectorGcp",
"name": "exampleSecurityConnectorGcp",
"type": "Microsoft.Security/securityConnectors",
"etag": "etag value",
"kind": "",
"location": "Central US",
"tags": {},
"systemData": {
"createdBy": "user@contoso.com",
"createdByType": "User",
"createdAt": "2021-12-15T13:47:50.328Z",
"lastModifiedBy": "user@contoso.com",
"lastModifiedByType": "User",
"lastModifiedAt": "2021-12-15T13:47:50.328Z"
},
"properties": {
"hierarchyIdentifier": "exampleHierarchyId",
"environmentData": {
"environmentType": "GcpProject",
"projectDetails": {
"projectNumber": "exampleHierarchyId",
"projectId": "My-0GCP-Project",
"workloadIdentityPoolId": "6c78da41157548d3b1d8b3c72effdf8c"
}
},
"environmentName": "GCP",
"offerings": [
{
"offeringType": "CspmMonitorGcp",
"nativeCloudConnection": {
"workloadIdentityProviderId": "My workload identity provider Id",
"serviceAccountEmailAddress": "capm@projectName.com"
}
}
]
}
}
]
}
Definitions
Arc |
The ARC autoprovisioning configuration |
AWSEnvironment |
The aws connector environment data |
Aws |
The awsOrganization data for the master account |
Aws |
The awsOrganization data for the member account |
Cloud |
Common error response for all Azure Resource Manager APIs to return error details for failed operations. (This also follows the OData error response format.). |
Cloud |
The error detail. |
cloud |
The multi cloud resource's cloud name. |
Cloud |
The cloudwatch to kinesis connection configuration |
Configuration |
configuration for Vulnerability Assessment autoprovisioning |
created |
The type of identity that created the resource. |
cspm |
The CSPM monitoring for AWS offering |
cspm |
The CSPM monitoring for GCP offering |
cspm |
The CSPM monitoring for github offering |
Data |
The native cloud connection configuration |
defender |
The Defender for Containers AWS offering |
defender |
The containers GCP offering |
Defender |
The Defender for servers connection configuration |
defender |
The Defender for Servers AWS offering |
defender |
The Defender for Servers GCP offering configurations |
Error |
The resource management error additional info. |
Gcp |
The gcpOrganization data for the member account |
Gcp |
The gcpOrganization data for the parent account |
Gcp |
The details about the project represented by the security connector |
Gcp |
The GCP project connector environment data |
Github |
The github scope connector's environment data |
Information |
The native cloud connection configuration |
information |
The information protection for AWS offering |
Kinesis |
The kinesis to s3 connection configuration |
Kubernetes |
The kubernetes to scuba connection configuration |
Kubernetes |
The kubernetes service connection configuration |
Mde |
The Microsoft Defender for Endpoint autoprovisioning configuration |
mde |
configuration for Microsoft Defender for Endpoint autoprovisioning |
Native |
The native cloud connection configuration |
Security |
The security connector resource. |
Security |
List of security connectors response. |
Service |
Metadata of Service Principal secret for autoprovisioning |
Sub |
configuration for the servers offering subPlan |
sub |
The available sub plans |
system |
Metadata pertaining to creation and last modification of the resource. |
type |
The Vulnerability Assessment solution to be provisioned. Can be either 'TVM' or 'Qualys' |
Va |
The Vulnerability Assessment autoprovisioning configuration |
ArcAutoProvisioning
The ARC autoprovisioning configuration
Name | Type | Description |
---|---|---|
enabled |
|
Is arc auto provisioning enabled |
servicePrincipalSecretMetadata |
Metadata of Service Principal secret for autoprovisioning |
AWSEnvironmentData
The aws connector environment data
Name | Type | Description |
---|---|---|
environmentType |
string:
|
The type of the environment data. |
organizationalData | AwsOrganizationalData: |
The AWS account's organizational data |
AwsOrganizationalDataMaster
The awsOrganization data for the master account
Name | Type | Description |
---|---|---|
excludedAccountIds |
|
If the multi cloud account is of membership type organization, list of accounts excluded from offering |
organizationMembershipType |
string:
|
The multi cloud account's membership type in the organization |
stacksetName |
|
If the multi cloud account is of membership type organization, this will be the name of the onboarding stackset |
AwsOrganizationalDataMember
The awsOrganization data for the member account
Name | Type | Description |
---|---|---|
organizationMembershipType |
string:
|
The multi cloud account's membership type in the organization |
parentHierarchyId |
|
If the multi cloud account is not of membership type organization, this will be the ID of the account's parent |
CloudError
Common error response for all Azure Resource Manager APIs to return error details for failed operations. (This also follows the OData error response format.).
Name | Type | Description |
---|---|---|
error.additionalInfo |
The error additional info. |
|
error.code |
|
The error code. |
error.details |
The error details. |
|
error.message |
|
The error message. |
error.target |
|
The error target. |
CloudErrorBody
The error detail.
Name | Type | Description |
---|---|---|
additionalInfo |
The error additional info. |
|
code |
|
The error code. |
details |
The error details. |
|
message |
|
The error message. |
target |
|
The error target. |
cloudName
The multi cloud resource's cloud name.
Name | Type | Description |
---|---|---|
AWS |
|
|
Azure |
|
|
GCP |
|
|
Github |
|
CloudWatchToKinesis
The cloudwatch to kinesis connection configuration
Name | Type | Description |
---|---|---|
cloudRoleArn |
|
The cloud role ARN in AWS for this feature |
Configuration
configuration for Vulnerability Assessment autoprovisioning
Name | Type | Description |
---|---|---|
type |
The Vulnerability Assessment solution to be provisioned. Can be either 'TVM' or 'Qualys' |
createdByType
The type of identity that created the resource.
Name | Type | Description |
---|---|---|
Application |
|
|
Key |
|
|
ManagedIdentity |
|
|
User |
|
cspmMonitorAwsOffering
The CSPM monitoring for AWS offering
Name | Type | Description |
---|---|---|
description |
|
The offering description. |
nativeCloudConnection |
The native cloud connection configuration |
|
offeringType |
string:
|
The type of the security offering. |
cspmMonitorGcpOffering
The CSPM monitoring for GCP offering
Name | Type | Description |
---|---|---|
description |
|
The offering description. |
nativeCloudConnection |
The native cloud connection configuration |
|
offeringType |
string:
|
The type of the security offering. |
cspmMonitorGithubOffering
The CSPM monitoring for github offering
Name | Type | Description |
---|---|---|
description |
|
The offering description. |
offeringType |
string:
|
The type of the security offering. |
DataPipelineNativeCloudConnection
The native cloud connection configuration
Name | Type | Description |
---|---|---|
serviceAccountEmailAddress |
|
The data collection service account email address in GCP for this offering |
workloadIdentityProviderId |
|
The data collection GCP workload identity provider id for this offering |
defenderForContainersAwsOffering
The Defender for Containers AWS offering
Name | Type | Description |
---|---|---|
cloudWatchToKinesis |
The cloudwatch to kinesis connection configuration |
|
description |
|
The offering description. |
kinesisToS3 |
The kinesis to s3 connection configuration |
|
kubernetesScubaReader |
The kubernetes to scuba connection configuration |
|
kubernetesService |
The kubernetes service connection configuration |
|
offeringType |
string:
|
The type of the security offering. |
defenderForContainersGcpOffering
The containers GCP offering
Name | Type | Description |
---|---|---|
auditLogsAutoProvisioningFlag |
|
Is audit logs data collection enabled |
dataPipelineNativeCloudConnection |
The native cloud connection configuration |
|
defenderAgentAutoProvisioningFlag |
|
Is Microsoft Defender for Cloud Kubernetes agent auto provisioning enabled |
description |
|
The offering description. |
nativeCloudConnection |
The native cloud connection configuration |
|
offeringType |
string:
|
The type of the security offering. |
policyAgentAutoProvisioningFlag |
|
Is Policy Kubernetes agent auto provisioning enabled |
DefenderForServers
The Defender for servers connection configuration
Name | Type | Description |
---|---|---|
cloudRoleArn |
|
The cloud role ARN in AWS for this feature |
defenderForServersAwsOffering
The Defender for Servers AWS offering
Name | Type | Description |
---|---|---|
arcAutoProvisioning |
The ARC autoprovisioning configuration |
|
defenderForServers |
The Defender for servers connection configuration |
|
description |
|
The offering description. |
mdeAutoProvisioning |
The Microsoft Defender for Endpoint autoprovisioning configuration |
|
offeringType |
string:
|
The type of the security offering. |
subPlan |
configuration for the servers offering subPlan |
|
vaAutoProvisioning |
The Vulnerability Assessment autoprovisioning configuration |
defenderForServersGcpOffering
The Defender for Servers GCP offering configurations
Name | Type | Description |
---|---|---|
arcAutoProvisioning |
The ARC autoprovisioning configuration |
|
defenderForServers |
The Defender for servers connection configuration |
|
description |
|
The offering description. |
mdeAutoProvisioning |
The Microsoft Defender for Endpoint autoprovisioning configuration |
|
offeringType |
string:
|
The type of the security offering. |
subPlan |
configuration for the servers offering subPlan |
|
vaAutoProvisioning |
The Vulnerability Assessment autoprovisioning configuration |
ErrorAdditionalInfo
The resource management error additional info.
Name | Type | Description |
---|---|---|
info |
|
The additional info. |
type |
|
The additional info type. |
GcpOrganizationalDataMember
The gcpOrganization data for the member account
Name | Type | Description |
---|---|---|
organizationMembershipType |
string:
|
The multi cloud account's membership type in the organization |
parentHierarchyId |
|
If the multi cloud account is not of membership type organization, this will be the ID of the project's parent |
GcpOrganizationalDataOrganization
The gcpOrganization data for the parent account
Name | Type | Description |
---|---|---|
excludedProjectNumbers |
|
If the multi cloud account is of membership type organization, list of accounts excluded from offering |
organizationMembershipType |
string:
|
The multi cloud account's membership type in the organization |
serviceAccountEmailAddress |
|
The service account email address which represents the organization level permissions container. |
workloadIdentityProviderId |
|
The GCP workload identity provider id which represents the permissions required to auto provision security connectors |
GcpProjectDetails
The details about the project represented by the security connector
Name | Type | Description |
---|---|---|
projectId |
|
The GCP Project id |
projectNumber |
|
The unique GCP Project number |
workloadIdentityPoolId |
|
The GCP workload identity federation pool id |
GcpProjectEnvironmentData
The GCP project connector environment data
Name | Type | Description |
---|---|---|
environmentType |
string:
|
The type of the environment data. |
organizationalData | GcpOrganizationalData: |
The Gcp project's organizational data |
projectDetails |
The Gcp project's details |
GithubScopeEnvironmentData
The github scope connector's environment data
Name | Type | Description |
---|---|---|
environmentType |
string:
|
The type of the environment data. |
InformationProtection
The native cloud connection configuration
Name | Type | Description |
---|---|---|
cloudRoleArn |
|
The cloud role ARN in AWS for this feature |
informationProtectionAwsOffering
The information protection for AWS offering
Name | Type | Description |
---|---|---|
description |
|
The offering description. |
informationProtection |
The native cloud connection configuration |
|
offeringType |
string:
|
The type of the security offering. |
KinesisToS3
The kinesis to s3 connection configuration
Name | Type | Description |
---|---|---|
cloudRoleArn |
|
The cloud role ARN in AWS for this feature |
KubernetesScubaReader
The kubernetes to scuba connection configuration
Name | Type | Description |
---|---|---|
cloudRoleArn |
|
The cloud role ARN in AWS for this feature |
KubernetesService
The kubernetes service connection configuration
Name | Type | Description |
---|---|---|
cloudRoleArn |
|
The cloud role ARN in AWS for this feature |
MdeAutoProvisioning
The Microsoft Defender for Endpoint autoprovisioning configuration
Name | Type | Description |
---|---|---|
configuration |
configuration for Microsoft Defender for Endpoint autoprovisioning |
|
enabled |
|
Is Microsoft Defender for Endpoint auto provisioning enabled |
mdeAutoProvisioning.Configuration
configuration for Microsoft Defender for Endpoint autoprovisioning
NativeCloudConnection
The native cloud connection configuration
Name | Type | Description |
---|---|---|
cloudRoleArn |
|
The cloud role ARN in AWS for this feature |
SecurityConnector
The security connector resource.
Name | Type | Description |
---|---|---|
etag |
|
Entity tag is used for comparing two or more entities from the same requested resource. |
id |
|
Resource Id |
kind |
|
Kind of the resource |
location |
|
Location where the resource is stored |
name |
|
Resource name |
properties.environmentData | EnvironmentData: |
The security connector environment data. |
properties.environmentName |
The multi cloud resource's cloud name. |
|
properties.hierarchyIdentifier |
|
The multi cloud resource identifier (account id in case of AWS connector, project number in case of GCP connector). |
properties.offerings | cloudOffering[]: |
A collection of offerings for the security connector. |
systemData |
Azure Resource Manager metadata containing createdBy and modifiedBy information. |
|
tags |
|
A list of key value pairs that describe the resource. |
type |
|
Resource type |
SecurityConnectorsList
List of security connectors response.
Name | Type | Description |
---|---|---|
nextLink |
|
The URI to fetch the next page. |
value |
The list of security connectors under the given scope. |
ServicePrincipalSecretMetadata
Metadata of Service Principal secret for autoprovisioning
Name | Type | Description |
---|---|---|
expiryDate |
|
expiration date of service principal secret |
parameterNameInStore |
|
name of secret resource in parameter store |
parameterStoreRegion |
|
region of parameter store where secret is kept |
SubPlan
configuration for the servers offering subPlan
Name | Type | Description |
---|---|---|
type |
The available sub plans |
subPlan
The available sub plans
Name | Type | Description |
---|---|---|
P1 |
|
|
P2 |
|
systemData
Metadata pertaining to creation and last modification of the resource.
Name | Type | Description |
---|---|---|
createdAt |
|
The timestamp of resource creation (UTC). |
createdBy |
|
The identity that created the resource. |
createdByType |
The type of identity that created the resource. |
|
lastModifiedAt |
|
The timestamp of resource last modification (UTC) |
lastModifiedBy |
|
The identity that last modified the resource. |
lastModifiedByType |
The type of identity that last modified the resource. |
type
The Vulnerability Assessment solution to be provisioned. Can be either 'TVM' or 'Qualys'
Name | Type | Description |
---|---|---|
Qualys |
|
|
TVM |
|
VaAutoProvisioning
The Vulnerability Assessment autoprovisioning configuration
Name | Type | Description |
---|---|---|
configuration |
configuration for Vulnerability Assessment autoprovisioning |
|
enabled |
|
Is Vulnerability Assessment auto provisioning enabled |