Amazon Macie 的動作、資源和條件索引鍵 - 服務授權參考

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

Amazon Macie 的動作、資源和條件索引鍵

Amazon Macie (服務字首 macie2) 提供下列服務特定資源、動作,以及條件內容金鑰,以供在 IAM 許可政策中使用。

參考資料:

Amazon Macie 定義的動作

您可在 IAM 政策陳述式的 Action 元素中指定以下動作。使用政策來授予在 AWS 中執行操作的許可。在政策中使用動作時,通常會允許或拒絕存取相同名稱的 API 操作或 CLI 命令。不過,在某些情況下,單一動作可控制對多個操作的存取。或者,某些操作需要多種不同的動作。

「動作」資料表的資源類型欄會指出每個動作是否支援資源層級的許可。如果此欄沒有值,您必須在政策陳述式的 Resource 元素中指定政策適用的所有資源 ("*")。如果此欄包含資源類型,則您可以在包含該動作的陳述式中指定該類型的 ARN。如果動作具有一或多個必要資源,發起人必須具有將動作與這些資源搭配使用的許可。表格中的必要資源會以星號 (*) 表示。如果您使用 IAM 政策中的 Resource 元素限制資源存取,則每種必要的資源類型必須要有 ARN 或模式。某些動作支援多種資源類型。如果資源類型是選用 (未顯示為必要),則您可以選擇使用其中一種選用資源類型。

「動作」資料表的條件索引鍵欄包含您可以在政策陳述式的 Condition 元素中指定的索引鍵。如需有關與服務資源相關聯之條件索引鍵的詳細資訊,請參閱「資源類型」資料表的條件索引鍵欄。

注意

資源條件索引鍵會列在資源類型資料表中。您可以在「動作」資料表的資源類型 (*必填) 欄中找到適用於動作的資源類型連結。「資源類型」資料表中的資源類型包括條件索引鍵欄,其中包含套用至「動作」資料表中動作的資源條件索引鍵。

如需下表各欄的詳細資訊,請參閱動作表

注意

DisassociateFromMasterAccount 和 GetMasterAccount 動作已移除。建議您改為分別指定 DisassociateFromAdministratorAccount 和 GetAdministratorAccount 動作。

動作 描述 存取層級 資源類型 (*必填項目) 條件索引鍵 相依動作
AcceptInvitation 授予接受 Amazon Macie 成員資格邀請的許可 寫入
BatchGetCustomDataIdentifiers 授予擷取一或多個自訂資料識別符相關資訊的許可 讀取

CustomDataIdentifier*

CreateAllowList 准許建立和定義允許清單設定 寫入

aws:RequestTag/${TagKey}

aws:TagKeys

CreateClassificationJob 准許建立和定義敏感資料探索任務的設定 寫入

ClassificationJob*

aws:RequestTag/${TagKey}

aws:TagKeys

CreateCustomDataIdentifier 授予建立和定義自訂資料識別符設定的許可 寫入

CustomDataIdentifier*

aws:RequestTag/${TagKey}

aws:TagKeys

CreateFindingsFilter 授予建立和定義問題清單篩選條件設定的許可 寫入

FindingsFilter*

aws:RequestTag/${TagKey}

aws:TagKeys

CreateInvitations 授予傳送 Amazon Macie 成員資格邀請的許可 寫入
CreateMember 准許為帳戶與 Amazon Macie 管理員帳戶建立關聯 寫入

Member*

aws:RequestTag/${TagKey}

aws:TagKeys

CreateSampleFindings 准許建立範例問題清單 寫入
DeclineInvitations 授予拒絕 Amazon Macie 成員資格邀請的許可 寫入
DeleteAllowList 准許刪除允許清單 寫入

AllowList*

DeleteCustomDataIdentifier 授予刪除自訂資料識別符的許可 寫入

CustomDataIdentifier*

DeleteFindingsFilter 授予刪除問題清單篩選條件的許可 寫入

FindingsFilter*

DeleteInvitations 授予刪除 Amazon Macie 成員資格邀請的許可 寫入
DeleteMember 准許刪除 Amazon Macie 管理員帳戶與帳戶間的關聯 寫入

Member*

DescribeBuckets 准許擷取 Amazon Macie 所監控及分析的 S3 儲存貯體之統計資料及其他資訊 讀取
DescribeClassificationJob 准許擷取敏感資料探索任務的狀態及設定相關資訊 讀取

ClassificationJob*

DescribeOrganizationConfiguration 准許擷取 AWS 組織的 Amazon Macie 組態設定相關資訊 讀取
DisableMacie 授予停用 Amazon Macie,同時也會刪除該帳戶 Macie 資源的許可 寫入
DisableOrganizationAdminAccount 准許停用做為 AWS 組織委派 Amazon Macie 管理員帳戶的帳戶 寫入
DisassociateFromAdministratorAccount 准許 Amazon Macie 成員帳戶與其 Macie 管理員帳戶解除關聯 寫入
DisassociateFromMasterAccount 准許 Amazon Macie 成員帳戶與其 Macie 管理員帳戶解除關聯 寫入
DisassociateMember 准許 Amazon Macie 管理員帳戶與 Macie 成員帳戶解除關聯 寫入

Member*

EnableMacie 授予啟用和指定新 Amazon Macie 帳戶組態設定的許可 寫入
EnableOrganizationAdminAccount 准許啟用做為 AWS 組織委派 Amazon Macie 管理員帳戶的帳戶 寫入
GetAdministratorAccount 准許擷取帳戶的 Amazon Macie 管理員帳戶相關資訊 讀取
GetAllowList 准許擷取允許清單的設定及狀態 讀取

AllowList*

GetAutomatedDiscoveryConfiguration 准許擷取帳戶的組態設定及自動化敏感資料探索狀態 讀取
GetBucketStatistics 授予擷取 Amazon Macie 所監控和分析所有 S3 儲存貯體彙整統計資料的許可 讀取
GetClassificationExportConfiguration 准許擷取匯出敏感資料探索結果的設定 讀取
GetClassificationScope 准許擷取帳戶的分類範圍設定 讀取
GetCustomDataIdentifier 授予擷取自訂資料識別符設定相關資訊的許可 讀取

CustomDataIdentifier*

GetFindingStatistics 授予擷取問題清單彙整統計資料的許可 讀取
GetFindings 准許擷取一或多個發現結果的詳細資料 讀取
GetFindingsFilter 授予擷取問題清單篩選條件設定相關資訊的許可 讀取

FindingsFilter*

GetFindingsPublicationConfiguration 准許擷取將問題清單發佈到 AWS Security Hub 的組態設定 讀取
GetInvitationsCount 授予擷取帳戶所收到 Amazon Macie 成員資格邀請數的許可 讀取
GetMacieSession 授予擷取 Amazon Macie 帳戶狀態及組態設定資訊的許可 讀取
GetMasterAccount 准許擷取帳戶的 Amazon Macie 管理員帳戶相關資訊 讀取
GetMember 准許擷取與 Amazon Macie 管理員帳戶相關聯的帳戶資訊 讀取

Member*

GetResourceProfile 准許擷取 S3 儲存貯體的敏感資料探索統計資料和敏感度分數 讀取
GetRevealConfiguration 准許擷取狀態及組態設定,以擷取問題清單所報告之敏感資料的出現次數 讀取
GetSensitiveDataOccurrences 准許擷取問題清單所報告之敏感資料的出現次數 讀取
GetSensitiveDataOccurrencesAvailability 准許檢查是否可以針對問題清單擷取敏感資料的出現次數 讀取
GetSensitivityInspectionTemplate 准許擷取帳戶的敏感度檢查範本設定 讀取
GetUsageStatistics 授予擷取一或多個帳戶配額和彙整用量資料的許可 讀取
GetUsageTotals 授予擷取帳戶彙整用量資料的許可 讀取
ListAllowLists 准許擷取關於帳戶的所有允許清單的部分資訊 列出
ListClassificationJobs 准許擷取一或多個敏感資料探索任務的一部分狀態及設定相關資訊 列出
ListClassificationScopes 准許擷取帳戶的分類範圍的部分相關資訊 列出
ListCustomDataIdentifiers 授予擷取所有自訂資料識別符相關資訊的許可 列出
ListFindings 授予擷取一或多個問題清單一部分資訊的許可 列出
ListFindingsFilters 授予擷取所有問題清單篩選條件相關資訊的許可 列出
ListInvitations 授予擷取帳戶所收到所有 Amazon Macie 成員資格邀請相關資訊的許可 列出
ListManagedDataIdentifiers 准許擷取受管資料識別符的相關資訊 列出
ListMembers 准許擷取與 Macie 管理員帳戶相關聯的 Amazon Macie 成員帳戶相關資訊 列出
ListOrganizationAdminAccounts 准許擷取 AWS 組織的委派 Amazon Macie 管理員帳戶相關資訊 列出
ListResourceProfileArtifacts 准許擷取從 S3 儲存貯體選取用於自動化敏感資料探索的物件相關資訊 列出
ListResourceProfileDetections 准許擷取 Amazon Macie 在 S3 儲存貯體中發現的敏感資料類型及數量相關資訊 列出
ListSensitivityInspectionTemplates 准許擷取帳戶敏感度檢查範本的部分相關資訊 列出
ListTagsForResource 准許擷取 Amazon Macie 資源的標籤 讀取

AllowList

ClassificationJob

CustomDataIdentifier

FindingsFilter

Member

PutClassificationExportConfiguration 准許建立或更新存放敏感資料探索結果的設定 寫入
PutFindingsPublicationConfiguration 准許更新將問題清單發佈到 AWS Security Hub 的組態設定 寫入
SearchResources 准許擷取 Amazon Macie 所監控及分析的 AWS 資源之統計資料及其他相關資訊 讀取
TagResource 准許新增或更新 Amazon Macie 資源的標籤 標記

AllowList

ClassificationJob

CustomDataIdentifier

FindingsFilter

Member

aws:RequestTag/${TagKey}

aws:TagKeys

TestCustomDataIdentifier 授予測試自訂資料識別符的許可 寫入
UntagResource 准許從 Amazon Macie 資源移除標籤 標記

AllowList

ClassificationJob

CustomDataIdentifier

FindingsFilter

Member

aws:TagKeys

UpdateAllowList 准許更新允許清單的設定 寫入

AllowList*

UpdateAutomatedDiscoveryConfiguration 准許啟用或停用帳戶的自動化敏感資料探索 寫入
UpdateClassificationJob 准許變更敏感資料探索任務的狀態 寫入

ClassificationJob*

aws:RequestTag/${TagKey}

aws:TagKeys

UpdateClassificationScope 准許更新帳戶的分類範圍設定 寫入
UpdateFindingsFilter 授予更新問題清單篩選條件設定的許可 寫入

FindingsFilter*

aws:RequestTag/${TagKey}

aws:TagKeys

UpdateMacieSession 授予暫停或重新啟用 Amazon Macie 帳戶,或是更新 Macie 帳戶組態設定的許可 寫入
UpdateMemberSession 准許 Amazon Macie 管理員帳戶暫停或重新啟用 Macie 成員帳戶 寫入
UpdateOrganizationConfiguration 准許更新 AWS 組織的 Amazon Macie 組態設定 寫入
UpdateResourceProfile 准許更新 S3 儲存貯體的敏感度分數 寫入
UpdateResourceProfileDetections 准許更新 S3 儲存貯體的敏感度評分設定 寫入
UpdateRevealConfiguration 准許更新狀態及組態設定,以擷取問題清單所報告之敏感資料的出現次數 寫入
UpdateSensitivityInspectionTemplate 准許更新帳戶的敏感度檢查範本設定 寫入

Amazon Macie 定義的資源類型

此服務會定義下列資源類型,並可用在 IAM 許可政策陳述式的 Resource 元素中。動作表格中的每個動作都代表可使用該動作指定的資源類型。資源類型也能定義您可以在政策中包含哪些條件索引鍵。這些索引鍵都會顯示在「資源類型」資料表的最後一欄。如需下表各欄的詳細資訊,請參閱資源類型表

資源類型 ARN 條件索引鍵
AllowList arn:${Partition}:macie2:${Region}:${Account}:allow-list/${ResourceId}

aws:ResourceTag/${TagKey}

ClassificationJob arn:${Partition}:macie2:${Region}:${Account}:classification-job/${ResourceId}

aws:ResourceTag/${TagKey}

CustomDataIdentifier arn:${Partition}:macie2:${Region}:${Account}:custom-data-identifier/${ResourceId}

aws:ResourceTag/${TagKey}

FindingsFilter arn:${Partition}:macie2:${Region}:${Account}:findings-filter/${ResourceId}

aws:ResourceTag/${TagKey}

Member arn:${Partition}:macie2:${Region}:${Account}:member/${ResourceId}

aws:ResourceTag/${TagKey}

Amazon Macie 的條件索引鍵

Amazon Macie 會定義下列條件金鑰,可用於 IAM 政策的 Condition 元素。您可以使用這些索引鍵來縮小套用政策陳述式的條件。如需下表各欄的詳細資訊,請參閱條件索引鍵表

若要檢視所有服務都可使用的全域條件索引鍵,請參閱可用的全域條件索引鍵

條件索引鍵 描述 類型
aws:RequestTag/${TagKey} 依在請求中允許的標籤索引鍵和值對篩選存取 字串
aws:ResourceTag/${TagKey} 依資源的標籤索引鍵和值對篩選存取 字串
aws:TagKeys 依請求中的標籤索引鍵是否存在來篩選存取 ArrayOfString