Securityhub
This page documents function available when using the Securityhub
module, created with @service Securityhub
.
Index
Main.Securityhub.accept_administrator_invitation
Main.Securityhub.accept_invitation
Main.Securityhub.batch_delete_automation_rules
Main.Securityhub.batch_disable_standards
Main.Securityhub.batch_enable_standards
Main.Securityhub.batch_get_automation_rules
Main.Securityhub.batch_get_configuration_policy_associations
Main.Securityhub.batch_get_security_controls
Main.Securityhub.batch_get_standards_control_associations
Main.Securityhub.batch_import_findings
Main.Securityhub.batch_update_automation_rules
Main.Securityhub.batch_update_findings
Main.Securityhub.batch_update_standards_control_associations
Main.Securityhub.create_action_target
Main.Securityhub.create_automation_rule
Main.Securityhub.create_configuration_policy
Main.Securityhub.create_finding_aggregator
Main.Securityhub.create_insight
Main.Securityhub.create_members
Main.Securityhub.decline_invitations
Main.Securityhub.delete_action_target
Main.Securityhub.delete_configuration_policy
Main.Securityhub.delete_finding_aggregator
Main.Securityhub.delete_insight
Main.Securityhub.delete_invitations
Main.Securityhub.delete_members
Main.Securityhub.describe_action_targets
Main.Securityhub.describe_hub
Main.Securityhub.describe_organization_configuration
Main.Securityhub.describe_products
Main.Securityhub.describe_standards
Main.Securityhub.describe_standards_controls
Main.Securityhub.disable_import_findings_for_product
Main.Securityhub.disable_organization_admin_account
Main.Securityhub.disable_security_hub
Main.Securityhub.disassociate_from_administrator_account
Main.Securityhub.disassociate_from_master_account
Main.Securityhub.disassociate_members
Main.Securityhub.enable_import_findings_for_product
Main.Securityhub.enable_organization_admin_account
Main.Securityhub.enable_security_hub
Main.Securityhub.get_administrator_account
Main.Securityhub.get_configuration_policy
Main.Securityhub.get_configuration_policy_association
Main.Securityhub.get_enabled_standards
Main.Securityhub.get_finding_aggregator
Main.Securityhub.get_finding_history
Main.Securityhub.get_findings
Main.Securityhub.get_insight_results
Main.Securityhub.get_insights
Main.Securityhub.get_invitations_count
Main.Securityhub.get_master_account
Main.Securityhub.get_members
Main.Securityhub.get_security_control_definition
Main.Securityhub.invite_members
Main.Securityhub.list_automation_rules
Main.Securityhub.list_configuration_policies
Main.Securityhub.list_configuration_policy_associations
Main.Securityhub.list_enabled_products_for_import
Main.Securityhub.list_finding_aggregators
Main.Securityhub.list_invitations
Main.Securityhub.list_members
Main.Securityhub.list_organization_admin_accounts
Main.Securityhub.list_security_control_definitions
Main.Securityhub.list_standards_control_associations
Main.Securityhub.list_tags_for_resource
Main.Securityhub.start_configuration_policy_association
Main.Securityhub.start_configuration_policy_disassociation
Main.Securityhub.tag_resource
Main.Securityhub.untag_resource
Main.Securityhub.update_action_target
Main.Securityhub.update_configuration_policy
Main.Securityhub.update_finding_aggregator
Main.Securityhub.update_findings
Main.Securityhub.update_insight
Main.Securityhub.update_organization_configuration
Main.Securityhub.update_security_control
Main.Securityhub.update_security_hub_configuration
Main.Securityhub.update_standards_control
Documentation
Main.Securityhub.accept_administrator_invitation
— Methodaccept_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.
Main.Securityhub.accept_invitation
— Methodaccept_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.
Main.Securityhub.batch_delete_automation_rules
— Methodbatch_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.
Main.Securityhub.batch_disable_standards
— Methodbatch_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.
Main.Securityhub.batch_enable_standards
— Methodbatch_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.
Main.Securityhub.batch_get_automation_rules
— Methodbatch_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.
Main.Securityhub.batch_get_configuration_policy_associations
— Methodbatch_get_configuration_policy_associations(configuration_policy_association_identifiers)
batch_get_configuration_policy_associations(configuration_policy_association_identifiers, params::Dict{String,<:Any})
Returns associations between an Security Hub configuration and a batch of target accounts, organizational units, or the root. Only the Security Hub delegated administrator can invoke this operation from the home Region. A configuration can refer to a configuration policy or to a self-managed configuration.
Arguments
configuration_policy_association_identifiers
: Specifies one or more target account IDs, organizational unit (OU) IDs, or the root ID to retrieve associations for.
Main.Securityhub.batch_get_security_controls
— Methodbatch_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.
Main.Securityhub.batch_get_standards_control_associations
— Methodbatch_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.
Main.Securityhub.batch_import_findings
— Methodbatch_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.
Main.Securityhub.batch_update_automation_rules
— Methodbatch_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.
Main.Securityhub.batch_update_findings
— Methodbatch_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.
Main.Securityhub.batch_update_standards_control_associations
— Methodbatch_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.
Main.Securityhub.create_action_target
— Methodcreate_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.
Main.Securityhub.create_automation_rule
— Methodcreate_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 rule is enabled and 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 a rule is terminal, Security Hub applies the rule action to a finding that matches the rule criteria and doesn't evaluate other rules for the finding. By default, a rule isn't terminal."RuleStatus"
: Whether the rule is active after it is created. If this parameter is equal to ENABLED, Security Hub starts applying 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 associated with an automation rule.
Main.Securityhub.create_configuration_policy
— Methodcreate_configuration_policy(configuration_policy, name)
create_configuration_policy(configuration_policy, name, params::Dict{String,<:Any})
Creates a configuration policy with the defined configuration. Only the Security Hub delegated administrator can invoke this operation from the home Region.
Arguments
configuration_policy
: An object that defines how Security Hub is configured. It includes whether Security Hub is enabled or disabled, a list of enabled security standards, a list of enabled or disabled security controls, and a list of custom parameter values for specified controls. If you provide a list of security controls that are enabled in the configuration policy, Security Hub disables all other controls (including newly released controls). If you provide a list of security controls that are disabled in the configuration policy, Security Hub enables all other controls (including newly released controls).name
: The name of the configuration policy. Alphanumeric characters and the following ASCII characters are permitted: -, ., !, *, /.
Optional Parameters
Optional parameters can be passed as a params::Dict{String,<:Any}
. Valid keys are:
"Description"
: The description of the configuration policy."Tags"
: User-defined tags associated with a configuration policy. For more information, see Tagging Security Hub resources in the Security Hub user guide.
Main.Securityhub.create_finding_aggregator
— Methodcreate_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.
Main.Securityhub.create_insight
— Methodcreate_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.
Main.Securityhub.create_members
— Methodcreate_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.
Main.Securityhub.decline_invitations
— Methoddecline_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.
Main.Securityhub.delete_action_target
— Methoddelete_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.
Main.Securityhub.delete_configuration_policy
— Methoddelete_configuration_policy(identifier)
delete_configuration_policy(identifier, params::Dict{String,<:Any})
Deletes a configuration policy. Only the Security Hub delegated administrator can invoke this operation from the home Region. For the deletion to succeed, you must first disassociate a configuration policy from target accounts, organizational units, or the root by invoking the StartConfigurationPolicyDisassociation operation.
Arguments
identifier
: The Amazon Resource Name (ARN) or universally unique identifier (UUID) of the configuration policy.
Main.Securityhub.delete_finding_aggregator
— Methoddelete_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.
Main.Securityhub.delete_insight
— Methoddelete_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.
Main.Securityhub.delete_invitations
— Methoddelete_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.
Main.Securityhub.delete_members
— Methoddelete_members(account_ids)
delete_members(account_ids, params::Dict{String,<:Any})
Deletes the specified member accounts from Security Hub. You can invoke this API only to delete accounts that became members through invitation. You can't invoke this API to delete accounts that belong to an Organizations organization.
Arguments
account_ids
: The list of account IDs for the member accounts to delete.
Main.Securityhub.describe_action_targets
— Methoddescribe_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.
Main.Securityhub.describe_hub
— Methoddescribe_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.
Main.Securityhub.describe_organization_configuration
— Methoddescribe_organization_configuration()
describe_organization_configuration(params::Dict{String,<:Any})
Returns information about the way your organization is configured in Security Hub. Only the Security Hub administrator account can invoke this operation.
Main.Securityhub.describe_products
— Methoddescribe_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.
Main.Securityhub.describe_standards
— Methoddescribe_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.
Main.Securityhub.describe_standards_controls
— Methoddescribe_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.
Main.Securityhub.disable_import_findings_for_product
— Methoddisable_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.
Main.Securityhub.disable_organization_admin_account
— Methoddisable_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.
Main.Securityhub.disable_security_hub
— Methoddisable_security_hub()
disable_security_hub(params::Dict{String,<:Any})
Disables Security Hub in your account only in the current Amazon Web Services Region. To disable Security Hub in all Regions, you must submit one request per Region where you have enabled Security Hub. You can't disable Security Hub in an account that is currently the Security Hub administrator. 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.
Main.Securityhub.disassociate_from_administrator_account
— Methoddisassociate_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.
Main.Securityhub.disassociate_from_master_account
— Methoddisassociate_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.
Main.Securityhub.disassociate_members
— Methoddisassociate_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.
Main.Securityhub.enable_import_findings_for_product
— Methodenable_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.
Main.Securityhub.enable_organization_admin_account
— Methodenable_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.
Main.Securityhub.enable_security_hub
— Methodenable_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.
Main.Securityhub.get_administrator_account
— Methodget_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.
Main.Securityhub.get_configuration_policy
— Methodget_configuration_policy(identifier)
get_configuration_policy(identifier, params::Dict{String,<:Any})
Provides information about a configuration policy. Only the Security Hub delegated administrator can invoke this operation from the home Region.
Arguments
identifier
: The Amazon Resource Name (ARN) or universally unique identifier (UUID) of the configuration policy.
Main.Securityhub.get_configuration_policy_association
— Methodget_configuration_policy_association(target)
get_configuration_policy_association(target, params::Dict{String,<:Any})
Returns the association between a configuration and a target account, organizational unit, or the root. The configuration can be a configuration policy or self-managed behavior. Only the Security Hub delegated administrator can invoke this operation from the home Region.
Arguments
target
: The target account ID, organizational unit ID, or the root ID to retrieve the association for.
Main.Securityhub.get_enabled_standards
— Methodget_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.
Main.Securityhub.get_finding_aggregator
— Methodget_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.
Main.Securityhub.get_finding_history
— Methodget_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. 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. This field accepts only the specified formats. Timestamps can end with Z or ("+" / "-") time-hour [":" time-minute]. The time-secfrac after seconds is limited to a maximum of 9 digits. The offset is bounded by +/-18:00. Here are valid timestamp formats with examples: YYYY-MM-DDTHH:MM:SSZ (for example, 2019-01-31T23:00:00Z) YYYY-MM-DDTHH:MM:SS.mmmmmmmmmZ (for example, 2019-01-31T23:00:00.123456789Z) YYYY-MM-DDTHH:MM:SS+HH:MM (for example, 2024-01-04T15:25:10+17:59) YYYY-MM-DDTHH:MM:SS-HHMM (for example, 2024-01-04T15:25:10-1759) YYYY-MM-DDTHH:MM:SS.mmmmmmmmm+HH:MM (for example, 2024-01-04T15:25:10.123456789+17:59)"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"
: A timestamp that indicates the start time of the requested finding history. 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. This field accepts only the specified formats. Timestamps can end with Z or ("+" / "-") time-hour [":" time-minute]. The time-secfrac after seconds is limited to a maximum of 9 digits. The offset is bounded by +/-18:00. Here are valid timestamp formats with examples: YYYY-MM-DDTHH:MM:SSZ (for example, 2019-01-31T23:00:00Z) YYYY-MM-DDTHH:MM:SS.mmmmmmmmmZ (for example, 2019-01-31T23:00:00.123456789Z) YYYY-MM-DDTHH:MM:SS+HH:MM (for example, 2024-01-04T15:25:10+17:59) YYYY-MM-DDTHH:MM:SS-HHMM (for example, 2024-01-04T15:25:10-1759) YYYY-MM-DDTHH:MM:SS.mmmmmmmmm+HH:MM (for example, 2024-01-04T15:25:10.123456789+17:59)
Main.Securityhub.get_findings
— Methodget_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.
Main.Securityhub.get_insight_results
— Methodget_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.
Main.Securityhub.get_insights
— Methodget_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.
Main.Securityhub.get_invitations_count
— Methodget_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.
Main.Securityhub.get_master_account
— Methodget_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.
Main.Securityhub.get_members
— Methodget_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.
Main.Securityhub.get_security_control_definition
— Methodget_security_control_definition(security_control_id)
get_security_control_definition(security_control_id, params::Dict{String,<:Any})
Retrieves the definition of a security control. The definition includes the control title, description, Region availability, parameter definitions, and other details.
Arguments
security_control_id
: The ID of the security control to retrieve the definition for. This field doesn’t accept an Amazon Resource Name (ARN).
Main.Securityhub.invite_members
— Methodinvite_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.
Main.Securityhub.list_automation_rules
— Methodlist_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.
Main.Securityhub.list_configuration_policies
— Methodlist_configuration_policies()
list_configuration_policies(params::Dict{String,<:Any})
Lists the configuration policies that the Security Hub delegated administrator has created for your organization. Only the delegated administrator can invoke this operation from the home Region.
Optional Parameters
Optional parameters can be passed as a params::Dict{String,<:Any}
. Valid keys are:
"MaxResults"
: The maximum number of results that's returned by ListConfigurationPolicies in each page of the response. When this parameter is used, ListConfigurationPolicies returns the specified number of results in a single page and a NextToken response element. You can see the remaining results of the initial request by sending another ListConfigurationPolicies request with the returned NextToken value. A valid range for MaxResults is between 1 and 100."NextToken"
: The NextToken value that's returned from a previous paginated ListConfigurationPolicies request where MaxResults was used but the results exceeded the value of that parameter. Pagination continues from the MaxResults was used but the results exceeded the value of that parameter. Pagination continues from the end of the previous response that returned the NextToken value. This value is null when there are no more results to return.
Main.Securityhub.list_configuration_policy_associations
— Methodlist_configuration_policy_associations()
list_configuration_policy_associations(params::Dict{String,<:Any})
Provides information about the associations for your configuration policies and self-managed behavior. Only the Security Hub delegated administrator can invoke this operation from the home Region.
Optional Parameters
Optional parameters can be passed as a params::Dict{String,<:Any}
. Valid keys are:
"Filters"
: Options for filtering the ListConfigurationPolicyAssociations response. You can filter by the Amazon Resource Name (ARN) or universally unique identifier (UUID) of a configuration, AssociationType, or AssociationStatus."MaxResults"
: The maximum number of results that's returned by ListConfigurationPolicies in each page of the response. When this parameter is used, ListConfigurationPolicyAssociations returns the specified number of results in a single page and a NextToken response element. You can see the remaining results of the initial request by sending another ListConfigurationPolicyAssociations request with the returned NextToken value. A valid range for MaxResults is between 1 and 100."NextToken"
: The NextToken value that's returned from a previous paginated ListConfigurationPolicyAssociations request where MaxResults was used but the results exceeded the value of that parameter. Pagination continues from the end of the previous response that returned the NextToken value. This value is null when there are no more results to return.
Main.Securityhub.list_enabled_products_for_import
— Methodlist_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.
Main.Securityhub.list_finding_aggregators
— Methodlist_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.
Main.Securityhub.list_invitations
— Methodlist_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.
Main.Securityhub.list_members
— Methodlist_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.
Main.Securityhub.list_organization_admin_accounts
— Methodlist_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.
Main.Securityhub.list_security_control_definitions
— Methodlist_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.
Main.Securityhub.list_standards_control_associations
— Methodlist_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.
Main.Securityhub.list_tags_for_resource
— Methodlist_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.
Main.Securityhub.start_configuration_policy_association
— Methodstart_configuration_policy_association(configuration_policy_identifier, target)
start_configuration_policy_association(configuration_policy_identifier, target, params::Dict{String,<:Any})
Associates a target account, organizational unit, or the root with a specified configuration. The target can be associated with a configuration policy or self-managed behavior. Only the Security Hub delegated administrator can invoke this operation from the home Region.
Arguments
configuration_policy_identifier
: The Amazon Resource Name (ARN) of a configuration policy, the universally unique identifier (UUID) of a configuration policy, or a value of SELFMANAGEDSECURITY_HUB for a self-managed configuration.target
: The identifier of the target account, organizational unit, or the root to associate with the specified configuration.
Main.Securityhub.start_configuration_policy_disassociation
— Methodstart_configuration_policy_disassociation(configuration_policy_identifier)
start_configuration_policy_disassociation(configuration_policy_identifier, params::Dict{String,<:Any})
Disassociates a target account, organizational unit, or the root from a specified configuration. When you disassociate a configuration from its target, the target inherits the configuration of the closest parent. If there’s no configuration to inherit, the target retains its settings but becomes a self-managed account. A target can be disassociated from a configuration policy or self-managed behavior. Only the Security Hub delegated administrator can invoke this operation from the home Region.
Arguments
configuration_policy_identifier
: The Amazon Resource Name (ARN) of a configuration policy, the universally unique identifier (UUID) of a configuration policy, or a value of SELFMANAGEDSECURITY_HUB for a self-managed configuration.
Optional Parameters
Optional parameters can be passed as a params::Dict{String,<:Any}
. Valid keys are:
"Target"
: The identifier of the target account, organizational unit, or the root to disassociate from the specified configuration.
Main.Securityhub.tag_resource
— Methodtag_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.
Main.Securityhub.untag_resource
— Methoduntag_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.
Main.Securityhub.update_action_target
— Methodupdate_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.
Main.Securityhub.update_configuration_policy
— Methodupdate_configuration_policy(identifier)
update_configuration_policy(identifier, params::Dict{String,<:Any})
Updates a configuration policy. Only the Security Hub delegated administrator can invoke this operation from the home Region.
Arguments
identifier
: The Amazon Resource Name (ARN) or universally unique identifier (UUID) of the configuration policy.
Optional Parameters
Optional parameters can be passed as a params::Dict{String,<:Any}
. Valid keys are:
"ConfigurationPolicy"
: An object that defines how Security Hub is configured. It includes whether Security Hub is enabled or disabled, a list of enabled security standards, a list of enabled or disabled security controls, and a list of custom parameter values for specified controls. If you provide a list of security controls that are enabled in the configuration policy, Security Hub disables all other controls (including newly released controls). If you provide a list of security controls that are disabled in the configuration policy, Security Hub enables all other controls (including newly released controls). When updating a configuration policy, provide a complete list of standards that you want to enable and a complete list of controls that you want to enable or disable. The updated configuration replaces the current configuration."Description"
: The description of the configuration policy."Name"
: The name of the configuration policy. Alphanumeric characters and the following ASCII characters are permitted: -, ., !, *, /."UpdatedReason"
: The reason for updating the configuration policy.
Main.Securityhub.update_finding_aggregator
— Methodupdate_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.
Main.Securityhub.update_findings
— Methodupdate_findings(filters)
update_findings(filters, params::Dict{String,<:Any})
UpdateFindings is a deprecated operation. Instead of UpdateFindings, use the BatchUpdateFindings operation. 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. Finding updates made with UpdateFindings might not be persisted if the same finding is later updated by the finding provider through the BatchImportFindings operation.
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.
Main.Securityhub.update_insight
— Methodupdate_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.
Main.Securityhub.update_organization_configuration
— Methodupdate_organization_configuration(auto_enable)
update_organization_configuration(auto_enable, params::Dict{String,<:Any})
Updates the configuration of your organization in Security Hub. Only the Security Hub administrator account can invoke this operation.
Arguments
auto_enable
: Whether to automatically enable Security Hub in new member accounts when they join the organization. If set to true, then Security Hub is automatically enabled in new accounts. If set to false, then Security Hub isn't enabled in new accounts automatically. The default value is false. If the ConfigurationType of your organization is set to CENTRAL, then this field is set to false and can't be changed in the home Region and linked Regions. However, in that case, the delegated administrator can create a configuration policy in which Security Hub is enabled and associate the policy with new organization accounts.
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 in new member accounts when they join the organization. The default value of this parameter is equal to DEFAULT. If equal to DEFAULT, then Security Hub default standards are automatically enabled for new member accounts. If equal to NONE, then default standards are not automatically enabled for new member accounts. If the ConfigurationType of your organization is set to CENTRAL, then this field is set to NONE and can't be changed in the home Region and linked Regions. However, in that case, the delegated administrator can create a configuration policy in which specific security standards are enabled and associate the policy with new organization accounts."OrganizationConfiguration"
:
Main.Securityhub.update_security_control
— Methodupdate_security_control(parameters, security_control_id)
update_security_control(parameters, security_control_id, params::Dict{String,<:Any})
Updates the properties of a security control.
Arguments
parameters
: An object that specifies which security control parameters to update.security_control_id
: The Amazon Resource Name (ARN) or ID of the control to update.
Optional Parameters
Optional parameters can be passed as a params::Dict{String,<:Any}
. Valid keys are:
"LastUpdateReason"
: The most recent reason for updating the properties of the security control. This field accepts alphanumeric characters in addition to white spaces, dashes, and underscores.
Main.Securityhub.update_security_hub_configuration
— Methodupdate_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.
Main.Securityhub.update_standards_control
— Methodupdate_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.