Securityhub

This page documents function available when using the Securityhub module, created with @service Securityhub.

Index

Documentation

Main.Securityhub.accept_administrator_invitationMethod
accept_administrator_invitation(administrator_id, invitation_id)
accept_administrator_invitation(administrator_id, invitation_id, params::Dict{String,<:Any})

Accepts the invitation to be a member account and be monitored by the Security Hub administrator account that the invitation was sent from. This operation is only used by member accounts that are not added through Organizations. When the member account accepts the invitation, permission is granted to the administrator account to view findings generated in the member account.

Arguments

  • administrator_id: The account ID of the Security Hub administrator account that sent the invitation.
  • invitation_id: The identifier of the invitation sent from the Security Hub administrator account.
source
Main.Securityhub.accept_invitationMethod
accept_invitation(invitation_id, master_id)
accept_invitation(invitation_id, master_id, params::Dict{String,<:Any})

This method is deprecated. Instead, use AcceptAdministratorInvitation. The Security Hub console continues to use AcceptInvitation. It will eventually change to use AcceptAdministratorInvitation. Any IAM policies that specifically control access to this function must continue to use AcceptInvitation. You should also add AcceptAdministratorInvitation to your policies to ensure that the correct permissions are in place after the console begins to use AcceptAdministratorInvitation. Accepts the invitation to be a member account and be monitored by the Security Hub administrator account that the invitation was sent from. This operation is only used by member accounts that are not added through Organizations. When the member account accepts the invitation, permission is granted to the administrator account to view findings generated in the member account.

Arguments

  • invitation_id: The identifier of the invitation sent from the Security Hub administrator account.
  • master_id: The account ID of the Security Hub administrator account that sent the invitation.
source
Main.Securityhub.batch_delete_automation_rulesMethod
batch_delete_automation_rules(automation_rules_arns)
batch_delete_automation_rules(automation_rules_arns, params::Dict{String,<:Any})

Deletes one or more automation rules.

Arguments

  • automation_rules_arns: A list of Amazon Resource Names (ARNs) for the rules that are to be deleted.
source
Main.Securityhub.batch_disable_standardsMethod
batch_disable_standards(standards_subscription_arns)
batch_disable_standards(standards_subscription_arns, params::Dict{String,<:Any})

Disables the standards specified by the provided StandardsSubscriptionArns. For more information, see Security Standards section of the Security Hub User Guide.

Arguments

  • standards_subscription_arns: The ARNs of the standards subscriptions to disable.
source
Main.Securityhub.batch_enable_standardsMethod
batch_enable_standards(standards_subscription_requests)
batch_enable_standards(standards_subscription_requests, params::Dict{String,<:Any})

Enables the standards specified by the provided StandardsArn. To obtain the ARN for a standard, use the DescribeStandards operation. For more information, see the Security Standards section of the Security Hub User Guide.

Arguments

  • standards_subscription_requests: The list of standards checks to enable.
source
Main.Securityhub.batch_get_automation_rulesMethod
batch_get_automation_rules(automation_rules_arns)
batch_get_automation_rules(automation_rules_arns, params::Dict{String,<:Any})

Retrieves a list of details for automation rules based on rule Amazon Resource Names (ARNs).

Arguments

  • automation_rules_arns: A list of rule ARNs to get details for.
source
Main.Securityhub.batch_get_security_controlsMethod
batch_get_security_controls(security_control_ids)
batch_get_security_controls(security_control_ids, params::Dict{String,<:Any})

Provides details about a batch of security controls for the current Amazon Web Services account and Amazon Web Services Region.

Arguments

  • security_control_ids: A list of security controls (identified with SecurityControlId, SecurityControlArn, or a mix of both parameters). The security control ID or Amazon Resource Name (ARN) is the same across standards.
source
Main.Securityhub.batch_get_standards_control_associationsMethod
batch_get_standards_control_associations(standards_control_association_ids)
batch_get_standards_control_associations(standards_control_association_ids, params::Dict{String,<:Any})

For a batch of security controls and standards, identifies whether each control is currently enabled or disabled in a standard.

Arguments

  • standards_control_association_ids: An array with one or more objects that includes a security control (identified with SecurityControlId, SecurityControlArn, or a mix of both parameters) and the Amazon Resource Name (ARN) of a standard. This field is used to query the enablement status of a control in a specified standard. The security control ID or ARN is the same across standards.
source
Main.Securityhub.batch_import_findingsMethod
batch_import_findings(findings)
batch_import_findings(findings, params::Dict{String,<:Any})

Imports security findings generated by a finding provider into Security Hub. This action is requested by the finding provider to import its findings into Security Hub. BatchImportFindings must be called by one of the following: The Amazon Web Services account that is associated with a finding if you are using the default product ARN or are a partner sending findings from within a customer's Amazon Web Services account. In these cases, the identifier of the account that you are calling BatchImportFindings from needs to be the same as the AwsAccountId attribute for the finding. An Amazon Web Services account that Security Hub has allow-listed for an official partner integration. In this case, you can call BatchImportFindings from the allow-listed account and send findings from different customer accounts in the same batch. The maximum allowed size for a finding is 240 Kb. An error is returned for any finding larger than 240 Kb. After a finding is created, BatchImportFindings cannot be used to update the following finding fields and objects, which Security Hub customers use to manage their investigation workflow. Note UserDefinedFields VerificationState Workflow Finding providers also should not use BatchImportFindings to update the following attributes. Confidence Criticality RelatedFindings Severity Types Instead, finding providers use FindingProviderFields to provide values for these attributes.

Arguments

  • findings: A list of findings to import. To successfully import a finding, it must follow the Amazon Web Services Security Finding Format. Maximum of 100 findings per request.
source
Main.Securityhub.batch_update_automation_rulesMethod
batch_update_automation_rules(update_automation_rules_request_items)
batch_update_automation_rules(update_automation_rules_request_items, params::Dict{String,<:Any})

Updates one or more automation rules based on rule Amazon Resource Names (ARNs) and input parameters.

Arguments

  • update_automation_rules_request_items: An array of ARNs for the rules that are to be updated. Optionally, you can also include RuleStatus and RuleOrder.
source
Main.Securityhub.batch_update_findingsMethod
batch_update_findings(finding_identifiers)
batch_update_findings(finding_identifiers, params::Dict{String,<:Any})

Used by Security Hub customers to update information about their investigation into a finding. Requested by administrator accounts or member accounts. Administrator accounts can update findings for their account and their member accounts. Member accounts can update findings for their account. Updates from BatchUpdateFindings do not affect the value of UpdatedAt for a finding. Administrator and member accounts can use BatchUpdateFindings to update the following finding fields and objects. Confidence Criticality Note RelatedFindings Severity Types UserDefinedFields VerificationState Workflow You can configure IAM policies to restrict access to fields and field values. For example, you might not want member accounts to be able to suppress findings or change the finding severity. See Configuring access to BatchUpdateFindings in the Security Hub User Guide.

Arguments

  • finding_identifiers: The list of findings to update. BatchUpdateFindings can be used to update up to 100 findings at a time. For each finding, the list provides the finding identifier and the ARN of the finding provider.

Optional Parameters

Optional parameters can be passed as a params::Dict{String,<:Any}. Valid keys are:

  • "Confidence": The updated value for the finding confidence. Confidence is defined as the likelihood that a finding accurately identifies the behavior or issue that it was intended to identify. Confidence is scored on a 0-100 basis using a ratio scale, where 0 means zero percent confidence and 100 means 100 percent confidence.
  • "Criticality": The updated value for the level of importance assigned to the resources associated with the findings. A score of 0 means that the underlying resources have no criticality, and a score of 100 is reserved for the most critical resources.
  • "Note":
  • "RelatedFindings": A list of findings that are related to the updated findings.
  • "Severity": Used to update the finding severity.
  • "Types": One or more finding types in the format of namespace/category/classifier that classify a finding. Valid namespace values are as follows. Software and Configuration Checks TTPs Effects Unusual Behaviors Sensitive Data Identifications
  • "UserDefinedFields": A list of name/value string pairs associated with the finding. These are custom, user-defined fields added to a finding.
  • "VerificationState": Indicates the veracity of a finding. The available values for VerificationState are as follows. UNKNOWN – The default disposition of a security finding TRUEPOSITIVE – The security finding is confirmed FALSEPOSITIVE – The security finding was determined to be a false alarm BENIGNPOSITIVE – A special case of TRUEPOSITIVE where the finding doesn't pose any threat, is expected, or both
  • "Workflow": Used to update the workflow status of a finding. The workflow status indicates the progress of the investigation into the finding.
source
Main.Securityhub.batch_update_standards_control_associationsMethod
batch_update_standards_control_associations(standards_control_association_updates)
batch_update_standards_control_associations(standards_control_association_updates, params::Dict{String,<:Any})

For a batch of security controls and standards, this operation updates the enablement status of a control in a standard.

Arguments

  • standards_control_association_updates: Updates the enablement status of a security control in a specified standard.
source
Main.Securityhub.create_action_targetMethod
create_action_target(description, id, name)
create_action_target(description, id, name, params::Dict{String,<:Any})

Creates a custom action target in Security Hub. You can use custom actions on findings and insights in Security Hub to trigger target actions in Amazon CloudWatch Events.

Arguments

  • description: The description for the custom action target.
  • id: The ID for the custom action target. Can contain up to 20 alphanumeric characters.
  • name: The name of the custom action target. Can contain up to 20 characters.
source
Main.Securityhub.create_automation_ruleMethod
create_automation_rule(actions, criteria, description, rule_name, rule_order)
create_automation_rule(actions, criteria, description, rule_name, rule_order, params::Dict{String,<:Any})

Creates an automation rule based on input parameters.

Arguments

  • actions: One or more actions to update finding fields if a finding matches the conditions specified in Criteria.
  • criteria: A set of ASFF finding field attributes and corresponding expected values that Security Hub uses to filter findings. If a finding matches the conditions specified in this parameter, Security Hub applies the rule action to the finding.
  • description: A description of the rule.
  • rule_name: The name of the rule.
  • rule_order: An integer ranging from 1 to 1000 that represents the order in which the rule action is applied to findings. Security Hub applies rules with lower values for this parameter first.

Optional Parameters

Optional parameters can be passed as a params::Dict{String,<:Any}. Valid keys are:

  • "IsTerminal": Specifies whether a rule is the last to be applied with respect to a finding that matches the rule criteria. This is useful when a finding matches the criteria for multiple rules, and each rule has different actions. If the value of this field is set to true for a rule, Security Hub applies the rule action to a finding that matches the rule criteria and won't evaluate other rules for the finding. The default value of this field is false.
  • "RuleStatus": Whether the rule is active after it is created. If this parameter is equal to Enabled, Security Hub will apply the rule to findings and finding updates after the rule is created. To change the value of this parameter after creating a rule, use BatchUpdateAutomationRules.
  • "Tags": User-defined tags that help you label the purpose of a rule.
source
Main.Securityhub.create_finding_aggregatorMethod
create_finding_aggregator(region_linking_mode)
create_finding_aggregator(region_linking_mode, params::Dict{String,<:Any})

Used to enable finding aggregation. Must be called from the aggregation Region. For more details about cross-Region replication, see Configuring finding aggregation in the Security Hub User Guide.

Arguments

  • region_linking_mode: Indicates whether to aggregate findings from all of the available Regions in the current partition. Also determines whether to automatically aggregate findings from new Regions as Security Hub supports them and you opt into them. The selected option also determines how to use the Regions provided in the Regions list. The options are as follows: ALLREGIONS - Indicates to aggregate findings from all of the Regions where Security Hub is enabled. When you choose this option, Security Hub also automatically aggregates findings from new Regions as Security Hub supports them and you opt into them. ALLREGIONSEXCEPTSPECIFIED - Indicates to aggregate findings from all of the Regions where Security Hub is enabled, except for the Regions listed in the Regions parameter. When you choose this option, Security Hub also automatically aggregates findings from new Regions as Security Hub supports them and you opt into them. SPECIFIED_REGIONS - Indicates to aggregate findings only from the Regions listed in the Regions parameter. Security Hub does not automatically aggregate findings from new Regions.

Optional Parameters

Optional parameters can be passed as a params::Dict{String,<:Any}. Valid keys are:

  • "Regions": If RegionLinkingMode is ALLREGIONSEXCEPTSPECIFIED, then this is a space-separated list of Regions that do not aggregate findings to the aggregation Region. If RegionLinkingMode is SPECIFIEDREGIONS, then this is a space-separated list of Regions that do aggregate findings to the aggregation Region.
source
Main.Securityhub.create_insightMethod
create_insight(filters, group_by_attribute, name)
create_insight(filters, group_by_attribute, name, params::Dict{String,<:Any})

Creates a custom insight in Security Hub. An insight is a consolidation of findings that relate to a security issue that requires attention or remediation. To group the related findings in the insight, use the GroupByAttribute.

Arguments

  • filters: One or more attributes used to filter the findings included in the insight. The insight only includes findings that match the criteria defined in the filters.
  • group_by_attribute: The attribute used to group the findings for the insight. The grouping attribute identifies the type of item that the insight applies to. For example, if an insight is grouped by resource identifier, then the insight produces a list of resource identifiers.
  • name: The name of the custom insight to create.
source
Main.Securityhub.create_membersMethod
create_members(account_details)
create_members(account_details, params::Dict{String,<:Any})

Creates a member association in Security Hub between the specified accounts and the account used to make the request, which is the administrator account. If you are integrated with Organizations, then the administrator account is designated by the organization management account. CreateMembers is always used to add accounts that are not organization members. For accounts that are managed using Organizations, CreateMembers is only used in the following cases: Security Hub is not configured to automatically add new organization accounts. The account was disassociated or deleted in Security Hub. This action can only be used by an account that has Security Hub enabled. To enable Security Hub, you can use the EnableSecurityHub operation. For accounts that are not organization members, you create the account association and then send an invitation to the member account. To send the invitation, you use the InviteMembers operation. If the account owner accepts the invitation, the account becomes a member account in Security Hub. Accounts that are managed using Organizations do not receive an invitation. They automatically become a member account in Security Hub. If the organization account does not have Security Hub enabled, then Security Hub and the default standards are automatically enabled. Note that Security Hub cannot be enabled automatically for the organization management account. The organization management account must enable Security Hub before the administrator account enables it as a member account. For organization accounts that already have Security Hub enabled, Security Hub does not make any other changes to those accounts. It does not change their enabled standards or controls. A permissions policy is added that permits the administrator account to view the findings generated in the member account. To remove the association between the administrator and member accounts, use the DisassociateFromMasterAccount or DisassociateMembers operation.

Arguments

  • account_details: The list of accounts to associate with the Security Hub administrator account. For each account, the list includes the account ID and optionally the email address.
source
Main.Securityhub.decline_invitationsMethod
decline_invitations(account_ids)
decline_invitations(account_ids, params::Dict{String,<:Any})

Declines invitations to become a member account. A prospective member account uses this operation to decline an invitation to become a member. This operation is only called by member accounts that aren't part of an organization. Organization accounts don't receive invitations.

Arguments

  • account_ids: The list of prospective member account IDs for which to decline an invitation.
source
Main.Securityhub.delete_action_targetMethod
delete_action_target(action_target_arn)
delete_action_target(action_target_arn, params::Dict{String,<:Any})

Deletes a custom action target from Security Hub. Deleting a custom action target does not affect any findings or insights that were already sent to Amazon CloudWatch Events using the custom action.

Arguments

  • action_target_arn: The Amazon Resource Name (ARN) of the custom action target to delete.
source
Main.Securityhub.delete_finding_aggregatorMethod
delete_finding_aggregator(finding_aggregator_arn)
delete_finding_aggregator(finding_aggregator_arn, params::Dict{String,<:Any})

Deletes a finding aggregator. When you delete the finding aggregator, you stop finding aggregation. When you stop finding aggregation, findings that were already aggregated to the aggregation Region are still visible from the aggregation Region. New findings and finding updates are not aggregated.

Arguments

  • finding_aggregator_arn: The ARN of the finding aggregator to delete. To obtain the ARN, use ListFindingAggregators.
source
Main.Securityhub.delete_insightMethod
delete_insight(insight_arn)
delete_insight(insight_arn, params::Dict{String,<:Any})

Deletes the insight specified by the InsightArn.

Arguments

  • insight_arn: The ARN of the insight to delete.
source
Main.Securityhub.delete_invitationsMethod
delete_invitations(account_ids)
delete_invitations(account_ids, params::Dict{String,<:Any})

Deletes invitations received by the Amazon Web Services account to become a member account. A Security Hub administrator account can use this operation to delete invitations sent to one or more member accounts. This operation is only used to delete invitations that are sent to member accounts that aren't part of an organization. Organization accounts don't receive invitations.

Arguments

  • account_ids: The list of member account IDs that received the invitations you want to delete.
source
Main.Securityhub.delete_membersMethod
delete_members(account_ids)
delete_members(account_ids, params::Dict{String,<:Any})

Deletes the specified member accounts from Security Hub. Can be used to delete member accounts that belong to an organization as well as member accounts that were invited manually.

Arguments

  • account_ids: The list of account IDs for the member accounts to delete.
source
Main.Securityhub.describe_action_targetsMethod
describe_action_targets()
describe_action_targets(params::Dict{String,<:Any})

Returns a list of the custom action targets in Security Hub in your account.

Optional Parameters

Optional parameters can be passed as a params::Dict{String,<:Any}. Valid keys are:

  • "ActionTargetArns": A list of custom action target ARNs for the custom action targets to retrieve.
  • "MaxResults": The maximum number of results to return.
  • "NextToken": The token that is required for pagination. On your first call to the DescribeActionTargets operation, set the value of this parameter to NULL. For subsequent calls to the operation, to continue listing data, set the value of this parameter to the value returned from the previous response.
source
Main.Securityhub.describe_hubMethod
describe_hub()
describe_hub(params::Dict{String,<:Any})

Returns details about the Hub resource in your account, including the HubArn and the time when you enabled Security Hub.

Optional Parameters

Optional parameters can be passed as a params::Dict{String,<:Any}. Valid keys are:

  • "HubArn": The ARN of the Hub resource to retrieve.
source
Main.Securityhub.describe_organization_configurationMethod
describe_organization_configuration()
describe_organization_configuration(params::Dict{String,<:Any})

Returns information about the Organizations configuration for Security Hub. Can only be called from a Security Hub administrator account.

source
Main.Securityhub.describe_productsMethod
describe_products()
describe_products(params::Dict{String,<:Any})

Returns information about product integrations in Security Hub. You can optionally provide an integration ARN. If you provide an integration ARN, then the results only include that integration. If you do not provide an integration ARN, then the results include all of the available product integrations.

Optional Parameters

Optional parameters can be passed as a params::Dict{String,<:Any}. Valid keys are:

  • "MaxResults": The maximum number of results to return.
  • "NextToken": The token that is required for pagination. On your first call to the DescribeProducts operation, set the value of this parameter to NULL. For subsequent calls to the operation, to continue listing data, set the value of this parameter to the value returned from the previous response.
  • "ProductArn": The ARN of the integration to return.
source
Main.Securityhub.describe_standardsMethod
describe_standards()
describe_standards(params::Dict{String,<:Any})

Returns a list of the available standards in Security Hub. For each standard, the results include the standard ARN, the name, and a description.

Optional Parameters

Optional parameters can be passed as a params::Dict{String,<:Any}. Valid keys are:

  • "MaxResults": The maximum number of standards to return.
  • "NextToken": The token that is required for pagination. On your first call to the DescribeStandards operation, set the value of this parameter to NULL. For subsequent calls to the operation, to continue listing data, set the value of this parameter to the value returned from the previous response.
source
Main.Securityhub.describe_standards_controlsMethod
describe_standards_controls(standards_subscription_arn)
describe_standards_controls(standards_subscription_arn, params::Dict{String,<:Any})

Returns a list of security standards controls. For each control, the results include information about whether it is currently enabled, the severity, and a link to remediation information.

Arguments

  • standards_subscription_arn: The ARN of a resource that represents your subscription to a supported standard. To get the subscription ARNs of the standards you have enabled, use the GetEnabledStandards operation.

Optional Parameters

Optional parameters can be passed as a params::Dict{String,<:Any}. Valid keys are:

  • "MaxResults": The maximum number of security standard controls to return.
  • "NextToken": The token that is required for pagination. On your first call to the DescribeStandardsControls operation, set the value of this parameter to NULL. For subsequent calls to the operation, to continue listing data, set the value of this parameter to the value returned from the previous response.
source
Main.Securityhub.disable_import_findings_for_productMethod
disable_import_findings_for_product(product_subscription_arn)
disable_import_findings_for_product(product_subscription_arn, params::Dict{String,<:Any})

Disables the integration of the specified product with Security Hub. After the integration is disabled, findings from that product are no longer sent to Security Hub.

Arguments

  • product_subscription_arn: The ARN of the integrated product to disable the integration for.
source
Main.Securityhub.disable_organization_admin_accountMethod
disable_organization_admin_account(admin_account_id)
disable_organization_admin_account(admin_account_id, params::Dict{String,<:Any})

Disables a Security Hub administrator account. Can only be called by the organization management account.

Arguments

  • admin_account_id: The Amazon Web Services account identifier of the Security Hub administrator account.
source
Main.Securityhub.disable_security_hubMethod
disable_security_hub()
disable_security_hub(params::Dict{String,<:Any})

Disables Security Hub in your account only in the current Region. To disable Security Hub in all Regions, you must submit one request per Region where you have enabled Security Hub. When you disable Security Hub for an administrator account, it doesn't disable Security Hub for any associated member accounts. When you disable Security Hub, your existing findings and insights and any Security Hub configuration settings are deleted after 90 days and cannot be recovered. Any standards that were enabled are disabled, and your administrator and member account associations are removed. If you want to save your existing findings, you must export them before you disable Security Hub.

source
Main.Securityhub.disassociate_from_administrator_accountMethod
disassociate_from_administrator_account()
disassociate_from_administrator_account(params::Dict{String,<:Any})

Disassociates the current Security Hub member account from the associated administrator account. This operation is only used by accounts that are not part of an organization. For organization accounts, only the administrator account can disassociate a member account.

source
Main.Securityhub.disassociate_from_master_accountMethod
disassociate_from_master_account()
disassociate_from_master_account(params::Dict{String,<:Any})

This method is deprecated. Instead, use DisassociateFromAdministratorAccount. The Security Hub console continues to use DisassociateFromMasterAccount. It will eventually change to use DisassociateFromAdministratorAccount. Any IAM policies that specifically control access to this function must continue to use DisassociateFromMasterAccount. You should also add DisassociateFromAdministratorAccount to your policies to ensure that the correct permissions are in place after the console begins to use DisassociateFromAdministratorAccount. Disassociates the current Security Hub member account from the associated administrator account. This operation is only used by accounts that are not part of an organization. For organization accounts, only the administrator account can disassociate a member account.

source
Main.Securityhub.disassociate_membersMethod
disassociate_members(account_ids)
disassociate_members(account_ids, params::Dict{String,<:Any})

Disassociates the specified member accounts from the associated administrator account. Can be used to disassociate both accounts that are managed using Organizations and accounts that were invited manually.

Arguments

  • account_ids: The account IDs of the member accounts to disassociate from the administrator account.
source
Main.Securityhub.enable_import_findings_for_productMethod
enable_import_findings_for_product(product_arn)
enable_import_findings_for_product(product_arn, params::Dict{String,<:Any})

Enables the integration of a partner product with Security Hub. Integrated products send findings to Security Hub. When you enable a product integration, a permissions policy that grants permission for the product to send findings to Security Hub is applied.

Arguments

  • product_arn: The ARN of the product to enable the integration for.
source
Main.Securityhub.enable_organization_admin_accountMethod
enable_organization_admin_account(admin_account_id)
enable_organization_admin_account(admin_account_id, params::Dict{String,<:Any})

Designates the Security Hub administrator account for an organization. Can only be called by the organization management account.

Arguments

  • admin_account_id: The Amazon Web Services account identifier of the account to designate as the Security Hub administrator account.
source
Main.Securityhub.enable_security_hubMethod
enable_security_hub()
enable_security_hub(params::Dict{String,<:Any})

Enables Security Hub for your account in the current Region or the Region you specify in the request. When you enable Security Hub, you grant to Security Hub the permissions necessary to gather findings from other services that are integrated with Security Hub. When you use the EnableSecurityHub operation to enable Security Hub, you also automatically enable the following standards: Center for Internet Security (CIS) Amazon Web Services Foundations Benchmark v1.2.0 Amazon Web Services Foundational Security Best Practices Other standards are not automatically enabled. To opt out of automatically enabled standards, set EnableDefaultStandards to false. After you enable Security Hub, to enable a standard, use the BatchEnableStandards operation. To disable a standard, use the BatchDisableStandards operation. To learn more, see the setup information in the Security Hub User Guide.

Optional Parameters

Optional parameters can be passed as a params::Dict{String,<:Any}. Valid keys are:

  • "ControlFindingGenerator": This field, used when enabling Security Hub, specifies whether the calling account has consolidated control findings turned on. If the value for this field is set to SECURITYCONTROL, Security Hub generates a single finding for a control check even when the check applies to multiple enabled standards. If the value for this field is set to STANDARDCONTROL, Security Hub generates separate findings for a control check when the check applies to multiple enabled standards. The value for this field in a member account matches the value in the administrator account. For accounts that aren't part of an organization, the default value of this field is SECURITY_CONTROL if you enabled Security Hub on or after February 23, 2023.
  • "EnableDefaultStandards": Whether to enable the security standards that Security Hub has designated as automatically enabled. If you do not provide a value for EnableDefaultStandards, it is set to true. To not enable the automatically enabled standards, set EnableDefaultStandards to false.
  • "Tags": The tags to add to the hub resource when you enable Security Hub.
source
Main.Securityhub.get_administrator_accountMethod
get_administrator_account()
get_administrator_account(params::Dict{String,<:Any})

Provides the details for the Security Hub administrator account for the current member account. Can be used by both member accounts that are managed using Organizations and accounts that were invited manually.

source
Main.Securityhub.get_enabled_standardsMethod
get_enabled_standards()
get_enabled_standards(params::Dict{String,<:Any})

Returns a list of the standards that are currently enabled.

Optional Parameters

Optional parameters can be passed as a params::Dict{String,<:Any}. Valid keys are:

  • "MaxResults": The maximum number of results to return in the response.
  • "NextToken": The token that is required for pagination. On your first call to the GetEnabledStandards operation, set the value of this parameter to NULL. For subsequent calls to the operation, to continue listing data, set the value of this parameter to the value returned from the previous response.
  • "StandardsSubscriptionArns": The list of the standards subscription ARNs for the standards to retrieve.
source
Main.Securityhub.get_finding_aggregatorMethod
get_finding_aggregator(finding_aggregator_arn)
get_finding_aggregator(finding_aggregator_arn, params::Dict{String,<:Any})

Returns the current finding aggregation configuration.

Arguments

  • finding_aggregator_arn: The ARN of the finding aggregator to return details for. To obtain the ARN, use ListFindingAggregators.
source
Main.Securityhub.get_finding_historyMethod
get_finding_history(finding_identifier)
get_finding_history(finding_identifier, params::Dict{String,<:Any})

Returns history for a Security Hub finding in the last 90 days. The history includes changes made to any fields in the Amazon Web Services Security Finding Format (ASFF).

Arguments

  • finding_identifier:

Optional Parameters

Optional parameters can be passed as a params::Dict{String,<:Any}. Valid keys are:

  • "EndTime": An ISO 8601-formatted timestamp that indicates the end time of the requested finding history. A correctly formatted example is 2020-05-21T20:16:34.724Z. The value cannot contain spaces, and date and time should be separated by T. For more information, see RFC 3339 section 5.6, Internet Date/Time Format. If you provide values for both StartTime and EndTime, Security Hub returns finding history for the specified time period. If you provide a value for StartTime but not for EndTime, Security Hub returns finding history from the StartTime to the time at which the API is called. If you provide a value for EndTime but not for StartTime, Security Hub returns finding history from the CreatedAt timestamp of the finding to the EndTime. If you provide neither StartTime nor EndTime, Security Hub returns finding history from the CreatedAt timestamp of the finding to the time at which the API is called. In all of these scenarios, the response is limited to 100 results, and the maximum time period is limited to 90 days.
  • "MaxResults": The maximum number of results to be returned. If you don’t provide it, Security Hub returns up to 100 results of finding history.
  • "NextToken": A token for pagination purposes. Provide NULL as the initial value. In subsequent requests, provide the token included in the response to get up to an additional 100 results of finding history. If you don’t provide NextToken, Security Hub returns up to 100 results of finding history for each request.
  • "StartTime": An ISO 8601-formatted timestamp that indicates the start time of the requested finding history. A correctly formatted example is 2020-05-21T20:16:34.724Z. The value cannot contain spaces, and date and time should be separated by T. For more information, see RFC 3339 section 5.6, Internet Date/Time Format. If you provide values for both StartTime and EndTime, Security Hub returns finding history for the specified time period. If you provide a value for StartTime but not for EndTime, Security Hub returns finding history from the StartTime to the time at which the API is called. If you provide a value for EndTime but not for StartTime, Security Hub returns finding history from the CreatedAt timestamp of the finding to the EndTime. If you provide neither StartTime nor EndTime, Security Hub returns finding history from the CreatedAt timestamp of the finding to the time at which the API is called. In all of these scenarios, the response is limited to 100 results, and the maximum time period is limited to 90 days.
source
Main.Securityhub.get_findingsMethod
get_findings()
get_findings(params::Dict{String,<:Any})

Returns a list of findings that match the specified criteria. If finding aggregation is enabled, then when you call GetFindings from the aggregation Region, the results include all of the matching findings from both the aggregation Region and the linked Regions.

Optional Parameters

Optional parameters can be passed as a params::Dict{String,<:Any}. Valid keys are:

  • "Filters": The finding attributes used to define a condition to filter the returned findings. You can filter by up to 10 finding attributes. For each attribute, you can provide up to 20 filter values. Note that in the available filter fields, WorkflowState is deprecated. To search for a finding based on its workflow status, use WorkflowStatus.
  • "MaxResults": The maximum number of findings to return.
  • "NextToken": The token that is required for pagination. On your first call to the GetFindings operation, set the value of this parameter to NULL. For subsequent calls to the operation, to continue listing data, set the value of this parameter to the value returned from the previous response.
  • "SortCriteria": The finding attributes used to sort the list of returned findings.
source
Main.Securityhub.get_insight_resultsMethod
get_insight_results(insight_arn)
get_insight_results(insight_arn, params::Dict{String,<:Any})

Lists the results of the Security Hub insight specified by the insight ARN.

Arguments

  • insight_arn: The ARN of the insight for which to return results.
source
Main.Securityhub.get_insightsMethod
get_insights()
get_insights(params::Dict{String,<:Any})

Lists and describes insights for the specified insight ARNs.

Optional Parameters

Optional parameters can be passed as a params::Dict{String,<:Any}. Valid keys are:

  • "InsightArns": The ARNs of the insights to describe. If you do not provide any insight ARNs, then GetInsights returns all of your custom insights. It does not return any managed insights.
  • "MaxResults": The maximum number of items to return in the response.
  • "NextToken": The token that is required for pagination. On your first call to the GetInsights operation, set the value of this parameter to NULL. For subsequent calls to the operation, to continue listing data, set the value of this parameter to the value returned from the previous response.
source
Main.Securityhub.get_invitations_countMethod
get_invitations_count()
get_invitations_count(params::Dict{String,<:Any})

Returns the count of all Security Hub membership invitations that were sent to the current member account, not including the currently accepted invitation.

source
Main.Securityhub.get_master_accountMethod
get_master_account()
get_master_account(params::Dict{String,<:Any})

This method is deprecated. Instead, use GetAdministratorAccount. The Security Hub console continues to use GetMasterAccount. It will eventually change to use GetAdministratorAccount. Any IAM policies that specifically control access to this function must continue to use GetMasterAccount. You should also add GetAdministratorAccount to your policies to ensure that the correct permissions are in place after the console begins to use GetAdministratorAccount. Provides the details for the Security Hub administrator account for the current member account. Can be used by both member accounts that are managed using Organizations and accounts that were invited manually.

source
Main.Securityhub.get_membersMethod
get_members(account_ids)
get_members(account_ids, params::Dict{String,<:Any})

Returns the details for the Security Hub member accounts for the specified account IDs. An administrator account can be either the delegated Security Hub administrator account for an organization or an administrator account that enabled Security Hub manually. The results include both member accounts that are managed using Organizations and accounts that were invited manually.

Arguments

  • account_ids: The list of account IDs for the Security Hub member accounts to return the details for.
source
Main.Securityhub.invite_membersMethod
invite_members(account_ids)
invite_members(account_ids, params::Dict{String,<:Any})

Invites other Amazon Web Services accounts to become member accounts for the Security Hub administrator account that the invitation is sent from. This operation is only used to invite accounts that do not belong to an organization. Organization accounts do not receive invitations. Before you can use this action to invite a member, you must first use the CreateMembers action to create the member account in Security Hub. When the account owner enables Security Hub and accepts the invitation to become a member account, the administrator account can view the findings generated from the member account.

Arguments

  • account_ids: The list of account IDs of the Amazon Web Services accounts to invite to Security Hub as members.
source
Main.Securityhub.list_automation_rulesMethod
list_automation_rules()
list_automation_rules(params::Dict{String,<:Any})

A list of automation rules and their metadata for the calling account.

Optional Parameters

Optional parameters can be passed as a params::Dict{String,<:Any}. Valid keys are:

  • "MaxResults": The maximum number of rules to return in the response. This currently ranges from 1 to 100.
  • "NextToken": A token to specify where to start paginating the response. This is the NextToken from a previously truncated response. On your first call to the ListAutomationRules API, set the value of this parameter to NULL.
source
Main.Securityhub.list_enabled_products_for_importMethod
list_enabled_products_for_import()
list_enabled_products_for_import(params::Dict{String,<:Any})

Lists all findings-generating solutions (products) that you are subscribed to receive findings from in Security Hub.

Optional Parameters

Optional parameters can be passed as a params::Dict{String,<:Any}. Valid keys are:

  • "MaxResults": The maximum number of items to return in the response.
  • "NextToken": The token that is required for pagination. On your first call to the ListEnabledProductsForImport operation, set the value of this parameter to NULL. For subsequent calls to the operation, to continue listing data, set the value of this parameter to the value returned from the previous response.
source
Main.Securityhub.list_finding_aggregatorsMethod
list_finding_aggregators()
list_finding_aggregators(params::Dict{String,<:Any})

If finding aggregation is enabled, then ListFindingAggregators returns the ARN of the finding aggregator. You can run this operation from any Region.

Optional Parameters

Optional parameters can be passed as a params::Dict{String,<:Any}. Valid keys are:

  • "MaxResults": The maximum number of results to return. This operation currently only returns a single result.
  • "NextToken": The token returned with the previous set of results. Identifies the next set of results to return.
source
Main.Securityhub.list_invitationsMethod
list_invitations()
list_invitations(params::Dict{String,<:Any})

Lists all Security Hub membership invitations that were sent to the current Amazon Web Services account. This operation is only used by accounts that are managed by invitation. Accounts that are managed using the integration with Organizations do not receive invitations.

Optional Parameters

Optional parameters can be passed as a params::Dict{String,<:Any}. Valid keys are:

  • "MaxResults": The maximum number of items to return in the response.
  • "NextToken": The token that is required for pagination. On your first call to the ListInvitations operation, set the value of this parameter to NULL. For subsequent calls to the operation, to continue listing data, set the value of this parameter to the value returned from the previous response.
source
Main.Securityhub.list_membersMethod
list_members()
list_members(params::Dict{String,<:Any})

Lists details about all member accounts for the current Security Hub administrator account. The results include both member accounts that belong to an organization and member accounts that were invited manually.

Optional Parameters

Optional parameters can be passed as a params::Dict{String,<:Any}. Valid keys are:

  • "MaxResults": The maximum number of items to return in the response.
  • "NextToken": The token that is required for pagination. On your first call to the ListMembers operation, set the value of this parameter to NULL. For subsequent calls to the operation, to continue listing data, set the value of this parameter to the value returned from the previous response.
  • "OnlyAssociated": Specifies which member accounts to include in the response based on their relationship status with the administrator account. The default value is TRUE. If OnlyAssociated is set to TRUE, the response includes member accounts whose relationship status with the administrator account is set to ENABLED. If OnlyAssociated is set to FALSE, the response includes all existing member accounts.
source
Main.Securityhub.list_organization_admin_accountsMethod
list_organization_admin_accounts()
list_organization_admin_accounts(params::Dict{String,<:Any})

Lists the Security Hub administrator accounts. Can only be called by the organization management account.

Optional Parameters

Optional parameters can be passed as a params::Dict{String,<:Any}. Valid keys are:

  • "MaxResults": The maximum number of items to return in the response.
  • "NextToken": The token that is required for pagination. On your first call to the ListOrganizationAdminAccounts operation, set the value of this parameter to NULL. For subsequent calls to the operation, to continue listing data, set the value of this parameter to the value returned from the previous response.
source
Main.Securityhub.list_security_control_definitionsMethod
list_security_control_definitions()
list_security_control_definitions(params::Dict{String,<:Any})

Lists all of the security controls that apply to a specified standard.

Optional Parameters

Optional parameters can be passed as a params::Dict{String,<:Any}. Valid keys are:

  • "MaxResults": An optional parameter that limits the total results of the API response to the specified number. If this parameter isn't provided in the request, the results include the first 25 security controls that apply to the specified standard. The results also include a NextToken parameter that you can use in a subsequent API call to get the next 25 controls. This repeats until all controls for the standard are returned.
  • "NextToken": Optional pagination parameter.
  • "StandardsArn": The Amazon Resource Name (ARN) of the standard that you want to view controls for.
source
Main.Securityhub.list_standards_control_associationsMethod
list_standards_control_associations(security_control_id)
list_standards_control_associations(security_control_id, params::Dict{String,<:Any})

Specifies whether a control is currently enabled or disabled in each enabled standard in the calling account.

Arguments

  • security_control_id: The identifier of the control (identified with SecurityControlId, SecurityControlArn, or a mix of both parameters) that you want to determine the enablement status of in each enabled standard.

Optional Parameters

Optional parameters can be passed as a params::Dict{String,<:Any}. Valid keys are:

  • "MaxResults": An optional parameter that limits the total results of the API response to the specified number. If this parameter isn't provided in the request, the results include the first 25 standard and control associations. The results also include a NextToken parameter that you can use in a subsequent API call to get the next 25 associations. This repeats until all associations for the specified control are returned. The number of results is limited by the number of supported Security Hub standards that you've enabled in the calling account.
  • "NextToken": Optional pagination parameter.
source
Main.Securityhub.list_tags_for_resourceMethod
list_tags_for_resource(resource_arn)
list_tags_for_resource(resource_arn, params::Dict{String,<:Any})

Returns a list of tags associated with a resource.

Arguments

  • resource_arn: The ARN of the resource to retrieve tags for.
source
Main.Securityhub.tag_resourceMethod
tag_resource(resource_arn, tags)
tag_resource(resource_arn, tags, params::Dict{String,<:Any})

Adds one or more tags to a resource.

Arguments

  • resource_arn: The ARN of the resource to apply the tags to.
  • tags: The tags to add to the resource. You can add up to 50 tags at a time. The tag keys can be no longer than 128 characters. The tag values can be no longer than 256 characters.
source
Main.Securityhub.untag_resourceMethod
untag_resource(resource_arn, tag_keys)
untag_resource(resource_arn, tag_keys, params::Dict{String,<:Any})

Removes one or more tags from a resource.

Arguments

  • resource_arn: The ARN of the resource to remove the tags from.
  • tag_keys: The tag keys associated with the tags to remove from the resource. You can remove up to 50 tags at a time.
source
Main.Securityhub.update_action_targetMethod
update_action_target(action_target_arn)
update_action_target(action_target_arn, params::Dict{String,<:Any})

Updates the name and description of a custom action target in Security Hub.

Arguments

  • action_target_arn: The ARN of the custom action target to update.

Optional Parameters

Optional parameters can be passed as a params::Dict{String,<:Any}. Valid keys are:

  • "Description": The updated description for the custom action target.
  • "Name": The updated name of the custom action target.
source
Main.Securityhub.update_finding_aggregatorMethod
update_finding_aggregator(finding_aggregator_arn, region_linking_mode)
update_finding_aggregator(finding_aggregator_arn, region_linking_mode, params::Dict{String,<:Any})

Updates the finding aggregation configuration. Used to update the Region linking mode and the list of included or excluded Regions. You cannot use UpdateFindingAggregator to change the aggregation Region. You must run UpdateFindingAggregator from the current aggregation Region.

Arguments

  • finding_aggregator_arn: The ARN of the finding aggregator. To obtain the ARN, use ListFindingAggregators.
  • region_linking_mode: Indicates whether to aggregate findings from all of the available Regions in the current partition. Also determines whether to automatically aggregate findings from new Regions as Security Hub supports them and you opt into them. The selected option also determines how to use the Regions provided in the Regions list. The options are as follows: ALLREGIONS - Indicates to aggregate findings from all of the Regions where Security Hub is enabled. When you choose this option, Security Hub also automatically aggregates findings from new Regions as Security Hub supports them and you opt into them. ALLREGIONSEXCEPTSPECIFIED - Indicates to aggregate findings from all of the Regions where Security Hub is enabled, except for the Regions listed in the Regions parameter. When you choose this option, Security Hub also automatically aggregates findings from new Regions as Security Hub supports them and you opt into them. SPECIFIED_REGIONS - Indicates to aggregate findings only from the Regions listed in the Regions parameter. Security Hub does not automatically aggregate findings from new Regions.

Optional Parameters

Optional parameters can be passed as a params::Dict{String,<:Any}. Valid keys are:

  • "Regions": If RegionLinkingMode is ALLREGIONSEXCEPTSPECIFIED, then this is a space-separated list of Regions that do not aggregate findings to the aggregation Region. If RegionLinkingMode is SPECIFIEDREGIONS, then this is a space-separated list of Regions that do aggregate findings to the aggregation Region.
source
Main.Securityhub.update_findingsMethod
update_findings(filters)
update_findings(filters, params::Dict{String,<:Any})

UpdateFindings is deprecated. Instead of UpdateFindings, use BatchUpdateFindings. Updates the Note and RecordState of the Security Hub-aggregated findings that the filter attributes specify. Any member account that can view the finding also sees the update to the finding.

Arguments

  • filters: A collection of attributes that specify which findings you want to update.

Optional Parameters

Optional parameters can be passed as a params::Dict{String,<:Any}. Valid keys are:

  • "Note": The updated note for the finding.
  • "RecordState": The updated record state for the finding.
source
Main.Securityhub.update_insightMethod
update_insight(insight_arn)
update_insight(insight_arn, params::Dict{String,<:Any})

Updates the Security Hub insight identified by the specified insight ARN.

Arguments

  • insight_arn: The ARN of the insight that you want to update.

Optional Parameters

Optional parameters can be passed as a params::Dict{String,<:Any}. Valid keys are:

  • "Filters": The updated filters that define this insight.
  • "GroupByAttribute": The updated GroupBy attribute that defines this insight.
  • "Name": The updated name for the insight.
source
Main.Securityhub.update_organization_configurationMethod
update_organization_configuration(auto_enable)
update_organization_configuration(auto_enable, params::Dict{String,<:Any})

Used to update the configuration related to Organizations. Can only be called from a Security Hub administrator account.

Arguments

  • auto_enable: Whether to automatically enable Security Hub for new accounts in the organization. By default, this is false, and new accounts are not added automatically. To automatically enable Security Hub for new accounts, set this to true.

Optional Parameters

Optional parameters can be passed as a params::Dict{String,<:Any}. Valid keys are:

  • "AutoEnableStandards": Whether to automatically enable Security Hub default standards for new member accounts in the organization. By default, this parameter is equal to DEFAULT, and new member accounts are automatically enabled with default Security Hub standards. To opt out of enabling default standards for new member accounts, set this parameter equal to NONE.
source
Main.Securityhub.update_security_hub_configurationMethod
update_security_hub_configuration()
update_security_hub_configuration(params::Dict{String,<:Any})

Updates configuration options for Security Hub.

Optional Parameters

Optional parameters can be passed as a params::Dict{String,<:Any}. Valid keys are:

  • "AutoEnableControls": Whether to automatically enable new controls when they are added to standards that are enabled. By default, this is set to true, and new controls are enabled automatically. To not automatically enable new controls, set this to false.
  • "ControlFindingGenerator": Updates whether the calling account has consolidated control findings turned on. If the value for this field is set to SECURITYCONTROL, Security Hub generates a single finding for a control check even when the check applies to multiple enabled standards. If the value for this field is set to STANDARDCONTROL, Security Hub generates separate findings for a control check when the check applies to multiple enabled standards. For accounts that are part of an organization, this value can only be updated in the administrator account.
source
Main.Securityhub.update_standards_controlMethod
update_standards_control(standards_control_arn)
update_standards_control(standards_control_arn, params::Dict{String,<:Any})

Used to control whether an individual security standard control is enabled or disabled.

Arguments

  • standards_control_arn: The ARN of the security standard control to enable or disable.

Optional Parameters

Optional parameters can be passed as a params::Dict{String,<:Any}. Valid keys are:

  • "ControlStatus": The updated status of the security standard control.
  • "DisabledReason": A description of the reason why you are disabling a security standard control. If you are disabling a control, then this is required.
source