-
Notifications
You must be signed in to change notification settings - Fork 326
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #25087 from microsoftgraph/main
Merge to publish.
- Loading branch information
Showing
68 changed files
with
1,605 additions
and
99 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
97 changes: 97 additions & 0 deletions
97
api-reference/beta/api/partner-security-partnersecurityscore-get.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,97 @@ | ||
--- | ||
title: "Get partnerSecurityScore" | ||
description: "Read the properties and relationships of a partnerSecurityScore object." | ||
author: "evandontje-ms" | ||
ms.localizationpriority: medium | ||
ms.subservice: "partner-customer-administration" | ||
doc_type: apiPageType | ||
--- | ||
|
||
# Get partnerSecurityScore | ||
|
||
Namespace: microsoft.graph.partner.security | ||
|
||
[!INCLUDE [beta-disclaimer](../../includes/beta-disclaimer.md)] | ||
|
||
Read the properties and relationships of a [partnerSecurityScore](../resources/partner-security-partnersecurityscore.md) object. | ||
|
||
## Permissions | ||
|
||
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](/graph/permissions-overview#best-practices-for-using-microsoft-graph-permissions). For details about delegated and application permissions, see [Permission types](/graph/permissions-overview#permission-types). To learn more about these permissions, see the [permissions reference](/graph/permissions-reference). | ||
|
||
<!-- { | ||
"blockType": "permissions", | ||
"name": "partner-security-partnersecurityscore-get-permissions" | ||
} | ||
--> | ||
[!INCLUDE [permissions-table](../includes/permissions/partner-security-partnersecurityscore-get-permissions.md)] | ||
|
||
## HTTP request | ||
|
||
<!-- { | ||
"blockType": "ignored" | ||
} | ||
--> | ||
``` http | ||
GET /security/partner/securityScore | ||
``` | ||
|
||
## Optional query parameters | ||
|
||
This method supports OData query parameters to customize the response. For example, the `$expand` parameter is useful to retrieve optional properties like **requirements** or **history**. For more information and examples, see [OData query parameters](/graph/query-parameters). | ||
|
||
## Request headers | ||
|
||
|Name|Description| | ||
|:---|:---| | ||
|Authorization|Bearer {token}. Required. Learn more about [authentication and authorization](/graph/auth/auth-concepts).| | ||
|
||
## Request body | ||
|
||
Don't supply a request body for this method. | ||
|
||
## Response | ||
|
||
If successful, this method returns a `200 OK` response code and a [microsoft.graph.partner.security.partnerSecurityScore](../resources/partner-security-partnersecurityscore.md) object in the response body. | ||
|
||
## Examples | ||
|
||
### Request | ||
|
||
The following example shows a request. | ||
<!-- { | ||
"blockType": "request", | ||
"name": "get_partnersecurityscore" | ||
} | ||
--> | ||
``` http | ||
GET https://graph.microsoft.com/beta/security/partner/securityScore | ||
``` | ||
|
||
|
||
### Response | ||
|
||
The following example shows the response. | ||
>**Note:** The response object shown here might be shortened for readability. | ||
<!-- { | ||
"blockType": "response", | ||
"truncated": true, | ||
"@odata.type": "microsoft.graph.partner.security.partnerSecurityScore" | ||
} | ||
--> | ||
``` http | ||
HTTP/1.1 200 OK | ||
Content-Type: application/json | ||
{ | ||
"value": { | ||
"@odata.type": "#microsoft.graph.partner.security.partnerSecurityScore", | ||
"id": "9021efeb-af08-e3dd-9c11-ac69f92e43b8", | ||
"updatedDateTime": "2024-01-17T00:00:00Z", | ||
"lastRefreshDateTime":"2024-02-28T00:00:00Z", | ||
"currentScore": 14.29, | ||
"maxScore": 100.0 | ||
} | ||
} | ||
``` | ||
|
106 changes: 106 additions & 0 deletions
106
...ference/beta/api/partner-security-partnersecurityscore-list-customerinsights.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,106 @@ | ||
--- | ||
title: "List customerInsights" | ||
description: "Get a list of the customerInsight data and their properties." | ||
author: "evandontje-ms" | ||
ms.localizationpriority: medium | ||
ms.subservice: "partner-customer-administration" | ||
doc_type: apiPageType | ||
--- | ||
|
||
# List customerInsights | ||
|
||
Namespace: microsoft.graph.partner.security | ||
|
||
[!INCLUDE [beta-disclaimer](../../includes/beta-disclaimer.md)] | ||
|
||
Get a list of the [customerInsight](../resources/partner-security-customerinsight.md) objects and their properties. | ||
|
||
## Permissions | ||
|
||
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](/graph/permissions-overview#best-practices-for-using-microsoft-graph-permissions). For details about delegated and application permissions, see [Permission types](/graph/permissions-overview#permission-types). To learn more about these permissions, see the [permissions reference](/graph/permissions-reference). | ||
|
||
<!-- { | ||
"blockType": "permissions", | ||
"name": "partner-security-partnersecurityscore-list-customerinsights" | ||
} | ||
--> | ||
[!INCLUDE [permissions-table](../includes/permissions/partner-security-partnersecurityscore-list-customerinsights-permissions.md)] | ||
|
||
## HTTP request | ||
|
||
<!-- { | ||
"blockType": "ignored" | ||
} | ||
--> | ||
``` http | ||
GET /security/partner/securityScore/customerInsights | ||
``` | ||
|
||
## Optional query parameters | ||
|
||
This method supports OData query parameters to help customize the response. For general information, see [OData query parameters](/graph/query-parameters). | ||
|
||
Server-side pagination is supported by following the `nextLink` provided in the API response when you use the `$skipToken` OData query parameter. Using client-side pagination with `$skip` and `$top` isn't supported. | ||
|
||
## Request headers | ||
|
||
|Name|Description| | ||
|:---|:---| | ||
|Authorization|Bearer {token}. Required. Learn more about [authentication and authorization](/graph/auth/auth-concepts).| | ||
|
||
## Request body | ||
|
||
Don't supply a request body for this method. | ||
|
||
## Response | ||
|
||
If successful, this method returns a `200 OK` response code and a collection of [microsoft.graph.partner.security.customerInsight](../resources/partner-security-customerinsight.md) objects in the response body. | ||
|
||
## Examples | ||
|
||
### Request | ||
|
||
The following example shows a request. | ||
<!-- { | ||
"blockType": "request", | ||
"name": "list_customerinsight" | ||
} | ||
--> | ||
``` http | ||
GET https://graph.microsoft.com/beta/security/partner/securityScore/customerInsights | ||
``` | ||
|
||
|
||
### Response | ||
|
||
The following example shows the response. | ||
>**Note:** The response object shown here might be shortened for readability. | ||
<!-- { | ||
"blockType": "response", | ||
"truncated": true, | ||
"@odata.type": "Collection(microsoft.graph.partner.security.customerInsight)" | ||
} | ||
--> | ||
``` http | ||
HTTP/1.1 200 OK | ||
Content-Type: application/json | ||
{ | ||
"value": [ | ||
{ | ||
"@odata.type": "#microsoft.graph.partner.security.customerInsight", | ||
"tenantId": "d90cb160-123d-0608-3fd6-c53551dcc20c", | ||
"mfa": { | ||
"@odata.type": "microsoft.graph.partner.security.customerMfaInsight", | ||
"compliantAdminsCount": 1, | ||
"compliantNonAdminsCount": 2, | ||
"totalUsersCount": 5, | ||
"securityDefaultsStatus": "enabled", | ||
"mfaConditionalAccessPolicyStatus": "disabled", | ||
"legacyPerUserMfaStatus": "disabled" | ||
} | ||
} | ||
] | ||
} | ||
``` | ||
|
Oops, something went wrong.