MICROSOFT.APPCOMPLIANCEAUTOMATION

Operations_List

valid {
    input.Qs.api-version == STRING
    input.ProviderMetadata.Region == STRING
}

Report_CreateOrUpdate

valid {
    input.Body.properties.offerGuid == STRING
    input.Body.properties.timeZone == STRING
    input.Body.properties.triggerTime == STRING
    input.Body.properties.resources[_].resourceId == STRING
    input.Body.properties.resources[_].resourceType == STRING
    input.Body.properties.resources[_].resourceKind == STRING
    input.Body.properties.resources[_].resourceName == STRING
    input.Body.properties.resources[_].tags.STRING == STRING
    input.Body.STRING == STRING
    input.ReqMap.reportName == STRING
    input.Qs.api-version == STRING
    input.ProviderMetadata.Region == STRING
}

Report_Delete

valid {
    input.ReqMap.reportName == STRING
    input.Qs.api-version == STRING
    input.ProviderMetadata.Region == STRING
}

Report_Get

valid {
    input.ReqMap.reportName == STRING
    input.Qs.api-version == STRING
    input.ProviderMetadata.Region == STRING
}

Report_Update

valid {
    input.Body.properties.offerGuid == STRING
    input.Body.properties.timeZone == STRING
    input.Body.properties.triggerTime == STRING
    input.Body.properties.resources[_].resourceId == STRING
    input.Body.properties.resources[_].resourceType == STRING
    input.Body.properties.resources[_].resourceKind == STRING
    input.Body.properties.resources[_].resourceName == STRING
    input.Body.properties.resources[_].tags.STRING == STRING
    input.ReqMap.reportName == STRING
    input.Qs.api-version == STRING
    input.ProviderMetadata.Region == STRING
}

Reports_List

valid {
    input.Qs.api-version == STRING
    input.Qs.$skipToken == STRING
    input.Qs.$top == INTEGER
    input.Qs.$select == STRING
    input.Qs.offerGuid == STRING
    input.Qs.reportCreatorTenantId == STRING
    input.ProviderMetadata.Region == STRING
}

Snapshot_Download

enum_SnapshotDownloadRequestDownloadType := [ "ComplianceReport", "CompliancePdfReport", "ComplianceDetailedPdfReport", "ResourceList" ]

valid {
    input.Body.reportCreatorTenantId == STRING
    input.Body.downloadType == enum_SnapshotDownloadRequestDownloadType[_]
    input.Body.offerGuid == STRING
    input.ReqMap.reportName == STRING
    input.ReqMap.snapshotName == STRING
    input.Qs.api-version == STRING
    input.ProviderMetadata.Region == STRING
}

Snapshot_Get

valid {
    input.ReqMap.reportName == STRING
    input.ReqMap.snapshotName == STRING
    input.Qs.api-version == STRING
    input.ProviderMetadata.Region == STRING
}

Snapshots_List

valid {
    input.ReqMap.reportName == STRING
    input.Qs.api-version == STRING
    input.Qs.$skipToken == STRING
    input.Qs.$top == INTEGER
    input.Qs.$select == STRING
    input.Qs.reportCreatorTenantId == STRING
    input.Qs.offerGuid == STRING
    input.ProviderMetadata.Region == STRING
}