Websites - Get Security Scan Report
Get deep scan report for a Power Pages website.
Get the deep scan report for a Power Pages website.
GET https://api.powerplatform.com/powerpages/environments/{environmentId}/websites/{id}/scan/deep/getLatestCompletedReport?api-version=2022-03-01-preview
URI Parameters
Name | In | Required | Type | Description |
---|---|---|---|---|
environment
|
path | True |
string |
The environment ID. |
id
|
path | True |
string |
Website unique identifier (ID). |
api-version
|
query | True |
string |
The API version. |
Responses
Name | Type | Description |
---|---|---|
200 OK |
Success |
|
400 Bad Request |
Bad Request |
|
401 Unauthorized |
Unauthorized |
|
404 Not Found |
Not Found |
Security
oauth2
Microsoft Entra ID OAuth2
Type:
oauth2
Flow:
implicit
Authorization URL:
https://login.microsoftonline.com/common/oauth2/authorize?resource=https://api.powerplatform.com
Scopes
Name | Description |
---|---|
.default | .default |
Definitions
Name | Description |
---|---|
Alert | |
Details | |
Error | |
Error |
|
Rule | |
Site |
Alert
Name | Type | Description |
---|---|---|
AlertId |
string |
Unique identifier of the alert |
AlertName |
string |
Name of the alert |
CallToAction |
string[] |
Actions to address the alert |
Description |
string |
Detailed description of the alert |
LearnMoreLink |
string[] (uri) |
Links to learn more about the alert |
Mitigation |
string |
Steps to mitigate the issue |
Risk |
integer |
Risk level associated with the alert |
RuleId |
string |
Identifier of the rule that generated the alert |
Details
Name | Type | Description |
---|---|---|
code |
string |
Error code |
message |
string |
Error message |
target |
string |
Target parameter |
Error
Name | Type | Description |
---|---|---|
code |
string |
Error code |
details |
Details[] |
|
message |
string |
Error message |
target |
string |
Target parameter |
ErrorMessage
Name | Type | Description |
---|---|---|
error |
Rule
Name | Type | Description |
---|---|---|
Alerts |
Alert[] |
List of alerts generated by the rule |
AlertsCount |
integer |
Number of alerts generated by the rule |
RuleId |
string |
Unique identifier of the rule |
RuleName |
string |
Name of the rule |
RuleStatus |
enum:
|
Status of the rule |
SiteSecurityResult
Name | Type | Description |
---|---|---|
EndTime |
string (date-time) |
End time of the scan |
FailedRuleCount |
integer |
Number of rules that failed |
Rules |
Rule[] |
List of rules evaluated during the scan |
StartTime |
string (date-time) |
Start time of the scan |
TotalAlertCount |
integer |
Total number of alerts generated |
TotalRuleCount |
integer |
Total number of rules evaluated |
UserName |
string |
Name of the user who initiated the scan |