View a markdown version of this page

AWS Security Hub 的動作、資源和條件索引鍵 - 服務授權參考

AWS Security Hub 的動作、資源和條件索引鍵

AWS Security Hub (服務字首:securityhub) 提供下列服務特定的操作、資源、動作和條件索引鍵,可用於 IAM 許可政策。

參考資料:

AWS Security Hub 定義的 API 操作

下表將 API 操作映射至其授權的 IAM 動作。只會列出具有指定 API 和動作靜態值的條件金鑰;如需每個動作支援的完整條件金鑰集,請參閱動作表格。

作業 IAM 動作 條件鍵 可能的值 (s) 存取層級

AcceptAdministratorInvitation

securityhub:AcceptAdministratorInvitation

寫入

AcceptInvitation

securityhub:AcceptInvitation

寫入

BatchDeleteAutomationRules

securityhub:BatchDeleteAutomationRules

寫入

BatchDisableStandards

securityhub:BatchDisableStandards

寫入

BatchEnableStandards

securityhub:BatchEnableStandards

寫入

BatchGetAutomationRules

securityhub:BatchGetAutomationRules

讀取

BatchGetConfigurationPolicyAssociations

securityhub:BatchGetConfigurationPolicyAssociations

讀取

BatchGetSecurityControls

securityhub:BatchGetSecurityControls

讀取

securityhub:DescribeStandardsControls

讀取

BatchGetStandardsControlAssociations

securityhub:BatchGetStandardsControlAssociations

讀取

securityhub:DescribeStandardsControls

讀取

BatchImportFindings

securityhub:BatchImportFindings

寫入

BatchUpdateAutomationRules

securityhub:BatchUpdateAutomationRules

寫入

BatchUpdateFindings

securityhub:BatchUpdateFindings

寫入

BatchUpdateFindingsV2

securityhub:BatchUpdateFindings

寫入

BatchUpdateStandardsControlAssociations

securityhub:BatchUpdateStandardsControlAssociations

寫入

securityhub:UpdateStandardsControl

寫入

CreateActionTarget

securityhub:CreateActionTarget

寫入

CreateAggregatorV2

securityhub:CreateAggregatorV2

寫入

securityhub:TagResource

標記、寫入

CreateAutomationRule

securityhub:CreateAutomationRule

寫入

securityhub:TagResource

標記、寫入

CreateAutomationRuleV2

securityhub:CreateAutomationRuleV2

寫入

securityhub:TagResource

標記、寫入

CreateConfigurationPolicy

securityhub:CreateConfigurationPolicy

寫入

securityhub:TagResource

標記、寫入

CreateConnector

securityhub:CreateConnector

寫入

securityhub:TagResource

標記、寫入

CreateConnectorV2

securityhub:CreateConnectorV2

寫入

securityhub:TagResource

標記、寫入

CreateFindingAggregator

securityhub:CreateFindingAggregator

寫入

CreateInsight

securityhub:CreateInsight

寫入

CreateMembers

securityhub:CreateMembers

寫入

CreateTicketV2

securityhub:CreateTicketV2

寫入

DeclineInvitations

securityhub:DeclineInvitations

寫入

DeleteActionTarget

securityhub:DeleteActionTarget

寫入

DeleteAggregatorV2

securityhub:DeleteAggregatorV2

寫入

DeleteAutomationRuleV2

securityhub:DeleteAutomationRuleV2

寫入

DeleteConfigurationPolicy

securityhub:DeleteConfigurationPolicy

寫入

DeleteConnector

securityhub:DeleteConnector

寫入

DeleteConnectorV2

securityhub:DeleteConnectorV2

寫入

DeleteFindingAggregator

securityhub:DeleteFindingAggregator

寫入

DeleteInsight

securityhub:DeleteInsight

寫入

DeleteInvitations

securityhub:DeleteInvitations

寫入

DeleteMembers

securityhub:DeleteMembers

寫入

DescribeActionTargets

securityhub:DescribeActionTargets

讀取

DescribeHub

securityhub:DescribeHub

讀取

DescribeOrganizationConfiguration

securityhub:DescribeOrganizationConfiguration

讀取

DescribeProducts

securityhub:DescribeProducts

讀取

DescribeProductsV2

securityhub:DescribeProductsV2

讀取

DescribeSecurityHubV2

securityhub:DescribeSecurityHubV2

讀取

DescribeStandards

securityhub:DescribeStandards

讀取

DescribeStandardsControls

securityhub:DescribeStandardsControls

讀取

DisableImportFindingsForProduct

securityhub:DisableImportFindingsForProduct

寫入

DisableOrganizationAdminAccount

securityhub:DisableOrganizationAdminAccount

寫入

DisableSecurityHub

securityhub:DisableSecurityHub

寫入

DisableSecurityHubFeatureV2

securityhub:DisableSecurityHubFeatureV2

寫入

DisableSecurityHubV2

securityhub:DisableSecurityHubV2

寫入

DisassociateFromAdministratorAccount

securityhub:DisassociateFromAdministratorAccount

寫入

DisassociateFromMasterAccount

securityhub:DisassociateFromMasterAccount

寫入

DisassociateMembers

securityhub:DisassociateMembers

寫入

EnableImportFindingsForProduct

securityhub:EnableImportFindingsForProduct

寫入

EnableOrganizationAdminAccount

securityhub:EnableOrganizationAdminAccount

寫入

EnableSecurityHub

securityhub:EnableSecurityHub

寫入

securityhub:TagResource

標記、寫入

EnableSecurityHubFeatureV2

securityhub:EnableSecurityHubFeatureV2

寫入

EnableSecurityHubV2

securityhub:EnableSecurityHubV2

寫入

securityhub:TagResource

標記、寫入

GenerateRecommendedPolicyV2

securityhub:GenerateRecommendedPolicyV2

寫入

GetAdministratorAccount

securityhub:GetAdministratorAccount

讀取

GetAggregatorV2

securityhub:GetAggregatorV2

讀取

GetAutomationRuleV2

securityhub:GetAutomationRuleV2

讀取

GetConfigurationPolicy

securityhub:GetConfigurationPolicy

讀取

GetConfigurationPolicyAssociation

securityhub:GetConfigurationPolicyAssociation

讀取

GetConnector

securityhub:GetConnector

讀取

GetConnectorV2

securityhub:GetConnectorV2

讀取

GetEnabledStandards

securityhub:GetEnabledStandards

清單

GetFindingAggregator

securityhub:GetFindingAggregator

讀取

GetFindingHistory

securityhub:GetFindingHistory

讀取

GetFindingStatisticsV2

securityhub:GetAdhocInsightResults

讀取

GetFindings

securityhub:GetFindings

讀取

GetFindingsTrendsV2

securityhub:GetFindingsTrendsV2

讀取

GetFindingsV2

securityhub:GetFindings

讀取

GetInsightResults

securityhub:GetInsightResults

讀取

GetInsights

securityhub:GetInsights

清單

GetInvitationsCount

securityhub:GetInvitationsCount

讀取

GetMasterAccount

securityhub:GetMasterAccount

讀取

GetMembers

securityhub:GetMembers

讀取

GetRecommendedPolicyV2

securityhub:GetRecommendedPolicyV2

讀取

GetRemediationsV2

securityhub:GetRemediationsV2

讀取

GetResourcesStatisticsV2

securityhub:GetResourcesStatisticsV2

讀取

GetResourcesTrendsV2

securityhub:GetResourcesTrendsV2

讀取

GetResourcesV2

securityhub:GetResourcesV2

讀取

GetSecurityControlDefinition

securityhub:GetSecurityControlDefinition

讀取

InviteMembers

securityhub:InviteMembers

寫入

ListAggregatorsV2

securityhub:ListAggregatorsV2

清單

ListAutomationRules

securityhub:ListAutomationRules

清單

ListAutomationRulesV2

securityhub:ListAutomationRulesV2

清單

ListConfigurationPolicies

securityhub:ListConfigurationPolicies

清單

ListConfigurationPolicyAssociations

securityhub:ListConfigurationPolicyAssociations

清單

ListConnectors

securityhub:ListConnectors

清單

ListConnectorsV2

securityhub:ListConnectorsV2

清單

ListEnabledProductsForImport

securityhub:ListEnabledProductsForImport

清單

ListExposuresByRemediationV2

securityhub:ListExposuresByRemediationV2

清單

ListFindingAggregators

securityhub:ListFindingAggregators

清單

ListFreeTrialStatusesV2

securityhub:ListFreeTrialStatusesV2

清單

ListInvitations

securityhub:ListInvitations

清單

ListMembers

securityhub:ListMembers

清單

ListOrganizationAdminAccounts

securityhub:ListOrganizationAdminAccounts

清單

ListSecurityControlDefinitions

securityhub:ListSecurityControlDefinitions

清單

ListStandardsControlAssociations

securityhub:DescribeStandardsControls

讀取

securityhub:ListStandardsControlAssociations

清單

ListTagsForResource

securityhub:ListTagsForResource

讀取

StartConfigurationPolicyAssociation

securityhub:StartConfigurationPolicyAssociation

寫入

StartConfigurationPolicyDisassociation

securityhub:StartConfigurationPolicyDisassociation

寫入

TagResource

securityhub:TagResource

標記、寫入

UntagResource

securityhub:UntagResource

標記、寫入

UpdateActionTarget

securityhub:UpdateActionTarget

寫入

UpdateAggregatorV2

securityhub:UpdateAggregatorV2

寫入

UpdateAutomationRuleV2

securityhub:UpdateAutomationRuleV2

寫入

UpdateConfigurationPolicy

securityhub:UpdateConfigurationPolicy

寫入

UpdateConnector

securityhub:UpdateConnector

寫入

UpdateConnectorV2

securityhub:UpdateConnectorV2

寫入

UpdateFindingAggregator

securityhub:UpdateFindingAggregator

寫入

UpdateFindings

securityhub:UpdateFindings

寫入

UpdateInsight

securityhub:UpdateInsight

寫入

UpdateOrganizationConfiguration

securityhub:UpdateOrganizationConfiguration

寫入

UpdateSecurityControl

securityhub:UpdateSecurityControl

寫入

securityhub:UpdateStandardsControl

寫入

UpdateSecurityHubConfiguration

securityhub:UpdateSecurityHubConfiguration

寫入

UpdateStandardsControl

securityhub:UpdateStandardsControl

寫入

AWS Security Hub 定義的動作

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

動作 說明 資源類型 (*必填項目) 條件索引鍵 存取層級

AcceptAdministratorInvitation

准許接受 Security Hub 成為成員帳戶的邀請

中樞

aws:ResourceTag/${TagKey}

寫入

AcceptInvitation

准許接受 Security Hub 成為成員帳戶的邀請

中樞

aws:ResourceTag/${TagKey}

寫入

BatchDeleteAutomationRules

准許刪除 Security Hub 中的一個或多個自動化規則

automation-rule*

aws:ResourceTag/${TagKey}

寫入

BatchDisableStandards

准許停用 Security Hub 的標準

中樞

aws:ResourceTag/${TagKey}

寫入

BatchEnableStandards

准許啟用 Security Hub 的標準

中樞

aws:ResourceTag/${TagKey}

寫入

BatchGetAutomationRules

准許根據 Amazon Resource Name (ARN) 規則從 Security Hub 中擷取自動化規則清單

automation-rule*

aws:ResourceTag/${TagKey}

讀取

BatchGetConfigurationPolicyAssociations

准許擷取與呼叫帳戶組織之特定成員帳戶和組織單位清單相關聯的組態政策相關資訊

讀取

BatchGetSecurityControls

准許取得由 ID 或 ARN 識別的特定安全控制的詳細資訊

讀取

BatchGetStandardsControlAssociations

准許在標準中取得批次安全控制的啟用狀態

讀取

BatchImportFindings

授予許可,將整合產品的問題清單匯入 Security Hub

產品*

securityhub:TargetAccount

寫入

BatchUpdateAutomationRules

准許根據 Amazon Resource Name (ARN) 規則和輸入參數從 Security Hub 中更新一個或多個自動化規則

automation-rule*

aws:ResourceTag/${TagKey}

寫入

BatchUpdateFindings

准許更新選取的 Security Hub 發現項目集合的客戶控制欄位

中樞

aws:ResourceTag/${TagKey}

securityhub:ASFFSyntaxPath/${ASFFSyntaxPath}

securityhub:OCSFSyntaxPath/${OCSFSyntaxPath}

寫入

hubv2

aws:ResourceTag/${TagKey}

securityhub:ASFFSyntaxPath/${ASFFSyntaxPath}

securityhub:OCSFSyntaxPath/${OCSFSyntaxPath}

BatchUpdateStandardsControlAssociations

准許在標準中更新批次安全控制的啟用狀態

寫入

ConnectorRegistrationsV2

准許根據輸入參數完成 OAuth 2.0 授權碼流程

寫入

CreateActionTarget

准許在 Security Hub 中建立自訂動作

中樞

aws:ResourceTag/${TagKey}

寫入

CreateAggregatorV2

准許建立aggregatorV2,這會設定跨區域的資料彙總

寫入

CreateAutomationRule

准許根據輸入參數建立自動化規則

aws:RequestTag/${TagKey}

aws:TagKeys

寫入

CreateAutomationRuleV2

准許根據輸入參數建立自動化規則 V2

aws:RequestTag/${TagKey}

aws:TagKeys

寫入

CreateConfigurationPolicy

准許建立組態政策以管理 Security Hub 中的組織成員設定

aws:RequestTag/${TagKey}

aws:TagKeys

寫入

CreateConnector

准許根據輸入參數建立連接器

aws:RequestTag/${TagKey}

aws:TagKeys

寫入

CreateConnectorV2

准許根據輸入參數建立連接器 V2

aws:RequestTag/${TagKey}

aws:TagKeys

寫入

CreateFindingAggregator

准許建立問題清單彙整工具,包含跨區域問題清單彙整組態

寫入

CreateInsight

准許在 Security Hub 中建立詳情。詳情是相關問題清單的集合

中樞

aws:ResourceTag/${TagKey}

寫入

CreateMembers

准許在 Security Hub 中建立成員帳戶

中樞

aws:ResourceTag/${TagKey}

寫入

CreateTicketV2

准許為選取的 OCSF 調查結果建立票證

連接器v2

aws:ResourceTag/${TagKey}

寫入

DeclineInvitations

准許拒絕 Security Hub 成為成員帳戶的邀請

中樞

aws:ResourceTag/${TagKey}

寫入

DeleteActionTarget

准許在 Security Hub 中刪除自訂動作

中樞

aws:ResourceTag/${TagKey}

寫入

DeleteAggregatorV2

准許刪除 aggregatorV2,這會設定跨區域的資料彙總

aggregatorv2*

aws:ResourceTag/${TagKey}

寫入

DeleteAutomationRuleV2

准許刪除 Security Hub 中的自動化規則 V2

automation-rulev2*

aws:ResourceTag/${TagKey}

寫入

DeleteConfigurationPolicy

准許刪除現有的組態政策

configuration-policy*

aws:ResourceTag/${TagKey}

寫入

DeleteConnector

准許刪除 Security Hub CSPM 中的連接器

連接器*

aws:ResourceTag/${TagKey}

寫入

DeleteConnectorV2

准許刪除 Security Hub 中的連接器 V2

連接器v2*

aws:ResourceTag/${TagKey}

寫入

DeleteFindingAggregator

准許刪除問題清單彙整工具,這會停用跨區域問題清單彙整

finding-aggregator*

寫入

DeleteInsight

准許刪除 Security Hub 中的洞見。

中樞

aws:ResourceTag/${TagKey}

寫入

DeleteInvitations

准許刪除 Security Hub 成為成員帳戶的邀請

中樞

aws:ResourceTag/${TagKey}

寫入

DeleteMembers

准許刪除 Security Hub 成員帳戶

中樞

aws:ResourceTag/${TagKey}

寫入

DescribeActionTargets

授予許可來使用 API 擷取自訂動作清單

中樞

aws:ResourceTag/${TagKey}

讀取

DescribeHub

准許擷取您帳戶中的 Hub 資源資訊

中樞

aws:ResourceTag/${TagKey}

讀取

DescribeOrganizationConfiguration

准許描述 Security Hub 組織組態

中樞

aws:ResourceTag/${TagKey}

讀取

DescribeProducts

准許擷取可用的 Security Hub 產品整合資訊

中樞

aws:ResourceTag/${TagKey}

讀取

DescribeProductsV2

准許擷取可用 Security Hub V2 產品整合的相關資訊

hubv2

aws:ResourceTag/${TagKey}

讀取

DescribeSecurityHubV2

准許擷取您帳戶中中樞 V2 資源的相關資訊

讀取

DescribeStandards

准許擷取 Security Hub 標準的資訊

中樞

aws:ResourceTag/${TagKey}

讀取

DescribeStandardsControls

准許擷取 Security Hub 標準控制項的資訊

中樞

aws:ResourceTag/${TagKey}

讀取

DisableImportFindingsForProduct

准許停用 Security Hub 整合產品的問題清單匯入功能

中樞

aws:ResourceTag/${TagKey}

寫入

DisableOrganizationAdminAccount

准許移除組織的 Security Hub 管理員帳戶

中樞

aws:ResourceTag/${TagKey}

寫入

DisableSecurityHub

准許停用 Security Hub

中樞

aws:ResourceTag/${TagKey}

寫入

DisableSecurityHubFeatureV2

准許停用 Security Hub V2 功能

hubv2*

aws:ResourceTag/${TagKey}

寫入

DisableSecurityHubV2

准許停用 Security Hub V2

寫入

DisassociateFromAdministratorAccount

准許 Security Hub 成員帳戶取消與相關聯的管理員帳戶的關聯

中樞

aws:ResourceTag/${TagKey}

寫入

DisassociateFromMasterAccount

授予 Security Hub 成員帳戶許可,使其能與相關聯的主帳戶取消關聯

中樞

aws:ResourceTag/${TagKey}

寫入

DisassociateMembers

准許讓 Security Hub 成員帳戶與相關聯的管理員帳戶取消關聯

中樞

aws:ResourceTag/${TagKey}

寫入

EnableImportFindingsForProduct

准許啟用 Security Hub 整合產品的問題清單匯入功能

中樞

aws:ResourceTag/${TagKey}

寫入

EnableOrganizationAdminAccount

准許為組織指定 Security Hub 管理員帳戶

中樞

aws:ResourceTag/${TagKey}

寫入

EnableSecurityHub

准許啟用 Security Hub

中樞

aws:RequestTag/${TagKey}

aws:ResourceTag/${TagKey}

aws:TagKeys

寫入

EnableSecurityHubFeatureV2

准許啟用 Security Hub V2 功能

hubv2*

aws:ResourceTag/${TagKey}

寫入

EnableSecurityHubV2

准許啟用 Security Hub V2

aws:RequestTag/${TagKey}

aws:TagKeys

寫入

GenerateRecommendedPolicyV2

准許產生 OCSF 調查結果的政策建議

hubv2*

aws:ResourceTag/${TagKey}

寫入

GetAdministratorAccount

准許擷取 Security Hub 管理員帳戶的詳細資訊

中樞

aws:ResourceTag/${TagKey}

讀取

GetAggregatorV2

准許擷取 aggregatorV2 的詳細資訊,這會設定跨區域的資料彙總

aggregatorv2*

aws:ResourceTag/${TagKey}

讀取

GetAutomationRuleV2

准許根據規則 Amazon Resource Name (ARN) 從 Security Hub 擷取自動化規則 V2 的詳細資訊

automation-rulev2*

aws:ResourceTag/${TagKey}

讀取

GetConfigurationPolicy

准許取得呼叫帳戶所建立之一個組態政策的完整概觀

configuration-policy*

aws:ResourceTag/${TagKey}

讀取

GetConfigurationPolicyAssociation

准許擷取與呼叫帳戶組織之成員帳戶或組織單位相關聯的組態政策相關資訊

讀取

GetConnector

准許根據連接器 ID 從 Security Hub CSPM 擷取連接器的詳細資訊

連接器*

aws:ResourceTag/${TagKey}

讀取

GetConnectorV2

准許根據連接器 ID 從 Security Hub 擷取連接器 V2 的詳細資訊

連接器v2*

aws:ResourceTag/${TagKey}

讀取

GetEnabledStandards

准許擷取 Security Hub 中已啟用的標準清單

中樞

aws:ResourceTag/${TagKey}

清單

GetFindingAggregator

准許擷取問題清單彙整工具的詳細資訊,這可設定跨區域問題清單彙整

finding-aggregator*

讀取

GetFindingHistory

准許從 Security Hub 擷取調查結果歷程記錄的清單

中樞

aws:ResourceTag/${TagKey}

讀取

GetFindings

准許擷取 Security Hub 問題清單的清單

中樞

aws:ResourceTag/${TagKey}

讀取

hubv2

aws:ResourceTag/${TagKey}

GetFindingsTrendsV2

准許擷取問題清單趨勢

hubv2

aws:ResourceTag/${TagKey}

讀取

GetInsightResults

准許擷取 Security Hub 的詳情結果

中樞

aws:ResourceTag/${TagKey}

讀取

GetInsights

准許擷取 Security Hub 洞見

中樞

aws:ResourceTag/${TagKey}

清單

GetInvitationsCount

准許擷取傳送至帳戶的 Security Hub 成員資格邀請計數

中樞

aws:ResourceTag/${TagKey}

讀取

GetMasterAccount

准許擷取 Security Hub 主帳戶的詳細資訊

中樞

aws:ResourceTag/${TagKey}

讀取

GetMembers

准許擷取 Security Hub 成員帳戶的詳細資訊

中樞

aws:ResourceTag/${TagKey}

讀取

GetRecommendedPolicyV2

准許擷取 OCSF 調查結果的政策建議

hubv2*

aws:ResourceTag/${TagKey}

讀取

GetRemediationsV2

准許擷取修復目標及其中繼資料的清單

hubv2*

aws:ResourceTag/${TagKey}

讀取

GetResourcesStatisticsV2

准許擷取 資源的彙總統計資料

hubv2

aws:ResourceTag/${TagKey}

讀取

GetResourcesTrendsV2

准許擷取資源趨勢

hubv2

aws:ResourceTag/${TagKey}

讀取

GetResourcesV2

准許擷取資源清單

hubv2

aws:ResourceTag/${TagKey}

讀取

GetSecurityControlDefinition

准許取得由 ID 識別的特定安全控制的定義詳細資訊

讀取

InviteMembers

准許邀請其他 AWS 帳戶成為 Security Hub 成員帳戶

中樞

aws:ResourceTag/${TagKey}

寫入

ListAggregatorsV2

准許擷取aggregatorsV2 的清單,這會設定跨區域的資料彙總

清單

ListAutomationRules

准許從 Security Hub 中擷取用於呼叫帳戶的自動化規則及其中繼資料

清單

ListAutomationRulesV2

准許從 Security Hub 擷取呼叫帳戶的自動化規則 V2 及其中繼資料清單

清單

ListConfigurationPolicies

准許列出呼叫帳戶建立之所有組態政策的摘要

清單

ListConfigurationPolicyAssociations

准許擷取與呼叫帳戶組織之所有成員帳戶和組織單位相關聯的所有組態政策相關資訊

清單

ListConnectors

准許從 Security Hub CSPM 擷取呼叫帳戶的連接器及其中繼資料清單

清單

ListConnectorsV2

准許從 Security Hub 擷取連接器 V2 及其呼叫帳戶中繼資料的清單

清單

ListEnabledProductsForImport

授予許可,擷取目前已啟用的 Security Hub 整合產品

中樞

aws:ResourceTag/${TagKey}

清單

ListExposuresByRemediationV2

准許擷取與修復目標相關聯的暴露問題清單

hubv2*

aws:ResourceTag/${TagKey}

清單

ListFindingAggregators

准許擷取問題清單彙整工具清單,包含跨區域問題清單彙整組態

清單

ListFreeTrialStatusesV2

准許擷取組織中帳戶或帳戶的 Security Hub 免費試用狀態清單

hubv2*

aws:ResourceTag/${TagKey}

清單

ListInvitations

准許擷取傳送至帳戶的 Security Hub 邀請

中樞

aws:ResourceTag/${TagKey}

清單

ListMembers

准許擷取與管理員帳戶關聯之 Security Hub 成員帳戶的詳細資訊

中樞

aws:ResourceTag/${TagKey}

清單

ListOrganizationAdminAccounts

准許列出組織的 Security Hub 管理員帳戶

中樞

aws:ResourceTag/${TagKey}

清單

ListSecurityControlDefinitions

准許擷取安全控制定義的清單,其中包含目前區域內安全控制的詳細資訊

清單

ListStandardsControlAssociations

准許在標準中列出安全控制的啟用狀態

清單

ListTagsForResource

授予許可以列出與資源關聯的標籤清單

automation-rule

aws:ResourceTag/${TagKey}

讀取

configuration-policy

aws:ResourceTag/${TagKey}

中樞

aws:ResourceTag/${TagKey}

StartConfigurationPolicyAssociation

准許建立組態政策與呼叫帳戶組織中的成員帳戶或組織單位的關聯

中樞

aws:ResourceTag/${TagKey}

寫入

StartConfigurationPolicyDisassociation

准許從呼叫帳戶組織中的成員帳戶或組織單位移除組態政策關聯

中樞

aws:ResourceTag/${TagKey}

寫入

TagResource

准許將標籤新增至 Security Hub 資源

彙總工具v2

aws:ResourceTag/${TagKey}

標記、寫入

automation-rule

aws:ResourceTag/${TagKey}

automation-rulev2

aws:ResourceTag/${TagKey}

configuration-policy

aws:ResourceTag/${TagKey}

連接器

aws:ResourceTag/${TagKey}

連接器v2

aws:ResourceTag/${TagKey}

中樞

aws:ResourceTag/${TagKey}

hubv2

aws:ResourceTag/${TagKey}

UntagResource

准許移除 Security Hub 資源中的標籤

彙總工具v2

aws:ResourceTag/${TagKey}

標記、寫入

automation-rule

aws:ResourceTag/${TagKey}

automation-rulev2

aws:ResourceTag/${TagKey}

configuration-policy

aws:ResourceTag/${TagKey}

連接器

aws:ResourceTag/${TagKey}

連接器v2

aws:ResourceTag/${TagKey}

中樞

aws:ResourceTag/${TagKey}

hubv2

aws:ResourceTag/${TagKey}

UpdateActionTarget

准許更新 Security Hub 中的自訂動作

中樞

aws:ResourceTag/${TagKey}

寫入

UpdateAggregatorV2

准許更新 aggregatorV2,這會設定跨區域的資料彙總

aggregatorv2*

aws:ResourceTag/${TagKey}

寫入

UpdateAutomationRuleV2

准許根據規則 Amazon Resource Name (ARN) 和輸入參數更新 Security Hub 中的自動化規則 V2

automation-rulev2*

aws:ResourceTag/${TagKey}

寫入

UpdateConfigurationPolicy

准許更新現有組態政策

configuration-policy*

aws:ResourceTag/${TagKey}

寫入

UpdateConnector

准許根據連接器 ID 和輸入參數更新 Security Hub CSPM 中的連接器

連接器*

aws:ResourceTag/${TagKey}

寫入

UpdateConnectorV2

准許根據連接器 ID 和輸入參數更新 Security Hub 中的連接器 V2

連接器v2*

aws:ResourceTag/${TagKey}

寫入

UpdateFindingAggregator

准許更新問題清單彙整工具,包含跨區域問題清單彙整組態

finding-aggregator*

寫入

UpdateFindings

准許更新 Security Hub 問題清單

中樞

aws:ResourceTag/${TagKey}

寫入

UpdateInsight

准許更新 Security Hub 的詳情

中樞

aws:ResourceTag/${TagKey}

寫入

UpdateOrganizationConfiguration

准許更新 Security Hub 的組織組態

中樞

aws:ResourceTag/${TagKey}

寫入

UpdateSecurityControl

准許更新由 ID 或 ARN 識別之特定安全控制的屬性

寫入

UpdateSecurityHubConfiguration

准許更新 Security Hub 組態

中樞

aws:ResourceTag/${TagKey}

寫入

UpdateStandardsControl

准許更新 Security Hub 標準控制項

中樞

aws:ResourceTag/${TagKey}

寫入

AWS Security Hub 的僅限許可動作

下列動作是由 AWS Security Hub 定義,但無法透過任何 API 操作直接叫用。它們只能用於 IAM 政策陳述式,以授予或拒絕許可。

動作 說明 資源類型 (*必填項目) 條件索引鍵 存取層級

AllowVendedLogDeliveryForResource

准許記錄 資源的交付

中樞

aws:ResourceTag/${TagKey}

許可管理、寫入

hubv2

aws:ResourceTag/${TagKey}

BatchGetControlEvaluations

准許取得控制項的啟用和合規狀態、控制項的調查結果計數,以及 Security Hub 主控台上控制項的整體安全分數

中樞

aws:ResourceTag/${TagKey}

讀取

BatchGetEnabledRegionsV2

准許擷取組織中帳戶啟用 Security Hub 的區域

hubv2*

aws:ResourceTag/${TagKey}

讀取

GetAdhocInsightResults

准許擷取有關調查結果的彙總統計資料

中樞

aws:ResourceTag/${TagKey}

讀取

hubv2

aws:ResourceTag/${TagKey}

GetControlFindingSummary

准許擷取安全分數及某項安全標準的發現結果計數和控制狀態

中樞

aws:ResourceTag/${TagKey}

讀取

GetCoverageStatisticsV2

准許擷取組織中的 Security Hub 涵蓋範圍統計資料

hubv2*

aws:ResourceTag/${TagKey}

讀取

GetFreeTrialEndDate

准許擷取帳戶 Security Hub 免費試用的結束日期

中樞

aws:ResourceTag/${TagKey}

讀取

GetFreeTrialUsage

准許在免費試用期間擷取 Security Hub 用量的相關資訊

中樞

aws:ResourceTag/${TagKey}

讀取

GetInsightFindingTrend

准許從 Security Hub 擷取洞見問題清單趨勢以產生圖形

中樞

aws:ResourceTag/${TagKey}

讀取

GetUsage

准許依帳戶擷取 Security Hub 用量的相關資訊

中樞

aws:ResourceTag/${TagKey}

讀取

GetUsageV2

准許擷取帳戶 Security Hub 用量的相關資訊

hubv2*

aws:ResourceTag/${TagKey}

讀取

ListAccountUsageV2

准許擷取組織中帳戶的 Security Hub 用量清單

hubv2*

aws:ResourceTag/${TagKey}

清單

ListControlEvaluationSummaries

准許針對某項標準擷取控制項清單,包括控制項 ID、狀態和發現結果計數

中樞

aws:ResourceTag/${TagKey}

讀取

SendFindingEvents

准許使用自訂動作將 Security Hub 問題清單傳送至 Amazon EventBridge

中樞

aws:ResourceTag/${TagKey}

讀取

SendInsightEvents

准許使用自訂動作將 Security Hub 洞見傳送至 Amazon EventBridge

中樞

aws:ResourceTag/${TagKey}

讀取

AWS Security Hub 定義的資源類型

此服務會定義下列資源類型,並可用在 IAM 許可政策陳述式的 Resource 元素中。

資源類型 ARN 條件索引鍵

彙總工具v2

arn:${Partition}:securityhub:${Region}:${Account}:aggregatorv2/${AggregatorV2Id}

aws:ResourceTag/${TagKey}

automation-rule

arn:${Partition}:securityhub:${Region}:${Account}:automation-rule/${AutomationRuleId}

aws:ResourceTag/${TagKey}

automation-rulev2

arn:${Partition}:securityhub:${Region}:${Account}:automation-rulev2/${AutomationRuleV2Id}

aws:ResourceTag/${TagKey}

configuration-policy

arn:${Partition}:securityhub:${Region}:${Account}:configuration-policy/${ConfigurationPolicyId}

aws:ResourceTag/${TagKey}

連接器

arn:${Partition}:securityhub:${Region}:${Account}:connector/${ConnectorId}

aws:ResourceTag/${TagKey}

連接器v2

arn:${Partition}:securityhub:${Region}:${Account}:connectorv2/${ConnectorV2Id}

aws:ResourceTag/${TagKey}

finding-aggregator

arn:${Partition}:securityhub:${Region}:${Account}:finding-aggregator/${FindingAggregatorId}

中樞

arn:${Partition}:securityhub:${Region}:${Account}:hub/default

aws:ResourceTag/${TagKey}

hubv2

arn:${Partition}:securityhub:${Region}:${Account}:hubv2/${HubV2Id}

aws:ResourceTag/${TagKey}

產品

arn:${Partition}:securityhub:${Region}:${Account}:product/${Company}/${ProductId}

AWS Security Hub 的條件索引鍵

AWS Security Hub 定義下列條件索引鍵,可用於 IAM 政策的 Condition元素。

條件索引鍵 描述 Type

aws:RequestTag/${TagKey}

根據請求中的標籤鍵值對是否存在,依動作篩選存取權

String

aws:ResourceTag/${TagKey}

根據連線到資源的標籤鍵值對,依動作篩選存取權

String

aws:TagKeys

根據請求中的標籤索引鍵是否存在,依動作篩選存取權

ArrayOfString

securityhub:ASFFSyntaxPath/${ASFFSyntaxPath}

依請求中指定的欄位和值篩選存取權

String

securityhub:OCSFSyntaxPath/${OCSFSyntaxPath}

依請求中指定的欄位和值篩選存取權

String

securityhub:TargetAccount

依請求中指定的 AwsAccountId 欄位篩選存取權

String