Amazon Macie 的動作、資源和條件索引鍵
Amazon Macie (服務字首:macie2) 提供下列服務特定的操作、資源、動作和條件索引鍵,可用於 IAM 許可政策。
參考資料:
-
了解如何設定此服務。
-
檢視可供此服務使用的 API 操作清單。
-
了解如何使用 IAM 許可政策來保護此服務及其資源。
-
檢視此服務的程式設計服務授權參考
。
Amazon Macie 定義的 API 操作
下表將 API 操作映射至其授權的 IAM 動作。只會列出具有指定 API 和動作靜態值的條件金鑰;如需每個動作支援的完整條件金鑰集,請參閱動作表格。
| 作業 | IAM 動作 | 條件鍵 | 可能的值 (s) | 存取層級 |
|---|---|---|---|---|
|
AcceptInvitation |
寫入 |
|||
|
BatchGetCustomDataIdentifiers |
讀取 |
|||
|
BatchUpdateAutomatedDiscoveryAccounts |
寫入 |
|||
|
CreateAllowList |
寫入 |
|||
標記、寫入 |
||||
|
CreateClassificationJob |
寫入 |
|||
標記、寫入 |
||||
|
CreateCustomDataIdentifier |
寫入 |
|||
標記、寫入 |
||||
|
CreateFindingsFilter |
寫入 |
|||
標記、寫入 |
||||
|
CreateInvitations |
寫入 |
|||
|
CreateMember |
寫入 |
|||
標記、寫入 |
||||
|
CreateSampleFindings |
寫入 |
|||
|
DeclineInvitations |
寫入 |
|||
|
DeleteAllowList |
寫入 |
|||
|
DeleteCustomDataIdentifier |
寫入 |
|||
|
DeleteFindingsFilter |
寫入 |
|||
|
DeleteInvitations |
寫入 |
|||
|
DeleteMember |
寫入 |
|||
|
DescribeBuckets |
讀取 |
|||
|
DescribeClassificationJob |
讀取 |
|||
|
DescribeOrganizationConfiguration |
讀取 |
|||
|
DisableMacie |
寫入 |
|||
|
DisableOrganizationAdminAccount |
寫入 |
|||
|
DisassociateFromAdministratorAccount |
寫入 |
|||
|
DisassociateFromMasterAccount |
寫入 |
|||
|
DisassociateMember |
寫入 |
|||
|
EnableMacie |
寫入 |
|||
|
EnableOrganizationAdminAccount |
寫入 |
|||
|
GetAdministratorAccount |
讀取 |
|||
|
GetAllowList |
讀取 |
|||
|
GetAutomatedDiscoveryConfiguration |
讀取 |
|||
|
GetBucketStatistics |
讀取 |
|||
|
GetClassificationExportConfiguration |
讀取 |
|||
|
GetClassificationScope |
讀取 |
|||
|
GetCustomDataIdentifier |
讀取 |
|||
|
GetFindingStatistics |
讀取 |
|||
|
GetFindings |
讀取 |
|||
|
GetFindingsFilter |
讀取 |
|||
|
GetFindingsPublicationConfiguration |
讀取 |
|||
|
GetInvitationsCount |
讀取 |
|||
|
GetMacieSession |
讀取 |
|||
|
GetMasterAccount |
讀取 |
|||
|
GetMember |
讀取 |
|||
|
GetResourceProfile |
讀取 |
|||
|
GetRevealConfiguration |
讀取 |
|||
|
GetSensitiveDataOccurrences |
讀取 |
|||
|
GetSensitiveDataOccurrencesAvailability |
讀取 |
|||
|
GetSensitivityInspectionTemplate |
讀取 |
|||
|
GetUsageStatistics |
讀取 |
|||
|
GetUsageTotals |
讀取 |
|||
|
ListAllowLists |
清單 |
|||
|
ListAutomatedDiscoveryAccounts |
清單 |
|||
|
ListClassificationJobs |
清單 |
|||
|
ListClassificationScopes |
清單 |
|||
|
ListCustomDataIdentifiers |
清單 |
|||
|
ListFindings |
清單 |
|||
|
ListFindingsFilters |
清單 |
|||
|
ListInvitations |
清單 |
|||
|
ListManagedDataIdentifiers |
清單 |
|||
|
ListMembers |
清單 |
|||
|
ListOrganizationAdminAccounts |
清單 |
|||
|
ListResourceProfileArtifacts |
清單 |
|||
|
ListResourceProfileDetections |
清單 |
|||
|
ListSensitivityInspectionTemplates |
清單 |
|||
|
ListTagsForResource |
讀取 |
|||
|
PutClassificationExportConfiguration |
寫入 |
|||
|
PutFindingsPublicationConfiguration |
寫入 |
|||
|
SearchResources |
讀取 |
|||
|
TagResource |
標記、寫入 |
|||
|
TestCustomDataIdentifier |
寫入 |
|||
|
UntagResource |
標記、寫入 |
|||
|
UpdateAllowList |
寫入 |
|||
|
UpdateAutomatedDiscoveryConfiguration |
寫入 |
|||
|
UpdateClassificationJob |
寫入 |
|||
|
UpdateClassificationScope |
寫入 |
|||
|
UpdateFindingsFilter |
寫入 |
|||
|
UpdateMacieSession |
寫入 |
|||
|
UpdateMemberSession |
寫入 |
|||
|
UpdateOrganizationConfiguration |
寫入 |
|||
|
UpdateResourceProfile |
寫入 |
|||
|
UpdateResourceProfileDetections |
寫入 |
|||
|
UpdateRevealConfiguration |
寫入 |
|||
iam:PassedToService |
reveal-samples.macie.amazonaws.com |
寫入 |
||
|
UpdateSensitivityInspectionTemplate |
寫入 |
Amazon Macie 定義的動作
您可在 IAM 政策陳述式的 Action 元素中指定以下動作。使用政策來授予在 AWS中執行操作的許可。在政策中使用動作時,通常會允許或拒絕存取相同名稱的 API 操作或 CLI 命令。不過,在某些情況下,單一動作可控制對多個操作的存取。或者,某些操作需要多種不同的動作。
| 動作 | 說明 | 資源類型 (*必填項目) | 條件索引鍵 | 存取層級 |
|---|---|---|---|---|
授予接受 Amazon Macie 成員資格邀請的許可 |
寫入 |
|||
授予擷取一或多個自訂資料識別符相關資訊的許可 |
讀取 |
|||
准許 Amazon Macie 管理員變更組織中一或多個帳戶的自動敏感資料探索狀態 |
寫入 |
|||
准許建立和定義允許清單設定 |
寫入 |
|||
准許建立和定義敏感資料探索任務的設定 |
寫入 |
|||
授予建立和定義自訂資料識別符設定的許可 |
寫入 |
|||
授予建立和定義問題清單篩選條件設定的許可 |
寫入 |
|||
授予傳送 Amazon Macie 成員資格邀請的許可 |
寫入 |
|||
准許為帳戶與 Amazon Macie 管理員帳戶建立關聯 |
寫入 |
|||
准許建立範例問題清單 |
寫入 |
|||
授予拒絕 Amazon Macie 成員資格邀請的許可 |
寫入 |
|||
准許刪除允許清單 |
寫入 |
|||
授予刪除自訂資料識別符的許可 |
寫入 |
|||
授予刪除問題清單篩選條件的許可 |
寫入 |
|||
授予刪除 Amazon Macie 成員資格邀請的許可 |
寫入 |
|||
准許刪除 Amazon Macie 管理員帳戶與帳戶間的關聯 |
寫入 |
|||
准許擷取 Amazon Macie 所監控及分析的 S3 儲存貯體之統計資料及其他資訊 |
讀取 |
|||
准許擷取敏感資料探索任務的狀態及設定相關資訊 |
讀取 |
|||
准許擷取 AWS 組織 Amazon Macie 組態設定的相關資訊 |
讀取 |
|||
授予停用 Amazon Macie,同時也會刪除該帳戶 Macie 資源的許可 |
寫入 |
|||
准許停用 帳戶做為 AWS 組織的委派 Amazon Macie 管理員帳戶 |
寫入 |
|||
准許 Amazon Macie 成員帳戶與其 Macie 管理員帳戶解除關聯 |
寫入 |
|||
准許 Amazon Macie 成員帳戶與其 Macie 管理員帳戶解除關聯 |
寫入 |
|||
准許 Amazon Macie 管理員帳戶與 Macie 成員帳戶解除關聯 |
寫入 |
|||
授予啟用和指定新 Amazon Macie 帳戶組態設定的許可 |
寫入 |
|||
准許將 帳戶啟用為 AWS 組織的委派 Amazon Macie 管理員帳戶 |
寫入 |
|||
准許擷取帳戶的 Amazon Macie 管理員帳戶相關資訊 |
讀取 |
|||
准許擷取允許清單的設定及狀態 |
讀取 |
|||
准許擷取 Amazon Macie 管理員帳戶、組織或獨立帳戶的自動敏感資料探索的組態設定和狀態 |
讀取 |
|||
授予擷取 Amazon Macie 所監控和分析所有 S3 儲存貯體彙整統計資料的許可 |
讀取 |
|||
准許擷取匯出敏感資料探索結果的設定 |
讀取 |
|||
准許擷取帳戶的分類範圍設定 |
讀取 |
|||
授予擷取自訂資料識別符設定相關資訊的許可 |
讀取 |
|||
授予擷取問題清單彙整統計資料的許可 |
讀取 |
|||
准許擷取一或多個發現結果的詳細資料 |
讀取 |
|||
授予擷取問題清單篩選條件設定相關資訊的許可 |
讀取 |
|||
准許擷取將問題清單發佈至 AWS Security Hub 的組態設定 |
讀取 |
|||
授予擷取帳戶所收到 Amazon Macie 成員資格邀請數的許可 |
讀取 |
|||
授予擷取 Amazon Macie 帳戶狀態及組態設定資訊的許可 |
讀取 |
|||
准許擷取帳戶的 Amazon Macie 管理員帳戶相關資訊 |
讀取 |
|||
准許擷取與 Amazon Macie 管理員帳戶相關聯的帳戶資訊 |
讀取 |
|||
准許擷取 S3 儲存貯體的敏感資料探索統計資料和敏感度分數 |
讀取 |
|||
准許擷取狀態及組態設定,以擷取問題清單所報告之敏感資料的出現次數 |
讀取 |
|||
准許擷取問題清單所報告之敏感資料的出現次數 |
讀取 |
|||
准許檢查是否可以針對問題清單擷取敏感資料的出現次數 |
讀取 |
|||
准許擷取帳戶的敏感度檢查範本設定 |
讀取 |
|||
授予擷取一或多個帳戶配額和彙整用量資料的許可 |
讀取 |
|||
授予擷取帳戶彙整用量資料的許可 |
讀取 |
|||
准許擷取關於帳戶的所有允許清單的部分資訊 |
清單 |
|||
准許擷取 帳戶的自動敏感資料探索狀態 |
清單 |
|||
准許擷取一或多個敏感資料探索任務的一部分狀態及設定相關資訊 |
清單 |
|||
准許擷取帳戶的分類範圍的部分相關資訊 |
清單 |
|||
授予擷取所有自訂資料識別符相關資訊的許可 |
清單 |
|||
授予擷取一或多個問題清單一部分資訊的許可 |
清單 |
|||
授予擷取所有問題清單篩選條件相關資訊的許可 |
清單 |
|||
授予擷取帳戶所收到所有 Amazon Macie 成員資格邀請相關資訊的許可 |
清單 |
|||
准許擷取受管資料識別符的相關資訊 |
清單 |
|||
准許擷取與 Macie 管理員帳戶相關聯的 Amazon Macie 成員帳戶相關資訊 |
清單 |
|||
准許擷取 AWS 組織的委派 Amazon Macie 管理員帳戶相關資訊 |
清單 |
|||
准許擷取 Amazon Macie 從 S3 儲存貯體選取之物件的相關資訊,以進行自動化敏感資料探索 |
清單 |
|||
准許擷取 Amazon Macie 在 S3 儲存貯體中發現的敏感資料類型及數量相關資訊 |
清單 |
|||
准許擷取帳戶敏感度檢查範本的部分相關資訊 |
清單 |
|||
准許擷取 Amazon Macie 資源的標籤 |
讀取 |
|||
准許建立或更新存放敏感資料探索結果的設定 |
寫入 |
|||
准許更新將問題清單發佈至 AWS Security Hub 的組態設定 |
寫入 |
|||
准許擷取 Amazon Macie 監控和分析之 AWS 資源的統計資料和其他相關資訊 |
讀取 |
|||
准許新增或更新 Amazon Macie 資源的標籤 |
標記、寫入 |
|||
授予測試自訂資料識別符的許可 |
寫入 |
|||
准許從 Amazon Macie 資源移除標籤 |
標記、寫入 |
|||
准許更新允許清單的設定 |
寫入 |
|||
准許變更 Amazon Macie 管理員帳戶、組織或獨立帳戶的自動敏感資料探索狀態 |
寫入 |
|||
准許變更敏感資料探索任務的狀態 |
寫入 |
|||
准許更新帳戶的分類範圍設定 |
寫入 |
|||
授予更新問題清單篩選條件設定的許可 |
寫入 |
|||
准許 Amazon Macie 管理員帳戶暫停或重新啟用成員帳戶的 Macie |
寫入 |
|||
准許 Amazon Macie 管理員帳戶暫停或重新啟用 Macie 成員帳戶 |
寫入 |
|||
准許更新 AWS 組織的 Amazon Macie 組態設定 |
寫入 |
|||
准許更新 S3 儲存貯體的敏感度分數 |
寫入 |
|||
准許更新 S3 儲存貯體的敏感度評分設定 |
寫入 |
|||
准許更新狀態及組態設定,以擷取問題清單所報告之敏感資料的出現次數 |
寫入 |
|||
准許更新帳戶的敏感度檢查範本設定 |
寫入 |
Amazon Macie 定義的資源類型
此服務會定義下列資源類型,並可用在 IAM 許可政策陳述式的 Resource 元素中。
| 資源類型 | ARN | 條件索引鍵 |
|---|---|---|
arn:${Partition}:macie2:${Region}:${Account}:allow-list/${ResourceId} |
||
arn:${Partition}:macie2:${Region}:${Account}:classification-job/${ResourceId} |
||
arn:${Partition}:macie2:${Region}:${Account}:custom-data-identifier/${ResourceId} |
||
arn:${Partition}:macie2:${Region}:${Account}:findings-filter/${ResourceId} |
||
arn:${Partition}:macie2:${Region}:${Account}:member/${ResourceId} |
Amazon Macie 的條件索引鍵
Amazon Macie 會定義下列條件金鑰,可用於 IAM 政策的 Condition 元素。
| 條件索引鍵 | 描述 | Type |
|---|---|---|
依在請求中允許的標籤索引鍵和值對篩選存取 |
String |
|
依資源的標籤索引鍵和值對篩選存取 |
String |
|
依請求中是否存在標籤索引鍵來篩選存取 |
ArrayOfString |