securityhub {paws.security.identity} | R Documentation |
AWS SecurityHub
Description
Security Hub provides you with a comprehensive view of your security state in Amazon Web Services and helps you assess your Amazon Web Services environment against security industry standards and best practices.
Security Hub collects security data across Amazon Web Services accounts, Amazon Web Services, and supported third-party products and helps you analyze your security trends and identify the highest priority security issues.
To help you manage the security state of your organization, Security Hub supports multiple security standards. These include the Amazon Web Services Foundational Security Best Practices (FSBP) standard developed by Amazon Web Services, and external compliance frameworks such as the Center for Internet Security (CIS), the Payment Card Industry Data Security Standard (PCI DSS), and the National Institute of Standards and Technology (NIST). Each standard includes several security controls, each of which represents a security best practice. Security Hub runs checks against security controls and generates control findings to help you assess your compliance against security best practices.
In addition to generating control findings, Security Hub also receives findings from other Amazon Web Services, such as Amazon GuardDuty and Amazon Inspector, and supported third-party products. This gives you a single pane of glass into a variety of security-related issues. You can also send Security Hub findings to other Amazon Web Services and supported third-party products.
Security Hub offers automation features that help you triage and remediate security issues. For example, you can use automation rules to automatically update critical findings when a security check fails. You can also leverage the integration with Amazon EventBridge to trigger automatic responses to specific findings.
This guide, the Security Hub API Reference, provides information about the Security Hub API. This includes supported resources, HTTP methods, parameters, and schemas. If you're new to Security Hub, you might find it helpful to also review the Security Hub User Guide . The user guide explains key concepts and provides procedures that demonstrate how to use Security Hub features. It also provides information about topics such as integrating Security Hub with other Amazon Web Services.
In addition to interacting with Security Hub by making calls to the Security Hub API, you can use a current version of an Amazon Web Services command line tool or SDK. Amazon Web Services provides tools and SDKs that consist of libraries and sample code for various languages and platforms, such as PowerShell, Java, Go, Python, C++, and .NET. These tools and SDKs provide convenient, programmatic access to Security Hub and other Amazon Web Services . They also handle tasks such as signing requests, managing errors, and retrying requests automatically. For information about installing and using the Amazon Web Services tools and SDKs, see Tools to Build on Amazon Web Services.
With the exception of operations that are related to central configuration, Security Hub API requests are executed only in the Amazon Web Services Region that is currently active or in the specific Amazon Web Services Region that you specify in your request. Any configuration or settings change that results from the operation is applied only to that Region. To make the same change in other Regions, call the same API operation in each Region in which you want to apply the change. When you use central configuration, API requests for enabling Security Hub, standards, and controls are executed in the home Region and all linked Regions. For a list of central configuration operations, see the Central configuration terms and concepts section of the Security Hub User Guide.
The following throttling limits apply to Security Hub API operations.
-
batch_enable_standards
-RateLimit
of 1 request per second.BurstLimit
of 1 request per second. -
get_findings
-RateLimit
of 3 requests per second.BurstLimit
of 6 requests per second. -
batch_import_findings
-RateLimit
of 10 requests per second.BurstLimit
of 30 requests per second. -
batch_update_findings
-RateLimit
of 10 requests per second.BurstLimit
of 30 requests per second. -
update_standards_control
-RateLimit
of 1 request per second.BurstLimit
of 5 requests per second. All other operations -
RateLimit
of 10 requests per second.BurstLimit
of 30 requests per second.
Usage
securityhub(
config = list(),
credentials = list(),
endpoint = NULL,
region = NULL
)
Arguments
config |
Optional configuration of credentials, endpoint, and/or region.
|
credentials |
Optional credentials shorthand for the config parameter
|
endpoint |
Optional shorthand for complete URL to use for the constructed client. |
region |
Optional shorthand for AWS Region used in instantiating the client. |
Value
A client for the service. You can call the service's operations using
syntax like svc$operation(...)
, where svc
is the name you've assigned
to the client. The available operations are listed in the
Operations section.
Service syntax
svc <- securityhub( config = list( credentials = list( creds = list( access_key_id = "string", secret_access_key = "string", session_token = "string" ), profile = "string", anonymous = "logical" ), endpoint = "string", region = "string", close_connection = "logical", timeout = "numeric", s3_force_path_style = "logical", sts_regional_endpoint = "string" ), credentials = list( creds = list( access_key_id = "string", secret_access_key = "string", session_token = "string" ), profile = "string", anonymous = "logical" ), endpoint = "string", region = "string" )
Operations
accept_administrator_invitation | Accepts the invitation to be a member account and be monitored by the Security Hub administrator account that the invitation was sent from |
accept_invitation | This method is deprecated |
batch_delete_automation_rules | Deletes one or more automation rules |
batch_disable_standards | Disables the standards specified by the provided StandardsSubscriptionArns |
batch_enable_standards | Enables the standards specified by the provided StandardsArn |
batch_get_automation_rules | Retrieves a list of details for automation rules based on rule Amazon Resource Names (ARNs) |
batch_get_configuration_policy_associations | Returns associations between an Security Hub configuration and a batch of target accounts, organizational units, or the root |
batch_get_security_controls | Provides details about a batch of security controls for the current Amazon Web Services account and Amazon Web Services Region |
batch_get_standards_control_associations | For a batch of security controls and standards, identifies whether each control is currently enabled or disabled in a standard |
batch_import_findings | Imports security findings generated by a finding provider into Security Hub |
batch_update_automation_rules | Updates one or more automation rules based on rule Amazon Resource Names (ARNs) and input parameters |
batch_update_findings | Used by Security Hub customers to update information about their investigation into a finding |
batch_update_standards_control_associations | For a batch of security controls and standards, this operation updates the enablement status of a control in a standard |
create_action_target | Creates a custom action target in Security Hub |
create_automation_rule | Creates an automation rule based on input parameters |
create_configuration_policy | Creates a configuration policy with the defined configuration |
create_finding_aggregator | Used to enable finding aggregation |
create_insight | Creates a custom insight in Security Hub |
create_members | Creates a member association in Security Hub between the specified accounts and the account used to make the request, which is the administrator account |
decline_invitations | Declines invitations to become a member account |
delete_action_target | Deletes a custom action target from Security Hub |
delete_configuration_policy | Deletes a configuration policy |
delete_finding_aggregator | Deletes a finding aggregator |
delete_insight | Deletes the insight specified by the InsightArn |
delete_invitations | Deletes invitations received by the Amazon Web Services account to become a member account |
delete_members | Deletes the specified member accounts from Security Hub |
describe_action_targets | Returns a list of the custom action targets in Security Hub in your account |
describe_hub | Returns details about the Hub resource in your account, including the HubArn and the time when you enabled Security Hub |
describe_organization_configuration | Returns information about the way your organization is configured in Security Hub |
describe_products | Returns information about product integrations in Security Hub |
describe_standards | Returns a list of the available standards in Security Hub |
describe_standards_controls | Returns a list of security standards controls |
disable_import_findings_for_product | Disables the integration of the specified product with Security Hub |
disable_organization_admin_account | Disables a Security Hub administrator account |
disable_security_hub | Disables Security Hub in your account only in the current Amazon Web Services Region |
disassociate_from_administrator_account | Disassociates the current Security Hub member account from the associated administrator account |
disassociate_from_master_account | This method is deprecated |
disassociate_members | Disassociates the specified member accounts from the associated administrator account |
enable_import_findings_for_product | Enables the integration of a partner product with Security Hub |
enable_organization_admin_account | Designates the Security Hub administrator account for an organization |
enable_security_hub | Enables Security Hub for your account in the current Region or the Region you specify in the request |
get_administrator_account | Provides the details for the Security Hub administrator account for the current member account |
get_configuration_policy | Provides information about a configuration policy |
get_configuration_policy_association | Returns the association between a configuration and a target account, organizational unit, or the root |
get_enabled_standards | Returns a list of the standards that are currently enabled |
get_finding_aggregator | Returns the current finding aggregation configuration |
get_finding_history | Returns history for a Security Hub finding in the last 90 days |
get_findings | Returns a list of findings that match the specified criteria |
get_insight_results | Lists the results of the Security Hub insight specified by the insight ARN |
get_insights | Lists and describes insights for the specified insight ARNs |
get_invitations_count | Returns the count of all Security Hub membership invitations that were sent to the current member account, not including the currently accepted invitation |
get_master_account | This method is deprecated |
get_members | Returns the details for the Security Hub member accounts for the specified account IDs |
get_security_control_definition | Retrieves the definition of a security control |
invite_members | Invites other Amazon Web Services accounts to become member accounts for the Security Hub administrator account that the invitation is sent from |
list_automation_rules | A list of automation rules and their metadata for the calling account |
list_configuration_policies | Lists the configuration policies that the Security Hub delegated administrator has created for your organization |
list_configuration_policy_associations | Provides information about the associations for your configuration policies and self-managed behavior |
list_enabled_products_for_import | Lists all findings-generating solutions (products) that you are subscribed to receive findings from in Security Hub |
list_finding_aggregators | If finding aggregation is enabled, then ListFindingAggregators returns the ARN of the finding aggregator |
list_invitations | Lists all Security Hub membership invitations that were sent to the current Amazon Web Services account |
list_members | Lists details about all member accounts for the current Security Hub administrator account |
list_organization_admin_accounts | Lists the Security Hub administrator accounts |
list_security_control_definitions | Lists all of the security controls that apply to a specified standard |
list_standards_control_associations | Specifies whether a control is currently enabled or disabled in each enabled standard in the calling account |
list_tags_for_resource | Returns a list of tags associated with a resource |
start_configuration_policy_association | Associates a target account, organizational unit, or the root with a specified configuration |
start_configuration_policy_disassociation | Disassociates a target account, organizational unit, or the root from a specified configuration |
tag_resource | Adds one or more tags to a resource |
untag_resource | Removes one or more tags from a resource |
update_action_target | Updates the name and description of a custom action target in Security Hub |
update_configuration_policy | Updates a configuration policy |
update_finding_aggregator | Updates the finding aggregation configuration |
update_findings | UpdateFindings is deprecated |
update_insight | Updates the Security Hub insight identified by the specified insight ARN |
update_organization_configuration | Updates the configuration of your organization in Security Hub |
update_security_control | Updates the properties of a security control |
update_security_hub_configuration | Updates configuration options for Security Hub |
update_standards_control | Used to control whether an individual security standard control is enabled or disabled |
Examples
## Not run:
svc <- securityhub()
# The following example demonstrates how an account can accept an
# invitation from the Security Hub administrator account to be a member
# account. This operation is applicable only to member accounts that are
# not added through AWS Organizations.
svc$accept_administrator_invitation(
AdministratorId = "123456789012",
InvitationId = "7ab938c5d52d7904ad09f9e7c20cc4eb"
)
## End(Not run)