Report - Get
Get the AppComplianceAutomation report and its properties.
GET https://management.azure.com/providers/Microsoft.AppComplianceAutomation/reports/{reportName}?api-version=2024-06-27
URI Parameters
Name | In | Required | Type | Description |
---|---|---|---|---|
report
|
path | True |
string |
Report Name. Regex pattern: |
api-version
|
query | True |
string |
The API version to use for this operation. |
Responses
Name | Type | Description |
---|---|---|
200 OK |
Azure operation completed successfully. |
|
Other Status Codes |
An unexpected error response. |
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
Report_Get
Sample request
GET https://management.azure.com/providers/Microsoft.AppComplianceAutomation/reports/testReport?api-version=2024-06-27
Sample response
{
"name": "testReportName",
"type": "Microsfot.AppComplianceAutomation/reports",
"id": "/provider/Microsfot.AppComplianceAutomation/reports/testReportName",
"properties": {
"certRecords": [
{
"certificationStatus": "CertIngestion",
"controls": [
{
"controlId": "Operational_Security_10",
"controlStatus": "Approved"
}
],
"ingestionStatus": "EvidenceResubmitted",
"offerGuid": "00000000-0000-0000-0000-000000000001"
}
],
"complianceStatus": {
"m365": {
"failedCount": 0,
"manualCount": 0,
"passedCount": 0
}
},
"errors": [
"resource-inaccessible"
],
"lastTriggerTime": "2022-03-02T05:00:00.000Z",
"nextTriggerTime": "2022-03-02T05:00:00.000Z",
"offerGuid": "00000000-0000-0000-0000-000000000001,00000000-0000-0000-0000-000000000002",
"provisioningState": "Succeeded",
"resources": [
{
"resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/myResourceGroup/providers/Microsoft.SignalRService/SignalR/mySignalRService",
"resourceOrigin": "Azure",
"resourceType": "Microsoft.SignalRService/SignalR"
},
{
"accountId": "000000000000",
"resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/acat-aws/providers/microsoft.security/securityconnectors/acatawsconnector/securityentitydata/aws-iam-user-testuser",
"resourceOrigin": "AWS",
"resourceType": "iam.user"
}
],
"status": "Failed",
"storageInfo": {
"accountName": "testStorageAccount",
"location": "East US",
"resourceGroup": "testResourceGroup",
"subscriptionId": "00000000-0000-0000-0000-000000000000"
},
"subscriptions": [
"00000000-0000-0000-0000-000000000000"
],
"tenantId": "00000000-0000-0000-0000-000000000000",
"timeZone": "GMT Standard Time",
"triggerTime": "2022-03-02T05:00:00.000Z"
},
"systemData": {
"createdAt": "2021-05-14T22:34:55.4499903Z",
"createdBy": "00000000-0000-0000-0000-000000000000",
"createdByType": "User",
"lastModifiedAt": "2021-05-14T22:34:55.4499903Z",
"lastModifiedBy": "00000000-0000-0000-0000-000000000000",
"lastModifiedByType": "User"
}
}
Definitions
Name | Description |
---|---|
Cert |
A class represent the certification record synchronized from app compliance. |
Control |
A class represent the control record synchronized from app compliance. |
created |
The type of identity that created the resource. |
Error |
The resource management error additional info. |
Error |
The error detail. |
Error |
Error response |
Overview |
The overview of the compliance result for one report. |
Provisioning |
Resource provisioning states. |
Report |
A list which includes all the compliance result for one report. |
Report |
A class represent an AppComplianceAutomation report resource. |
Report |
Report status. |
Resource |
Single resource Id's metadata. |
Resource |
Resource Origin. |
Storage |
The information of 'bring your own storage' account binding to the report |
system |
Metadata pertaining to creation and last modification of the resource. |
CertSyncRecord
A class represent the certification record synchronized from app compliance.
Name | Type | Description |
---|---|---|
certificationStatus |
string |
Indicates the status of certification process. |
controls |
The control records list to be synchronized. |
|
ingestionStatus |
string |
Indicates the status of compliance process. |
offerGuid |
string |
The offerGuid which mapping to the reports. |
ControlSyncRecord
A class represent the control record synchronized from app compliance.
Name | Type | Description |
---|---|---|
controlId |
string |
The Id of the control. e.g. "Operational_Security_10" |
controlStatus |
string |
Control status synchronized from app compliance. |
createdByType
The type of identity that created the resource.
Name | Type | Description |
---|---|---|
Application |
string |
|
Key |
string |
|
ManagedIdentity |
string |
|
User |
string |
ErrorAdditionalInfo
The resource management error additional info.
Name | Type | Description |
---|---|---|
info |
object |
The additional info. |
type |
string |
The additional info type. |
ErrorDetail
The error detail.
Name | Type | Description |
---|---|---|
additionalInfo |
The error additional info. |
|
code |
string |
The error code. |
details |
The error details. |
|
message |
string |
The error message. |
target |
string |
The error target. |
ErrorResponse
Error response
Name | Type | Description |
---|---|---|
error |
The error object. |
OverviewStatus
The overview of the compliance result for one report.
Name | Type | Description |
---|---|---|
failedCount |
integer |
The count of all failed control. |
manualCount |
integer |
The count of all manual control. |
notApplicableCount |
integer |
The count of all not applicable control. |
passedCount |
integer |
The count of all passed control. |
pendingCount |
integer |
The count of all pending for approval control. |
ProvisioningState
Resource provisioning states.
Name | Type | Description |
---|---|---|
Canceled |
string |
The provision is canceled. |
Creating |
string |
The creation is in progress. |
Deleting |
string |
The deletion is in progress. |
Failed |
string |
The provision is failed. |
Fixing |
string |
The fix of the resource in progress. |
Succeeded |
string |
The provision is succeeded. |
Updating |
string |
The update of the resource in progress. |
Verifying |
string |
The verification of the resource in progress. |
ReportComplianceStatus
A list which includes all the compliance result for one report.
Name | Type | Description |
---|---|---|
m365 |
The Microsoft 365 certification name. |
ReportResource
A class represent an AppComplianceAutomation report resource.
Name | Type | Description |
---|---|---|
id |
string |
Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} |
name |
string |
The name of the resource |
properties.certRecords |
List of synchronized certification records. |
|
properties.complianceStatus |
Report compliance status. |
|
properties.errors |
string[] |
List of report error codes. |
properties.lastTriggerTime |
string |
Report last collection trigger time. |
properties.nextTriggerTime |
string |
Report next collection trigger time. |
properties.offerGuid |
string |
A list of comma-separated offerGuids indicates a series of offerGuids that map to the report. For example, "00000000-0000-0000-0000-000000000001,00000000-0000-0000-0000-000000000002" and "00000000-0000-0000-0000-000000000003". |
properties.provisioningState |
Azure lifecycle management |
|
properties.resources |
List of resource data. |
|
properties.status |
Report status. |
|
properties.storageInfo |
The information of 'bring your own storage' binding to the report |
|
properties.subscriptions |
string[] |
List of subscription Ids. |
properties.tenantId |
string |
Report's tenant id. |
properties.timeZone |
string |
Report collection trigger time's time zone, the available list can be obtained by executing "Get-TimeZone -ListAvailable" in PowerShell. An example of valid timezone id is "Pacific Standard Time". |
properties.triggerTime |
string |
Report collection trigger time. |
systemData |
Azure Resource Manager metadata containing createdBy and modifiedBy information. |
|
type |
string |
The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" |
ReportStatus
Report status.
Name | Type | Description |
---|---|---|
Active |
string |
The report is active. |
Disabled |
string |
The report is disabled. |
Failed |
string |
The report is failed. |
Reviewing |
string |
The report is under reviewing. |
ResourceMetadata
Single resource Id's metadata.
Name | Type | Description |
---|---|---|
accountId |
string |
Account Id. For example - the AWS account id. |
resourceId |
string |
Resource Id - e.g. "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Compute/virtualMachines/vm1". |
resourceKind |
string |
Resource kind. |
resourceOrigin |
Resource Origin. |
|
resourceType |
string |
Resource type. e.g. "Microsoft.Compute/virtualMachines" |
ResourceOrigin
Resource Origin.
Name | Type | Description |
---|---|---|
AWS |
string |
The resource is from AWS. |
Azure |
string |
The resource is from Azure. |
GCP |
string |
The resource is from GCP. |
StorageInfo
The information of 'bring your own storage' account binding to the report
Name | Type | Description |
---|---|---|
accountName |
string |
'bring your own storage' account name |
location |
string |
The region of 'bring your own storage' account |
resourceGroup |
string |
The resourceGroup which 'bring your own storage' account belongs to |
subscriptionId |
string |
The subscription id which 'bring your own storage' account belongs to |
systemData
Metadata pertaining to creation and last modification of the resource.
Name | Type | Description |
---|---|---|
createdAt |
string |
The timestamp of resource creation (UTC). |
createdBy |
string |
The identity that created the resource. |
createdByType |
The type of identity that created the resource. |
|
lastModifiedAt |
string |
The timestamp of resource last modification (UTC) |
lastModifiedBy |
string |
The identity that last modified the resource. |
lastModifiedByType |
The type of identity that last modified the resource. |