@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public interface AWSSecurityHub
Note: Do not directly implement this interface, new methods are added to it regularly. Extend from
AbstractAWSSecurityHub
instead.
AWS Security Hub provides you with a comprehensive view of your security state within AWS and your compliance with the security industry standards and best practices. Security Hub collects security data from across AWS accounts, services, and supported third-party partners and helps you analyze your security trends and identify the highest priority security issues. For more information, see AWS Security Hub User Guide.
Currently, AWS Security Hub is in Preview release.
Modifier and Type | Field and Description |
---|---|
static String |
ENDPOINT_PREFIX
The region metadata service name for computing region endpoints.
|
Modifier and Type | Method and Description |
---|---|
AcceptInvitationResult |
acceptInvitation(AcceptInvitationRequest acceptInvitationRequest)
Accepts the invitation to be monitored by a master SecurityHub account.
|
BatchDisableStandardsResult |
batchDisableStandards(BatchDisableStandardsRequest batchDisableStandardsRequest)
Disables the standards specified by the standards subscription ARNs.
|
BatchEnableStandardsResult |
batchEnableStandards(BatchEnableStandardsRequest batchEnableStandardsRequest)
Enables the standards specified by the standards ARNs.
|
BatchImportFindingsResult |
batchImportFindings(BatchImportFindingsRequest batchImportFindingsRequest)
Imports security findings that are generated by the integrated third-party products into Security Hub.
|
CreateInsightResult |
createInsight(CreateInsightRequest createInsightRequest)
Creates an insight, which is a consolidation of findings that identifies a security area that requires attention
or intervention.
|
CreateMembersResult |
createMembers(CreateMembersRequest createMembersRequest)
Creates member Security Hub accounts in the current AWS account (which becomes the master Security Hub account)
that has Security Hub enabled.
|
DeclineInvitationsResult |
declineInvitations(DeclineInvitationsRequest declineInvitationsRequest)
Declines invitations that are sent to this AWS account (invitee) by the AWS accounts (inviters) that are
specified by the account IDs.
|
DeleteInsightResult |
deleteInsight(DeleteInsightRequest deleteInsightRequest)
Deletes an insight that is specified by the insight ARN.
|
DeleteInvitationsResult |
deleteInvitations(DeleteInvitationsRequest deleteInvitationsRequest)
Deletes invitations that are sent to this AWS account (invitee) by the AWS accounts (inviters) that are specified
by their account IDs.
|
DeleteMembersResult |
deleteMembers(DeleteMembersRequest deleteMembersRequest)
Deletes the Security Hub member accounts that are specified by the account IDs.
|
DisableImportFindingsForProductResult |
disableImportFindingsForProduct(DisableImportFindingsForProductRequest disableImportFindingsForProductRequest)
Cancels the subscription that allows a findings-generating solution (product) to import its findings into
Security Hub.
|
DisableSecurityHubResult |
disableSecurityHub(DisableSecurityHubRequest disableSecurityHubRequest)
Disables the AWS Security Hub Service.
|
DisassociateFromMasterAccountResult |
disassociateFromMasterAccount(DisassociateFromMasterAccountRequest disassociateFromMasterAccountRequest)
Disassociates the current Security Hub member account from its master account.
|
DisassociateMembersResult |
disassociateMembers(DisassociateMembersRequest disassociateMembersRequest)
Disassociates the Security Hub member accounts that are specified by the account IDs from their master account.
|
EnableImportFindingsForProductResult |
enableImportFindingsForProduct(EnableImportFindingsForProductRequest enableImportFindingsForProductRequest)
Sets up the subscription that enables a findings-generating solution (product) to import its findings into
Security Hub.
|
EnableSecurityHubResult |
enableSecurityHub(EnableSecurityHubRequest enableSecurityHubRequest)
Enables the AWS Security Hub service.
|
ResponseMetadata |
getCachedResponseMetadata(AmazonWebServiceRequest request)
Returns additional metadata for a previously executed successful request, typically used for debugging issues
where a service isn't acting as expected.
|
GetEnabledStandardsResult |
getEnabledStandards(GetEnabledStandardsRequest getEnabledStandardsRequest)
Lists and describes enabled standards.
|
GetFindingsResult |
getFindings(GetFindingsRequest getFindingsRequest)
Lists and describes Security Hub-aggregated findings that are specified by filter attributes.
|
GetInsightResultsResult |
getInsightResults(GetInsightResultsRequest getInsightResultsRequest)
Lists the results of the Security Hub insight specified by the insight ARN.
|
GetInsightsResult |
getInsights(GetInsightsRequest getInsightsRequest)
Lists and describes insights that are specified by insight ARNs.
|
GetInvitationsCountResult |
getInvitationsCount(GetInvitationsCountRequest getInvitationsCountRequest)
Returns the count of all Security Hub membership invitations that were sent to the current member account, not
including the currently accepted invitation.
|
GetMasterAccountResult |
getMasterAccount(GetMasterAccountRequest getMasterAccountRequest)
Provides the details for the Security Hub master account to the current member account.
|
GetMembersResult |
getMembers(GetMembersRequest getMembersRequest)
Returns the details on the Security Hub member accounts that are specified by the account IDs.
|
InviteMembersResult |
inviteMembers(InviteMembersRequest inviteMembersRequest)
Invites other AWS accounts to enable Security Hub and become Security Hub member accounts.
|
ListEnabledProductsForImportResult |
listEnabledProductsForImport(ListEnabledProductsForImportRequest listEnabledProductsForImportRequest)
Lists all findings-generating solutions (products) whose findings you've subscribed to receive in Security Hub.
|
ListInvitationsResult |
listInvitations(ListInvitationsRequest listInvitationsRequest)
Lists all Security Hub membership invitations that were sent to the current AWS account.
|
ListMembersResult |
listMembers(ListMembersRequest listMembersRequest)
Lists details about all member accounts for the current Security Hub master account.
|
void |
shutdown()
Shuts down this client object, releasing any resources that might be held open.
|
UpdateFindingsResult |
updateFindings(UpdateFindingsRequest updateFindingsRequest)
Updates the AWS Security Hub-aggregated findings specified by the filter attributes.
|
UpdateInsightResult |
updateInsight(UpdateInsightRequest updateInsightRequest)
Updates the AWS Security Hub insight specified by the insight ARN.
|
static final String ENDPOINT_PREFIX
AcceptInvitationResult acceptInvitation(AcceptInvitationRequest acceptInvitationRequest)
Accepts the invitation to be monitored by a master SecurityHub account.
acceptInvitationRequest
- InternalException
- Internal server error.InvalidInputException
- The request was rejected because an invalid or out-of-range value was supplied for an input parameter.LimitExceededException
- The request was rejected because it attempted to create resources beyond the current AWS account limits.
The error code describes the limit exceeded.ResourceNotFoundException
- The request was rejected because the specified resource cannot be found.InvalidAccessException
- AWS Security Hub is not enabled for the account used to make this request.BatchDisableStandardsResult batchDisableStandards(BatchDisableStandardsRequest batchDisableStandardsRequest)
Disables the standards specified by the standards subscription ARNs. In the context of Security Hub, supported standards (for example, CIS AWS Foundations) are automated and continuous checks that help determine your compliance status against security industry (including AWS) best practices.
batchDisableStandardsRequest
- InternalException
- Internal server error.InvalidInputException
- The request was rejected because an invalid or out-of-range value was supplied for an input parameter.InvalidAccessException
- AWS Security Hub is not enabled for the account used to make this request.LimitExceededException
- The request was rejected because it attempted to create resources beyond the current AWS account limits.
The error code describes the limit exceeded.BatchEnableStandardsResult batchEnableStandards(BatchEnableStandardsRequest batchEnableStandardsRequest)
Enables the standards specified by the standards ARNs. In the context of Security Hub, supported standards (for example, CIS AWS Foundations) are automated and continuous checks that help determine your compliance status against security industry (including AWS) best practices.
batchEnableStandardsRequest
- InternalException
- Internal server error.InvalidInputException
- The request was rejected because an invalid or out-of-range value was supplied for an input parameter.InvalidAccessException
- AWS Security Hub is not enabled for the account used to make this request.LimitExceededException
- The request was rejected because it attempted to create resources beyond the current AWS account limits.
The error code describes the limit exceeded.BatchImportFindingsResult batchImportFindings(BatchImportFindingsRequest batchImportFindingsRequest)
Imports security findings that are generated by the integrated third-party products into Security Hub.
batchImportFindingsRequest
- InternalException
- Internal server error.InvalidInputException
- The request was rejected because an invalid or out-of-range value was supplied for an input parameter.LimitExceededException
- The request was rejected because it attempted to create resources beyond the current AWS account limits.
The error code describes the limit exceeded.InvalidAccessException
- AWS Security Hub is not enabled for the account used to make this request.CreateInsightResult createInsight(CreateInsightRequest createInsightRequest)
Creates an insight, which is a consolidation of findings that identifies a security area that requires attention or intervention.
createInsightRequest
- InternalException
- Internal server error.InvalidInputException
- The request was rejected because an invalid or out-of-range value was supplied for an input parameter.LimitExceededException
- The request was rejected because it attempted to create resources beyond the current AWS account limits.
The error code describes the limit exceeded.InvalidAccessException
- AWS Security Hub is not enabled for the account used to make this request.ResourceConflictException
- The resource specified in the request conflicts with an existing resource.CreateMembersResult createMembers(CreateMembersRequest createMembersRequest)
Creates member Security Hub accounts in the current AWS account (which becomes the master Security Hub account) that has Security Hub enabled.
createMembersRequest
- InternalException
- Internal server error.InvalidInputException
- The request was rejected because an invalid or out-of-range value was supplied for an input parameter.LimitExceededException
- The request was rejected because it attempted to create resources beyond the current AWS account limits.
The error code describes the limit exceeded.InvalidAccessException
- AWS Security Hub is not enabled for the account used to make this request.ResourceConflictException
- The resource specified in the request conflicts with an existing resource.DeclineInvitationsResult declineInvitations(DeclineInvitationsRequest declineInvitationsRequest)
Declines invitations that are sent to this AWS account (invitee) by the AWS accounts (inviters) that are specified by the account IDs.
declineInvitationsRequest
- InternalException
- Internal server error.InvalidInputException
- The request was rejected because an invalid or out-of-range value was supplied for an input parameter.InvalidAccessException
- AWS Security Hub is not enabled for the account used to make this request.ResourceNotFoundException
- The request was rejected because the specified resource cannot be found.DeleteInsightResult deleteInsight(DeleteInsightRequest deleteInsightRequest)
Deletes an insight that is specified by the insight ARN.
deleteInsightRequest
- InternalException
- Internal server error.InvalidInputException
- The request was rejected because an invalid or out-of-range value was supplied for an input parameter.InvalidAccessException
- AWS Security Hub is not enabled for the account used to make this request.LimitExceededException
- The request was rejected because it attempted to create resources beyond the current AWS account limits.
The error code describes the limit exceeded.ResourceNotFoundException
- The request was rejected because the specified resource cannot be found.DeleteInvitationsResult deleteInvitations(DeleteInvitationsRequest deleteInvitationsRequest)
Deletes invitations that are sent to this AWS account (invitee) by the AWS accounts (inviters) that are specified by their account IDs.
deleteInvitationsRequest
- InternalException
- Internal server error.InvalidInputException
- The request was rejected because an invalid or out-of-range value was supplied for an input parameter.LimitExceededException
- The request was rejected because it attempted to create resources beyond the current AWS account limits.
The error code describes the limit exceeded.ResourceNotFoundException
- The request was rejected because the specified resource cannot be found.InvalidAccessException
- AWS Security Hub is not enabled for the account used to make this request.DeleteMembersResult deleteMembers(DeleteMembersRequest deleteMembersRequest)
Deletes the Security Hub member accounts that are specified by the account IDs.
deleteMembersRequest
- InternalException
- Internal server error.InvalidInputException
- The request was rejected because an invalid or out-of-range value was supplied for an input parameter.InvalidAccessException
- AWS Security Hub is not enabled for the account used to make this request.LimitExceededException
- The request was rejected because it attempted to create resources beyond the current AWS account limits.
The error code describes the limit exceeded.ResourceNotFoundException
- The request was rejected because the specified resource cannot be found.DisableImportFindingsForProductResult disableImportFindingsForProduct(DisableImportFindingsForProductRequest disableImportFindingsForProductRequest)
Cancels the subscription that allows a findings-generating solution (product) to import its findings into Security Hub.
disableImportFindingsForProductRequest
- InternalException
- Internal server error.InvalidInputException
- The request was rejected because an invalid or out-of-range value was supplied for an input parameter.ResourceNotFoundException
- The request was rejected because the specified resource cannot be found.InvalidAccessException
- AWS Security Hub is not enabled for the account used to make this request.LimitExceededException
- The request was rejected because it attempted to create resources beyond the current AWS account limits.
The error code describes the limit exceeded.DisableSecurityHubResult disableSecurityHub(DisableSecurityHubRequest disableSecurityHubRequest)
Disables the AWS Security Hub Service.
disableSecurityHubRequest
- InternalException
- Internal server error.LimitExceededException
- The request was rejected because it attempted to create resources beyond the current AWS account limits.
The error code describes the limit exceeded.InvalidAccessException
- AWS Security Hub is not enabled for the account used to make this request.ResourceNotFoundException
- The request was rejected because the specified resource cannot be found.DisassociateFromMasterAccountResult disassociateFromMasterAccount(DisassociateFromMasterAccountRequest disassociateFromMasterAccountRequest)
Disassociates the current Security Hub member account from its master account.
disassociateFromMasterAccountRequest
- InternalException
- Internal server error.InvalidInputException
- The request was rejected because an invalid or out-of-range value was supplied for an input parameter.InvalidAccessException
- AWS Security Hub is not enabled for the account used to make this request.LimitExceededException
- The request was rejected because it attempted to create resources beyond the current AWS account limits.
The error code describes the limit exceeded.ResourceNotFoundException
- The request was rejected because the specified resource cannot be found.DisassociateMembersResult disassociateMembers(DisassociateMembersRequest disassociateMembersRequest)
Disassociates the Security Hub member accounts that are specified by the account IDs from their master account.
disassociateMembersRequest
- InternalException
- Internal server error.InvalidInputException
- The request was rejected because an invalid or out-of-range value was supplied for an input parameter.InvalidAccessException
- AWS Security Hub is not enabled for the account used to make this request.LimitExceededException
- The request was rejected because it attempted to create resources beyond the current AWS account limits.
The error code describes the limit exceeded.ResourceNotFoundException
- The request was rejected because the specified resource cannot be found.EnableImportFindingsForProductResult enableImportFindingsForProduct(EnableImportFindingsForProductRequest enableImportFindingsForProductRequest)
Sets up the subscription that enables a findings-generating solution (product) to import its findings into Security Hub.
enableImportFindingsForProductRequest
- InternalException
- Internal server error.InvalidInputException
- The request was rejected because an invalid or out-of-range value was supplied for an input parameter.InvalidAccessException
- AWS Security Hub is not enabled for the account used to make this request.ResourceConflictException
- The resource specified in the request conflicts with an existing resource.LimitExceededException
- The request was rejected because it attempted to create resources beyond the current AWS account limits.
The error code describes the limit exceeded.EnableSecurityHubResult enableSecurityHub(EnableSecurityHubRequest enableSecurityHubRequest)
Enables the AWS Security Hub service.
enableSecurityHubRequest
- InternalException
- Internal server error.LimitExceededException
- The request was rejected because it attempted to create resources beyond the current AWS account limits.
The error code describes the limit exceeded.InvalidAccessException
- AWS Security Hub is not enabled for the account used to make this request.ResourceConflictException
- The resource specified in the request conflicts with an existing resource.AccessDeniedException
- You do not have permission to to perform the action specified in the request.GetEnabledStandardsResult getEnabledStandards(GetEnabledStandardsRequest getEnabledStandardsRequest)
Lists and describes enabled standards.
getEnabledStandardsRequest
- InternalException
- Internal server error.InvalidInputException
- The request was rejected because an invalid or out-of-range value was supplied for an input parameter.InvalidAccessException
- AWS Security Hub is not enabled for the account used to make this request.LimitExceededException
- The request was rejected because it attempted to create resources beyond the current AWS account limits.
The error code describes the limit exceeded.GetFindingsResult getFindings(GetFindingsRequest getFindingsRequest)
Lists and describes Security Hub-aggregated findings that are specified by filter attributes.
getFindingsRequest
- InternalException
- Internal server error.InvalidInputException
- The request was rejected because an invalid or out-of-range value was supplied for an input parameter.InvalidAccessException
- AWS Security Hub is not enabled for the account used to make this request.LimitExceededException
- The request was rejected because it attempted to create resources beyond the current AWS account limits.
The error code describes the limit exceeded.GetInsightResultsResult getInsightResults(GetInsightResultsRequest getInsightResultsRequest)
Lists the results of the Security Hub insight specified by the insight ARN.
getInsightResultsRequest
- InternalException
- Internal server error.InvalidInputException
- The request was rejected because an invalid or out-of-range value was supplied for an input parameter.InvalidAccessException
- AWS Security Hub is not enabled for the account used to make this request.LimitExceededException
- The request was rejected because it attempted to create resources beyond the current AWS account limits.
The error code describes the limit exceeded.ResourceNotFoundException
- The request was rejected because the specified resource cannot be found.GetInsightsResult getInsights(GetInsightsRequest getInsightsRequest)
Lists and describes insights that are specified by insight ARNs.
getInsightsRequest
- InternalException
- Internal server error.InvalidInputException
- The request was rejected because an invalid or out-of-range value was supplied for an input parameter.InvalidAccessException
- AWS Security Hub is not enabled for the account used to make this request.LimitExceededException
- The request was rejected because it attempted to create resources beyond the current AWS account limits.
The error code describes the limit exceeded.ResourceNotFoundException
- The request was rejected because the specified resource cannot be found.GetInvitationsCountResult getInvitationsCount(GetInvitationsCountRequest getInvitationsCountRequest)
Returns the count of all Security Hub membership invitations that were sent to the current member account, not including the currently accepted invitation.
getInvitationsCountRequest
- InternalException
- Internal server error.InvalidInputException
- The request was rejected because an invalid or out-of-range value was supplied for an input parameter.InvalidAccessException
- AWS Security Hub is not enabled for the account used to make this request.LimitExceededException
- The request was rejected because it attempted to create resources beyond the current AWS account limits.
The error code describes the limit exceeded.GetMasterAccountResult getMasterAccount(GetMasterAccountRequest getMasterAccountRequest)
Provides the details for the Security Hub master account to the current member account.
getMasterAccountRequest
- InternalException
- Internal server error.InvalidInputException
- The request was rejected because an invalid or out-of-range value was supplied for an input parameter.InvalidAccessException
- AWS Security Hub is not enabled for the account used to make this request.LimitExceededException
- The request was rejected because it attempted to create resources beyond the current AWS account limits.
The error code describes the limit exceeded.ResourceNotFoundException
- The request was rejected because the specified resource cannot be found.GetMembersResult getMembers(GetMembersRequest getMembersRequest)
Returns the details on the Security Hub member accounts that are specified by the account IDs.
getMembersRequest
- InternalException
- Internal server error.InvalidInputException
- The request was rejected because an invalid or out-of-range value was supplied for an input parameter.InvalidAccessException
- AWS Security Hub is not enabled for the account used to make this request.LimitExceededException
- The request was rejected because it attempted to create resources beyond the current AWS account limits.
The error code describes the limit exceeded.ResourceNotFoundException
- The request was rejected because the specified resource cannot be found.InviteMembersResult inviteMembers(InviteMembersRequest inviteMembersRequest)
Invites other AWS accounts to enable Security Hub and become Security Hub member accounts. When an account accepts the invitation and becomes a member account, the master account can view Security Hub findings of the member account.
inviteMembersRequest
- InternalException
- Internal server error.InvalidInputException
- The request was rejected because an invalid or out-of-range value was supplied for an input parameter.InvalidAccessException
- AWS Security Hub is not enabled for the account used to make this request.LimitExceededException
- The request was rejected because it attempted to create resources beyond the current AWS account limits.
The error code describes the limit exceeded.ResourceNotFoundException
- The request was rejected because the specified resource cannot be found.ListEnabledProductsForImportResult listEnabledProductsForImport(ListEnabledProductsForImportRequest listEnabledProductsForImportRequest)
Lists all findings-generating solutions (products) whose findings you've subscribed to receive in Security Hub.
listEnabledProductsForImportRequest
- InternalException
- Internal server error.LimitExceededException
- The request was rejected because it attempted to create resources beyond the current AWS account limits.
The error code describes the limit exceeded.InvalidAccessException
- AWS Security Hub is not enabled for the account used to make this request.ListInvitationsResult listInvitations(ListInvitationsRequest listInvitationsRequest)
Lists all Security Hub membership invitations that were sent to the current AWS account.
listInvitationsRequest
- InternalException
- Internal server error.InvalidInputException
- The request was rejected because an invalid or out-of-range value was supplied for an input parameter.InvalidAccessException
- AWS Security Hub is not enabled for the account used to make this request.LimitExceededException
- The request was rejected because it attempted to create resources beyond the current AWS account limits.
The error code describes the limit exceeded.ListMembersResult listMembers(ListMembersRequest listMembersRequest)
Lists details about all member accounts for the current Security Hub master account.
listMembersRequest
- InternalException
- Internal server error.InvalidInputException
- The request was rejected because an invalid or out-of-range value was supplied for an input parameter.InvalidAccessException
- AWS Security Hub is not enabled for the account used to make this request.LimitExceededException
- The request was rejected because it attempted to create resources beyond the current AWS account limits.
The error code describes the limit exceeded.UpdateFindingsResult updateFindings(UpdateFindingsRequest updateFindingsRequest)
Updates the AWS Security Hub-aggregated findings specified by the filter attributes.
updateFindingsRequest
- InternalException
- Internal server error.InvalidInputException
- The request was rejected because an invalid or out-of-range value was supplied for an input parameter.LimitExceededException
- The request was rejected because it attempted to create resources beyond the current AWS account limits.
The error code describes the limit exceeded.InvalidAccessException
- AWS Security Hub is not enabled for the account used to make this request.ResourceNotFoundException
- The request was rejected because the specified resource cannot be found.UpdateInsightResult updateInsight(UpdateInsightRequest updateInsightRequest)
Updates the AWS Security Hub insight specified by the insight ARN.
updateInsightRequest
- InternalException
- Internal server error.InvalidInputException
- The request was rejected because an invalid or out-of-range value was supplied for an input parameter.InvalidAccessException
- AWS Security Hub is not enabled for the account used to make this request.LimitExceededException
- The request was rejected because it attempted to create resources beyond the current AWS account limits.
The error code describes the limit exceeded.ResourceNotFoundException
- The request was rejected because the specified resource cannot be found.void shutdown()
ResponseMetadata getCachedResponseMetadata(AmazonWebServiceRequest request)
Response metadata is only cached for a limited period of time, so if you need to access this extra diagnostic information for an executed request, you should use this method to retrieve it as soon as possible after executing a request.
request
- The originally executed request.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.