Struct rusoto_securityhub::SecurityHubClient
source · [−]pub struct SecurityHubClient { /* private fields */ }
Expand description
A client for the AWS SecurityHub API.
Implementations
sourceimpl SecurityHubClient
impl SecurityHubClient
sourcepub fn new(region: Region) -> SecurityHubClient
pub fn new(region: Region) -> SecurityHubClient
Creates a client backed by the default tokio event loop.
The client will use the default credentials provider and tls client.
pub fn new_with<P, D>(
request_dispatcher: D,
credentials_provider: P,
region: Region
) -> SecurityHubClient where
P: ProvideAwsCredentials + Send + Sync + 'static,
D: DispatchSignedRequest + Send + Sync + 'static,
pub fn new_with_client(client: Client, region: Region) -> SecurityHubClient
Trait Implementations
sourceimpl Clone for SecurityHubClient
impl Clone for SecurityHubClient
sourcefn clone(&self) -> SecurityHubClient
fn clone(&self) -> SecurityHubClient
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl SecurityHub for SecurityHubClient
impl SecurityHub for SecurityHubClient
sourcefn accept_administrator_invitation<'life0, 'async_trait>(
&'life0 self,
input: AcceptAdministratorInvitationRequest
) -> Pin<Box<dyn Future<Output = Result<AcceptAdministratorInvitationResponse, RusotoError<AcceptAdministratorInvitationError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn accept_administrator_invitation<'life0, 'async_trait>(
&'life0 self,
input: AcceptAdministratorInvitationRequest
) -> Pin<Box<dyn Future<Output = Result<AcceptAdministratorInvitationResponse, RusotoError<AcceptAdministratorInvitationError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
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.
sourcefn accept_invitation<'life0, 'async_trait>(
&'life0 self,
input: AcceptInvitationRequest
) -> Pin<Box<dyn Future<Output = Result<AcceptInvitationResponse, RusotoError<AcceptInvitationError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn accept_invitation<'life0, 'async_trait>(
&'life0 self,
input: AcceptInvitationRequest
) -> Pin<Box<dyn Future<Output = Result<AcceptInvitationResponse, RusotoError<AcceptInvitationError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
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.
sourcefn batch_disable_standards<'life0, 'async_trait>(
&'life0 self,
input: BatchDisableStandardsRequest
) -> Pin<Box<dyn Future<Output = Result<BatchDisableStandardsResponse, RusotoError<BatchDisableStandardsError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn batch_disable_standards<'life0, 'async_trait>(
&'life0 self,
input: BatchDisableStandardsRequest
) -> Pin<Box<dyn Future<Output = Result<BatchDisableStandardsResponse, RusotoError<BatchDisableStandardsError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Disables the standards specified by the provided StandardsSubscriptionArns
.
For more information, see Security Standards section of the AWS Security Hub User Guide.
sourcefn batch_enable_standards<'life0, 'async_trait>(
&'life0 self,
input: BatchEnableStandardsRequest
) -> Pin<Box<dyn Future<Output = Result<BatchEnableStandardsResponse, RusotoError<BatchEnableStandardsError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn batch_enable_standards<'life0, 'async_trait>(
&'life0 self,
input: BatchEnableStandardsRequest
) -> Pin<Box<dyn Future<Output = Result<BatchEnableStandardsResponse, RusotoError<BatchEnableStandardsError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
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 AWS Security Hub User Guide.
sourcefn batch_import_findings<'life0, 'async_trait>(
&'life0 self,
input: BatchImportFindingsRequest
) -> Pin<Box<dyn Future<Output = Result<BatchImportFindingsResponse, RusotoError<BatchImportFindingsError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn batch_import_findings<'life0, 'async_trait>(
&'life0 self,
input: BatchImportFindingsRequest
) -> Pin<Box<dyn Future<Output = Result<BatchImportFindingsResponse, RusotoError<BatchImportFindingsError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Imports security findings generated from an integrated product into Security Hub. This action is requested by the integrated product to import its findings into Security Hub.
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.
sourcefn batch_update_findings<'life0, 'async_trait>(
&'life0 self,
input: BatchUpdateFindingsRequest
) -> Pin<Box<dyn Future<Output = Result<BatchUpdateFindingsResponse, RusotoError<BatchUpdateFindingsError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn batch_update_findings<'life0, 'async_trait>(
&'life0 self,
input: BatchUpdateFindingsRequest
) -> Pin<Box<dyn Future<Output = Result<BatchUpdateFindingsResponse, RusotoError<BatchUpdateFindingsError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
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 AWS Security Hub User Guide.
sourcefn create_action_target<'life0, 'async_trait>(
&'life0 self,
input: CreateActionTargetRequest
) -> Pin<Box<dyn Future<Output = Result<CreateActionTargetResponse, RusotoError<CreateActionTargetError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn create_action_target<'life0, 'async_trait>(
&'life0 self,
input: CreateActionTargetRequest
) -> Pin<Box<dyn Future<Output = Result<CreateActionTargetResponse, RusotoError<CreateActionTargetError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
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.
sourcefn create_insight<'life0, 'async_trait>(
&'life0 self,
input: CreateInsightRequest
) -> Pin<Box<dyn Future<Output = Result<CreateInsightResponse, RusotoError<CreateInsightError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn create_insight<'life0, 'async_trait>(
&'life0 self,
input: CreateInsightRequest
) -> Pin<Box<dyn Future<Output = Result<CreateInsightResponse, RusotoError<CreateInsightError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
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
.
sourcefn create_members<'life0, 'async_trait>(
&'life0 self,
input: CreateMembersRequest
) -> Pin<Box<dyn Future<Output = Result<CreateMembersResponse, RusotoError<CreateMembersError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn create_members<'life0, 'async_trait>(
&'life0 self,
input: CreateMembersRequest
) -> Pin<Box<dyn Future<Output = Result<CreateMembersResponse, RusotoError<CreateMembersError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
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 part of an organization, CreateMembers
is only used in the following cases:
-
Security Hub is not configured to automatically add new accounts in an organization.
-
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 part of an organization do not receive an invitation. They automatically become a member account in Security Hub.
A permissions policy is added that permits the administrator account to view the findings generated in the member account. When Security Hub is enabled in a member account, the member account findings are also visible to the administrator account.
To remove the association between the administrator and member accounts, use the DisassociateFromMasterAccount
or DisassociateMembers
operation.
sourcefn decline_invitations<'life0, 'async_trait>(
&'life0 self,
input: DeclineInvitationsRequest
) -> Pin<Box<dyn Future<Output = Result<DeclineInvitationsResponse, RusotoError<DeclineInvitationsError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn decline_invitations<'life0, 'async_trait>(
&'life0 self,
input: DeclineInvitationsRequest
) -> Pin<Box<dyn Future<Output = Result<DeclineInvitationsResponse, RusotoError<DeclineInvitationsError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Declines invitations to become a member account.
This operation is only used by accounts that are not part of an organization. Organization accounts do not receive invitations.
sourcefn delete_action_target<'life0, 'async_trait>(
&'life0 self,
input: DeleteActionTargetRequest
) -> Pin<Box<dyn Future<Output = Result<DeleteActionTargetResponse, RusotoError<DeleteActionTargetError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn delete_action_target<'life0, 'async_trait>(
&'life0 self,
input: DeleteActionTargetRequest
) -> Pin<Box<dyn Future<Output = Result<DeleteActionTargetResponse, RusotoError<DeleteActionTargetError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
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.
sourcefn delete_insight<'life0, 'async_trait>(
&'life0 self,
input: DeleteInsightRequest
) -> Pin<Box<dyn Future<Output = Result<DeleteInsightResponse, RusotoError<DeleteInsightError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn delete_insight<'life0, 'async_trait>(
&'life0 self,
input: DeleteInsightRequest
) -> Pin<Box<dyn Future<Output = Result<DeleteInsightResponse, RusotoError<DeleteInsightError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Deletes the insight specified by the InsightArn
.
sourcefn delete_invitations<'life0, 'async_trait>(
&'life0 self,
input: DeleteInvitationsRequest
) -> Pin<Box<dyn Future<Output = Result<DeleteInvitationsResponse, RusotoError<DeleteInvitationsError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn delete_invitations<'life0, 'async_trait>(
&'life0 self,
input: DeleteInvitationsRequest
) -> Pin<Box<dyn Future<Output = Result<DeleteInvitationsResponse, RusotoError<DeleteInvitationsError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Deletes invitations received by the AWS account to become a member account.
This operation is only used by accounts that are not part of an organization. Organization accounts do not receive invitations.
sourcefn delete_members<'life0, 'async_trait>(
&'life0 self,
input: DeleteMembersRequest
) -> Pin<Box<dyn Future<Output = Result<DeleteMembersResponse, RusotoError<DeleteMembersError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn delete_members<'life0, 'async_trait>(
&'life0 self,
input: DeleteMembersRequest
) -> Pin<Box<dyn Future<Output = Result<DeleteMembersResponse, RusotoError<DeleteMembersError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
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.
sourcefn describe_action_targets<'life0, 'async_trait>(
&'life0 self,
input: DescribeActionTargetsRequest
) -> Pin<Box<dyn Future<Output = Result<DescribeActionTargetsResponse, RusotoError<DescribeActionTargetsError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn describe_action_targets<'life0, 'async_trait>(
&'life0 self,
input: DescribeActionTargetsRequest
) -> Pin<Box<dyn Future<Output = Result<DescribeActionTargetsResponse, RusotoError<DescribeActionTargetsError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Returns a list of the custom action targets in Security Hub in your account.
sourcefn describe_hub<'life0, 'async_trait>(
&'life0 self,
input: DescribeHubRequest
) -> Pin<Box<dyn Future<Output = Result<DescribeHubResponse, RusotoError<DescribeHubError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn describe_hub<'life0, 'async_trait>(
&'life0 self,
input: DescribeHubRequest
) -> Pin<Box<dyn Future<Output = Result<DescribeHubResponse, RusotoError<DescribeHubError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Returns details about the Hub resource in your account, including the HubArn
and the time when you enabled Security Hub.
sourcefn describe_organization_configuration<'life0, 'async_trait>(
&'life0 self
) -> Pin<Box<dyn Future<Output = Result<DescribeOrganizationConfigurationResponse, RusotoError<DescribeOrganizationConfigurationError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn describe_organization_configuration<'life0, 'async_trait>(
&'life0 self
) -> Pin<Box<dyn Future<Output = Result<DescribeOrganizationConfigurationResponse, RusotoError<DescribeOrganizationConfigurationError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Returns information about the Organizations configuration for Security Hub. Can only be called from a Security Hub administrator account.
sourcefn describe_products<'life0, 'async_trait>(
&'life0 self,
input: DescribeProductsRequest
) -> Pin<Box<dyn Future<Output = Result<DescribeProductsResponse, RusotoError<DescribeProductsError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn describe_products<'life0, 'async_trait>(
&'life0 self,
input: DescribeProductsRequest
) -> Pin<Box<dyn Future<Output = Result<DescribeProductsResponse, RusotoError<DescribeProductsError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
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.
sourcefn describe_standards<'life0, 'async_trait>(
&'life0 self,
input: DescribeStandardsRequest
) -> Pin<Box<dyn Future<Output = Result<DescribeStandardsResponse, RusotoError<DescribeStandardsError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn describe_standards<'life0, 'async_trait>(
&'life0 self,
input: DescribeStandardsRequest
) -> Pin<Box<dyn Future<Output = Result<DescribeStandardsResponse, RusotoError<DescribeStandardsError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Returns a list of the available standards in Security Hub.
For each standard, the results include the standard ARN, the name, and a description.
sourcefn describe_standards_controls<'life0, 'async_trait>(
&'life0 self,
input: DescribeStandardsControlsRequest
) -> Pin<Box<dyn Future<Output = Result<DescribeStandardsControlsResponse, RusotoError<DescribeStandardsControlsError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn describe_standards_controls<'life0, 'async_trait>(
&'life0 self,
input: DescribeStandardsControlsRequest
) -> Pin<Box<dyn Future<Output = Result<DescribeStandardsControlsResponse, RusotoError<DescribeStandardsControlsError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
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.
sourcefn disable_import_findings_for_product<'life0, 'async_trait>(
&'life0 self,
input: DisableImportFindingsForProductRequest
) -> Pin<Box<dyn Future<Output = Result<DisableImportFindingsForProductResponse, RusotoError<DisableImportFindingsForProductError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn disable_import_findings_for_product<'life0, 'async_trait>(
&'life0 self,
input: DisableImportFindingsForProductRequest
) -> Pin<Box<dyn Future<Output = Result<DisableImportFindingsForProductResponse, RusotoError<DisableImportFindingsForProductError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
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.
sourcefn disable_organization_admin_account<'life0, 'async_trait>(
&'life0 self,
input: DisableOrganizationAdminAccountRequest
) -> Pin<Box<dyn Future<Output = Result<DisableOrganizationAdminAccountResponse, RusotoError<DisableOrganizationAdminAccountError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn disable_organization_admin_account<'life0, 'async_trait>(
&'life0 self,
input: DisableOrganizationAdminAccountRequest
) -> Pin<Box<dyn Future<Output = Result<DisableOrganizationAdminAccountResponse, RusotoError<DisableOrganizationAdminAccountError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Disables a Security Hub administrator account. Can only be called by the organization management account.
sourcefn disable_security_hub<'life0, 'async_trait>(
&'life0 self
) -> Pin<Box<dyn Future<Output = Result<DisableSecurityHubResponse, RusotoError<DisableSecurityHubError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn disable_security_hub<'life0, 'async_trait>(
&'life0 self
) -> Pin<Box<dyn Future<Output = Result<DisableSecurityHubResponse, RusotoError<DisableSecurityHubError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
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.
sourcefn disassociate_from_administrator_account<'life0, 'async_trait>(
&'life0 self
) -> Pin<Box<dyn Future<Output = Result<DisassociateFromAdministratorAccountResponse, RusotoError<DisassociateFromAdministratorAccountError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn disassociate_from_administrator_account<'life0, 'async_trait>(
&'life0 self
) -> Pin<Box<dyn Future<Output = Result<DisassociateFromAdministratorAccountResponse, RusotoError<DisassociateFromAdministratorAccountError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
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.
sourcefn disassociate_from_master_account<'life0, 'async_trait>(
&'life0 self
) -> Pin<Box<dyn Future<Output = Result<DisassociateFromMasterAccountResponse, RusotoError<DisassociateFromMasterAccountError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn disassociate_from_master_account<'life0, 'async_trait>(
&'life0 self
) -> Pin<Box<dyn Future<Output = Result<DisassociateFromMasterAccountResponse, RusotoError<DisassociateFromMasterAccountError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
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.
sourcefn disassociate_members<'life0, 'async_trait>(
&'life0 self,
input: DisassociateMembersRequest
) -> Pin<Box<dyn Future<Output = Result<DisassociateMembersResponse, RusotoError<DisassociateMembersError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn disassociate_members<'life0, 'async_trait>(
&'life0 self,
input: DisassociateMembersRequest
) -> Pin<Box<dyn Future<Output = Result<DisassociateMembersResponse, RusotoError<DisassociateMembersError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
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.
sourcefn enable_import_findings_for_product<'life0, 'async_trait>(
&'life0 self,
input: EnableImportFindingsForProductRequest
) -> Pin<Box<dyn Future<Output = Result<EnableImportFindingsForProductResponse, RusotoError<EnableImportFindingsForProductError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn enable_import_findings_for_product<'life0, 'async_trait>(
&'life0 self,
input: EnableImportFindingsForProductRequest
) -> Pin<Box<dyn Future<Output = Result<EnableImportFindingsForProductResponse, RusotoError<EnableImportFindingsForProductError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
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.
sourcefn enable_organization_admin_account<'life0, 'async_trait>(
&'life0 self,
input: EnableOrganizationAdminAccountRequest
) -> Pin<Box<dyn Future<Output = Result<EnableOrganizationAdminAccountResponse, RusotoError<EnableOrganizationAdminAccountError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn enable_organization_admin_account<'life0, 'async_trait>(
&'life0 self,
input: EnableOrganizationAdminAccountRequest
) -> Pin<Box<dyn Future<Output = Result<EnableOrganizationAdminAccountResponse, RusotoError<EnableOrganizationAdminAccountError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Designates the Security Hub administrator account for an organization. Can only be called by the organization management account.
sourcefn enable_security_hub<'life0, 'async_trait>(
&'life0 self,
input: EnableSecurityHubRequest
) -> Pin<Box<dyn Future<Output = Result<EnableSecurityHubResponse, RusotoError<EnableSecurityHubError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn enable_security_hub<'life0, 'async_trait>(
&'life0 self,
input: EnableSecurityHubRequest
) -> Pin<Box<dyn Future<Output = Result<EnableSecurityHubResponse, RusotoError<EnableSecurityHubError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
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.
-
CIS AWS Foundations
-
AWS Foundational Security Best Practices
You do not enable the Payment Card Industry Data Security Standard (PCI DSS) standard.
To not enable the 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 Setting Up AWS Security Hub in the AWS Security Hub User Guide.
sourcefn get_administrator_account<'life0, 'async_trait>(
&'life0 self
) -> Pin<Box<dyn Future<Output = Result<GetAdministratorAccountResponse, RusotoError<GetAdministratorAccountError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn get_administrator_account<'life0, 'async_trait>(
&'life0 self
) -> Pin<Box<dyn Future<Output = Result<GetAdministratorAccountResponse, RusotoError<GetAdministratorAccountError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
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.
sourcefn get_enabled_standards<'life0, 'async_trait>(
&'life0 self,
input: GetEnabledStandardsRequest
) -> Pin<Box<dyn Future<Output = Result<GetEnabledStandardsResponse, RusotoError<GetEnabledStandardsError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn get_enabled_standards<'life0, 'async_trait>(
&'life0 self,
input: GetEnabledStandardsRequest
) -> Pin<Box<dyn Future<Output = Result<GetEnabledStandardsResponse, RusotoError<GetEnabledStandardsError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Returns a list of the standards that are currently enabled.
sourcefn get_findings<'life0, 'async_trait>(
&'life0 self,
input: GetFindingsRequest
) -> Pin<Box<dyn Future<Output = Result<GetFindingsResponse, RusotoError<GetFindingsError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn get_findings<'life0, 'async_trait>(
&'life0 self,
input: GetFindingsRequest
) -> Pin<Box<dyn Future<Output = Result<GetFindingsResponse, RusotoError<GetFindingsError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Returns a list of findings that match the specified criteria.
sourcefn get_insight_results<'life0, 'async_trait>(
&'life0 self,
input: GetInsightResultsRequest
) -> Pin<Box<dyn Future<Output = Result<GetInsightResultsResponse, RusotoError<GetInsightResultsError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn get_insight_results<'life0, 'async_trait>(
&'life0 self,
input: GetInsightResultsRequest
) -> Pin<Box<dyn Future<Output = Result<GetInsightResultsResponse, RusotoError<GetInsightResultsError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Lists the results of the Security Hub insight specified by the insight ARN.
sourcefn get_insights<'life0, 'async_trait>(
&'life0 self,
input: GetInsightsRequest
) -> Pin<Box<dyn Future<Output = Result<GetInsightsResponse, RusotoError<GetInsightsError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn get_insights<'life0, 'async_trait>(
&'life0 self,
input: GetInsightsRequest
) -> Pin<Box<dyn Future<Output = Result<GetInsightsResponse, RusotoError<GetInsightsError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Lists and describes insights for the specified insight ARNs.
sourcefn get_invitations_count<'life0, 'async_trait>(
&'life0 self
) -> Pin<Box<dyn Future<Output = Result<GetInvitationsCountResponse, RusotoError<GetInvitationsCountError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn get_invitations_count<'life0, 'async_trait>(
&'life0 self
) -> Pin<Box<dyn Future<Output = Result<GetInvitationsCountResponse, RusotoError<GetInvitationsCountError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Returns the count of all Security Hub membership invitations that were sent to the current member account, not including the currently accepted invitation.
sourcefn get_master_account<'life0, 'async_trait>(
&'life0 self
) -> Pin<Box<dyn Future<Output = Result<GetMasterAccountResponse, RusotoError<GetMasterAccountError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn get_master_account<'life0, 'async_trait>(
&'life0 self
) -> Pin<Box<dyn Future<Output = Result<GetMasterAccountResponse, RusotoError<GetMasterAccountError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
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.
sourcefn get_members<'life0, 'async_trait>(
&'life0 self,
input: GetMembersRequest
) -> Pin<Box<dyn Future<Output = Result<GetMembersResponse, RusotoError<GetMembersError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn get_members<'life0, 'async_trait>(
&'life0 self,
input: GetMembersRequest
) -> Pin<Box<dyn Future<Output = Result<GetMembersResponse, RusotoError<GetMembersError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
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.
sourcefn invite_members<'life0, 'async_trait>(
&'life0 self,
input: InviteMembersRequest
) -> Pin<Box<dyn Future<Output = Result<InviteMembersResponse, RusotoError<InviteMembersError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn invite_members<'life0, 'async_trait>(
&'life0 self,
input: InviteMembersRequest
) -> Pin<Box<dyn Future<Output = Result<InviteMembersResponse, RusotoError<InviteMembersError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Invites other AWS 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.
sourcefn list_enabled_products_for_import<'life0, 'async_trait>(
&'life0 self,
input: ListEnabledProductsForImportRequest
) -> Pin<Box<dyn Future<Output = Result<ListEnabledProductsForImportResponse, RusotoError<ListEnabledProductsForImportError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn list_enabled_products_for_import<'life0, 'async_trait>(
&'life0 self,
input: ListEnabledProductsForImportRequest
) -> Pin<Box<dyn Future<Output = Result<ListEnabledProductsForImportResponse, RusotoError<ListEnabledProductsForImportError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Lists all findings-generating solutions (products) that you are subscribed to receive findings from in Security Hub.
sourcefn list_invitations<'life0, 'async_trait>(
&'life0 self,
input: ListInvitationsRequest
) -> Pin<Box<dyn Future<Output = Result<ListInvitationsResponse, RusotoError<ListInvitationsError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn list_invitations<'life0, 'async_trait>(
&'life0 self,
input: ListInvitationsRequest
) -> Pin<Box<dyn Future<Output = Result<ListInvitationsResponse, RusotoError<ListInvitationsError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Lists all Security Hub membership invitations that were sent to the current AWS account.
This operation is only used by accounts that are managed by invitation. Accounts that are managed using the integration with AWS Organizations do not receive invitations.
sourcefn list_members<'life0, 'async_trait>(
&'life0 self,
input: ListMembersRequest
) -> Pin<Box<dyn Future<Output = Result<ListMembersResponse, RusotoError<ListMembersError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn list_members<'life0, 'async_trait>(
&'life0 self,
input: ListMembersRequest
) -> Pin<Box<dyn Future<Output = Result<ListMembersResponse, RusotoError<ListMembersError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
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.
sourcefn list_organization_admin_accounts<'life0, 'async_trait>(
&'life0 self,
input: ListOrganizationAdminAccountsRequest
) -> Pin<Box<dyn Future<Output = Result<ListOrganizationAdminAccountsResponse, RusotoError<ListOrganizationAdminAccountsError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn list_organization_admin_accounts<'life0, 'async_trait>(
&'life0 self,
input: ListOrganizationAdminAccountsRequest
) -> Pin<Box<dyn Future<Output = Result<ListOrganizationAdminAccountsResponse, RusotoError<ListOrganizationAdminAccountsError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Lists the Security Hub administrator accounts. Can only be called by the organization management account.
Returns a list of tags associated with a resource.
sourcefn tag_resource<'life0, 'async_trait>(
&'life0 self,
input: TagResourceRequest
) -> Pin<Box<dyn Future<Output = Result<TagResourceResponse, RusotoError<TagResourceError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn tag_resource<'life0, 'async_trait>(
&'life0 self,
input: TagResourceRequest
) -> Pin<Box<dyn Future<Output = Result<TagResourceResponse, RusotoError<TagResourceError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Adds one or more tags to a resource.
sourcefn untag_resource<'life0, 'async_trait>(
&'life0 self,
input: UntagResourceRequest
) -> Pin<Box<dyn Future<Output = Result<UntagResourceResponse, RusotoError<UntagResourceError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn untag_resource<'life0, 'async_trait>(
&'life0 self,
input: UntagResourceRequest
) -> Pin<Box<dyn Future<Output = Result<UntagResourceResponse, RusotoError<UntagResourceError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Removes one or more tags from a resource.
sourcefn update_action_target<'life0, 'async_trait>(
&'life0 self,
input: UpdateActionTargetRequest
) -> Pin<Box<dyn Future<Output = Result<UpdateActionTargetResponse, RusotoError<UpdateActionTargetError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn update_action_target<'life0, 'async_trait>(
&'life0 self,
input: UpdateActionTargetRequest
) -> Pin<Box<dyn Future<Output = Result<UpdateActionTargetResponse, RusotoError<UpdateActionTargetError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Updates the name and description of a custom action target in Security Hub.
sourcefn update_findings<'life0, 'async_trait>(
&'life0 self,
input: UpdateFindingsRequest
) -> Pin<Box<dyn Future<Output = Result<UpdateFindingsResponse, RusotoError<UpdateFindingsError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn update_findings<'life0, 'async_trait>(
&'life0 self,
input: UpdateFindingsRequest
) -> Pin<Box<dyn Future<Output = Result<UpdateFindingsResponse, RusotoError<UpdateFindingsError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
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.
sourcefn update_insight<'life0, 'async_trait>(
&'life0 self,
input: UpdateInsightRequest
) -> Pin<Box<dyn Future<Output = Result<UpdateInsightResponse, RusotoError<UpdateInsightError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn update_insight<'life0, 'async_trait>(
&'life0 self,
input: UpdateInsightRequest
) -> Pin<Box<dyn Future<Output = Result<UpdateInsightResponse, RusotoError<UpdateInsightError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Updates the Security Hub insight identified by the specified insight ARN.
sourcefn update_organization_configuration<'life0, 'async_trait>(
&'life0 self,
input: UpdateOrganizationConfigurationRequest
) -> Pin<Box<dyn Future<Output = Result<UpdateOrganizationConfigurationResponse, RusotoError<UpdateOrganizationConfigurationError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn update_organization_configuration<'life0, 'async_trait>(
&'life0 self,
input: UpdateOrganizationConfigurationRequest
) -> Pin<Box<dyn Future<Output = Result<UpdateOrganizationConfigurationResponse, RusotoError<UpdateOrganizationConfigurationError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Used to update the configuration related to Organizations. Can only be called from a Security Hub administrator account.
sourcefn update_security_hub_configuration<'life0, 'async_trait>(
&'life0 self,
input: UpdateSecurityHubConfigurationRequest
) -> Pin<Box<dyn Future<Output = Result<UpdateSecurityHubConfigurationResponse, RusotoError<UpdateSecurityHubConfigurationError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn update_security_hub_configuration<'life0, 'async_trait>(
&'life0 self,
input: UpdateSecurityHubConfigurationRequest
) -> Pin<Box<dyn Future<Output = Result<UpdateSecurityHubConfigurationResponse, RusotoError<UpdateSecurityHubConfigurationError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Updates configuration options for Security Hub.
sourcefn update_standards_control<'life0, 'async_trait>(
&'life0 self,
input: UpdateStandardsControlRequest
) -> Pin<Box<dyn Future<Output = Result<UpdateStandardsControlResponse, RusotoError<UpdateStandardsControlError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn update_standards_control<'life0, 'async_trait>(
&'life0 self,
input: UpdateStandardsControlRequest
) -> Pin<Box<dyn Future<Output = Result<UpdateStandardsControlResponse, RusotoError<UpdateStandardsControlError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Used to control whether an individual security standard control is enabled or disabled.
Auto Trait Implementations
impl !RefUnwindSafe for SecurityHubClient
impl Send for SecurityHubClient
impl Sync for SecurityHubClient
impl Unpin for SecurityHubClient
impl !UnwindSafe for SecurityHubClient
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more