的操作、资源和条件键 AWS Security Hub
AWS Security Hub(服务前缀:securityhub)提供以下特定于服务的操作、资源、操作和条件密钥,供在 IAM 权限策略中使用。
参考:
-
了解如何配置该服务。
-
了解如何使用 IAM 权限策略保护该服务及其资源。
-
查看此服务的编程服务授权参考
。
主题
API 操作定义为 AWS Security Hub
下表将 API 操作映射到它们授权的 IAM 操作。仅列出具有给定 API 和操作的静态值的条件键;有关每个操作支持的完整条件键集,请参阅操作表。
| 操作 | IAM 操作 | 条件键 | 可能的值 | 访问级别 |
|---|---|---|---|---|
|
AcceptAdministratorInvitation |
写入 |
|||
|
AcceptInvitation |
写入 |
|||
|
BatchDeleteAutomationRules |
写入 |
|||
|
BatchDisableStandards |
写入 |
|||
|
BatchEnableStandards |
写入 |
|||
|
BatchGetAutomationRules |
读取 |
|||
|
BatchGetConfigurationPolicyAssociations |
读取 |
|||
|
BatchGetSecurityControls |
读取 |
|||
读取 |
||||
|
BatchGetStandardsControlAssociations |
读取 |
|||
读取 |
||||
|
BatchImportFindings |
写入 |
|||
|
BatchUpdateAutomationRules |
写入 |
|||
|
BatchUpdateFindings |
写入 |
|||
|
BatchUpdateFindingsV2 |
写入 |
|||
|
BatchUpdateStandardsControlAssociations |
写入 |
|||
写入 |
||||
|
CreateActionTarget |
写入 |
|||
|
V2 CreateAggregator |
写入 |
|||
标记、写作 |
||||
|
CreateAutomationRule |
写入 |
|||
标记、写作 |
||||
|
CreateAutomationRuleV2 |
写入 |
|||
标记、写作 |
||||
|
CreateConfigurationPolicy |
写入 |
|||
标记、写作 |
||||
|
CreateConnector |
写入 |
|||
标记、写作 |
||||
|
V2 CreateConnector |
写入 |
|||
标记、写作 |
||||
|
CreateFindingAggregator |
写入 |
|||
|
CreateInsight |
写入 |
|||
|
CreateMembers |
写入 |
|||
|
V2 CreateTicket |
写入 |
|||
|
DeclineInvitations |
写入 |
|||
|
DeleteActionTarget |
写入 |
|||
|
V2 DeleteAggregator |
写入 |
|||
|
DeleteAutomationRuleV2 |
写入 |
|||
|
DeleteConfigurationPolicy |
写入 |
|||
|
DeleteConnector |
写入 |
|||
|
V2 DeleteConnector |
写入 |
|||
|
DeleteFindingAggregator |
写入 |
|||
|
DeleteInsight |
写入 |
|||
|
DeleteInvitations |
写入 |
|||
|
DeleteMembers |
写入 |
|||
|
DescribeActionTargets |
读取 |
|||
|
DescribeHub |
读取 |
|||
|
DescribeOrganizationConfiguration |
读取 |
|||
|
DescribeProducts |
读取 |
|||
|
V2 DescribeProducts |
读取 |
|||
|
DescribeSecurityHubV2 |
读取 |
|||
|
DescribeStandards |
读取 |
|||
|
DescribeStandardsControls |
读取 |
|||
|
DisableImportFindingsForProduct |
写入 |
|||
|
DisableOrganizationAdminAccount |
写入 |
|||
|
DisableSecurityHub |
写入 |
|||
|
DisableSecurityHubFeatureV2 |
写入 |
|||
|
DisableSecurityHubV2 |
写入 |
|||
|
DisassociateFromAdministratorAccount |
写入 |
|||
|
DisassociateFromMasterAccount |
写入 |
|||
|
DisassociateMembers |
写入 |
|||
|
EnableImportFindingsForProduct |
写入 |
|||
|
EnableOrganizationAdminAccount |
写入 |
|||
|
EnableSecurityHub |
写入 |
|||
标记、写作 |
||||
|
EnableSecurityHubFeatureV2 |
写入 |
|||
|
EnableSecurityHubV2 |
写入 |
|||
标记、写作 |
||||
|
GenerateRecommendedPolicyV2 |
写入 |
|||
|
GetAdministratorAccount |
读取 |
|||
|
V2 GetAggregator |
读取 |
|||
|
GetAutomationRuleV2 |
读取 |
|||
|
GetConfigurationPolicy |
读取 |
|||
|
GetConfigurationPolicyAssociation |
读取 |
|||
|
GetConnector |
读取 |
|||
|
V2 GetConnector |
读取 |
|||
|
GetEnabledStandards |
列表 |
|||
|
GetFindingAggregator |
读取 |
|||
|
GetFindingHistory |
读取 |
|||
|
GetFindingStatisticsV2 |
读取 |
|||
|
GetFindings |
读取 |
|||
|
GetFindingsTrendsV2 |
读取 |
|||
|
V2 GetFindings |
读取 |
|||
|
GetInsightResults |
读取 |
|||
|
GetInsights |
列表 |
|||
|
GetInvitationsCount |
读取 |
|||
|
GetMasterAccount |
读取 |
|||
|
GetMembers |
读取 |
|||
|
GetRecommendedPolicyV2 |
读取 |
|||
|
V2 GetRemediations |
读取 |
|||
|
GetResourcesStatisticsV2 |
读取 |
|||
|
GetResourcesTrendsV2 |
读取 |
|||
|
V2 GetResources |
读取 |
|||
|
GetSecurityControlDefinition |
读取 |
|||
|
InviteMembers |
写入 |
|||
|
V2 ListAggregators |
列表 |
|||
|
ListAutomationRules |
列表 |
|||
|
ListAutomationRulesV2 |
列表 |
|||
|
ListConfigurationPolicies |
列表 |
|||
|
ListConfigurationPolicyAssociations |
列表 |
|||
|
ListConnectors |
列表 |
|||
|
V2 ListConnectors |
列表 |
|||
|
ListEnabledProductsForImport |
列表 |
|||
|
ListExposuresByRemediationV2 |
列表 |
|||
|
ListFindingAggregators |
列表 |
|||
|
ListFreeTrialStatusesV2 |
列表 |
|||
|
ListInvitations |
列表 |
|||
|
ListMembers |
列表 |
|||
|
ListOrganizationAdminAccounts |
列表 |
|||
|
ListSecurityControlDefinitions |
列表 |
|||
|
ListStandardsControlAssociations |
读取 |
|||
列表 |
||||
|
ListTagsForResource |
读取 |
|||
|
StartConfigurationPolicyAssociation |
写入 |
|||
|
StartConfigurationPolicyDisassociation |
写入 |
|||
|
TagResource |
标记、写作 |
|||
|
UntagResource |
标记、写作 |
|||
|
UpdateActionTarget |
写入 |
|||
|
V2 UpdateAggregator |
写入 |
|||
|
UpdateAutomationRuleV2 |
写入 |
|||
|
UpdateConfigurationPolicy |
写入 |
|||
|
UpdateConnector |
写入 |
|||
|
V2 UpdateConnector |
写入 |
|||
|
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 资源名称(ARN)从 Security Hub 检索自动化规则的详情列表 |
读取 |
|||
授予检索与调用账户所在组织的特定成员账户列表和组织单位关联的配置策略信息的权限 |
读取 |
|||
授予权限以获取通过 ID 或 ARN 标识的特定安全控件的详细信息 |
读取 |
|||
授予权限以获取标准中一批安全控件的启用状态 |
读取 |
|||
授予权限以将结果从集成产品导入 Security Hub |
写入 |
|||
授予权限以根据规则 Amazon 资源名称(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 产品集成的信息 |
读取 |
|||
授予权限以检索有关您的账户中的 Hub 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 资源名称(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 资源名称(ARN)和输入参数在 Security Hub 中更新自动化规则 V2 |
写入 |
|||
授予更新现有配置策略的权限 |
写入 |
|||
根据连接器 ID 和输入参数授予在 Security Hub CSPM 中更新连接器的权限 |
写入 |
|||
授予权限以基于连接器 ID 和输入参数在 Security Hub 中更新连接器 V2 |
写入 |
|||
授予权限以更新结果聚合器,其中包含跨区域结果聚合配置 |
写入 |
|||
授予权限以更新 Security Hub 结果 |
写入 |
|||
授予权限以在 Security Hub 中更新洞察 |
写入 |
|||
授予更新 Security Hub 组织配置的权限 |
写入 |
|||
授予更新用 ID 或 ARN 标识的特定安全控件的属性的权限 |
写入 |
|||
授予权限以更新 Security Hub 配置 |
写入 |
|||
授予权限以更新 Security Hub 标准控件 |
写入 |
Permission-only 的动作 AWS Security Hub
以下操作由 Sec AWS urity Hub 定义,但不能通过任何 API 操作直接调用。它们只能在 IAM 策略声明中用于授予或拒绝权限。
| 操作 | 说明 | 资源类型(* 为必需) | 条件键 | 访问级别 |
|---|---|---|---|---|
授予记录资源传送的权限 |
权限管理,写入 |
|||
授予权限以获取控件的启用和合规性状态、控件的调查发现计数以及 Security Hub 控制台上控件的总体安全性评分 |
读取 |
|||
授予为组织中的账户检索已启用 Security Hub 的区域的权限 |
读取 |
|||
授予权限以检索有关调查发现的聚合统计数据 |
读取 |
|||
授予检索安全评分以及安全标准状态的调查结果计数和控件状态的权限 |
读取 |
|||
授予在组织中检索 Security Hub 覆盖率统计数据的权限 |
读取 |
|||
授予权限以检索账户免费试用 Security Hub 的结束日期 |
读取 |
|||
授予权限以检索免费试用期内 Security Hub 使用情况的信息 |
读取 |
|||
授予权限以从 Security Hub 检索洞察发现趋势,从而生成图表 |
读取 |
|||
授予权限以按账户检索有关 Security Hub 使用情况的信息 |
读取 |
|||
授予权限以检索有关账户的 Security Hub 使用情况的信息 |
读取 |
|||
授予检索组织中账户的 Security Hub 使用情况列表的权限 |
列表 |
|||
授予检索标准控件列表的权限,包括控件 ID、状态和调查结果计数 |
读取 |
|||
授予使用自定义操作向亚马逊发送 Security Hub 调查结果的权限 EventBridge |
读取 |
|||
授予使用自定义操作向亚马逊发送 Security Hub 见解的权限 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}: $ {账户}: product/$ {公司} /$ {} ProductId |
的条件密钥 AWS Security Hub
AWS Security Hub 定义了以下可以在 IAM 策略Condition元素中使用的条件键。
| 条件键 | 描述 | 类型 |
|---|---|---|
根据在请求中是否具有标签键值对来按照操作筛选访问权限 |
字符串 |
|
根据附加到资源的标签键值对来按操作筛选访问权限 |
字符串 |
|
根据在请求中是否具有标签键来按操作筛选访问权限 |
ArrayOfString |
|
根据请求中的指定字段和值筛选访问权限 |
字符串 |
|
根据请求中的指定字段和值筛选访问权限 |
字符串 |
|
按请求中指定的 AwsAccountId 字段筛选访问权限 |
字符串 |