title | description | author | ms.reviewer | ms.localizationpriority | ms.subservice | doc_type |
---|---|---|---|---|---|---|
List openNetworkAzureSecurityGroupFinding objects |
Get a list of the openNetworkAzureSecurityGroupFinding objects and their properties. |
ashyasingh |
ciem_pm |
medium |
entra-permissions-management |
apiPageType |
Namespace: microsoft.graph
[!INCLUDE beta-disclaimer]
Get a list of the openNetworkAzureSecurityGroupFinding objects and their properties.
Choose the permission or permissions marked as least privileged for this API. Use a higher privileged permission or permissions only if your app requires it. For details about delegated and application permissions, see Permission types. To learn more about these permissions, see the permissions reference.
[!INCLUDE permissions-table]
GET /identityGovernance/permissionsAnalytics/azure/findings/microsoft.graph.openNetworkAzureSecurityGroupFinding
This method supports the $filter
and $orderby
OData query parameters to help customize the response. For general information, see OData query parameters.
Name | Description |
---|---|
Authorization | Bearer {token}. Required. Learn more about authentication and authorization. |
Don't supply a request body for this method.d.
If successful, this method returns a 200 OK
response code and a collection of openNetworkAzureSecurityGroupFinding objects in the response body.
The following example shows a request.
GET https://graph.microsoft.com/beta/identityGovernance/permissionsAnalytics/azure/findings/microsoft.graph.openNetworkAzureSecurityGroupFinding
[!INCLUDE sample-code] [!INCLUDE sdk-documentation]
[!INCLUDE sample-code] [!INCLUDE sdk-documentation]
[!INCLUDE sample-code] [!INCLUDE sdk-documentation]
[!INCLUDE sample-code] [!INCLUDE sdk-documentation]
[!INCLUDE sample-code] [!INCLUDE sdk-documentation]
[!INCLUDE sample-code] [!INCLUDE sdk-documentation]
[!INCLUDE sample-code] [!INCLUDE sdk-documentation]
[!INCLUDE sample-code] [!INCLUDE sdk-documentation]
The following example shows the response.
Note: The response object shown here might be shortened for readability.
HTTP/1.1 200 OK
Content-Type: application/json
{
"@odata.context": "https://graph.microsoft.com/beta/identityGovernance/$metadata#permissionsAnalytics/azure/findings/microsoft.graph.openNetworkAzureSecurityGroupFinding",
"value": [
{
"@odata.type": "graph.openNetworkAzureSecurityGroupFinding",
"id": "cmVzb3VyY2VmaW5kaW5nMTAwMDAx",
"securityGroup": {
"@odata.type": "graph.azureAuthorizationSystemResource",
"id": "L3N1YnNjcmlwdGlvbnMvZTE2MGIzNGItMmEwZi00MWY2LWFhZjMtMDljNWE5ZjQzNzY4L3Jlc291cmNlR3JvdXBzL1FBUnNjR3JwL3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0d29yay9uZXR3b3JrU2VjdXJpdHlHcm91cHMvY2xvdWRrbm94LW5zZw==",
"externalId": "/subscriptions/e160b34b-2a0f-41f6-aaf3-09c5a9f43768/resourceGroups/QARscGrp/providers/Microsoft.Network/networkSecurityGroups/cloudknox-nsg",
"displayName": "QARscGrp/cloudknox-nsg",
"resourceType": "networkSecurityGroups",
"authorizationSystem": {
"@odata.type": "graph.azureAuthorizationSystem",
"id": "{Id}",
"authorizationSystemId": "e160b34b-2a0f-41f6-aaf3-09c5a9f43768",
"authorizationSystemName": "ck-qa",
"authorizationSystemType": "azure"
}
},
"inboundPorts": {
"@odata.type": "graph.allInboundPorts"
},
"virtualMachines@odata.count": 0, // there is no annotation for auto-expanding the count, but it always allowed for a service to respond with more data than is requested; if there were an annotation, we would use it
"createdDateTime": "2020-10-11T20:11:45.671Z"
},
{
"id": "cmVzb3VyY2VmaW5kaW5nMTAwMDAy",
"securityGroup": {
"@odata.type": "graph.azureAuthorizationSystemResource",
"id": "L3N1YnNjcmlwdGlvbnMvZTE2MGIzNGItMmEwZi00MWY2LWFhZjMtMDljNWE5ZjQzNzY4L3Jlc291cmNlR3JvdXBzL21udGVzdC9wcm92aWRlcnMvTWljcm9zb2Z0Lk5ldHdvcmsvbmV0d29ya1NlY3VyaXR5R3JvdXBzL1VJVGVzdGluZy1uc2c=",
"externalId": "/subscriptions/e160b34b-2a0f-41f6-aaf3-09c5a9f43768/resourceGroups/mntest/providers/Microsoft.Network/networkSecurityGroups/UITesting-nsg",
"displayName": "mntest/UITesting-nsg",
"resourceType": "networkSecurityGroups",
"authorizationSystem": {
"@odata.type": "graph.azureAuthorizationSystem",
"id": "{Id}",
"authorizationSystemId": "e160b34b-2a0f-41f6-aaf3-09c5a9f43768",
"authorizationSystemName": "ck-qa",
"authorizationSystemType": "azure"
}
},
"inboundPorts": {
"@odata.type": "graph.enumeratedInboundPorts",
"ports": [
"22",
"9000"
]
},
"virtualMachines@odata.count": 2, // there is no annotation for auto-expanding the count, but it always allowed for a service to respond with more data than is requested; if there were an annotation, we would use it
"createdDateTime": "2020-10-11T20:11:45.671Z"
}
]
}