AWS Security Hub 的動作、資源和條件索引鍵
AWS Security Hub (服務字首:securityhub) 提供下列服務特定的操作、資源、動作和條件索引鍵,可用於 IAM 許可政策。
參考資料:
-
了解如何設定此服務。
-
檢視可供此服務使用的 API 操作清單。
-
了解如何使用 IAM 許可政策來保護此服務及其資源。
-
檢視此服務的程式設計服務授權參考
。
主題
AWS Security Hub 定義的 API 操作
下表將 API 操作映射至其授權的 IAM 動作。只會列出具有指定 API 和動作靜態值的條件金鑰;如需每個動作支援的完整條件金鑰集,請參閱動作表格。
| 作業 | IAM 動作 | 條件鍵 | 可能的值 (s) | 存取層級 |
|---|---|---|---|---|
|
AcceptAdministratorInvitation |
寫入 |
|||
|
AcceptInvitation |
寫入 |
|||
|
BatchDeleteAutomationRules |
寫入 |
|||
|
BatchDisableStandards |
寫入 |
|||
|
BatchEnableStandards |
寫入 |
|||
|
BatchGetAutomationRules |
讀取 |
|||
|
BatchGetConfigurationPolicyAssociations |
讀取 |
|||
|
BatchGetSecurityControls |
讀取 |
|||
讀取 |
||||
|
BatchGetStandardsControlAssociations |
讀取 |
|||
讀取 |
||||
|
BatchImportFindings |
寫入 |
|||
|
BatchUpdateAutomationRules |
寫入 |
|||
|
BatchUpdateFindings |
寫入 |
|||
|
BatchUpdateFindingsV2 |
寫入 |
|||
|
BatchUpdateStandardsControlAssociations |
寫入 |
|||
寫入 |
||||
|
CreateActionTarget |
寫入 |
|||
|
CreateAggregatorV2 |
寫入 |
|||
標記、寫入 |
||||
|
CreateAutomationRule |
寫入 |
|||
標記、寫入 |
||||
|
CreateAutomationRuleV2 |
寫入 |
|||
標記、寫入 |
||||
|
CreateConfigurationPolicy |
寫入 |
|||
標記、寫入 |
||||
|
CreateConnector |
寫入 |
|||
標記、寫入 |
||||
|
CreateConnectorV2 |
寫入 |
|||
標記、寫入 |
||||
|
CreateFindingAggregator |
寫入 |
|||
|
CreateInsight |
寫入 |
|||
|
CreateMembers |
寫入 |
|||
|
CreateTicketV2 |
寫入 |
|||
|
DeclineInvitations |
寫入 |
|||
|
DeleteActionTarget |
寫入 |
|||
|
DeleteAggregatorV2 |
寫入 |
|||
|
DeleteAutomationRuleV2 |
寫入 |
|||
|
DeleteConfigurationPolicy |
寫入 |
|||
|
DeleteConnector |
寫入 |
|||
|
DeleteConnectorV2 |
寫入 |
|||
|
DeleteFindingAggregator |
寫入 |
|||
|
DeleteInsight |
寫入 |
|||
|
DeleteInvitations |
寫入 |
|||
|
DeleteMembers |
寫入 |
|||
|
DescribeActionTargets |
讀取 |
|||
|
DescribeHub |
讀取 |
|||
|
DescribeOrganizationConfiguration |
讀取 |
|||
|
DescribeProducts |
讀取 |
|||
|
DescribeProductsV2 |
讀取 |
|||
|
DescribeSecurityHubV2 |
讀取 |
|||
|
DescribeStandards |
讀取 |
|||
|
DescribeStandardsControls |
讀取 |
|||
|
DisableImportFindingsForProduct |
寫入 |
|||
|
DisableOrganizationAdminAccount |
寫入 |
|||
|
DisableSecurityHub |
寫入 |
|||
|
DisableSecurityHubFeatureV2 |
寫入 |
|||
|
DisableSecurityHubV2 |
寫入 |
|||
|
DisassociateFromAdministratorAccount |
寫入 |
|||
|
DisassociateFromMasterAccount |
寫入 |
|||
|
DisassociateMembers |
寫入 |
|||
|
EnableImportFindingsForProduct |
寫入 |
|||
|
EnableOrganizationAdminAccount |
寫入 |
|||
|
EnableSecurityHub |
寫入 |
|||
標記、寫入 |
||||
|
EnableSecurityHubFeatureV2 |
寫入 |
|||
|
EnableSecurityHubV2 |
寫入 |
|||
標記、寫入 |
||||
|
GenerateRecommendedPolicyV2 |
寫入 |
|||
|
GetAdministratorAccount |
讀取 |
|||
|
GetAggregatorV2 |
讀取 |
|||
|
GetAutomationRuleV2 |
讀取 |
|||
|
GetConfigurationPolicy |
讀取 |
|||
|
GetConfigurationPolicyAssociation |
讀取 |
|||
|
GetConnector |
讀取 |
|||
|
GetConnectorV2 |
讀取 |
|||
|
GetEnabledStandards |
清單 |
|||
|
GetFindingAggregator |
讀取 |
|||
|
GetFindingHistory |
讀取 |
|||
|
GetFindingStatisticsV2 |
讀取 |
|||
|
GetFindings |
讀取 |
|||
|
GetFindingsTrendsV2 |
讀取 |
|||
|
GetFindingsV2 |
讀取 |
|||
|
GetInsightResults |
讀取 |
|||
|
GetInsights |
清單 |
|||
|
GetInvitationsCount |
讀取 |
|||
|
GetMasterAccount |
讀取 |
|||
|
GetMembers |
讀取 |
|||
|
GetRecommendedPolicyV2 |
讀取 |
|||
|
GetRemediationsV2 |
讀取 |
|||
|
GetResourcesStatisticsV2 |
讀取 |
|||
|
GetResourcesTrendsV2 |
讀取 |
|||
|
GetResourcesV2 |
讀取 |
|||
|
GetSecurityControlDefinition |
讀取 |
|||
|
InviteMembers |
寫入 |
|||
|
ListAggregatorsV2 |
清單 |
|||
|
ListAutomationRules |
清單 |
|||
|
ListAutomationRulesV2 |
清單 |
|||
|
ListConfigurationPolicies |
清單 |
|||
|
ListConfigurationPolicyAssociations |
清單 |
|||
|
ListConnectors |
清單 |
|||
|
ListConnectorsV2 |
清單 |
|||
|
ListEnabledProductsForImport |
清單 |
|||
|
ListExposuresByRemediationV2 |
清單 |
|||
|
ListFindingAggregators |
清單 |
|||
|
ListFreeTrialStatusesV2 |
清單 |
|||
|
ListInvitations |
清單 |
|||
|
ListMembers |
清單 |
|||
|
ListOrganizationAdminAccounts |
清單 |
|||
|
ListSecurityControlDefinitions |
清單 |
|||
|
ListStandardsControlAssociations |
讀取 |
|||
清單 |
||||
|
ListTagsForResource |
讀取 |
|||
|
StartConfigurationPolicyAssociation |
寫入 |
|||
|
StartConfigurationPolicyDisassociation |
寫入 |
|||
|
TagResource |
標記、寫入 |
|||
|
UntagResource |
標記、寫入 |
|||
|
UpdateActionTarget |
寫入 |
|||
|
UpdateAggregatorV2 |
寫入 |
|||
|
UpdateAutomationRuleV2 |
寫入 |
|||
|
UpdateConfigurationPolicy |
寫入 |
|||
|
UpdateConnector |
寫入 |
|||
|
UpdateConnectorV2 |
寫入 |
|||
|
UpdateFindingAggregator |
寫入 |
|||
|
UpdateFindings |
寫入 |
|||
|
UpdateInsight |
寫入 |
|||
|
UpdateOrganizationConfiguration |
寫入 |
|||
|
UpdateSecurityControl |
寫入 |
|||
寫入 |
||||
|
UpdateSecurityHubConfiguration |
寫入 |
|||
|
UpdateStandardsControl |
寫入 |
AWS Security Hub 定義的動作
您可在 IAM 政策陳述式的 Action 元素中指定以下動作。使用政策來授予在 AWS中執行操作的許可。在政策中使用動作時,通常會允許或拒絕存取相同名稱的 API 操作或 CLI 命令。不過,在某些情況下,單一動作可控制對多個操作的存取。或者,某些操作需要多種不同的動作。
| 動作 | 說明 | 資源類型 (*必填項目) | 條件索引鍵 | 存取層級 |
|---|---|---|---|---|
准許接受 Security Hub 成為成員帳戶的邀請 |
寫入 |
|||
准許接受 Security Hub 成為成員帳戶的邀請 |
寫入 |
|||
准許刪除 Security Hub 中的一個或多個自動化規則 |
寫入 |
|||
准許停用 Security Hub 的標準 |
寫入 |
|||
准許啟用 Security Hub 的標準 |
寫入 |
|||
准許根據 Amazon Resource Name (ARN) 規則從 Security Hub 中擷取自動化規則清單 |
讀取 |
|||
准許擷取與呼叫帳戶組織之特定成員帳戶和組織單位清單相關聯的組態政策相關資訊 |
讀取 |
|||
准許取得由 ID 或 ARN 識別的特定安全控制的詳細資訊 |
讀取 |
|||
准許在標準中取得批次安全控制的啟用狀態 |
讀取 |
|||
授予許可,將整合產品的問題清單匯入 Security Hub |
寫入 |
|||
准許根據 Amazon Resource Name (ARN) 規則和輸入參數從 Security Hub 中更新一個或多個自動化規則 |
寫入 |
|||
准許更新選取的 Security Hub 發現項目集合的客戶控制欄位 |
寫入 |
|||
准許在標準中更新批次安全控制的啟用狀態 |
寫入 |
|||
准許根據輸入參數完成 OAuth 2.0 授權碼流程 |
寫入 |
|||
准許在 Security Hub 中建立自訂動作 |
寫入 |
|||
准許建立aggregatorV2,這會設定跨區域的資料彙總 |
寫入 |
|||
准許根據輸入參數建立自動化規則 |
寫入 |
|||
准許根據輸入參數建立自動化規則 V2 |
寫入 |
|||
准許建立組態政策以管理 Security Hub 中的組織成員設定 |
寫入 |
|||
准許根據輸入參數建立連接器 |
寫入 |
|||
准許根據輸入參數建立連接器 V2 |
寫入 |
|||
准許建立問題清單彙整工具,包含跨區域問題清單彙整組態 |
寫入 |
|||
准許在 Security Hub 中建立詳情。詳情是相關問題清單的集合 |
寫入 |
|||
准許在 Security Hub 中建立成員帳戶 |
寫入 |
|||
准許為選取的 OCSF 調查結果建立票證 |
寫入 |
|||
准許拒絕 Security Hub 成為成員帳戶的邀請 |
寫入 |
|||
准許在 Security Hub 中刪除自訂動作 |
寫入 |
|||
准許刪除 aggregatorV2,這會設定跨區域的資料彙總 |
寫入 |
|||
准許刪除 Security Hub 中的自動化規則 V2 |
寫入 |
|||
准許刪除現有的組態政策 |
寫入 |
|||
准許刪除 Security Hub CSPM 中的連接器 |
寫入 |
|||
准許刪除 Security Hub 中的連接器 V2 |
寫入 |
|||
准許刪除問題清單彙整工具,這會停用跨區域問題清單彙整 |
寫入 |
|||
准許刪除 Security Hub 中的洞見。 |
寫入 |
|||
准許刪除 Security Hub 成為成員帳戶的邀請 |
寫入 |
|||
准許刪除 Security Hub 成員帳戶 |
寫入 |
|||
授予許可來使用 API 擷取自訂動作清單 |
讀取 |
|||
准許擷取您帳戶中的 Hub 資源資訊 |
讀取 |
|||
准許描述 Security Hub 組織組態 |
讀取 |
|||
准許擷取可用的 Security Hub 產品整合資訊 |
讀取 |
|||
准許擷取可用 Security Hub V2 產品整合的相關資訊 |
讀取 |
|||
准許擷取您帳戶中中樞 V2 資源的相關資訊 |
讀取 |
|||
准許擷取 Security Hub 標準的資訊 |
讀取 |
|||
准許擷取 Security Hub 標準控制項的資訊 |
讀取 |
|||
准許停用 Security Hub 整合產品的問題清單匯入功能 |
寫入 |
|||
准許移除組織的 Security Hub 管理員帳戶 |
寫入 |
|||
准許停用 Security Hub |
寫入 |
|||
准許停用 Security Hub V2 功能 |
寫入 |
|||
准許停用 Security Hub V2 |
寫入 |
|||
准許 Security Hub 成員帳戶取消與相關聯的管理員帳戶的關聯 |
寫入 |
|||
授予 Security Hub 成員帳戶許可,使其能與相關聯的主帳戶取消關聯 |
寫入 |
|||
准許讓 Security Hub 成員帳戶與相關聯的管理員帳戶取消關聯 |
寫入 |
|||
准許啟用 Security Hub 整合產品的問題清單匯入功能 |
寫入 |
|||
准許為組織指定 Security Hub 管理員帳戶 |
寫入 |
|||
准許啟用 Security Hub |
寫入 |
|||
准許啟用 Security Hub V2 功能 |
寫入 |
|||
准許啟用 Security Hub V2 |
寫入 |
|||
准許產生 OCSF 調查結果的政策建議 |
寫入 |
|||
准許擷取 Security Hub 管理員帳戶的詳細資訊 |
讀取 |
|||
准許擷取 aggregatorV2 的詳細資訊,這會設定跨區域的資料彙總 |
讀取 |
|||
准許根據規則 Amazon Resource Name (ARN) 從 Security Hub 擷取自動化規則 V2 的詳細資訊 |
讀取 |
|||
准許取得呼叫帳戶所建立之一個組態政策的完整概觀 |
讀取 |
|||
准許擷取與呼叫帳戶組織之成員帳戶或組織單位相關聯的組態政策相關資訊 |
讀取 |
|||
准許根據連接器 ID 從 Security Hub CSPM 擷取連接器的詳細資訊 |
讀取 |
|||
准許根據連接器 ID 從 Security Hub 擷取連接器 V2 的詳細資訊 |
讀取 |
|||
准許擷取 Security Hub 中已啟用的標準清單 |
清單 |
|||
准許擷取問題清單彙整工具的詳細資訊,這可設定跨區域問題清單彙整 |
讀取 |
|||
准許從 Security Hub 擷取調查結果歷程記錄的清單 |
讀取 |
|||
准許擷取 Security Hub 問題清單的清單 |
讀取 |
|||
准許擷取問題清單趨勢 |
讀取 |
|||
准許擷取 Security Hub 的詳情結果 |
讀取 |
|||
准許擷取 Security Hub 洞見 |
清單 |
|||
准許擷取傳送至帳戶的 Security Hub 成員資格邀請計數 |
讀取 |
|||
准許擷取 Security Hub 主帳戶的詳細資訊 |
讀取 |
|||
准許擷取 Security Hub 成員帳戶的詳細資訊 |
讀取 |
|||
准許擷取 OCSF 調查結果的政策建議 |
讀取 |
|||
准許擷取修復目標及其中繼資料的清單 |
讀取 |
|||
准許擷取 資源的彙總統計資料 |
讀取 |
|||
准許擷取資源趨勢 |
讀取 |
|||
准許擷取資源清單 |
讀取 |
|||
准許取得由 ID 識別的特定安全控制的定義詳細資訊 |
讀取 |
|||
准許邀請其他 AWS 帳戶成為 Security Hub 成員帳戶 |
寫入 |
|||
准許擷取aggregatorsV2 的清單,這會設定跨區域的資料彙總 |
清單 |
|||
准許從 Security Hub 中擷取用於呼叫帳戶的自動化規則及其中繼資料 |
清單 |
|||
准許從 Security Hub 擷取呼叫帳戶的自動化規則 V2 及其中繼資料清單 |
清單 |
|||
准許列出呼叫帳戶建立之所有組態政策的摘要 |
清單 |
|||
准許擷取與呼叫帳戶組織之所有成員帳戶和組織單位相關聯的所有組態政策相關資訊 |
清單 |
|||
准許從 Security Hub CSPM 擷取呼叫帳戶的連接器及其中繼資料清單 |
清單 |
|||
准許從 Security Hub 擷取連接器 V2 及其呼叫帳戶中繼資料的清單 |
清單 |
|||
授予許可,擷取目前已啟用的 Security Hub 整合產品 |
清單 |
|||
准許擷取與修復目標相關聯的暴露問題清單 |
清單 |
|||
准許擷取問題清單彙整工具清單,包含跨區域問題清單彙整組態 |
清單 |
|||
准許擷取組織中帳戶或帳戶的 Security Hub 免費試用狀態清單 |
清單 |
|||
准許擷取傳送至帳戶的 Security Hub 邀請 |
清單 |
|||
准許擷取與管理員帳戶關聯之 Security Hub 成員帳戶的詳細資訊 |
清單 |
|||
准許列出組織的 Security Hub 管理員帳戶 |
清單 |
|||
准許擷取安全控制定義的清單,其中包含目前區域內安全控制的詳細資訊 |
清單 |
|||
准許在標準中列出安全控制的啟用狀態 |
清單 |
|||
授予許可以列出與資源關聯的標籤清單 |
讀取 |
|||
准許建立組態政策與呼叫帳戶組織中的成員帳戶或組織單位的關聯 |
寫入 |
|||
准許從呼叫帳戶組織中的成員帳戶或組織單位移除組態政策關聯 |
寫入 |
|||
准許將標籤新增至 Security Hub 資源 |
標記、寫入 |
|||
准許移除 Security Hub 資源中的標籤 |
標記、寫入 |
|||
准許更新 Security Hub 中的自訂動作 |
寫入 |
|||
准許更新 aggregatorV2,這會設定跨區域的資料彙總 |
寫入 |
|||
准許根據規則 Amazon Resource Name (ARN) 和輸入參數更新 Security Hub 中的自動化規則 V2 |
寫入 |
|||
准許更新現有組態政策 |
寫入 |
|||
准許根據連接器 ID 和輸入參數更新 Security Hub CSPM 中的連接器 |
寫入 |
|||
准許根據連接器 ID 和輸入參數更新 Security Hub 中的連接器 V2 |
寫入 |
|||
准許更新問題清單彙整工具,包含跨區域問題清單彙整組態 |
寫入 |
|||
准許更新 Security Hub 問題清單 |
寫入 |
|||
准許更新 Security Hub 的詳情 |
寫入 |
|||
准許更新 Security Hub 的組織組態 |
寫入 |
|||
准許更新由 ID 或 ARN 識別之特定安全控制的屬性 |
寫入 |
|||
准許更新 Security Hub 組態 |
寫入 |
|||
准許更新 Security Hub 標準控制項 |
寫入 |
AWS Security Hub 的僅限許可動作
下列動作是由 AWS Security Hub 定義,但無法透過任何 API 操作直接叫用。它們只能用於 IAM 政策陳述式,以授予或拒絕許可。
| 動作 | 說明 | 資源類型 (*必填項目) | 條件索引鍵 | 存取層級 |
|---|---|---|---|---|
准許記錄 資源的交付 |
許可管理、寫入 |
|||
准許取得控制項的啟用和合規狀態、控制項的調查結果計數,以及 Security Hub 主控台上控制項的整體安全分數 |
讀取 |
|||
准許擷取組織中帳戶啟用 Security Hub 的區域 |
讀取 |
|||
准許擷取有關調查結果的彙總統計資料 |
讀取 |
|||
准許擷取安全分數及某項安全標準的發現結果計數和控制狀態 |
讀取 |
|||
准許擷取組織中的 Security Hub 涵蓋範圍統計資料 |
讀取 |
|||
准許擷取帳戶 Security Hub 免費試用的結束日期 |
讀取 |
|||
准許在免費試用期間擷取 Security Hub 用量的相關資訊 |
讀取 |
|||
准許從 Security Hub 擷取洞見問題清單趨勢以產生圖形 |
讀取 |
|||
准許依帳戶擷取 Security Hub 用量的相關資訊 |
讀取 |
|||
准許擷取帳戶 Security Hub 用量的相關資訊 |
讀取 |
|||
准許擷取組織中帳戶的 Security Hub 用量清單 |
清單 |
|||
准許針對某項標準擷取控制項清單,包括控制項 ID、狀態和發現結果計數 |
讀取 |
|||
准許使用自訂動作將 Security Hub 問題清單傳送至 Amazon EventBridge |
讀取 |
|||
准許使用自訂動作將 Security Hub 洞見傳送至 Amazon EventBridge |
讀取 |
AWS Security Hub 定義的資源類型
此服務會定義下列資源類型,並可用在 IAM 許可政策陳述式的 Resource 元素中。
| 資源類型 | ARN | 條件索引鍵 |
|---|---|---|
arn:${Partition}:securityhub:${Region}:${Account}:aggregatorv2/${AggregatorV2Id} |
||
arn:${Partition}:securityhub:${Region}:${Account}:automation-rule/${AutomationRuleId} |
||
arn:${Partition}:securityhub:${Region}:${Account}:automation-rulev2/${AutomationRuleV2Id} |
||
arn:${Partition}:securityhub:${Region}:${Account}:configuration-policy/${ConfigurationPolicyId} |
||
arn:${Partition}:securityhub:${Region}:${Account}:connector/${ConnectorId} |
||
arn:${Partition}:securityhub:${Region}:${Account}:connectorv2/${ConnectorV2Id} |
||
arn:${Partition}:securityhub:${Region}:${Account}:finding-aggregator/${FindingAggregatorId} |
||
arn:${Partition}:securityhub:${Region}:${Account}:hub/default |
||
arn:${Partition}:securityhub:${Region}:${Account}:hubv2/${HubV2Id} |
||
arn:${Partition}:securityhub:${Region}:${Account}:product/${Company}/${ProductId} |
AWS Security Hub 的條件索引鍵
AWS Security Hub 定義下列條件索引鍵,可用於 IAM 政策的 Condition元素。
| 條件索引鍵 | 描述 | Type |
|---|---|---|
根據請求中的標籤鍵值對是否存在,依動作篩選存取權 |
String |
|
根據連線到資源的標籤鍵值對,依動作篩選存取權 |
String |
|
根據請求中的標籤索引鍵是否存在,依動作篩選存取權 |
ArrayOfString |
|
依請求中指定的欄位和值篩選存取權 |
String |
|
依請求中指定的欄位和值篩選存取權 |
String |
|
依請求中指定的 AwsAccountId 欄位篩選存取權 |
String |