選擇報告範本 - AWS Backup

本文為英文版的機器翻譯版本,如內容有任何歧義或不一致之處,概以英文版為準。

選擇報告範本

報告範本會定義報告計畫在報表中包含的資訊。當您使用報告計畫 自動執行報告時, AWS Backup Audit Manager 會提供您過去 24 小時的報告。 AWS Backup Audit Manager 會在上午 1 點到 5 點之間建立這些報告UTC。其提供以下報告範本。

備份報告範本

備份報告範本。這些範本會提供備份、還原或複製任務的每日更新。您可以使用這些報告監視作業狀態,以及找出任何可能需要採取進一步動作的故障。下表列出每個備份報告範本名稱及其範例輸出。

備份報告範本 JSON 格式的範例報告
BACKUP_JOB_REPORT
{ "reportItems": [ { "reportTimePeriod": "2021-07-14T00:00:00Z - 2021-07-15T00:00:00Z", "accountId": "112233445566", "region": "us-west-2", "backupJobId": "FCCB040A-9426-2A49-2EA9-5EAFFAC656AC", "jobStatus": "COMPLETED", "resourceType": "EC2", "resourceArn": "arn:aws:ec2:us-west-2:112233445566:instance/i-0bc877aee7782ba75", "backupPlanArn": "arn:aws:backup:us-west-2:112233445566:backup-plan:349f2247-b489-4301-83ac-4b7dd724db9a", "backupRuleId": "ab88bbf8-ff4e-4f1b-92e7-e13d3e65dcfb", "creationDate": "2021-07-14T23:53:47.229Z", "completionDate": "2021-07-15T00:16:07.282Z", "recoveryPointArn": "arn:aws:ec2:us-west-2::image/ami-030cafb98e5a6dcdf", "jobRunTime": "00:22:20", "backupSizeInBytes": 8589934592, "backupVaultName": "Default", "backupVaultArn": "arn:aws:backup:us-west-2:112233445566:backup-vault:Default", "iamRoleArn": "arn:aws:iam::112233445566:role/service-role/AWSBackupDefaultServiceRole" } ] }
COPY_JOB_REPORT
{ "reportItems": [ { "reportTimePeriod": "2021-07-14T15:48:31Z - 2021-07-15T15:48:31Z", "accountId": "112233445566", "region": "us-west-2", "copyJobId": "E0AD48A9-0560-B668-3EF0-941FDC0AD6B1", "jobStatus": "RUNNING", "resourceType": "EC2", "resourceArn": "arn:aws:ec2:us-west-2:112233445566:instance/i-0bc877aee7782ba75", "backupPlanArn": "arn:aws:backup:us-west-2:112233445566:backup-plan:349f2247-b489-4301-83ac-4b7dd724db9a", "backupRuleId": "ab88bbf8-ff4e-4f1b-92e7-e13d3e65dcfb", "creationDate": "2021-07-15T15:42:04.771Z", "backupSizeInBytes": 8589934592, "sourceRecoveryPointArn": "arn:aws:ec2:us-west-2::image/ami-007b3819f25697299", "sourceBackupVaultArn": "arn:aws:backup:us-west-2:112233445566:backup-vault:Default", "destinationRecoveryPointArn": "arn:aws:ec2:us-east-2::image/ami-0eba2199a0bcece3c", "destinationBackupVaultArn": "arn:aws:backup:us-east-2:112233445566:backup-vault:Default", "iamRoleArn": "arn:aws:iam::112233445566:role/service-role/AWSBackupDefaultServiceRole" } ] }
RESTORE_JOB_REPORT
{ "reportItems": [ { "reportTimePeriod": "2021-07-14T15:53:30Z - 2021-07-15T15:53:30Z", "accountId": "112233445566", "region": "us-west-2", "restoreJobId": "4CACA67D-4E12-DC05-6C2B-0E97D01FA41E", "jobStatus": "RUNNING", "recoveryPointArn": "arn:aws:ec2:us-west-2::image/ami-00201ecb57a5271ae", "creationDate": "2021-07-15T15:52:49.797Z", "backupSizeInBytes": 8589934592, "percentDone": "0.00%", "iamRoleArn": "arn:aws:iam::112233445566:role/service-role/AWSBackupDefaultServiceRole" } ] }

合規報告範本

合規報告範本會根據您在一或多個架構中定義的控制項,提供有關備份活動和資源合規性的每日報告。如果其中一個架構的合規狀態為 Non-compliant,請檢閱合規報告找出不合規的資源。

合規報告範本類型
  • Control compliance report 會協助您根據架構中所定義之控制項追蹤控制項的合規狀態。

  • Resource compliance report 會協助您根據架構中所定義之控制項追蹤資源的合規狀態。這些報告內含詳細的評估結果,包括找出不合規資源的資訊,用以識別與更正這些資源。

下表顯示合規報告的範例輸出。

合規報告範本 JSON 格式的範例報告
CONTROL_COMPLIANCE_REPORT
{ "reportItems": [ { "accountId": "112233445566", "region": "me-south-1", "frameworkName": "TestFramework7", "frameworkDescription": "A test framework", "controlName": "BACKUP_RESOURCES_PROTECTED_BY_BACKUP_PLAN", "controlComplianceStatus": "NON_COMPLIANT", "lastEvaluationTime": "2021-08-17T03:21:56.002Z", "numResourcesCompliant": 91, "numResourcesNonCompliant": 205, "controlFrequency": "Twelve_Hours", "controlScope": "", "controlParameters": "" }, { "accountId": "112233445566", "region": "me-south-1", "frameworkName": "TestFramework7", "frameworkDescription": "A test framework", "controlName": "BACKUP_PLAN_MIN_FREQUENCY_AND_MIN_RETENTION_CHECK", "controlComplianceStatus": "NON_COMPLIANT", "lastEvaluationTime": "2021-08-17T03:21:19.995Z", "numResourcesCompliant": 0, "numResourcesNonCompliant": 25, "controlScope": "{ComplianceResourceTypes: [],}", "controlParameters": "{\"requiredFrequencyValue\":\"1\",\"requiredRetentionDays\":\"35\",\"requiredFrequencyUnit\":\"hours\"}" } ] }
RESOURCE_COMPLIANCE_REPORT
{ "reportItems": [ { "accountId": "112233445566", "region": "us-west-2", "frameworkName": "MyTestFramework", "frameworkDescription": "", "controlName": "BACKUP_LAST_RECOVERY_POINT_CREATED", "resourceName": "", "resourceId": "AWS::EFS::FileSystem/fs-63c74e66", "resourceType": "AWS::EFS::FileSystem", "resourceComplianceStatus": "NON_COMPLIANT", "lastEvaluationTime": "2021-07-07T18:55:40.963Z" }, { "accountId": "112233445566", "region": "us-west-2", "frameworkName": "MyTestFramework", "frameworkDescription": "", "controlName": "BACKUP_LAST_RECOVERY_POINT_CREATED", "resourceName": "", "resourceId": "AWS::EFS::FileSystem/fs-b3d7c218", "resourceType": "AWS::EFS::FileSystem", "resourceComplianceStatus": "NON_COMPLIANT", "lastEvaluationTime": "2021-07-07T18:55:40.961Z" } ] }