UNPKG

universal-s3

Version:

Universal S3 SDK for JavaScript, available for Node.js backends

907 lines 83.9 kB
import {Request} from '../lib/request'; import {Response} from '../lib/response'; import {AWSError} from '../lib/error'; import {Service} from '../lib/service'; import {ServiceConfigurationOptions} from '../lib/service'; import {ConfigBase as Config} from '../lib/config'; interface Blob {} declare class SecurityHub extends Service { /** * Constructs a service object. This object has one method for each API operation. */ constructor(options?: SecurityHub.Types.ClientConfiguration) config: Config & SecurityHub.Types.ClientConfiguration; /** * Accepts the invitation to be a member account and be monitored by the Security Hub master account that the invitation was sent from. When the member account accepts the invitation, permission is granted to the master account to view findings generated in the member account. */ acceptInvitation(params: SecurityHub.Types.AcceptInvitationRequest, callback?: (err: AWSError, data: SecurityHub.Types.AcceptInvitationResponse) => void): Request<SecurityHub.Types.AcceptInvitationResponse, AWSError>; /** * Accepts the invitation to be a member account and be monitored by the Security Hub master account that the invitation was sent from. When the member account accepts the invitation, permission is granted to the master account to view findings generated in the member account. */ acceptInvitation(callback?: (err: AWSError, data: SecurityHub.Types.AcceptInvitationResponse) => void): Request<SecurityHub.Types.AcceptInvitationResponse, AWSError>; /** * Disables the standards specified by the provided StandardsSubscriptionArns. For more information, see Standards Supported in AWS Security Hub. */ batchDisableStandards(params: SecurityHub.Types.BatchDisableStandardsRequest, callback?: (err: AWSError, data: SecurityHub.Types.BatchDisableStandardsResponse) => void): Request<SecurityHub.Types.BatchDisableStandardsResponse, AWSError>; /** * Disables the standards specified by the provided StandardsSubscriptionArns. For more information, see Standards Supported in AWS Security Hub. */ batchDisableStandards(callback?: (err: AWSError, data: SecurityHub.Types.BatchDisableStandardsResponse) => void): Request<SecurityHub.Types.BatchDisableStandardsResponse, AWSError>; /** * Enables the standards specified by the provided standardsArn. In this release, only CIS AWS Foundations standards are supported. For more information, see Standards Supported in AWS Security Hub. */ batchEnableStandards(params: SecurityHub.Types.BatchEnableStandardsRequest, callback?: (err: AWSError, data: SecurityHub.Types.BatchEnableStandardsResponse) => void): Request<SecurityHub.Types.BatchEnableStandardsResponse, AWSError>; /** * Enables the standards specified by the provided standardsArn. In this release, only CIS AWS Foundations standards are supported. For more information, see Standards Supported in AWS Security Hub. */ batchEnableStandards(callback?: (err: AWSError, data: SecurityHub.Types.BatchEnableStandardsResponse) => void): Request<SecurityHub.Types.BatchEnableStandardsResponse, AWSError>; /** * Imports security findings generated from an integrated third-party product into Security Hub. This action is requested by the integrated product to import its findings into Security Hub. The maximum allowed size for a finding is 240 Kb. An error is returned for any finding larger than 240 Kb. */ batchImportFindings(params: SecurityHub.Types.BatchImportFindingsRequest, callback?: (err: AWSError, data: SecurityHub.Types.BatchImportFindingsResponse) => void): Request<SecurityHub.Types.BatchImportFindingsResponse, AWSError>; /** * Imports security findings generated from an integrated third-party product into Security Hub. This action is requested by the integrated product to import its findings into Security Hub. The maximum allowed size for a finding is 240 Kb. An error is returned for any finding larger than 240 Kb. */ batchImportFindings(callback?: (err: AWSError, data: SecurityHub.Types.BatchImportFindingsResponse) => void): Request<SecurityHub.Types.BatchImportFindingsResponse, AWSError>; /** * 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. */ createActionTarget(params: SecurityHub.Types.CreateActionTargetRequest, callback?: (err: AWSError, data: SecurityHub.Types.CreateActionTargetResponse) => void): Request<SecurityHub.Types.CreateActionTargetResponse, AWSError>; /** * 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. */ createActionTarget(callback?: (err: AWSError, data: SecurityHub.Types.CreateActionTargetResponse) => void): Request<SecurityHub.Types.CreateActionTargetResponse, AWSError>; /** * 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. Use the GroupByAttribute to group the related findings in the insight. */ createInsight(params: SecurityHub.Types.CreateInsightRequest, callback?: (err: AWSError, data: SecurityHub.Types.CreateInsightResponse) => void): Request<SecurityHub.Types.CreateInsightResponse, AWSError>; /** * 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. Use the GroupByAttribute to group the related findings in the insight. */ createInsight(callback?: (err: AWSError, data: SecurityHub.Types.CreateInsightResponse) => void): Request<SecurityHub.Types.CreateInsightResponse, AWSError>; /** * Creates a member association in Security Hub between the specified accounts and the account used to make the request, which is the master account. To successfully create a member, you must use this action from an account that already has Security Hub enabled. You can use the EnableSecurityHub to enable Security Hub. After you use CreateMembers to create member account associations in Security Hub, you need to use the InviteMembers action, which invites the accounts to enable Security Hub and become member accounts in Security Hub. If the invitation is accepted by the account owner, the account becomes a member account in Security Hub, and a permission policy is added that permits the master account to view the findings generated in the member account. When Security Hub is enabled in the invited account, findings start being sent to both the member and master accounts. You can remove the association between the master and member accounts by using the DisassociateFromMasterAccount or DisassociateMembers operation. */ createMembers(params: SecurityHub.Types.CreateMembersRequest, callback?: (err: AWSError, data: SecurityHub.Types.CreateMembersResponse) => void): Request<SecurityHub.Types.CreateMembersResponse, AWSError>; /** * Creates a member association in Security Hub between the specified accounts and the account used to make the request, which is the master account. To successfully create a member, you must use this action from an account that already has Security Hub enabled. You can use the EnableSecurityHub to enable Security Hub. After you use CreateMembers to create member account associations in Security Hub, you need to use the InviteMembers action, which invites the accounts to enable Security Hub and become member accounts in Security Hub. If the invitation is accepted by the account owner, the account becomes a member account in Security Hub, and a permission policy is added that permits the master account to view the findings generated in the member account. When Security Hub is enabled in the invited account, findings start being sent to both the member and master accounts. You can remove the association between the master and member accounts by using the DisassociateFromMasterAccount or DisassociateMembers operation. */ createMembers(callback?: (err: AWSError, data: SecurityHub.Types.CreateMembersResponse) => void): Request<SecurityHub.Types.CreateMembersResponse, AWSError>; /** * Declines invitations to become a member account. */ declineInvitations(params: SecurityHub.Types.DeclineInvitationsRequest, callback?: (err: AWSError, data: SecurityHub.Types.DeclineInvitationsResponse) => void): Request<SecurityHub.Types.DeclineInvitationsResponse, AWSError>; /** * Declines invitations to become a member account. */ declineInvitations(callback?: (err: AWSError, data: SecurityHub.Types.DeclineInvitationsResponse) => void): Request<SecurityHub.Types.DeclineInvitationsResponse, AWSError>; /** * Deletes a custom action target from Security Hub. Deleting a custom action target doesn't affect any findings or insights that were already sent to Amazon CloudWatch Events using the custom action. */ deleteActionTarget(params: SecurityHub.Types.DeleteActionTargetRequest, callback?: (err: AWSError, data: SecurityHub.Types.DeleteActionTargetResponse) => void): Request<SecurityHub.Types.DeleteActionTargetResponse, AWSError>; /** * Deletes a custom action target from Security Hub. Deleting a custom action target doesn't affect any findings or insights that were already sent to Amazon CloudWatch Events using the custom action. */ deleteActionTarget(callback?: (err: AWSError, data: SecurityHub.Types.DeleteActionTargetResponse) => void): Request<SecurityHub.Types.DeleteActionTargetResponse, AWSError>; /** * Deletes the insight specified by the InsightArn. */ deleteInsight(params: SecurityHub.Types.DeleteInsightRequest, callback?: (err: AWSError, data: SecurityHub.Types.DeleteInsightResponse) => void): Request<SecurityHub.Types.DeleteInsightResponse, AWSError>; /** * Deletes the insight specified by the InsightArn. */ deleteInsight(callback?: (err: AWSError, data: SecurityHub.Types.DeleteInsightResponse) => void): Request<SecurityHub.Types.DeleteInsightResponse, AWSError>; /** * Deletes invitations received by the AWS account to become a member account. */ deleteInvitations(params: SecurityHub.Types.DeleteInvitationsRequest, callback?: (err: AWSError, data: SecurityHub.Types.DeleteInvitationsResponse) => void): Request<SecurityHub.Types.DeleteInvitationsResponse, AWSError>; /** * Deletes invitations received by the AWS account to become a member account. */ deleteInvitations(callback?: (err: AWSError, data: SecurityHub.Types.DeleteInvitationsResponse) => void): Request<SecurityHub.Types.DeleteInvitationsResponse, AWSError>; /** * Deletes the specified member accounts from Security Hub. */ deleteMembers(params: SecurityHub.Types.DeleteMembersRequest, callback?: (err: AWSError, data: SecurityHub.Types.DeleteMembersResponse) => void): Request<SecurityHub.Types.DeleteMembersResponse, AWSError>; /** * Deletes the specified member accounts from Security Hub. */ deleteMembers(callback?: (err: AWSError, data: SecurityHub.Types.DeleteMembersResponse) => void): Request<SecurityHub.Types.DeleteMembersResponse, AWSError>; /** * Returns a list of the custom action targets in Security Hub in your account. */ describeActionTargets(params: SecurityHub.Types.DescribeActionTargetsRequest, callback?: (err: AWSError, data: SecurityHub.Types.DescribeActionTargetsResponse) => void): Request<SecurityHub.Types.DescribeActionTargetsResponse, AWSError>; /** * Returns a list of the custom action targets in Security Hub in your account. */ describeActionTargets(callback?: (err: AWSError, data: SecurityHub.Types.DescribeActionTargetsResponse) => void): Request<SecurityHub.Types.DescribeActionTargetsResponse, AWSError>; /** * Returns details about the Hub resource in your account, including the HubArn and the time when you enabled Security Hub. */ describeHub(params: SecurityHub.Types.DescribeHubRequest, callback?: (err: AWSError, data: SecurityHub.Types.DescribeHubResponse) => void): Request<SecurityHub.Types.DescribeHubResponse, AWSError>; /** * Returns details about the Hub resource in your account, including the HubArn and the time when you enabled Security Hub. */ describeHub(callback?: (err: AWSError, data: SecurityHub.Types.DescribeHubResponse) => void): Request<SecurityHub.Types.DescribeHubResponse, AWSError>; /** * Returns information about the products available that you can subscribe to and integrate with Security Hub to consolidate findings. */ describeProducts(params: SecurityHub.Types.DescribeProductsRequest, callback?: (err: AWSError, data: SecurityHub.Types.DescribeProductsResponse) => void): Request<SecurityHub.Types.DescribeProductsResponse, AWSError>; /** * Returns information about the products available that you can subscribe to and integrate with Security Hub to consolidate findings. */ describeProducts(callback?: (err: AWSError, data: SecurityHub.Types.DescribeProductsResponse) => void): Request<SecurityHub.Types.DescribeProductsResponse, AWSError>; /** * Disables the integration of the specified product with Security Hub. Findings from that product are no longer sent to Security Hub after the integration is disabled. */ disableImportFindingsForProduct(params: SecurityHub.Types.DisableImportFindingsForProductRequest, callback?: (err: AWSError, data: SecurityHub.Types.DisableImportFindingsForProductResponse) => void): Request<SecurityHub.Types.DisableImportFindingsForProductResponse, AWSError>; /** * Disables the integration of the specified product with Security Hub. Findings from that product are no longer sent to Security Hub after the integration is disabled. */ disableImportFindingsForProduct(callback?: (err: AWSError, data: SecurityHub.Types.DisableImportFindingsForProductResponse) => void): Request<SecurityHub.Types.DisableImportFindingsForProductResponse, AWSError>; /** * 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 a master 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 can't be recovered. Any standards that were enabled are disabled, and your master and member account associations are removed. If you want to save your existing findings, you must export them before you disable Security Hub. */ disableSecurityHub(params: SecurityHub.Types.DisableSecurityHubRequest, callback?: (err: AWSError, data: SecurityHub.Types.DisableSecurityHubResponse) => void): Request<SecurityHub.Types.DisableSecurityHubResponse, AWSError>; /** * 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 a master 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 can't be recovered. Any standards that were enabled are disabled, and your master and member account associations are removed. If you want to save your existing findings, you must export them before you disable Security Hub. */ disableSecurityHub(callback?: (err: AWSError, data: SecurityHub.Types.DisableSecurityHubResponse) => void): Request<SecurityHub.Types.DisableSecurityHubResponse, AWSError>; /** * Disassociates the current Security Hub member account from the associated master account. */ disassociateFromMasterAccount(params: SecurityHub.Types.DisassociateFromMasterAccountRequest, callback?: (err: AWSError, data: SecurityHub.Types.DisassociateFromMasterAccountResponse) => void): Request<SecurityHub.Types.DisassociateFromMasterAccountResponse, AWSError>; /** * Disassociates the current Security Hub member account from the associated master account. */ disassociateFromMasterAccount(callback?: (err: AWSError, data: SecurityHub.Types.DisassociateFromMasterAccountResponse) => void): Request<SecurityHub.Types.DisassociateFromMasterAccountResponse, AWSError>; /** * Disassociates the specified member accounts from the associated master account. */ disassociateMembers(params: SecurityHub.Types.DisassociateMembersRequest, callback?: (err: AWSError, data: SecurityHub.Types.DisassociateMembersResponse) => void): Request<SecurityHub.Types.DisassociateMembersResponse, AWSError>; /** * Disassociates the specified member accounts from the associated master account. */ disassociateMembers(callback?: (err: AWSError, data: SecurityHub.Types.DisassociateMembersResponse) => void): Request<SecurityHub.Types.DisassociateMembersResponse, AWSError>; /** * Enables the integration of a partner product with Security Hub. Integrated products send findings to Security Hub. When you enable a product integration, a permission policy that grants permission for the product to send findings to Security Hub is applied. */ enableImportFindingsForProduct(params: SecurityHub.Types.EnableImportFindingsForProductRequest, callback?: (err: AWSError, data: SecurityHub.Types.EnableImportFindingsForProductResponse) => void): Request<SecurityHub.Types.EnableImportFindingsForProductResponse, AWSError>; /** * Enables the integration of a partner product with Security Hub. Integrated products send findings to Security Hub. When you enable a product integration, a permission policy that grants permission for the product to send findings to Security Hub is applied. */ enableImportFindingsForProduct(callback?: (err: AWSError, data: SecurityHub.Types.EnableImportFindingsForProductResponse) => void): Request<SecurityHub.Types.EnableImportFindingsForProductResponse, AWSError>; /** * 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 AWS Config, Amazon GuardDuty, Amazon Inspector, and Amazon Macie. To learn more, see Setting Up AWS Security Hub. */ enableSecurityHub(params: SecurityHub.Types.EnableSecurityHubRequest, callback?: (err: AWSError, data: SecurityHub.Types.EnableSecurityHubResponse) => void): Request<SecurityHub.Types.EnableSecurityHubResponse, AWSError>; /** * 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 AWS Config, Amazon GuardDuty, Amazon Inspector, and Amazon Macie. To learn more, see Setting Up AWS Security Hub. */ enableSecurityHub(callback?: (err: AWSError, data: SecurityHub.Types.EnableSecurityHubResponse) => void): Request<SecurityHub.Types.EnableSecurityHubResponse, AWSError>; /** * Returns a list of the standards that are currently enabled. */ getEnabledStandards(params: SecurityHub.Types.GetEnabledStandardsRequest, callback?: (err: AWSError, data: SecurityHub.Types.GetEnabledStandardsResponse) => void): Request<SecurityHub.Types.GetEnabledStandardsResponse, AWSError>; /** * Returns a list of the standards that are currently enabled. */ getEnabledStandards(callback?: (err: AWSError, data: SecurityHub.Types.GetEnabledStandardsResponse) => void): Request<SecurityHub.Types.GetEnabledStandardsResponse, AWSError>; /** * Returns a list of findings that match the specified criteria. */ getFindings(params: SecurityHub.Types.GetFindingsRequest, callback?: (err: AWSError, data: SecurityHub.Types.GetFindingsResponse) => void): Request<SecurityHub.Types.GetFindingsResponse, AWSError>; /** * Returns a list of findings that match the specified criteria. */ getFindings(callback?: (err: AWSError, data: SecurityHub.Types.GetFindingsResponse) => void): Request<SecurityHub.Types.GetFindingsResponse, AWSError>; /** * Lists the results of the Security Hub insight that the insight ARN specifies. */ getInsightResults(params: SecurityHub.Types.GetInsightResultsRequest, callback?: (err: AWSError, data: SecurityHub.Types.GetInsightResultsResponse) => void): Request<SecurityHub.Types.GetInsightResultsResponse, AWSError>; /** * Lists the results of the Security Hub insight that the insight ARN specifies. */ getInsightResults(callback?: (err: AWSError, data: SecurityHub.Types.GetInsightResultsResponse) => void): Request<SecurityHub.Types.GetInsightResultsResponse, AWSError>; /** * Lists and describes insights that insight ARNs specify. */ getInsights(params: SecurityHub.Types.GetInsightsRequest, callback?: (err: AWSError, data: SecurityHub.Types.GetInsightsResponse) => void): Request<SecurityHub.Types.GetInsightsResponse, AWSError>; /** * Lists and describes insights that insight ARNs specify. */ getInsights(callback?: (err: AWSError, data: SecurityHub.Types.GetInsightsResponse) => void): Request<SecurityHub.Types.GetInsightsResponse, AWSError>; /** * Returns the count of all Security Hub membership invitations that were sent to the current member account, not including the currently accepted invitation. */ getInvitationsCount(params: SecurityHub.Types.GetInvitationsCountRequest, callback?: (err: AWSError, data: SecurityHub.Types.GetInvitationsCountResponse) => void): Request<SecurityHub.Types.GetInvitationsCountResponse, AWSError>; /** * Returns the count of all Security Hub membership invitations that were sent to the current member account, not including the currently accepted invitation. */ getInvitationsCount(callback?: (err: AWSError, data: SecurityHub.Types.GetInvitationsCountResponse) => void): Request<SecurityHub.Types.GetInvitationsCountResponse, AWSError>; /** * Provides the details for the Security Hub master account to the current member account. */ getMasterAccount(params: SecurityHub.Types.GetMasterAccountRequest, callback?: (err: AWSError, data: SecurityHub.Types.GetMasterAccountResponse) => void): Request<SecurityHub.Types.GetMasterAccountResponse, AWSError>; /** * Provides the details for the Security Hub master account to the current member account. */ getMasterAccount(callback?: (err: AWSError, data: SecurityHub.Types.GetMasterAccountResponse) => void): Request<SecurityHub.Types.GetMasterAccountResponse, AWSError>; /** * Returns the details on the Security Hub member accounts that the account IDs specify. */ getMembers(params: SecurityHub.Types.GetMembersRequest, callback?: (err: AWSError, data: SecurityHub.Types.GetMembersResponse) => void): Request<SecurityHub.Types.GetMembersResponse, AWSError>; /** * Returns the details on the Security Hub member accounts that the account IDs specify. */ getMembers(callback?: (err: AWSError, data: SecurityHub.Types.GetMembersResponse) => void): Request<SecurityHub.Types.GetMembersResponse, AWSError>; /** * Invites other AWS accounts to become member accounts for the Security Hub master account that the invitation is sent from. Before you can use this action to invite a member, you must first create the member account in Security Hub by using the CreateMembers action. When the account owner accepts the invitation to become a member account and enables Security Hub, the master account can view the findings generated from member account. */ inviteMembers(params: SecurityHub.Types.InviteMembersRequest, callback?: (err: AWSError, data: SecurityHub.Types.InviteMembersResponse) => void): Request<SecurityHub.Types.InviteMembersResponse, AWSError>; /** * Invites other AWS accounts to become member accounts for the Security Hub master account that the invitation is sent from. Before you can use this action to invite a member, you must first create the member account in Security Hub by using the CreateMembers action. When the account owner accepts the invitation to become a member account and enables Security Hub, the master account can view the findings generated from member account. */ inviteMembers(callback?: (err: AWSError, data: SecurityHub.Types.InviteMembersResponse) => void): Request<SecurityHub.Types.InviteMembersResponse, AWSError>; /** * Lists all findings-generating solutions (products) whose findings you have subscribed to receive in Security Hub. */ listEnabledProductsForImport(params: SecurityHub.Types.ListEnabledProductsForImportRequest, callback?: (err: AWSError, data: SecurityHub.Types.ListEnabledProductsForImportResponse) => void): Request<SecurityHub.Types.ListEnabledProductsForImportResponse, AWSError>; /** * Lists all findings-generating solutions (products) whose findings you have subscribed to receive in Security Hub. */ listEnabledProductsForImport(callback?: (err: AWSError, data: SecurityHub.Types.ListEnabledProductsForImportResponse) => void): Request<SecurityHub.Types.ListEnabledProductsForImportResponse, AWSError>; /** * Lists all Security Hub membership invitations that were sent to the current AWS account. */ listInvitations(params: SecurityHub.Types.ListInvitationsRequest, callback?: (err: AWSError, data: SecurityHub.Types.ListInvitationsResponse) => void): Request<SecurityHub.Types.ListInvitationsResponse, AWSError>; /** * Lists all Security Hub membership invitations that were sent to the current AWS account. */ listInvitations(callback?: (err: AWSError, data: SecurityHub.Types.ListInvitationsResponse) => void): Request<SecurityHub.Types.ListInvitationsResponse, AWSError>; /** * Lists details about all member accounts for the current Security Hub master account. */ listMembers(params: SecurityHub.Types.ListMembersRequest, callback?: (err: AWSError, data: SecurityHub.Types.ListMembersResponse) => void): Request<SecurityHub.Types.ListMembersResponse, AWSError>; /** * Lists details about all member accounts for the current Security Hub master account. */ listMembers(callback?: (err: AWSError, data: SecurityHub.Types.ListMembersResponse) => void): Request<SecurityHub.Types.ListMembersResponse, AWSError>; /** * Returns a list of tags associated with a resource. */ listTagsForResource(params: SecurityHub.Types.ListTagsForResourceRequest, callback?: (err: AWSError, data: SecurityHub.Types.ListTagsForResourceResponse) => void): Request<SecurityHub.Types.ListTagsForResourceResponse, AWSError>; /** * Returns a list of tags associated with a resource. */ listTagsForResource(callback?: (err: AWSError, data: SecurityHub.Types.ListTagsForResourceResponse) => void): Request<SecurityHub.Types.ListTagsForResourceResponse, AWSError>; /** * Adds one or more tags to a resource. */ tagResource(params: SecurityHub.Types.TagResourceRequest, callback?: (err: AWSError, data: SecurityHub.Types.TagResourceResponse) => void): Request<SecurityHub.Types.TagResourceResponse, AWSError>; /** * Adds one or more tags to a resource. */ tagResource(callback?: (err: AWSError, data: SecurityHub.Types.TagResourceResponse) => void): Request<SecurityHub.Types.TagResourceResponse, AWSError>; /** * Removes one or more tags from a resource. */ untagResource(params: SecurityHub.Types.UntagResourceRequest, callback?: (err: AWSError, data: SecurityHub.Types.UntagResourceResponse) => void): Request<SecurityHub.Types.UntagResourceResponse, AWSError>; /** * Removes one or more tags from a resource. */ untagResource(callback?: (err: AWSError, data: SecurityHub.Types.UntagResourceResponse) => void): Request<SecurityHub.Types.UntagResourceResponse, AWSError>; /** * Updates the name and description of a custom action target in Security Hub. */ updateActionTarget(params: SecurityHub.Types.UpdateActionTargetRequest, callback?: (err: AWSError, data: SecurityHub.Types.UpdateActionTargetResponse) => void): Request<SecurityHub.Types.UpdateActionTargetResponse, AWSError>; /** * Updates the name and description of a custom action target in Security Hub. */ updateActionTarget(callback?: (err: AWSError, data: SecurityHub.Types.UpdateActionTargetResponse) => void): Request<SecurityHub.Types.UpdateActionTargetResponse, AWSError>; /** * 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. */ updateFindings(params: SecurityHub.Types.UpdateFindingsRequest, callback?: (err: AWSError, data: SecurityHub.Types.UpdateFindingsResponse) => void): Request<SecurityHub.Types.UpdateFindingsResponse, AWSError>; /** * 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. */ updateFindings(callback?: (err: AWSError, data: SecurityHub.Types.UpdateFindingsResponse) => void): Request<SecurityHub.Types.UpdateFindingsResponse, AWSError>; /** * Updates the Security Hub insight that the insight ARN specifies. */ updateInsight(params: SecurityHub.Types.UpdateInsightRequest, callback?: (err: AWSError, data: SecurityHub.Types.UpdateInsightResponse) => void): Request<SecurityHub.Types.UpdateInsightResponse, AWSError>; /** * Updates the Security Hub insight that the insight ARN specifies. */ updateInsight(callback?: (err: AWSError, data: SecurityHub.Types.UpdateInsightResponse) => void): Request<SecurityHub.Types.UpdateInsightResponse, AWSError>; } declare namespace SecurityHub { export interface AcceptInvitationRequest { /** * The account ID of the Security Hub master account that sent the invitation. */ MasterId: NonEmptyString; /** * The ID of the invitation sent from the Security Hub master account. */ InvitationId: NonEmptyString; } export interface AcceptInvitationResponse { } export interface AccountDetails { /** * The ID of an AWS account. */ AccountId?: AccountId; /** * The email of an AWS account. */ Email?: NonEmptyString; } export type AccountDetailsList = AccountDetails[]; export type AccountId = string; export type AccountIdList = NonEmptyString[]; export interface ActionTarget { /** * The ARN for the target action. */ ActionTargetArn: NonEmptyString; /** * The name of the action target. */ Name: NonEmptyString; /** * The description of the target action. */ Description: NonEmptyString; } export type ActionTargetList = ActionTarget[]; export type ArnList = NonEmptyString[]; export interface AwsEc2InstanceDetails { /** * The instance type of the instance. */ Type?: NonEmptyString; /** * The Amazon Machine Image (AMI) ID of the instance. */ ImageId?: NonEmptyString; /** * The IPv4 addresses associated with the instance. */ IpV4Addresses?: StringList; /** * The IPv6 addresses associated with the instance. */ IpV6Addresses?: StringList; /** * The key name associated with the instance. */ KeyName?: NonEmptyString; /** * The IAM profile ARN of the instance. */ IamInstanceProfileArn?: NonEmptyString; /** * The identifier of the VPC that the instance was launched in. */ VpcId?: NonEmptyString; /** * The identifier of the subnet that the instance was launched in. */ SubnetId?: NonEmptyString; /** * The date/time the instance was launched. */ LaunchedAt?: NonEmptyString; } export interface AwsIamAccessKeyDetails { /** * The user associated with the IAM access key related to a finding. */ UserName?: NonEmptyString; /** * The status of the IAM access key related to a finding. */ Status?: AwsIamAccessKeyStatus; /** * The creation date/time of the IAM access key related to a finding. */ CreatedAt?: NonEmptyString; } export type AwsIamAccessKeyStatus = "Active"|"Inactive"|string; export interface AwsS3BucketDetails { /** * The canonical user ID of the owner of the S3 bucket. */ OwnerId?: NonEmptyString; /** * The display name of the owner of the S3 bucket. */ OwnerName?: NonEmptyString; } export interface AwsSecurityFinding { /** * The schema version that a finding is formatted for. */ SchemaVersion: NonEmptyString; /** * The security findings provider-specific identifier for a finding. */ Id: NonEmptyString; /** * The ARN generated by Security Hub that uniquely identifies a third-party company (security-findings provider) after this provider's product (solution that generates findings) is registered with Security Hub. */ ProductArn: NonEmptyString; /** * The identifier for the solution-specific component (a discrete unit of logic) that generated a finding. In various security-findings providers' solutions, this generator can be called a rule, a check, a detector, a plug-in, etc. */ GeneratorId: NonEmptyString; /** * The AWS account ID that a finding is generated in. */ AwsAccountId: NonEmptyString; /** * One or more finding types in the format of namespace/category/classifier that classify a finding. Valid namespace values are: Software and Configuration Checks | TTPs | Effects | Unusual Behaviors | Sensitive Data Identifications */ Types: TypeList; /** * An ISO8601-formatted timestamp that indicates when the security-findings provider first observed the potential security issue that a finding captured. */ FirstObservedAt?: NonEmptyString; /** * An ISO8601-formatted timestamp that indicates when the security-findings provider most recently observed the potential security issue that a finding captured. */ LastObservedAt?: NonEmptyString; /** * An ISO8601-formatted timestamp that indicates when the security-findings provider created the potential security issue that a finding captured. */ CreatedAt: NonEmptyString; /** * An ISO8601-formatted timestamp that indicates when the security-findings provider last updated the finding record. */ UpdatedAt: NonEmptyString; /** * A finding's severity. */ Severity: Severity; /** * A finding's confidence. Confidence is defined as the likelihood that a finding accurately identifies the behavior or issue that it was intended to identify. Confidence is scored on a 0-100 basis using a ratio scale, where 0 means zero percent confidence and 100 means 100 percent confidence. */ Confidence?: Integer; /** * The level of importance assigned to the resources associated with the finding. A score of 0 means that the underlying resources have no criticality, and a score of 100 is reserved for the most critical resources. */ Criticality?: Integer; /** * A finding's title. In this release, Title is a required property. */ Title: NonEmptyString; /** * A finding's description. In this release, Description is a required property. */ Description: NonEmptyString; /** * A data type that describes the remediation options for a finding. */ Remediation?: Remediation; /** * A URL that links to a page about the current finding in the security-findings provider's solution. */ SourceUrl?: NonEmptyString; /** * A data type where security-findings providers can include additional solution-specific details that aren't part of the defined AwsSecurityFinding format. */ ProductFields?: FieldMap; /** * A list of name/value string pairs associated with the finding. These are custom, user-defined fields added to a finding. */ UserDefinedFields?: FieldMap; /** * A list of malware related to a finding. */ Malware?: MalwareList; /** * The details of network-related information about a finding. */ Network?: Network; /** * The details of process-related information about a finding. */ Process?: ProcessDetails; /** * Threat intel details related to a finding. */ ThreatIntelIndicators?: ThreatIntelIndicatorList; /** * A set of resource data types that describe the resources that the finding refers to. */ Resources: ResourceList; /** * This data type is exclusive to findings that are generated as the result of a check run against a specific rule in a supported standard (for example, CIS AWS Foundations). Contains compliance-related finding details. */ Compliance?: Compliance; /** * Indicates the veracity of a finding. */ VerificationState?: VerificationState; /** * The workflow state of a finding. */ WorkflowState?: WorkflowState; /** * The record state of a finding. */ RecordState?: RecordState; /** * A list of related findings. */ RelatedFindings?: RelatedFindingList; /** * A user-defined note added to a finding. */ Note?: Note; } export interface AwsSecurityFindingFilters { /** * The ARN generated by Security Hub that uniquely identifies a third-party company (security findings provider) after this provider's product (solution that generates findings) is registered with Security Hub. */ ProductArn?: StringFilterList; /** * The AWS account ID that a finding is generated in. */ AwsAccountId?: StringFilterList; /** * The security findings provider-specific identifier for a finding. */ Id?: StringFilterList; /** * The identifier for the solution-specific component (a discrete unit of logic) that generated a finding. In various security-findings providers' solutions, this generator can be called a rule, a check, a detector, a plug-in, etc. */ GeneratorId?: StringFilterList; /** * A finding type in the format of namespace/category/classifier that classifies a finding. */ Type?: StringFilterList; /** * An ISO8601-formatted timestamp that indicates when the security-findings provider first observed the potential security issue that a finding captured. */ FirstObservedAt?: DateFilterList; /** * An ISO8601-formatted timestamp that indicates when the security-findings provider most recently observed the potential security issue that a finding captured. */ LastObservedAt?: DateFilterList; /** * An ISO8601-formatted timestamp that indicates when the security-findings provider captured the potential security issue that a finding captured. */ CreatedAt?: DateFilterList; /** * An ISO8601-formatted timestamp that indicates when the security-findings provider last updated the finding record. */ UpdatedAt?: DateFilterList; /** * The native severity as defined by the security-findings provider's solution that generated the finding. */ SeverityProduct?: NumberFilterList; /** * The normalized severity of a finding. */ SeverityNormalized?: NumberFilterList; /** * The label of a finding's severity. */ SeverityLabel?: StringFilterList; /** * A finding's confidence. Confidence is defined as the likelihood that a finding accurately identifies the behavior or issue that it was intended to identify. Confidence is scored on a 0-100 basis using a ratio scale, where 0 means zero percent confidence and 100 means 100 percent confidence. */ Confidence?: NumberFilterList; /** * The level of importance assigned to the resources associated with the finding. A score of 0 means that the underlying resources have no criticality, and a score of 100 is reserved for the most critical resources. */ Criticality?: NumberFilterList; /** * A finding's title. */ Title?: StringFilterList; /** * A finding's description. */ Description?: StringFilterList; /** * The recommendation of what to do about the issue described in a finding. */ RecommendationText?: StringFilterList; /** * A URL that links to a page about the current finding in the security-findings provider's solution. */ SourceUrl?: StringFilterList; /** * A data type where security-findings providers can include additional solution-specific details that aren't part of the defined AwsSecurityFinding format. */ ProductFields?: MapFilterList; /** * The name of the solution (product) that generates findings. */ ProductName?: StringFilterList; /** * The name of the findings provider (company) that owns the solution (product) that generates findings. */ CompanyName?: StringFilterList; /** * A list of name/value string pairs associated with the finding. These are custom, user-defined fields added to a finding. */ UserDefinedFields?: MapFilterList; /** * The name of the malware that was observed. */ MalwareName?: StringFilterList; /** * The type of the malware that was observed. */ MalwareType?: StringFilterList; /** * The filesystem path of the malware that was observed. */ MalwarePath?: StringFilterList; /** * The state of the malware that was observed. */ MalwareState?: StringFilterList; /** * Indicates the direction of network traffic associated with a finding. */ NetworkDirection?: StringFilterList; /** * The protocol of network-related information about a finding. */ NetworkProtocol?: StringFilterList; /** * The source IPv4 address of network-related information about a finding. */ NetworkSourceIpV4?: IpFilterList; /** * The source IPv6 address of network-related information about a finding. */ NetworkSourceIpV6?: IpFilterList; /** * The source port of network-related information about a finding. */ NetworkSourcePort?: NumberFilterList; /** * The source domain of network-related information about a finding. */ NetworkSourceDomain?: StringFilterList; /** * The source media access control (MAC) address of network-related information about a finding. */ NetworkSourceMac?: StringFilterList; /** * The destination IPv4 address of network-related information about a finding. */ NetworkDestinationIpV4?: IpFilterList; /** * The destination IPv6 address of network-related information about a finding. */ NetworkDestinationIpV6?: IpFilterList; /** * The destination port of network-related information about a finding. */ NetworkDestinationPort?: NumberFilterList; /** * The destination domain of network-related information about a finding. */ NetworkDestinationDomain?: StringFilterList; /** * The name of the process. */ ProcessName?: StringFilterList; /** * The path to the process executable. */ ProcessPath?: StringFilterList; /** * The process ID. */ ProcessPid?: NumberFilterList; /** * The parent process ID. */ ProcessParentPid?: NumberFilterList; /** * The date/time that the process was launched. */ ProcessLaunchedAt?: DateFilterList; /** * The date/time that the process was terminated. */ ProcessTerminatedAt?: DateFilterList; /** * The type of a threat intel indicator. */ ThreatIntelIndicatorType?: StringFilterList; /** * The value of a threat intel indicator. */ ThreatIntelIndicatorValue?: StringFilterList; /** * The category of a threat intel indicator. */ ThreatIntelIndicatorCategory?: StringFilterList; /** * The date/time of the last observation of a threat intel indicator. */ ThreatIntelIndicatorLastObservedAt?: DateFilterList; /** * The source of the threat intel. */ ThreatIntelIndicatorSource?: StringFilterList; /** * The URL for more details from the source of the threat intel. */ ThreatIntelIndicatorSourceUrl?: StringFilterList; /** * Specifies the type of the resource that details are provided for. */ ResourceType?: StringFilterList; /** * The canonical identifier for the given resource type. */ ResourceId?: StringFilterList; /** * The canonical AWS partition name that the Region is assigned to. */ ResourcePartition?: StringFilterList; /** * The canonical AWS external Region name where this resource is located. */ ResourceRegion?: StringFilterList; /** * A list of AWS tags associated with a resource at the time the finding was processed. */ ResourceTags?: MapFilterList; /** * The instance type of the instance. */ ResourceAwsEc2InstanceType?: StringFilterList; /** * The Amazon Machine Image (AMI) ID of the instance. */ ResourceAwsEc2InstanceImageId?: StringFilterList; /** * The IPv4 addresses associated with the instance. */ ResourceAwsEc2InstanceIpV4Addresses?: IpFilterList; /** * The IPv6 addresses associated with the instance. */ ResourceAwsEc2InstanceIpV6Addresses?: IpFilterList; /** * The key name associated with the instance. */ ResourceAwsEc2InstanceKeyName?: StringFilterList; /** * The IAM profile ARN of the instance. */ ResourceAwsEc2InstanceIamInstanceProfileArn?: StringFilterList; /** * The identifier of the VPC that the instance was launched in. */ ResourceAwsEc2InstanceVpcId?: StringFilterList; /** * The identifier of the subnet that the instance was launched in. */ ResourceAwsEc2InstanceSubnetId?: StringFilterList; /** * The date/time the instance was launched. */ ResourceAwsEc2InstanceLaunchedAt?: DateFilterList; /** * The canonical user ID of the owner of the S3 bucket. */ ResourceAwsS3BucketOwnerId?: StringFilterList; /** * The display name of the owner of the S3 bucket. */ ResourceAwsS3BucketOwnerName?: StringFilterList; /** * The user associated with the IAM access key related to a finding. */ ResourceAwsIamAccessKeyUserName?: StringFilterList; /** * The status of the IAM access key related to a finding. */ ResourceAwsIamAccessKeyStatus?: StringFilterList; /** * The creation date/time of the IAM access key related to a finding. */ ResourceAwsIamAccessKeyCreatedAt?: DateFilterList; /** * The name of the container related to a finding. */ ResourceContainerName?: StringFilterList; /** * The identifier of the image related to a finding. */ ResourceContainerImageId?: StringFilterList; /** * The name of the image related to a finding. */ ResourceContainerImageName?: StringFilterList; /** * The date/time that the container was started. */ ResourceContainerLaunchedAt?: DateFilterList; /** * The details of a resource that doesn't have a specific subfield for the resource type defined. */ ResourceDetailsOther?: MapFilterList; /** * Exclusive to findings that are generated as the result of a check run against a specific rule in a supported standard (for example, CIS AWS Foundations). Contains compliance-related finding details. */ ComplianceStatus?: StringFilterList; /** * The veracity of a finding. */ VerificationState?: StringFilterList; /** * The workflow state of a finding. */ WorkflowState?: StringFilterList; /** * The updated record state for the finding. */ RecordState?: StringFilterList; /** * The ARN of the solution that generated a related finding. */ RelatedFindingsProductArn?: StringFilterList; /** * The solution-generated identifier for a related finding. */ RelatedFindingsId?: StringFilterList; /** * The text of a note. */ NoteText?: StringFilterList; /** * The timestamp of when the note was updated. */ NoteUpdatedAt?: DateFilterList; /** * The principal that created a note. */ NoteUpdatedBy?: StringFilterList; /** * A keyword for a finding. */ Keyword?: KeywordFilterList; } export type AwsSecurityFindingList = AwsSecurityFinding[]; export interface BatchDisableStandardsRequest { /** * The ARNs of the standards subscriptions to disable. */ StandardsSubscriptionArns: StandardsSubscriptionArns; } export interface BatchDisableStandardsResponse { /** * The details of the standards subscriptions that were disabled. */ StandardsSubscriptions?: StandardsSubscriptions; } export interface BatchEnableStandardsRequest { /** * The list of standards compliance checks to enable. In this release, Security Hub supports only the CIS AWS Foundations standard. The ARN for the standard is arn:aws:securityhub:::ruleset/cis-aws-foundations-benchmark/v/1.2.0. */ StandardsSubscriptionRequests: StandardsSubscriptionRequests; } export interface BatchEnableStandardsResponse { /** * The details of the standards subscriptions that were enabled. */ StandardsSubscriptions?: StandardsSubscriptions; } export interface BatchImportFindingsRequest { /** * A list of findings to import. To successfully import a finding, it