Share via


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
environmentId
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

SiteSecurityResult

Success

400 Bad Request

ErrorMessage

Bad Request

401 Unauthorized

ErrorMessage

Unauthorized

404 Not Found

ErrorMessage

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
ErrorMessage
Rule
SiteSecurityResult

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

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:
  • RuleFailed
  • RulePassed

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