Skip to main content

reports

Creates, updates, deletes, gets or lists a reports resource.

Overview

Namereports
TypeResource
Idazure_extras.app_compliance_automation.reports

Fields

NameDatatypeDescription
cert_recordstextfield from the properties object
compliance_statustextfield from the properties object
errorstextfield from the properties object
last_trigger_timetextfield from the properties object
next_trigger_timetextfield from the properties object
offer_guidtextfield from the properties object
provisioning_statetextfield from the properties object
reportNametextfield from the properties object
resourcestextfield from the properties object
statustextfield from the properties object
storage_infotextfield from the properties object
subscriptionstextfield from the properties object
tenant_idtextfield from the properties object
time_zonetextfield from the properties object
trigger_timetextfield from the properties object

Methods

NameAccessible byRequired ParamsDescription
getSELECTreportNameGet the AppComplianceAutomation report and its properties.
listSELECTGet the AppComplianceAutomation report list for the tenant.
create_or_updateINSERTreportName, data__propertiesCreate a new AppComplianceAutomation report or update an exiting AppComplianceAutomation report.
deleteDELETEreportNameDelete an AppComplianceAutomation report.
updateUPDATEreportNameUpdate an exiting AppComplianceAutomation report.
fixEXECreportNameFix the AppComplianceAutomation report error. e.g: App Compliance Automation Tool service unregistered, automation removed.
nested_resource_check_name_availabilityEXECreportNameChecks the report's nested resource name availability, e.g: Webhooks, Evidences, Snapshots.
sync_cert_recordEXECreportName, data__certRecordSynchronize attestation record from app compliance.
verifyEXECreportNameVerify the AppComplianceAutomation report health status.

SELECT examples

Get the AppComplianceAutomation report list for the tenant.

SELECT
cert_records,
compliance_status,
errors,
last_trigger_time,
next_trigger_time,
offer_guid,
provisioning_state,
reportName,
resources,
status,
storage_info,
subscriptions,
tenant_id,
time_zone,
trigger_time
FROM azure_extras.app_compliance_automation.vw_reports
;

INSERT example

Use the following StackQL query and manifest file to create a new reports resource.

/*+ create */
INSERT INTO azure_extras.app_compliance_automation.reports (
reportName,
data__properties,
properties
)
SELECT
'{{ reportName }}',
'{{ data__properties }}',
'{{ properties }}'
;

UPDATE example

Updates a reports resource.

/*+ update */
UPDATE azure_extras.app_compliance_automation.reports
SET
properties = '{{ properties }}'
WHERE
reportName = '{{ reportName }}';

DELETE example

Deletes the specified reports resource.

/*+ delete */
DELETE FROM azure_extras.app_compliance_automation.reports
WHERE reportName = '{{ reportName }}';