/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the securityhub-2018-10-26.normal.json service model. */ using System; using System.Threading; using System.Threading.Tasks; using System.Collections.Generic; using Amazon.Runtime; using Amazon.SecurityHub.Model; namespace Amazon.SecurityHub { /// /// Interface for accessing SecurityHub /// /// Security Hub provides you with a comprehensive view of the security state of your /// Amazon Web Services environment and resources. It also provides you with the readiness /// status of your environment based on controls from supported security standards. Security /// Hub collects security data from Amazon Web Services accounts, services, and integrated /// third-party products and helps you analyze security trends in your environment to /// identify the highest priority security issues. For more information about Security /// Hub, see the Security /// HubUser Guide. /// /// /// /// When you use operations in the Security Hub API, the 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, run the same command for each Region in which you want /// to apply the change. /// /// /// /// For example, if your Region is set to us-west-2, when you use CreateMembers /// to add a member account to Security Hub, the association of the member account with /// the administrator account is created only in the us-west-2 Region. Security /// Hub must be enabled for the member account in the same Region that the invitation /// was sent from. /// /// /// /// The following throttling limits apply to using Security Hub API operations. /// /// /// public partial interface IAmazonSecurityHub : IAmazonService, IDisposable { #if AWS_ASYNC_ENUMERABLES_API /// /// Paginators for the service /// ISecurityHubPaginatorFactory Paginators { get; } #endif #region 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. /// /// /// Container for the necessary parameters to execute the AcceptAdministratorInvitation service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the AcceptAdministratorInvitation service method, as returned by SecurityHub. /// /// Internal server error. /// /// /// The account doesn't have permission to perform this action. /// /// /// The request was rejected because you supplied an invalid or out-of-range value for /// an input parameter. /// /// /// The request was rejected because it attempted to create resources beyond the current /// Amazon Web Services account or throttling limits. The error code describes the limit /// exceeded. /// /// /// The request was rejected because we can't find the specified resource. /// /// REST API Reference for AcceptAdministratorInvitation Operation Task AcceptAdministratorInvitationAsync(AcceptAdministratorInvitationRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region AcceptInvitation /// /// 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. /// /// /// Container for the necessary parameters to execute the AcceptInvitation service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the AcceptInvitation service method, as returned by SecurityHub. /// /// Internal server error. /// /// /// The account doesn't have permission to perform this action. /// /// /// The request was rejected because you supplied an invalid or out-of-range value for /// an input parameter. /// /// /// The request was rejected because it attempted to create resources beyond the current /// Amazon Web Services account or throttling limits. The error code describes the limit /// exceeded. /// /// /// The request was rejected because we can't find the specified resource. /// /// REST API Reference for AcceptInvitation Operation [Obsolete("This API has been deprecated, use AcceptAdministratorInvitation API instead.")] Task AcceptInvitationAsync(AcceptInvitationRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region BatchDeleteAutomationRules /// /// Deletes one or more automation rules. /// /// Container for the necessary parameters to execute the BatchDeleteAutomationRules service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the BatchDeleteAutomationRules service method, as returned by SecurityHub. /// /// Internal server error. /// /// /// The account doesn't have permission to perform this action. /// /// /// The request was rejected because you supplied an invalid or out-of-range value for /// an input parameter. /// /// /// The request was rejected because it attempted to create resources beyond the current /// Amazon Web Services account or throttling limits. The error code describes the limit /// exceeded. /// /// /// The request was rejected because we can't find the specified resource. /// /// REST API Reference for BatchDeleteAutomationRules Operation Task BatchDeleteAutomationRulesAsync(BatchDeleteAutomationRulesRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region BatchDisableStandards /// /// Disables the standards specified by the provided StandardsSubscriptionArns. /// /// /// /// For more information, see Security /// Standards section of the Security Hub User Guide. /// /// /// Container for the necessary parameters to execute the BatchDisableStandards service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the BatchDisableStandards service method, as returned by SecurityHub. /// /// Internal server error. /// /// /// The account doesn't have permission to perform this action. /// /// /// The request was rejected because you supplied an invalid or out-of-range value for /// an input parameter. /// /// /// The request was rejected because it attempted to create resources beyond the current /// Amazon Web Services account or throttling limits. The error code describes the limit /// exceeded. /// /// REST API Reference for BatchDisableStandards Operation Task BatchDisableStandardsAsync(BatchDisableStandardsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region BatchEnableStandards /// /// 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. /// /// /// Container for the necessary parameters to execute the BatchEnableStandards service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the BatchEnableStandards service method, as returned by SecurityHub. /// /// Internal server error. /// /// /// The account doesn't have permission to perform this action. /// /// /// The request was rejected because you supplied an invalid or out-of-range value for /// an input parameter. /// /// /// The request was rejected because it attempted to create resources beyond the current /// Amazon Web Services account or throttling limits. The error code describes the limit /// exceeded. /// /// REST API Reference for BatchEnableStandards Operation Task BatchEnableStandardsAsync(BatchEnableStandardsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region BatchGetAutomationRules /// /// Retrieves a list of details for automation rules based on rule Amazon Resource Names /// (ARNs). /// /// Container for the necessary parameters to execute the BatchGetAutomationRules service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the BatchGetAutomationRules service method, as returned by SecurityHub. /// /// You don't have permission to perform the action specified in the request. /// /// /// Internal server error. /// /// /// The account doesn't have permission to perform this action. /// /// /// The request was rejected because you supplied an invalid or out-of-range value for /// an input parameter. /// /// /// The request was rejected because it attempted to create resources beyond the current /// Amazon Web Services account or throttling limits. The error code describes the limit /// exceeded. /// /// /// The request was rejected because we can't find the specified resource. /// /// REST API Reference for BatchGetAutomationRules Operation Task BatchGetAutomationRulesAsync(BatchGetAutomationRulesRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region BatchGetSecurityControls /// /// Provides details about a batch of security controls for the current Amazon Web Services /// account and Amazon Web Services Region. /// /// Container for the necessary parameters to execute the BatchGetSecurityControls service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the BatchGetSecurityControls service method, as returned by SecurityHub. /// /// Internal server error. /// /// /// The account doesn't have permission to perform this action. /// /// /// The request was rejected because you supplied an invalid or out-of-range value for /// an input parameter. /// /// /// The request was rejected because it attempted to create resources beyond the current /// Amazon Web Services account or throttling limits. The error code describes the limit /// exceeded. /// /// REST API Reference for BatchGetSecurityControls Operation Task BatchGetSecurityControlsAsync(BatchGetSecurityControlsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region BatchGetStandardsControlAssociations /// /// For a batch of security controls and standards, identifies whether each control is /// currently enabled or disabled in a standard. /// /// Container for the necessary parameters to execute the BatchGetStandardsControlAssociations service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the BatchGetStandardsControlAssociations service method, as returned by SecurityHub. /// /// Internal server error. /// /// /// The account doesn't have permission to perform this action. /// /// /// The request was rejected because you supplied an invalid or out-of-range value for /// an input parameter. /// /// /// The request was rejected because it attempted to create resources beyond the current /// Amazon Web Services account or throttling limits. The error code describes the limit /// exceeded. /// /// REST API Reference for BatchGetStandardsControlAssociations Operation Task BatchGetStandardsControlAssociationsAsync(BatchGetStandardsControlAssociationsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region BatchImportFindings /// /// 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. /// ///
/// Container for the necessary parameters to execute the BatchImportFindings service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the BatchImportFindings service method, as returned by SecurityHub. /// /// Internal server error. /// /// /// The account doesn't have permission to perform this action. /// /// /// The request was rejected because you supplied an invalid or out-of-range value for /// an input parameter. /// /// /// The request was rejected because it attempted to create resources beyond the current /// Amazon Web Services account or throttling limits. The error code describes the limit /// exceeded. /// /// REST API Reference for BatchImportFindings Operation Task BatchImportFindingsAsync(BatchImportFindingsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region BatchUpdateAutomationRules /// /// Updates one or more automation rules based on rule Amazon Resource Names (ARNs) and /// input parameters. /// /// Container for the necessary parameters to execute the BatchUpdateAutomationRules service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the BatchUpdateAutomationRules service method, as returned by SecurityHub. /// /// Internal server error. /// /// /// The account doesn't have permission to perform this action. /// /// /// The request was rejected because you supplied an invalid or out-of-range value for /// an input parameter. /// /// /// The request was rejected because it attempted to create resources beyond the current /// Amazon Web Services account or throttling limits. The error code describes the limit /// exceeded. /// /// /// The request was rejected because we can't find the specified resource. /// /// REST API Reference for BatchUpdateAutomationRules Operation Task BatchUpdateAutomationRulesAsync(BatchUpdateAutomationRulesRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region BatchUpdateFindings /// /// 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. /// ///
/// Container for the necessary parameters to execute the BatchUpdateFindings service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the BatchUpdateFindings service method, as returned by SecurityHub. /// /// Internal server error. /// /// /// The account doesn't have permission to perform this action. /// /// /// The request was rejected because you supplied an invalid or out-of-range value for /// an input parameter. /// /// /// The request was rejected because it attempted to create resources beyond the current /// Amazon Web Services account or throttling limits. The error code describes the limit /// exceeded. /// /// REST API Reference for BatchUpdateFindings Operation Task BatchUpdateFindingsAsync(BatchUpdateFindingsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region BatchUpdateStandardsControlAssociations /// /// For a batch of security controls and standards, this operation updates the enablement /// status of a control in a standard. /// /// Container for the necessary parameters to execute the BatchUpdateStandardsControlAssociations service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the BatchUpdateStandardsControlAssociations service method, as returned by SecurityHub. /// /// Internal server error. /// /// /// The account doesn't have permission to perform this action. /// /// /// The request was rejected because you supplied an invalid or out-of-range value for /// an input parameter. /// /// /// The request was rejected because it attempted to create resources beyond the current /// Amazon Web Services account or throttling limits. The error code describes the limit /// exceeded. /// /// REST API Reference for BatchUpdateStandardsControlAssociations Operation Task BatchUpdateStandardsControlAssociationsAsync(BatchUpdateStandardsControlAssociationsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region CreateActionTarget /// /// 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. /// /// /// Container for the necessary parameters to execute the CreateActionTarget service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the CreateActionTarget service method, as returned by SecurityHub. /// /// Internal server error. /// /// /// The account doesn't have permission to perform this action. /// /// /// The request was rejected because you supplied an invalid or out-of-range value for /// an input parameter. /// /// /// The request was rejected because it attempted to create resources beyond the current /// Amazon Web Services account or throttling limits. The error code describes the limit /// exceeded. /// /// /// The resource specified in the request conflicts with an existing resource. /// /// REST API Reference for CreateActionTarget Operation Task CreateActionTargetAsync(CreateActionTargetRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region CreateAutomationRule /// /// Creates an automation rule based on input parameters. /// /// Container for the necessary parameters to execute the CreateAutomationRule service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the CreateAutomationRule service method, as returned by SecurityHub. /// /// You don't have permission to perform the action specified in the request. /// /// /// Internal server error. /// /// /// The account doesn't have permission to perform this action. /// /// /// The request was rejected because you supplied an invalid or out-of-range value for /// an input parameter. /// /// /// The request was rejected because it attempted to create resources beyond the current /// Amazon Web Services account or throttling limits. The error code describes the limit /// exceeded. /// /// REST API Reference for CreateAutomationRule Operation Task CreateAutomationRuleAsync(CreateAutomationRuleRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region CreateFindingAggregator /// /// 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. /// /// /// Container for the necessary parameters to execute the CreateFindingAggregator service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the CreateFindingAggregator service method, as returned by SecurityHub. /// /// You don't have permission to perform the action specified in the request. /// /// /// Internal server error. /// /// /// The account doesn't have permission to perform this action. /// /// /// The request was rejected because you supplied an invalid or out-of-range value for /// an input parameter. /// /// /// The request was rejected because it attempted to create resources beyond the current /// Amazon Web Services account or throttling limits. The error code describes the limit /// exceeded. /// /// REST API Reference for CreateFindingAggregator Operation Task CreateFindingAggregatorAsync(CreateFindingAggregatorRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region CreateInsight /// /// 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. /// /// /// Container for the necessary parameters to execute the CreateInsight service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the CreateInsight service method, as returned by SecurityHub. /// /// Internal server error. /// /// /// The account doesn't have permission to perform this action. /// /// /// The request was rejected because you supplied an invalid or out-of-range value for /// an input parameter. /// /// /// The request was rejected because it attempted to create resources beyond the current /// Amazon Web Services account or throttling limits. The error code describes the limit /// exceeded. /// /// /// The resource specified in the request conflicts with an existing resource. /// /// REST API Reference for CreateInsight Operation Task CreateInsightAsync(CreateInsightRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region CreateMembers /// /// 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. /// ///
/// Container for the necessary parameters to execute the CreateMembers service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the CreateMembers service method, as returned by SecurityHub. /// /// Internal server error. /// /// /// The account doesn't have permission to perform this action. /// /// /// The request was rejected because you supplied an invalid or out-of-range value for /// an input parameter. /// /// /// The request was rejected because it attempted to create resources beyond the current /// Amazon Web Services account or throttling limits. The error code describes the limit /// exceeded. /// /// /// The resource specified in the request conflicts with an existing resource. /// /// REST API Reference for CreateMembers Operation Task CreateMembersAsync(CreateMembersRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region DeclineInvitations /// /// 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. /// /// /// Container for the necessary parameters to execute the DeclineInvitations service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DeclineInvitations service method, as returned by SecurityHub. /// /// Internal server error. /// /// /// The account doesn't have permission to perform this action. /// /// /// The request was rejected because you supplied an invalid or out-of-range value for /// an input parameter. /// /// /// The request was rejected because we can't find the specified resource. /// /// REST API Reference for DeclineInvitations Operation Task DeclineInvitationsAsync(DeclineInvitationsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region DeleteActionTarget /// /// 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. /// /// /// Container for the necessary parameters to execute the DeleteActionTarget service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DeleteActionTarget service method, as returned by SecurityHub. /// /// Internal server error. /// /// /// The account doesn't have permission to perform this action. /// /// /// The request was rejected because you supplied an invalid or out-of-range value for /// an input parameter. /// /// /// The request was rejected because we can't find the specified resource. /// /// REST API Reference for DeleteActionTarget Operation Task DeleteActionTargetAsync(DeleteActionTargetRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region DeleteFindingAggregator /// /// 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. /// /// /// Container for the necessary parameters to execute the DeleteFindingAggregator service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DeleteFindingAggregator service method, as returned by SecurityHub. /// /// You don't have permission to perform the action specified in the request. /// /// /// Internal server error. /// /// /// The account doesn't have permission to perform this action. /// /// /// The request was rejected because you supplied an invalid or out-of-range value for /// an input parameter. /// /// /// The request was rejected because it attempted to create resources beyond the current /// Amazon Web Services account or throttling limits. The error code describes the limit /// exceeded. /// /// /// The request was rejected because we can't find the specified resource. /// /// REST API Reference for DeleteFindingAggregator Operation Task DeleteFindingAggregatorAsync(DeleteFindingAggregatorRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region DeleteInsight /// /// Deletes the insight specified by the InsightArn. /// /// Container for the necessary parameters to execute the DeleteInsight service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DeleteInsight service method, as returned by SecurityHub. /// /// Internal server error. /// /// /// The account doesn't have permission to perform this action. /// /// /// The request was rejected because you supplied an invalid or out-of-range value for /// an input parameter. /// /// /// The request was rejected because it attempted to create resources beyond the current /// Amazon Web Services account or throttling limits. The error code describes the limit /// exceeded. /// /// /// The request was rejected because we can't find the specified resource. /// /// REST API Reference for DeleteInsight Operation Task DeleteInsightAsync(DeleteInsightRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region DeleteInvitations /// /// 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. /// /// /// Container for the necessary parameters to execute the DeleteInvitations service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DeleteInvitations service method, as returned by SecurityHub. /// /// Internal server error. /// /// /// The account doesn't have permission to perform this action. /// /// /// The request was rejected because you supplied an invalid or out-of-range value for /// an input parameter. /// /// /// The request was rejected because it attempted to create resources beyond the current /// Amazon Web Services account or throttling limits. The error code describes the limit /// exceeded. /// /// /// The request was rejected because we can't find the specified resource. /// /// REST API Reference for DeleteInvitations Operation Task DeleteInvitationsAsync(DeleteInvitationsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region DeleteMembers /// /// 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. /// /// /// Container for the necessary parameters to execute the DeleteMembers service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DeleteMembers service method, as returned by SecurityHub. /// /// Internal server error. /// /// /// The account doesn't have permission to perform this action. /// /// /// The request was rejected because you supplied an invalid or out-of-range value for /// an input parameter. /// /// /// The request was rejected because it attempted to create resources beyond the current /// Amazon Web Services account or throttling limits. The error code describes the limit /// exceeded. /// /// /// The request was rejected because we can't find the specified resource. /// /// REST API Reference for DeleteMembers Operation Task DeleteMembersAsync(DeleteMembersRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region DescribeActionTargets /// /// Returns a list of the custom action targets in Security Hub in your account. /// /// Container for the necessary parameters to execute the DescribeActionTargets service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DescribeActionTargets service method, as returned by SecurityHub. /// /// Internal server error. /// /// /// The account doesn't have permission to perform this action. /// /// /// The request was rejected because you supplied an invalid or out-of-range value for /// an input parameter. /// /// /// The request was rejected because we can't find the specified resource. /// /// REST API Reference for DescribeActionTargets Operation Task DescribeActionTargetsAsync(DescribeActionTargetsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region DescribeHub /// /// Returns details about the Hub resource in your account, including the HubArn /// and the time when you enabled Security Hub. /// /// Container for the necessary parameters to execute the DescribeHub service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DescribeHub service method, as returned by SecurityHub. /// /// Internal server error. /// /// /// The account doesn't have permission to perform this action. /// /// /// The request was rejected because you supplied an invalid or out-of-range value for /// an input parameter. /// /// /// The request was rejected because it attempted to create resources beyond the current /// Amazon Web Services account or throttling limits. The error code describes the limit /// exceeded. /// /// /// The request was rejected because we can't find the specified resource. /// /// REST API Reference for DescribeHub Operation Task DescribeHubAsync(DescribeHubRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region DescribeOrganizationConfiguration /// /// Returns information about the Organizations configuration for Security Hub. Can only /// be called from a Security Hub administrator account. /// /// Container for the necessary parameters to execute the DescribeOrganizationConfiguration service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DescribeOrganizationConfiguration service method, as returned by SecurityHub. /// /// Internal server error. /// /// /// The account doesn't have permission to perform this action. /// /// /// The request was rejected because you supplied an invalid or out-of-range value for /// an input parameter. /// /// /// The request was rejected because it attempted to create resources beyond the current /// Amazon Web Services account or throttling limits. The error code describes the limit /// exceeded. /// /// REST API Reference for DescribeOrganizationConfiguration Operation Task DescribeOrganizationConfigurationAsync(DescribeOrganizationConfigurationRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region DescribeProducts /// /// 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. /// /// /// Container for the necessary parameters to execute the DescribeProducts service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DescribeProducts service method, as returned by SecurityHub. /// /// Internal server error. /// /// /// The account doesn't have permission to perform this action. /// /// /// The request was rejected because you supplied an invalid or out-of-range value for /// an input parameter. /// /// /// The request was rejected because it attempted to create resources beyond the current /// Amazon Web Services account or throttling limits. The error code describes the limit /// exceeded. /// /// REST API Reference for DescribeProducts Operation Task DescribeProductsAsync(DescribeProductsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region DescribeStandards /// /// Returns a list of the available standards in Security Hub. /// /// /// /// For each standard, the results include the standard ARN, the name, and a description. /// /// /// /// Container for the necessary parameters to execute the DescribeStandards service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DescribeStandards service method, as returned by SecurityHub. /// /// Internal server error. /// /// /// The account doesn't have permission to perform this action. /// /// /// The request was rejected because you supplied an invalid or out-of-range value for /// an input parameter. /// /// REST API Reference for DescribeStandards Operation Task DescribeStandardsAsync(DescribeStandardsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region DescribeStandardsControls /// /// 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. /// /// /// Container for the necessary parameters to execute the DescribeStandardsControls service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DescribeStandardsControls service method, as returned by SecurityHub. /// /// Internal server error. /// /// /// The account doesn't have permission to perform this action. /// /// /// The request was rejected because you supplied an invalid or out-of-range value for /// an input parameter. /// /// /// The request was rejected because we can't find the specified resource. /// /// REST API Reference for DescribeStandardsControls Operation Task DescribeStandardsControlsAsync(DescribeStandardsControlsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region DisableImportFindingsForProduct /// /// 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. /// /// Container for the necessary parameters to execute the DisableImportFindingsForProduct service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DisableImportFindingsForProduct service method, as returned by SecurityHub. /// /// Internal server error. /// /// /// The account doesn't have permission to perform this action. /// /// /// The request was rejected because you supplied an invalid or out-of-range value for /// an input parameter. /// /// /// The request was rejected because it attempted to create resources beyond the current /// Amazon Web Services account or throttling limits. The error code describes the limit /// exceeded. /// /// /// The request was rejected because we can't find the specified resource. /// /// REST API Reference for DisableImportFindingsForProduct Operation Task DisableImportFindingsForProductAsync(DisableImportFindingsForProductRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region DisableOrganizationAdminAccount /// /// Disables a Security Hub administrator account. Can only be called by the organization /// management account. /// /// Container for the necessary parameters to execute the DisableOrganizationAdminAccount service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DisableOrganizationAdminAccount service method, as returned by SecurityHub. /// /// Internal server error. /// /// /// The account doesn't have permission to perform this action. /// /// /// The request was rejected because you supplied an invalid or out-of-range value for /// an input parameter. /// /// /// The request was rejected because it attempted to create resources beyond the current /// Amazon Web Services account or throttling limits. The error code describes the limit /// exceeded. /// /// REST API Reference for DisableOrganizationAdminAccount Operation Task DisableOrganizationAdminAccountAsync(DisableOrganizationAdminAccountRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region DisableSecurityHub /// /// 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. /// /// /// Container for the necessary parameters to execute the DisableSecurityHub service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DisableSecurityHub service method, as returned by SecurityHub. /// /// Internal server error. /// /// /// The account doesn't have permission to perform this action. /// /// /// The request was rejected because it attempted to create resources beyond the current /// Amazon Web Services account or throttling limits. The error code describes the limit /// exceeded. /// /// /// The request was rejected because we can't find the specified resource. /// /// REST API Reference for DisableSecurityHub Operation Task DisableSecurityHubAsync(DisableSecurityHubRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region 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. /// /// /// Container for the necessary parameters to execute the DisassociateFromAdministratorAccount service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DisassociateFromAdministratorAccount service method, as returned by SecurityHub. /// /// Internal server error. /// /// /// The account doesn't have permission to perform this action. /// /// /// The request was rejected because you supplied an invalid or out-of-range value for /// an input parameter. /// /// /// The request was rejected because it attempted to create resources beyond the current /// Amazon Web Services account or throttling limits. The error code describes the limit /// exceeded. /// /// /// The request was rejected because we can't find the specified resource. /// /// REST API Reference for DisassociateFromAdministratorAccount Operation Task DisassociateFromAdministratorAccountAsync(DisassociateFromAdministratorAccountRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region DisassociateFromMasterAccount /// /// 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. /// /// /// Container for the necessary parameters to execute the DisassociateFromMasterAccount service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DisassociateFromMasterAccount service method, as returned by SecurityHub. /// /// Internal server error. /// /// /// The account doesn't have permission to perform this action. /// /// /// The request was rejected because you supplied an invalid or out-of-range value for /// an input parameter. /// /// /// The request was rejected because it attempted to create resources beyond the current /// Amazon Web Services account or throttling limits. The error code describes the limit /// exceeded. /// /// /// The request was rejected because we can't find the specified resource. /// /// REST API Reference for DisassociateFromMasterAccount Operation [Obsolete("This API has been deprecated, use DisassociateFromAdministratorAccount API instead.")] Task DisassociateFromMasterAccountAsync(DisassociateFromMasterAccountRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region DisassociateMembers /// /// 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. /// /// /// Container for the necessary parameters to execute the DisassociateMembers service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DisassociateMembers service method, as returned by SecurityHub. /// /// Internal server error. /// /// /// The account doesn't have permission to perform this action. /// /// /// The request was rejected because you supplied an invalid or out-of-range value for /// an input parameter. /// /// /// The request was rejected because it attempted to create resources beyond the current /// Amazon Web Services account or throttling limits. The error code describes the limit /// exceeded. /// /// /// The request was rejected because we can't find the specified resource. /// /// REST API Reference for DisassociateMembers Operation Task DisassociateMembersAsync(DisassociateMembersRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region EnableImportFindingsForProduct /// /// 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. /// /// /// Container for the necessary parameters to execute the EnableImportFindingsForProduct service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the EnableImportFindingsForProduct service method, as returned by SecurityHub. /// /// Internal server error. /// /// /// The account doesn't have permission to perform this action. /// /// /// The request was rejected because you supplied an invalid or out-of-range value for /// an input parameter. /// /// /// The request was rejected because it attempted to create resources beyond the current /// Amazon Web Services account or throttling limits. The error code describes the limit /// exceeded. /// /// /// The resource specified in the request conflicts with an existing resource. /// /// REST API Reference for EnableImportFindingsForProduct Operation Task EnableImportFindingsForProductAsync(EnableImportFindingsForProductRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region EnableOrganizationAdminAccount /// /// Designates the Security Hub administrator account for an organization. Can only be /// called by the organization management account. /// /// Container for the necessary parameters to execute the EnableOrganizationAdminAccount service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the EnableOrganizationAdminAccount service method, as returned by SecurityHub. /// /// Internal server error. /// /// /// The account doesn't have permission to perform this action. /// /// /// The request was rejected because you supplied an invalid or out-of-range value for /// an input parameter. /// /// /// The request was rejected because it attempted to create resources beyond the current /// Amazon Web Services account or throttling limits. The error code describes the limit /// exceeded. /// /// REST API Reference for EnableOrganizationAdminAccount Operation Task EnableOrganizationAdminAccountAsync(EnableOrganizationAdminAccountRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region EnableSecurityHub /// /// 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. /// ///
/// Container for the necessary parameters to execute the EnableSecurityHub service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the EnableSecurityHub service method, as returned by SecurityHub. /// /// You don't have permission to perform the action specified in the request. /// /// /// Internal server error. /// /// /// The account doesn't have permission to perform this action. /// /// /// The request was rejected because it attempted to create resources beyond the current /// Amazon Web Services account or throttling limits. The error code describes the limit /// exceeded. /// /// /// The resource specified in the request conflicts with an existing resource. /// /// REST API Reference for EnableSecurityHub Operation Task EnableSecurityHubAsync(EnableSecurityHubRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region 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. /// /// /// Container for the necessary parameters to execute the GetAdministratorAccount service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the GetAdministratorAccount service method, as returned by SecurityHub. /// /// Internal server error. /// /// /// The account doesn't have permission to perform this action. /// /// /// The request was rejected because you supplied an invalid or out-of-range value for /// an input parameter. /// /// /// The request was rejected because it attempted to create resources beyond the current /// Amazon Web Services account or throttling limits. The error code describes the limit /// exceeded. /// /// /// The request was rejected because we can't find the specified resource. /// /// REST API Reference for GetAdministratorAccount Operation Task GetAdministratorAccountAsync(GetAdministratorAccountRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region GetEnabledStandards /// /// Returns a list of the standards that are currently enabled. /// /// Container for the necessary parameters to execute the GetEnabledStandards service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the GetEnabledStandards service method, as returned by SecurityHub. /// /// Internal server error. /// /// /// The account doesn't have permission to perform this action. /// /// /// The request was rejected because you supplied an invalid or out-of-range value for /// an input parameter. /// /// /// The request was rejected because it attempted to create resources beyond the current /// Amazon Web Services account or throttling limits. The error code describes the limit /// exceeded. /// /// REST API Reference for GetEnabledStandards Operation Task GetEnabledStandardsAsync(GetEnabledStandardsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region GetFindingAggregator /// /// Returns the current finding aggregation configuration. /// /// Container for the necessary parameters to execute the GetFindingAggregator service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the GetFindingAggregator service method, as returned by SecurityHub. /// /// You don't have permission to perform the action specified in the request. /// /// /// Internal server error. /// /// /// The account doesn't have permission to perform this action. /// /// /// The request was rejected because you supplied an invalid or out-of-range value for /// an input parameter. /// /// /// The request was rejected because it attempted to create resources beyond the current /// Amazon Web Services account or throttling limits. The error code describes the limit /// exceeded. /// /// /// The request was rejected because we can't find the specified resource. /// /// REST API Reference for GetFindingAggregator Operation Task GetFindingAggregatorAsync(GetFindingAggregatorRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region GetFindingHistory /// /// 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). /// /// Container for the necessary parameters to execute the GetFindingHistory service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the GetFindingHistory service method, as returned by SecurityHub. /// /// Internal server error. /// /// /// The account doesn't have permission to perform this action. /// /// /// The request was rejected because you supplied an invalid or out-of-range value for /// an input parameter. /// /// /// The request was rejected because it attempted to create resources beyond the current /// Amazon Web Services account or throttling limits. The error code describes the limit /// exceeded. /// /// REST API Reference for GetFindingHistory Operation Task GetFindingHistoryAsync(GetFindingHistoryRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region GetFindings /// /// 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. /// /// /// Container for the necessary parameters to execute the GetFindings service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the GetFindings service method, as returned by SecurityHub. /// /// Internal server error. /// /// /// The account doesn't have permission to perform this action. /// /// /// The request was rejected because you supplied an invalid or out-of-range value for /// an input parameter. /// /// /// The request was rejected because it attempted to create resources beyond the current /// Amazon Web Services account or throttling limits. The error code describes the limit /// exceeded. /// /// REST API Reference for GetFindings Operation Task GetFindingsAsync(GetFindingsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region GetInsightResults /// /// Lists the results of the Security Hub insight specified by the insight ARN. /// /// Container for the necessary parameters to execute the GetInsightResults service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the GetInsightResults service method, as returned by SecurityHub. /// /// Internal server error. /// /// /// The account doesn't have permission to perform this action. /// /// /// The request was rejected because you supplied an invalid or out-of-range value for /// an input parameter. /// /// /// The request was rejected because it attempted to create resources beyond the current /// Amazon Web Services account or throttling limits. The error code describes the limit /// exceeded. /// /// /// The request was rejected because we can't find the specified resource. /// /// REST API Reference for GetInsightResults Operation Task GetInsightResultsAsync(GetInsightResultsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region GetInsights /// /// Lists and describes insights for the specified insight ARNs. /// /// Container for the necessary parameters to execute the GetInsights service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the GetInsights service method, as returned by SecurityHub. /// /// Internal server error. /// /// /// The account doesn't have permission to perform this action. /// /// /// The request was rejected because you supplied an invalid or out-of-range value for /// an input parameter. /// /// /// The request was rejected because it attempted to create resources beyond the current /// Amazon Web Services account or throttling limits. The error code describes the limit /// exceeded. /// /// /// The request was rejected because we can't find the specified resource. /// /// REST API Reference for GetInsights Operation Task GetInsightsAsync(GetInsightsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region GetInvitationsCount /// /// Returns the count of all Security Hub membership invitations that were sent to the /// current member account, not including the currently accepted invitation. /// /// Container for the necessary parameters to execute the GetInvitationsCount service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the GetInvitationsCount service method, as returned by SecurityHub. /// /// Internal server error. /// /// /// The account doesn't have permission to perform this action. /// /// /// The request was rejected because you supplied an invalid or out-of-range value for /// an input parameter. /// /// /// The request was rejected because it attempted to create resources beyond the current /// Amazon Web Services account or throttling limits. The error code describes the limit /// exceeded. /// /// REST API Reference for GetInvitationsCount Operation Task GetInvitationsCountAsync(GetInvitationsCountRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region GetMasterAccount /// /// 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. /// /// /// Container for the necessary parameters to execute the GetMasterAccount service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the GetMasterAccount service method, as returned by SecurityHub. /// /// Internal server error. /// /// /// The account doesn't have permission to perform this action. /// /// /// The request was rejected because you supplied an invalid or out-of-range value for /// an input parameter. /// /// /// The request was rejected because it attempted to create resources beyond the current /// Amazon Web Services account or throttling limits. The error code describes the limit /// exceeded. /// /// /// The request was rejected because we can't find the specified resource. /// /// REST API Reference for GetMasterAccount Operation [Obsolete("This API has been deprecated, use GetAdministratorAccount API instead.")] Task GetMasterAccountAsync(GetMasterAccountRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region GetMembers /// /// 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. /// /// /// Container for the necessary parameters to execute the GetMembers service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the GetMembers service method, as returned by SecurityHub. /// /// Internal server error. /// /// /// The account doesn't have permission to perform this action. /// /// /// The request was rejected because you supplied an invalid or out-of-range value for /// an input parameter. /// /// /// The request was rejected because it attempted to create resources beyond the current /// Amazon Web Services account or throttling limits. The error code describes the limit /// exceeded. /// /// /// The request was rejected because we can't find the specified resource. /// /// REST API Reference for GetMembers Operation Task GetMembersAsync(GetMembersRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region InviteMembers /// /// 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. /// /// /// Container for the necessary parameters to execute the InviteMembers service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the InviteMembers service method, as returned by SecurityHub. /// /// Internal server error. /// /// /// The account doesn't have permission to perform this action. /// /// /// The request was rejected because you supplied an invalid or out-of-range value for /// an input parameter. /// /// /// The request was rejected because it attempted to create resources beyond the current /// Amazon Web Services account or throttling limits. The error code describes the limit /// exceeded. /// /// /// The request was rejected because we can't find the specified resource. /// /// REST API Reference for InviteMembers Operation Task InviteMembersAsync(InviteMembersRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region ListAutomationRules /// /// A list of automation rules and their metadata for the calling account. /// /// Container for the necessary parameters to execute the ListAutomationRules service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the ListAutomationRules service method, as returned by SecurityHub. /// /// You don't have permission to perform the action specified in the request. /// /// /// Internal server error. /// /// /// The account doesn't have permission to perform this action. /// /// /// The request was rejected because you supplied an invalid or out-of-range value for /// an input parameter. /// /// /// The request was rejected because it attempted to create resources beyond the current /// Amazon Web Services account or throttling limits. The error code describes the limit /// exceeded. /// /// REST API Reference for ListAutomationRules Operation Task ListAutomationRulesAsync(ListAutomationRulesRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region ListEnabledProductsForImport /// /// Lists all findings-generating solutions (products) that you are subscribed to receive /// findings from in Security Hub. /// /// Container for the necessary parameters to execute the ListEnabledProductsForImport service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the ListEnabledProductsForImport service method, as returned by SecurityHub. /// /// Internal server error. /// /// /// The account doesn't have permission to perform this action. /// /// /// The request was rejected because it attempted to create resources beyond the current /// Amazon Web Services account or throttling limits. The error code describes the limit /// exceeded. /// /// REST API Reference for ListEnabledProductsForImport Operation Task ListEnabledProductsForImportAsync(ListEnabledProductsForImportRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region ListFindingAggregators /// /// If finding aggregation is enabled, then ListFindingAggregators returns /// the ARN of the finding aggregator. You can run this operation from any Region. /// /// Container for the necessary parameters to execute the ListFindingAggregators service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the ListFindingAggregators service method, as returned by SecurityHub. /// /// You don't have permission to perform the action specified in the request. /// /// /// Internal server error. /// /// /// The account doesn't have permission to perform this action. /// /// /// The request was rejected because you supplied an invalid or out-of-range value for /// an input parameter. /// /// /// The request was rejected because it attempted to create resources beyond the current /// Amazon Web Services account or throttling limits. The error code describes the limit /// exceeded. /// /// REST API Reference for ListFindingAggregators Operation Task ListFindingAggregatorsAsync(ListFindingAggregatorsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region ListInvitations /// /// 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. /// /// /// Container for the necessary parameters to execute the ListInvitations service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the ListInvitations service method, as returned by SecurityHub. /// /// Internal server error. /// /// /// The account doesn't have permission to perform this action. /// /// /// The request was rejected because you supplied an invalid or out-of-range value for /// an input parameter. /// /// /// The request was rejected because it attempted to create resources beyond the current /// Amazon Web Services account or throttling limits. The error code describes the limit /// exceeded. /// /// REST API Reference for ListInvitations Operation Task ListInvitationsAsync(ListInvitationsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region ListMembers /// /// 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. /// /// /// Container for the necessary parameters to execute the ListMembers service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the ListMembers service method, as returned by SecurityHub. /// /// Internal server error. /// /// /// The account doesn't have permission to perform this action. /// /// /// The request was rejected because you supplied an invalid or out-of-range value for /// an input parameter. /// /// /// The request was rejected because it attempted to create resources beyond the current /// Amazon Web Services account or throttling limits. The error code describes the limit /// exceeded. /// /// REST API Reference for ListMembers Operation Task ListMembersAsync(ListMembersRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region ListOrganizationAdminAccounts /// /// Lists the Security Hub administrator accounts. Can only be called by the organization /// management account. /// /// Container for the necessary parameters to execute the ListOrganizationAdminAccounts service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the ListOrganizationAdminAccounts service method, as returned by SecurityHub. /// /// Internal server error. /// /// /// The account doesn't have permission to perform this action. /// /// /// The request was rejected because you supplied an invalid or out-of-range value for /// an input parameter. /// /// /// The request was rejected because it attempted to create resources beyond the current /// Amazon Web Services account or throttling limits. The error code describes the limit /// exceeded. /// /// REST API Reference for ListOrganizationAdminAccounts Operation Task ListOrganizationAdminAccountsAsync(ListOrganizationAdminAccountsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region ListSecurityControlDefinitions /// /// Lists all of the security controls that apply to a specified standard. /// /// Container for the necessary parameters to execute the ListSecurityControlDefinitions service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the ListSecurityControlDefinitions service method, as returned by SecurityHub. /// /// Internal server error. /// /// /// The account doesn't have permission to perform this action. /// /// /// The request was rejected because you supplied an invalid or out-of-range value for /// an input parameter. /// /// /// The request was rejected because it attempted to create resources beyond the current /// Amazon Web Services account or throttling limits. The error code describes the limit /// exceeded. /// /// REST API Reference for ListSecurityControlDefinitions Operation Task ListSecurityControlDefinitionsAsync(ListSecurityControlDefinitionsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region ListStandardsControlAssociations /// /// Specifies whether a control is currently enabled or disabled in each enabled standard /// in the calling account. /// /// Container for the necessary parameters to execute the ListStandardsControlAssociations service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the ListStandardsControlAssociations service method, as returned by SecurityHub. /// /// Internal server error. /// /// /// The account doesn't have permission to perform this action. /// /// /// The request was rejected because you supplied an invalid or out-of-range value for /// an input parameter. /// /// /// The request was rejected because it attempted to create resources beyond the current /// Amazon Web Services account or throttling limits. The error code describes the limit /// exceeded. /// /// REST API Reference for ListStandardsControlAssociations Operation Task ListStandardsControlAssociationsAsync(ListStandardsControlAssociationsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region ListTagsForResource /// /// Returns a list of tags associated with a resource. /// /// Container for the necessary parameters to execute the ListTagsForResource service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the ListTagsForResource service method, as returned by SecurityHub. /// /// Internal server error. /// /// /// The request was rejected because you supplied an invalid or out-of-range value for /// an input parameter. /// /// /// The request was rejected because we can't find the specified resource. /// /// REST API Reference for ListTagsForResource Operation Task ListTagsForResourceAsync(ListTagsForResourceRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region TagResource /// /// Adds one or more tags to a resource. /// /// Container for the necessary parameters to execute the TagResource service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the TagResource service method, as returned by SecurityHub. /// /// Internal server error. /// /// /// The request was rejected because you supplied an invalid or out-of-range value for /// an input parameter. /// /// /// The request was rejected because we can't find the specified resource. /// /// REST API Reference for TagResource Operation Task TagResourceAsync(TagResourceRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region UntagResource /// /// Removes one or more tags from a resource. /// /// Container for the necessary parameters to execute the UntagResource service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the UntagResource service method, as returned by SecurityHub. /// /// Internal server error. /// /// /// The request was rejected because you supplied an invalid or out-of-range value for /// an input parameter. /// /// /// The request was rejected because we can't find the specified resource. /// /// REST API Reference for UntagResource Operation Task UntagResourceAsync(UntagResourceRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region UpdateActionTarget /// /// Updates the name and description of a custom action target in Security Hub. /// /// Container for the necessary parameters to execute the UpdateActionTarget service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the UpdateActionTarget service method, as returned by SecurityHub. /// /// Internal server error. /// /// /// The account doesn't have permission to perform this action. /// /// /// The request was rejected because you supplied an invalid or out-of-range value for /// an input parameter. /// /// /// The request was rejected because we can't find the specified resource. /// /// REST API Reference for UpdateActionTarget Operation Task UpdateActionTargetAsync(UpdateActionTargetRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region UpdateFindingAggregator /// /// 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. /// /// /// /// Container for the necessary parameters to execute the UpdateFindingAggregator service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the UpdateFindingAggregator service method, as returned by SecurityHub. /// /// You don't have permission to perform the action specified in the request. /// /// /// Internal server error. /// /// /// The account doesn't have permission to perform this action. /// /// /// The request was rejected because you supplied an invalid or out-of-range value for /// an input parameter. /// /// /// The request was rejected because it attempted to create resources beyond the current /// Amazon Web Services account or throttling limits. The error code describes the limit /// exceeded. /// /// /// The request was rejected because we can't find the specified resource. /// /// REST API Reference for UpdateFindingAggregator Operation Task UpdateFindingAggregatorAsync(UpdateFindingAggregatorRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region UpdateFindings /// /// 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. /// /// /// Container for the necessary parameters to execute the UpdateFindings service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the UpdateFindings service method, as returned by SecurityHub. /// /// Internal server error. /// /// /// The account doesn't have permission to perform this action. /// /// /// The request was rejected because you supplied an invalid or out-of-range value for /// an input parameter. /// /// /// The request was rejected because it attempted to create resources beyond the current /// Amazon Web Services account or throttling limits. The error code describes the limit /// exceeded. /// /// /// The request was rejected because we can't find the specified resource. /// /// REST API Reference for UpdateFindings Operation Task UpdateFindingsAsync(UpdateFindingsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region UpdateInsight /// /// Updates the Security Hub insight identified by the specified insight ARN. /// /// Container for the necessary parameters to execute the UpdateInsight service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the UpdateInsight service method, as returned by SecurityHub. /// /// Internal server error. /// /// /// The account doesn't have permission to perform this action. /// /// /// The request was rejected because you supplied an invalid or out-of-range value for /// an input parameter. /// /// /// The request was rejected because it attempted to create resources beyond the current /// Amazon Web Services account or throttling limits. The error code describes the limit /// exceeded. /// /// /// The request was rejected because we can't find the specified resource. /// /// REST API Reference for UpdateInsight Operation Task UpdateInsightAsync(UpdateInsightRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region UpdateOrganizationConfiguration /// /// Used to update the configuration related to Organizations. Can only be called from /// a Security Hub administrator account. /// /// Container for the necessary parameters to execute the UpdateOrganizationConfiguration service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the UpdateOrganizationConfiguration service method, as returned by SecurityHub. /// /// Internal server error. /// /// /// The account doesn't have permission to perform this action. /// /// /// The request was rejected because you supplied an invalid or out-of-range value for /// an input parameter. /// /// /// The request was rejected because it attempted to create resources beyond the current /// Amazon Web Services account or throttling limits. The error code describes the limit /// exceeded. /// /// REST API Reference for UpdateOrganizationConfiguration Operation Task UpdateOrganizationConfigurationAsync(UpdateOrganizationConfigurationRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region UpdateSecurityHubConfiguration /// /// Updates configuration options for Security Hub. /// /// Container for the necessary parameters to execute the UpdateSecurityHubConfiguration service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the UpdateSecurityHubConfiguration service method, as returned by SecurityHub. /// /// Internal server error. /// /// /// The account doesn't have permission to perform this action. /// /// /// The request was rejected because you supplied an invalid or out-of-range value for /// an input parameter. /// /// /// The request was rejected because it attempted to create resources beyond the current /// Amazon Web Services account or throttling limits. The error code describes the limit /// exceeded. /// /// /// The request was rejected because we can't find the specified resource. /// /// REST API Reference for UpdateSecurityHubConfiguration Operation Task UpdateSecurityHubConfigurationAsync(UpdateSecurityHubConfigurationRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region UpdateStandardsControl /// /// Used to control whether an individual security standard control is enabled or disabled. /// /// Container for the necessary parameters to execute the UpdateStandardsControl service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the UpdateStandardsControl service method, as returned by SecurityHub. /// /// Internal server error. /// /// /// The account doesn't have permission to perform this action. /// /// /// The request was rejected because you supplied an invalid or out-of-range value for /// an input parameter. /// /// /// The request was rejected because we can't find the specified resource. /// /// REST API Reference for UpdateStandardsControl Operation Task UpdateStandardsControlAsync(UpdateStandardsControlRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion } }