securityhub – github.com/aws/aws-sdk-go-v2/service/securityhub Index | Files | Directories

package securityhub

import "github.com/aws/aws-sdk-go-v2/service/securityhub"

Package securityhub provides the API client, operations, and parameter types for AWS SecurityHub.

Security Hub provides you with a comprehensive view of your security state in Amazon Web Services and helps you assess your Amazon Web Services environment against security industry standards and best practices.

Security Hub collects security data across Amazon Web Services accounts, Amazon Web Services services, and supported third-party products and helps you analyze your security trends and identify the highest priority security issues.

To help you manage the security state of your organization, Security Hub supports multiple security standards. These include the Amazon Web Services Foundational Security Best Practices (FSBP) standard developed by Amazon Web Services, and external compliance frameworks such as the Center for Internet Security (CIS), the Payment Card Industry Data Security Standard (PCI DSS), and the National Institute of Standards and Technology (NIST). Each standard includes several security controls, each of which represents a security best practice. Security Hub runs checks against security controls and generates control findings to help you assess your compliance against security best practices.

In addition to generating control findings, Security Hub also receives findings from other Amazon Web Services services, such as Amazon GuardDuty and Amazon Inspector, and supported third-party products. This gives you a single pane of glass into a variety of security-related issues. You can also send Security Hub findings to other Amazon Web Services services and supported third-party products.

Security Hub offers automation features that help you triage and remediate security issues. For example, you can use automation rules to automatically update critical findings when a security check fails. You can also leverage the integration with Amazon EventBridge to trigger automatic responses to specific findings.

This guide, the Security Hub API Reference, provides information about the Security Hub API. This includes supported resources, HTTP methods, parameters, and schemas. If you're new to Security Hub, you might find it helpful to also review the Security Hub User Guide. The user guide explains key concepts and provides procedures that demonstrate how to use Security Hub features. It also provides information about topics such as integrating Security Hub with other Amazon Web Services services.

In addition to interacting with Security Hub by making calls to the Security Hub API, you can use a current version of an Amazon Web Services command line tool or SDK. Amazon Web Services provides tools and SDKs that consist of libraries and sample code for various languages and platforms, such as PowerShell, Java, Go, Python, C++, and .NET. These tools and SDKs provide convenient, programmatic access to Security Hub and other Amazon Web Services services . They also handle tasks such as signing requests, managing errors, and retrying requests automatically. For information about installing and using the Amazon Web Services tools and SDKs, see Tools to Build on Amazon Web Services.

With the exception of operations that are related to central configuration, Security Hub API requests are executed only in the Amazon Web Services Region that is currently active or in the specific Amazon Web Services Region that you specify in your request. Any configuration or settings change that results from the operation is applied only to that Region. To make the same change in other Regions, call the same API operation in each Region in which you want to apply the change. When you use central configuration, API requests for enabling Security Hub, standards, and controls are executed in the home Region and all linked Regions. For a list of central configuration operations, see the Central configuration terms and conceptssection of the Security Hub User Guide.

The following throttling limits apply to Security Hub API operations.

Index

Constants

const ServiceAPIVersion = "2018-10-26"
const ServiceID = "SecurityHub"

Functions

func NewDefaultEndpointResolver

func NewDefaultEndpointResolver() *internalendpoints.Resolver

NewDefaultEndpointResolver constructs a new service endpoint resolver

func WithAPIOptions

func WithAPIOptions(optFns ...func(*middleware.Stack) error) func(*Options)

WithAPIOptions returns a functional option for setting the Client's APIOptions option.

func WithEndpointResolver

func WithEndpointResolver(v EndpointResolver) func(*Options)

Deprecated: EndpointResolver and WithEndpointResolver. Providing a value for this field will likely prevent you from using any endpoint-related service features released after the introduction of EndpointResolverV2 and BaseEndpoint.

To migrate an EndpointResolver implementation that uses a custom endpoint, set the client option BaseEndpoint instead.

func WithEndpointResolverV2

func WithEndpointResolverV2(v EndpointResolverV2) func(*Options)

WithEndpointResolverV2 returns a functional option for setting the Client's EndpointResolverV2 option.

func WithSigV4SigningName

func WithSigV4SigningName(name string) func(*Options)

WithSigV4SigningName applies an override to the authentication workflow to use the given signing name for SigV4-authenticated operations.

This is an advanced setting. The value here is FINAL, taking precedence over the resolved signing name from both auth scheme resolution and endpoint resolution.

func WithSigV4SigningRegion

func WithSigV4SigningRegion(region string) func(*Options)

WithSigV4SigningRegion applies an override to the authentication workflow to use the given signing region for SigV4-authenticated operations.

This is an advanced setting. The value here is FINAL, taking precedence over the resolved signing region from both auth scheme resolution and endpoint resolution.

Types

type AcceptAdministratorInvitationInput

type AcceptAdministratorInvitationInput struct {

	// The account ID of the Security Hub administrator account that sent the
	// invitation.
	//
	// This member is required.
	AdministratorId *string

	// The identifier of the invitation sent from the Security Hub administrator
	// account.
	//
	// This member is required.
	InvitationId *string
	// contains filtered or unexported fields
}

type AcceptAdministratorInvitationOutput

type AcceptAdministratorInvitationOutput struct {
	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
	// contains filtered or unexported fields
}

type AcceptInvitationInput

type AcceptInvitationInput struct {

	// The identifier of the invitation sent from the Security Hub administrator
	// account.
	//
	// This member is required.
	InvitationId *string

	// The account ID of the Security Hub administrator account that sent the
	// invitation.
	//
	// This member is required.
	MasterId *string
	// contains filtered or unexported fields
}

type AcceptInvitationOutput

type AcceptInvitationOutput struct {
	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
	// contains filtered or unexported fields
}

type AuthResolverParameters

type AuthResolverParameters struct {
	// The name of the operation being invoked.
	Operation string

	// The region in which the operation is being invoked.
	Region string
}

AuthResolverParameters contains the set of inputs necessary for auth scheme resolution.

type AuthSchemeResolver

type AuthSchemeResolver interface {
	ResolveAuthSchemes(context.Context, *AuthResolverParameters) ([]*smithyauth.Option, error)
}

AuthSchemeResolver returns a set of possible authentication options for an operation.

type BatchDeleteAutomationRulesInput

type BatchDeleteAutomationRulesInput struct {

	//  A list of Amazon Resource Names (ARNs) for the rules that are to be deleted.
	//
	// This member is required.
	AutomationRulesArns []string
	// contains filtered or unexported fields
}

type BatchDeleteAutomationRulesOutput

type BatchDeleteAutomationRulesOutput struct {

	//  A list of properly processed rule ARNs.
	ProcessedAutomationRules []string

	//  A list of objects containing RuleArn , ErrorCode , and ErrorMessage . This
	// parameter tells you which automation rules the request didn't delete and why.
	UnprocessedAutomationRules []types.UnprocessedAutomationRule

	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
	// contains filtered or unexported fields
}

type BatchDisableStandardsInput

type BatchDisableStandardsInput struct {

	// The ARNs of the standards subscriptions to disable.
	//
	// This member is required.
	StandardsSubscriptionArns []string
	// contains filtered or unexported fields
}

type BatchDisableStandardsOutput

type BatchDisableStandardsOutput struct {

	// The details of the standards subscriptions that were disabled.
	StandardsSubscriptions []types.StandardsSubscription

	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
	// contains filtered or unexported fields
}

type BatchEnableStandardsInput

type BatchEnableStandardsInput struct {

	// The list of standards checks to enable.
	//
	// This member is required.
	StandardsSubscriptionRequests []types.StandardsSubscriptionRequest
	// contains filtered or unexported fields
}

type BatchEnableStandardsOutput

type BatchEnableStandardsOutput struct {

	// The details of the standards subscriptions that were enabled.
	StandardsSubscriptions []types.StandardsSubscription

	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
	// contains filtered or unexported fields
}

type BatchGetAutomationRulesInput

type BatchGetAutomationRulesInput struct {

	//  A list of rule ARNs to get details for.
	//
	// This member is required.
	AutomationRulesArns []string
	// contains filtered or unexported fields
}

type BatchGetAutomationRulesOutput

type BatchGetAutomationRulesOutput struct {

	//  A list of rule details for the provided rule ARNs.
	Rules []types.AutomationRulesConfig

	//  A list of objects containing RuleArn , ErrorCode , and ErrorMessage . This
	// parameter tells you which automation rules the request didn't retrieve and why.
	UnprocessedAutomationRules []types.UnprocessedAutomationRule

	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
	// contains filtered or unexported fields
}

type BatchGetConfigurationPolicyAssociationsInput

type BatchGetConfigurationPolicyAssociationsInput struct {

	//  Specifies one or more target account IDs, organizational unit (OU) IDs, or the
	// root ID to retrieve associations for.
	//
	// This member is required.
	ConfigurationPolicyAssociationIdentifiers []types.ConfigurationPolicyAssociation
	// contains filtered or unexported fields
}

type BatchGetConfigurationPolicyAssociationsOutput

type BatchGetConfigurationPolicyAssociationsOutput struct {

	//  Describes associations for the target accounts, OUs, or the root.
	ConfigurationPolicyAssociations []types.ConfigurationPolicyAssociationSummary

	//  An array of configuration policy associations, one for each configuration
	// policy association identifier, that was specified in the request but couldn’t be
	// processed due to an error.
	UnprocessedConfigurationPolicyAssociations []types.UnprocessedConfigurationPolicyAssociation

	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
	// contains filtered or unexported fields
}

type BatchGetSecurityControlsInput

type BatchGetSecurityControlsInput struct {

	//  A list of security controls (identified with SecurityControlId ,
	// SecurityControlArn , or a mix of both parameters). The security control ID or
	// Amazon Resource Name (ARN) is the same across standards.
	//
	// This member is required.
	SecurityControlIds []string
	// contains filtered or unexported fields
}

type BatchGetSecurityControlsOutput

type BatchGetSecurityControlsOutput struct {

	//  An array that returns the identifier, Amazon Resource Name (ARN), and other
	// details about a security control. The same information is returned whether the
	// request includes SecurityControlId or SecurityControlArn .
	//
	// This member is required.
	SecurityControls []types.SecurityControl

	//  A security control (identified with SecurityControlId , SecurityControlArn , or
	// a mix of both parameters) for which details cannot be returned.
	UnprocessedIds []types.UnprocessedSecurityControl

	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
	// contains filtered or unexported fields
}

type BatchGetStandardsControlAssociationsInput

type BatchGetStandardsControlAssociationsInput struct {

	//  An array with one or more objects that includes a security control (identified
	// with SecurityControlId , SecurityControlArn , or a mix of both parameters) and
	// the Amazon Resource Name (ARN) of a standard. This field is used to query the
	// enablement status of a control in a specified standard. The security control ID
	// or ARN is the same across standards.
	//
	// This member is required.
	StandardsControlAssociationIds []types.StandardsControlAssociationId
	// contains filtered or unexported fields
}

type BatchGetStandardsControlAssociationsOutput

type BatchGetStandardsControlAssociationsOutput struct {

	// Provides the enablement status of a security control in a specified standard
	// and other details for the control in relation to the specified standard.
	//
	// This member is required.
	StandardsControlAssociationDetails []types.StandardsControlAssociationDetail

	//  A security control (identified with SecurityControlId , SecurityControlArn , or
	// a mix of both parameters) whose enablement status in a specified standard cannot
	// be returned.
	UnprocessedAssociations []types.UnprocessedStandardsControlAssociation

	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
	// contains filtered or unexported fields
}

type BatchImportFindingsInput

type BatchImportFindingsInput struct {

	// A list of findings to import. To successfully import a finding, it must follow
	// the [Amazon Web Services Security Finding Format]. Maximum of 100 findings per request.
	//
	// [Amazon Web Services Security Finding Format]: https://docs.aws.amazon.com/securityhub/latest/userguide/securityhub-findings-format.html
	//
	// This member is required.
	Findings []types.AwsSecurityFinding
	// contains filtered or unexported fields
}

type BatchImportFindingsOutput

type BatchImportFindingsOutput struct {

	// The number of findings that failed to import.
	//
	// This member is required.
	FailedCount *int32

	// The number of findings that were successfully imported.
	//
	// This member is required.
	SuccessCount *int32

	// The list of findings that failed to import.
	FailedFindings []types.ImportFindingsError

	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
	// contains filtered or unexported fields
}

type BatchUpdateAutomationRulesInput

type BatchUpdateAutomationRulesInput struct {

	//  An array of ARNs for the rules that are to be updated. Optionally, you can
	// also include RuleStatus and RuleOrder .
	//
	// This member is required.
	UpdateAutomationRulesRequestItems []types.UpdateAutomationRulesRequestItem
	// contains filtered or unexported fields
}

type BatchUpdateAutomationRulesOutput

type BatchUpdateAutomationRulesOutput struct {

	//  A list of properly processed rule ARNs.
	ProcessedAutomationRules []string

	//  A list of objects containing RuleArn , ErrorCode , and ErrorMessage . This
	// parameter tells you which automation rules the request didn't update and why.
	UnprocessedAutomationRules []types.UnprocessedAutomationRule

	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
	// contains filtered or unexported fields
}

type BatchUpdateFindingsInput

type BatchUpdateFindingsInput struct {

	// The list of findings to update. BatchUpdateFindings can be used to update up to
	// 100 findings at a time.
	//
	// For each finding, the list provides the finding identifier and the ARN of the
	// finding provider.
	//
	// This member is required.
	FindingIdentifiers []types.AwsSecurityFindingIdentifier

	// The updated value for the finding 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 *int32

	// The updated value for the level of importance assigned to the resources
	// associated with the findings.
	//
	// 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 *int32

	// The updated note.
	Note *types.NoteUpdate

	// A list of findings that are related to the updated findings.
	RelatedFindings []types.RelatedFinding

	// Used to update the finding severity.
	Severity *types.SeverityUpdate

	// One or more finding types in the format of namespace/category/classifier that
	// classify a finding.
	//
	// Valid namespace values are as follows.
	//
	//   - Software and Configuration Checks
	//
	//   - TTPs
	//
	//   - Effects
	//
	//   - Unusual Behaviors
	//
	//   - Sensitive Data Identifications
	Types []string

	// A list of name/value string pairs associated with the finding. These are
	// custom, user-defined fields added to a finding.
	UserDefinedFields map[string]string

	// Indicates the veracity of a finding.
	//
	// The available values for VerificationState are as follows.
	//
	//   - UNKNOWN – The default disposition of a security finding
	//
	//   - TRUE_POSITIVE – The security finding is confirmed
	//
	//   - FALSE_POSITIVE – The security finding was determined to be a false alarm
	//
	//   - BENIGN_POSITIVE – A special case of TRUE_POSITIVE where the finding doesn't
	//   pose any threat, is expected, or both
	VerificationState types.VerificationState

	// Used to update the workflow status of a finding.
	//
	// The workflow status indicates the progress of the investigation into the
	// finding.
	Workflow *types.WorkflowUpdate
	// contains filtered or unexported fields
}

type BatchUpdateFindingsOutput

type BatchUpdateFindingsOutput struct {

	// The list of findings that were updated successfully.
	//
	// This member is required.
	ProcessedFindings []types.AwsSecurityFindingIdentifier

	// The list of findings that were not updated.
	//
	// This member is required.
	UnprocessedFindings []types.BatchUpdateFindingsUnprocessedFinding

	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
	// contains filtered or unexported fields
}

type BatchUpdateFindingsV2Input

type BatchUpdateFindingsV2Input struct {

	// The updated value for a user provided comment about the finding. Minimum
	// character length 1. Maximum character length 512.
	Comment *string

	// Provides information to identify a specific V2 finding.
	FindingIdentifiers []types.OcsfFindingIdentifier

	// The list of finding metadata.uid to indicate findings to update. Finding
	// metadata.uid is a globally unique identifier associated with the finding.
	// Customers cannot use MetadataUids together with FindingIdentifiers .
	MetadataUids []string

	// The updated value for the normalized severity identifier. The severity ID is an
	// integer with the allowed enum values [0, 1, 2, 3, 4, 5, 99]. When customer
	// provides the updated severity ID, the string sibling severity will automatically
	// be updated in the finding.
	SeverityId *int32

	// The updated value for the normalized status identifier. The status ID is an
	// integer with the allowed enum values [0, 1, 2, 3, 4, 5, 6, 99]. When customer
	// provides the updated status ID, the string sibling status will automatically be
	// updated in the finding.
	StatusId *int32
	// contains filtered or unexported fields
}

type BatchUpdateFindingsV2Output

type BatchUpdateFindingsV2Output struct {

	// The list of findings that were updated successfully.
	//
	// This member is required.
	ProcessedFindings []types.BatchUpdateFindingsV2ProcessedFinding

	// The list of V2 findings that were not updated.
	//
	// This member is required.
	UnprocessedFindings []types.BatchUpdateFindingsV2UnprocessedFinding

	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
	// contains filtered or unexported fields
}

type BatchUpdateStandardsControlAssociationsInput

type BatchUpdateStandardsControlAssociationsInput struct {

	//  Updates the enablement status of a security control in a specified standard.
	//
	// Calls to this operation return a RESOURCE_NOT_FOUND_EXCEPTION error when the
	// standard subscription for the control has StandardsControlsUpdatable value
	// NOT_READY_FOR_UPDATES .
	//
	// This member is required.
	StandardsControlAssociationUpdates []types.StandardsControlAssociationUpdate
	// contains filtered or unexported fields
}

type BatchUpdateStandardsControlAssociationsOutput

type BatchUpdateStandardsControlAssociationsOutput struct {

	//  A security control (identified with SecurityControlId , SecurityControlArn , or
	// a mix of both parameters) whose enablement status in a specified standard
	// couldn't be updated.
	UnprocessedAssociationUpdates []types.UnprocessedStandardsControlAssociationUpdate

	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
	// contains filtered or unexported fields
}

type Client

type Client struct {
	// contains filtered or unexported fields
}

Client provides the API client to make operations call for AWS SecurityHub.

func New

func New(options Options, optFns ...func(*Options)) *Client

New returns an initialized Client based on the functional options. Provide additional functional options to further configure the behavior of the client, such as changing the client's endpoint or adding custom middleware behavior.

func NewFromConfig

func NewFromConfig(cfg aws.Config, optFns ...func(*Options)) *Client

NewFromConfig returns a new client from the provided config.

func (*Client) AcceptAdministratorInvitation

func (c *Client) AcceptAdministratorInvitation(ctx context.Context, params *AcceptAdministratorInvitationInput, optFns ...func(*Options)) (*AcceptAdministratorInvitationOutput, error)

We recommend using Organizations instead of Security Hub invitations to manage your member accounts. For information, see Managing Security Hub administrator and member accounts with Organizationsin the Security Hub User Guide.

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.

func (*Client) AcceptInvitation

func (c *Client) AcceptInvitation(ctx context.Context, params *AcceptInvitationInput, optFns ...func(*Options)) (*AcceptInvitationOutput, error)

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.

Deprecated: This API has been deprecated, use AcceptAdministratorInvitation API instead.

func (*Client) BatchDeleteAutomationRules

func (c *Client) BatchDeleteAutomationRules(ctx context.Context, params *BatchDeleteAutomationRulesInput, optFns ...func(*Options)) (*BatchDeleteAutomationRulesOutput, error)

Deletes one or more automation rules.

func (*Client) BatchDisableStandards

func (c *Client) BatchDisableStandards(ctx context.Context, params *BatchDisableStandardsInput, optFns ...func(*Options)) (*BatchDisableStandardsOutput, error)

Disables the standards specified by the provided StandardsSubscriptionArns .

For more information, see Security Standards section of the Security Hub User Guide.

func (*Client) BatchEnableStandards

func (c *Client) BatchEnableStandards(ctx context.Context, params *BatchEnableStandardsInput, optFns ...func(*Options)) (*BatchEnableStandardsOutput, error)

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.

func (*Client) BatchGetAutomationRules

func (c *Client) BatchGetAutomationRules(ctx context.Context, params *BatchGetAutomationRulesInput, optFns ...func(*Options)) (*BatchGetAutomationRulesOutput, error)
Retrieves a list of details for automation rules based on rule Amazon Resource

Names (ARNs).

func (*Client) BatchGetConfigurationPolicyAssociations

func (c *Client) BatchGetConfigurationPolicyAssociations(ctx context.Context, params *BatchGetConfigurationPolicyAssociationsInput, optFns ...func(*Options)) (*BatchGetConfigurationPolicyAssociationsOutput, error)
Returns associations between an Security Hub configuration and a batch of

target accounts, organizational units, or the root. Only the Security Hub delegated administrator can invoke this operation from the home Region. A configuration can refer to a configuration policy or to a self-managed configuration.

func (*Client) BatchGetSecurityControls

func (c *Client) BatchGetSecurityControls(ctx context.Context, params *BatchGetSecurityControlsInput, optFns ...func(*Options)) (*BatchGetSecurityControlsOutput, error)
Provides details about a batch of security controls for the current Amazon Web

Services account and Amazon Web Services Region.

func (*Client) BatchGetStandardsControlAssociations

func (c *Client) BatchGetStandardsControlAssociations(ctx context.Context, params *BatchGetStandardsControlAssociationsInput, optFns ...func(*Options)) (*BatchGetStandardsControlAssociationsOutput, error)
For a batch of security controls and standards, identifies whether each

control is currently enabled or disabled in a standard.

Calls to this operation return a RESOURCE_NOT_FOUND_EXCEPTION error when the standard subscription for the association has a NOT_READY_FOR_UPDATES value for StandardsControlsUpdatable .

func (*Client) BatchImportFindings

func (c *Client) BatchImportFindings(ctx context.Context, params *BatchImportFindingsInput, optFns ...func(*Options)) (*BatchImportFindingsOutput, error)

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 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.

Finding providers also should not use BatchImportFindings to update the following attributes.

Instead, finding providers use FindingProviderFields to provide values for these attributes.

func (*Client) BatchUpdateAutomationRules

func (c *Client) BatchUpdateAutomationRules(ctx context.Context, params *BatchUpdateAutomationRulesInput, optFns ...func(*Options)) (*BatchUpdateAutomationRulesOutput, error)
Updates one or more automation rules based on rule Amazon Resource Names

(ARNs) and input parameters.

func (*Client) BatchUpdateFindings

func (c *Client) BatchUpdateFindings(ctx context.Context, params *BatchUpdateFindingsInput, optFns ...func(*Options)) (*BatchUpdateFindingsOutput, error)
Used by Security Hub customers to update information about their investigation

into one or more findings. Requested by administrator accounts or member accounts. Administrator accounts can update findings for their account and their member accounts. A member account can update findings only for their own account. Administrator and member accounts can use this operation to update the following fields and objects for one or more findings:

If you use this operation to update a finding, your updates don’t affect the value for the UpdatedAt field of the finding. Also note that it can take several minutes for Security Hub to process your request and update each finding specified in the request.

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. For more information see Configuring access to BatchUpdateFindingsin the Security Hub User Guide.

func (*Client) BatchUpdateFindingsV2

func (c *Client) BatchUpdateFindingsV2(ctx context.Context, params *BatchUpdateFindingsV2Input, optFns ...func(*Options)) (*BatchUpdateFindingsV2Output, error)

Used by customers to update information about their investigation into a finding. Requested by delegated administrator accounts or member accounts. Delegated administrator accounts can update findings for their account and their member accounts. Member accounts can update findings for their account. BatchUpdateFindings and BatchUpdateFindingV2 both use securityhub:BatchUpdateFindings in the Action element of an IAM policy statement. You must have permission to perform the securityhub:BatchUpdateFindings action. Updates from BatchUpdateFindingsV2 don't affect the value of f inding_info.modified_time , finding_info.modified_time_dt , time , time_dt for a finding . This API is in private preview and subject to change.

func (*Client) BatchUpdateStandardsControlAssociations

func (c *Client) BatchUpdateStandardsControlAssociations(ctx context.Context, params *BatchUpdateStandardsControlAssociationsInput, optFns ...func(*Options)) (*BatchUpdateStandardsControlAssociationsOutput, error)
For a batch of security controls and standards, this operation updates the

enablement status of a control in a standard.

func (*Client) ConnectorRegistrationsV2

func (c *Client) ConnectorRegistrationsV2(ctx context.Context, params *ConnectorRegistrationsV2Input, optFns ...func(*Options)) (*ConnectorRegistrationsV2Output, error)

Grants permission to complete the authorization based on input parameters. This API is in preview release and subject to change.

func (*Client) CreateActionTarget

func (c *Client) CreateActionTarget(ctx context.Context, params *CreateActionTargetInput, optFns ...func(*Options)) (*CreateActionTargetOutput, error)

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.

func (*Client) CreateAggregatorV2

func (c *Client) CreateAggregatorV2(ctx context.Context, params *CreateAggregatorV2Input, optFns ...func(*Options)) (*CreateAggregatorV2Output, error)

Enables aggregation across Amazon Web Services Regions. This API is in private preview and subject to change.

func (*Client) CreateAutomationRule

func (c *Client) CreateAutomationRule(ctx context.Context, params *CreateAutomationRuleInput, optFns ...func(*Options)) (*CreateAutomationRuleOutput, error)

Creates an automation rule based on input parameters.

func (*Client) CreateAutomationRuleV2

func (c *Client) CreateAutomationRuleV2(ctx context.Context, params *CreateAutomationRuleV2Input, optFns ...func(*Options)) (*CreateAutomationRuleV2Output, error)

Creates a V2 automation rule. This API is in private preview and subject to change.

func (*Client) CreateConfigurationPolicy

func (c *Client) CreateConfigurationPolicy(ctx context.Context, params *CreateConfigurationPolicyInput, optFns ...func(*Options)) (*CreateConfigurationPolicyOutput, error)
Creates a configuration policy with the defined configuration. Only the

Security Hub delegated administrator can invoke this operation from the home Region.

func (*Client) CreateConnectorV2

func (c *Client) CreateConnectorV2(ctx context.Context, params *CreateConnectorV2Input, optFns ...func(*Options)) (*CreateConnectorV2Output, error)

Grants permission to create a connectorV2 based on input parameters. This API is in preview release and subject to change.

func (*Client) CreateFindingAggregator

func (c *Client) CreateFindingAggregator(ctx context.Context, params *CreateFindingAggregatorInput, optFns ...func(*Options)) (*CreateFindingAggregatorOutput, error)

The aggregation Region is now called the home Region.

Used to enable cross-Region aggregation. This operation can be invoked from the home Region only.

For information about how cross-Region aggregation works, see Understanding cross-Region aggregation in Security Hub in the Security Hub User Guide.

func (*Client) CreateInsight

func (c *Client) CreateInsight(ctx context.Context, params *CreateInsightInput, optFns ...func(*Options)) (*CreateInsightOutput, error)

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 .

func (*Client) CreateMembers

func (c *Client) CreateMembers(ctx context.Context, params *CreateMembersInput, optFns ...func(*Options)) (*CreateMembersOutput, error)

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:

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 don't receive an invitation. They automatically become a member account in Security Hub.

A permissions policy is added that permits the administrator account to view the findings generated in the member account.

To remove the association between the administrator and member accounts, use the DisassociateFromMasterAccount or DisassociateMembers operation.

func (*Client) CreateTicketV2

func (c *Client) CreateTicketV2(ctx context.Context, params *CreateTicketV2Input, optFns ...func(*Options)) (*CreateTicketV2Output, error)

Grants permission to create a ticket in the chosen ITSM based on finding information for the provided finding metadata UID. This API is in preview release and subject to change.

func (*Client) DeclineInvitations

func (c *Client) DeclineInvitations(ctx context.Context, params *DeclineInvitationsInput, optFns ...func(*Options)) (*DeclineInvitationsOutput, error)

We recommend using Organizations instead of Security Hub invitations to manage your member accounts. For information, see Managing Security Hub administrator and member accounts with Organizationsin the Security Hub User Guide.

Declines invitations to become a Security Hub member account.

A prospective member account uses this operation to decline an invitation to become a member.

Only member accounts that aren't part of an Amazon Web Services organization should use this operation. Organization accounts don't receive invitations.

func (*Client) DeleteActionTarget

func (c *Client) DeleteActionTarget(ctx context.Context, params *DeleteActionTargetInput, optFns ...func(*Options)) (*DeleteActionTargetOutput, error)

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.

func (*Client) DeleteAggregatorV2

func (c *Client) DeleteAggregatorV2(ctx context.Context, params *DeleteAggregatorV2Input, optFns ...func(*Options)) (*DeleteAggregatorV2Output, error)

Deletes the Aggregator V2. This API is in private preview and subject to change.

func (*Client) DeleteAutomationRuleV2

func (c *Client) DeleteAutomationRuleV2(ctx context.Context, params *DeleteAutomationRuleV2Input, optFns ...func(*Options)) (*DeleteAutomationRuleV2Output, error)

Deletes a V2 automation rule. This API is in private preview and subject to change.

func (*Client) DeleteConfigurationPolicy

func (c *Client) DeleteConfigurationPolicy(ctx context.Context, params *DeleteConfigurationPolicyInput, optFns ...func(*Options)) (*DeleteConfigurationPolicyOutput, error)
Deletes a configuration policy. Only the Security Hub delegated administrator

can invoke this operation from the home Region. For the deletion to succeed, you must first disassociate a configuration policy from target accounts, organizational units, or the root by invoking the StartConfigurationPolicyDisassociation operation.

func (*Client) DeleteConnectorV2

func (c *Client) DeleteConnectorV2(ctx context.Context, params *DeleteConnectorV2Input, optFns ...func(*Options)) (*DeleteConnectorV2Output, error)

Grants permission to delete a connectorV2. This API is in preview release and subject to change.

func (*Client) DeleteFindingAggregator

func (c *Client) DeleteFindingAggregator(ctx context.Context, params *DeleteFindingAggregatorInput, optFns ...func(*Options)) (*DeleteFindingAggregatorOutput, error)

The aggregation Region is now called the home Region.

Deletes a finding aggregator. When you delete the finding aggregator, you stop cross-Region aggregation. Finding replication stops occurring from the linked Regions to the home Region.

When you stop cross-Region aggregation, findings that were already replicated and sent to the home Region are still visible from the home Region. However, new findings and finding updates are no longer replicated and sent to the home Region.

func (*Client) DeleteInsight

func (c *Client) DeleteInsight(ctx context.Context, params *DeleteInsightInput, optFns ...func(*Options)) (*DeleteInsightOutput, error)

Deletes the insight specified by the InsightArn .

func (*Client) DeleteInvitations

func (c *Client) DeleteInvitations(ctx context.Context, params *DeleteInvitationsInput, optFns ...func(*Options)) (*DeleteInvitationsOutput, error)

We recommend using Organizations instead of Security Hub invitations to manage your member accounts. For information, see Managing Security Hub administrator and member accounts with Organizationsin the Security Hub User Guide.

Deletes invitations to become a Security Hub member account.

A Security Hub administrator account can use this operation to delete invitations sent to one or more prospective member accounts.

This operation is only used to delete invitations that are sent to prospective member accounts that aren't part of an Amazon Web Services organization. Organization accounts don't receive invitations.

func (*Client) DeleteMembers

func (c *Client) DeleteMembers(ctx context.Context, params *DeleteMembersInput, optFns ...func(*Options)) (*DeleteMembersOutput, error)

Deletes the specified member accounts from Security Hub.

You can invoke this API only to delete accounts that became members through invitation. You can't invoke this API to delete accounts that belong to an Organizations organization.

func (*Client) DescribeActionTargets

func (c *Client) DescribeActionTargets(ctx context.Context, params *DescribeActionTargetsInput, optFns ...func(*Options)) (*DescribeActionTargetsOutput, error)

Returns a list of the custom action targets in Security Hub in your account.

func (*Client) DescribeHub

func (c *Client) DescribeHub(ctx context.Context, params *DescribeHubInput, optFns ...func(*Options)) (*DescribeHubOutput, error)

Returns details about the Hub resource in your account, including the HubArn and the time when you enabled Security Hub.

func (*Client) DescribeOrganizationConfiguration

func (c *Client) DescribeOrganizationConfiguration(ctx context.Context, params *DescribeOrganizationConfigurationInput, optFns ...func(*Options)) (*DescribeOrganizationConfigurationOutput, error)

Returns information about the way your organization is configured in Security Hub. Only the Security Hub administrator account can invoke this operation.

func (*Client) DescribeProducts

func (c *Client) DescribeProducts(ctx context.Context, params *DescribeProductsInput, optFns ...func(*Options)) (*DescribeProductsOutput, error)

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 don't provide an integration ARN, then the results include all of the available product integrations.

func (*Client) DescribeProductsV2

func (c *Client) DescribeProductsV2(ctx context.Context, params *DescribeProductsV2Input, optFns ...func(*Options)) (*DescribeProductsV2Output, error)

Gets information about the product integration. This API is in private preview and subject to change.

func (*Client) DescribeSecurityHubV2

func (c *Client) DescribeSecurityHubV2(ctx context.Context, params *DescribeSecurityHubV2Input, optFns ...func(*Options)) (*DescribeSecurityHubV2Output, error)

Returns details about the service resource in your account. This API is in private preview and subject to change.

func (*Client) DescribeStandards

func (c *Client) DescribeStandards(ctx context.Context, params *DescribeStandardsInput, optFns ...func(*Options)) (*DescribeStandardsOutput, error)

Returns a list of the available standards in Security Hub.

For each standard, the results include the standard ARN, the name, and a description.

func (*Client) DescribeStandardsControls

func (c *Client) DescribeStandardsControls(ctx context.Context, params *DescribeStandardsControlsInput, optFns ...func(*Options)) (*DescribeStandardsControlsOutput, error)

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.

This operation returns an empty list for standard subscriptions where StandardsControlsUpdatable has value NOT_READY_FOR_UPDATES .

func (*Client) DisableImportFindingsForProduct

func (c *Client) DisableImportFindingsForProduct(ctx context.Context, params *DisableImportFindingsForProductInput, optFns ...func(*Options)) (*DisableImportFindingsForProductOutput, error)

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.

func (*Client) DisableOrganizationAdminAccount

func (c *Client) DisableOrganizationAdminAccount(ctx context.Context, params *DisableOrganizationAdminAccountInput, optFns ...func(*Options)) (*DisableOrganizationAdminAccountOutput, error)

Disables a Security Hub administrator account. Can only be called by the organization management account.

func (*Client) DisableSecurityHub

func (c *Client) DisableSecurityHub(ctx context.Context, params *DisableSecurityHubInput, optFns ...func(*Options)) (*DisableSecurityHubOutput, error)

Disables Security Hub in your account only in the current Amazon Web Services Region. To disable Security Hub in all Regions, you must submit one request per Region where you have enabled Security Hub.

You can't disable Security Hub in an account that is currently the Security Hub administrator.

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.

func (*Client) DisableSecurityHubV2

func (c *Client) DisableSecurityHubV2(ctx context.Context, params *DisableSecurityHubV2Input, optFns ...func(*Options)) (*DisableSecurityHubV2Output, error)

Disable the service for the current Amazon Web Services Region or specified Amazon Web Services Region. This API is in private preview and subject to change.

func (*Client) DisassociateFromAdministratorAccount

func (c *Client) DisassociateFromAdministratorAccount(ctx context.Context, params *DisassociateFromAdministratorAccountInput, optFns ...func(*Options)) (*DisassociateFromAdministratorAccountOutput, error)

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.

func (*Client) DisassociateFromMasterAccount

func (c *Client) DisassociateFromMasterAccount(ctx context.Context, params *DisassociateFromMasterAccountInput, optFns ...func(*Options)) (*DisassociateFromMasterAccountOutput, error)

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.

Deprecated: This API has been deprecated, use DisassociateFromAdministratorAccount API instead.

func (*Client) DisassociateMembers

func (c *Client) DisassociateMembers(ctx context.Context, params *DisassociateMembersInput, optFns ...func(*Options)) (*DisassociateMembersOutput, error)

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.

func (*Client) EnableImportFindingsForProduct

func (c *Client) EnableImportFindingsForProduct(ctx context.Context, params *EnableImportFindingsForProductInput, optFns ...func(*Options)) (*EnableImportFindingsForProductOutput, error)

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.

func (*Client) EnableOrganizationAdminAccount

func (c *Client) EnableOrganizationAdminAccount(ctx context.Context, params *EnableOrganizationAdminAccountInput, optFns ...func(*Options)) (*EnableOrganizationAdminAccountOutput, error)

Designates the Security Hub administrator account for an organization. Can only be called by the organization management account.

func (*Client) EnableSecurityHub

func (c *Client) EnableSecurityHub(ctx context.Context, params *EnableSecurityHubInput, optFns ...func(*Options)) (*EnableSecurityHubOutput, error)

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:

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.

func (*Client) EnableSecurityHubV2

func (c *Client) EnableSecurityHubV2(ctx context.Context, params *EnableSecurityHubV2Input, optFns ...func(*Options)) (*EnableSecurityHubV2Output, error)

Enables the service in account for the current Amazon Web Services Region or specified Amazon Web Services Region. This API is in private preview and subject to change.

func (*Client) GetAdministratorAccount

func (c *Client) GetAdministratorAccount(ctx context.Context, params *GetAdministratorAccountInput, optFns ...func(*Options)) (*GetAdministratorAccountOutput, error)

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.

func (*Client) GetAggregatorV2

func (c *Client) GetAggregatorV2(ctx context.Context, params *GetAggregatorV2Input, optFns ...func(*Options)) (*GetAggregatorV2Output, error)

Returns the configuration of the specified Aggregator V2. This API is in private preview and subject to change.

func (*Client) GetAutomationRuleV2

func (c *Client) GetAutomationRuleV2(ctx context.Context, params *GetAutomationRuleV2Input, optFns ...func(*Options)) (*GetAutomationRuleV2Output, error)

Returns an automation rule for the V2 service. This API is in private preview and subject to change.

func (*Client) GetConfigurationPolicy

func (c *Client) GetConfigurationPolicy(ctx context.Context, params *GetConfigurationPolicyInput, optFns ...func(*Options)) (*GetConfigurationPolicyOutput, error)
Provides information about a configuration policy. Only the Security Hub

delegated administrator can invoke this operation from the home Region.

func (*Client) GetConfigurationPolicyAssociation

func (c *Client) GetConfigurationPolicyAssociation(ctx context.Context, params *GetConfigurationPolicyAssociationInput, optFns ...func(*Options)) (*GetConfigurationPolicyAssociationOutput, error)
Returns the association between a configuration and a target account,

organizational unit, or the root. The configuration can be a configuration policy or self-managed behavior. Only the Security Hub delegated administrator can invoke this operation from the home Region.

func (*Client) GetConnectorV2

func (c *Client) GetConnectorV2(ctx context.Context, params *GetConnectorV2Input, optFns ...func(*Options)) (*GetConnectorV2Output, error)

Grants permission to retrieve details for a connectorV2 based on connector id. This API is in preview release and subject to change.

func (*Client) GetEnabledStandards

func (c *Client) GetEnabledStandards(ctx context.Context, params *GetEnabledStandardsInput, optFns ...func(*Options)) (*GetEnabledStandardsOutput, error)

Returns a list of the standards that are currently enabled.

func (*Client) GetFindingAggregator

func (c *Client) GetFindingAggregator(ctx context.Context, params *GetFindingAggregatorInput, optFns ...func(*Options)) (*GetFindingAggregatorOutput, error)

The aggregation Region is now called the home Region.

Returns the current configuration in the calling account for cross-Region aggregation. A finding aggregator is a resource that establishes the home Region and any linked Regions.

func (*Client) GetFindingHistory

func (c *Client) GetFindingHistory(ctx context.Context, params *GetFindingHistoryInput, optFns ...func(*Options)) (*GetFindingHistoryOutput, error)
Returns the history of a Security Hub finding for the past 90 days. The

history includes changes made to any fields in the Amazon Web Services Security Finding Format (ASFF) except top-level timestamp fields, such as the CreatedAt and UpdatedAt fields.

This operation might return fewer results than the maximum number of results ( MaxResults ) specified in a request, even when more results are available. If this occurs, the response includes a NextToken value, which you should use to retrieve the next set of results in the response. The presence of a NextToken value in a response doesn't necessarily indicate that the results are incomplete. However, you should continue to specify a NextToken value until you receive a response that doesn't include this value.

func (*Client) GetFindingStatisticsV2

func (c *Client) GetFindingStatisticsV2(ctx context.Context, params *GetFindingStatisticsV2Input, optFns ...func(*Options)) (*GetFindingStatisticsV2Output, error)

Returns aggregated statistical data about findings. GetFindingStatisticsV2 use securityhub:GetAdhocInsightResults in the Action element of an IAM policy statement. You must have permission to perform the s action. This API is in private preview and subject to change.

func (*Client) GetFindings

func (c *Client) GetFindings(ctx context.Context, params *GetFindingsInput, optFns ...func(*Options)) (*GetFindingsOutput, error)

Returns a list of findings that match the specified criteria.

If cross-Region aggregation is enabled, then when you call GetFindings from the home Region, the results include all of the matching findings from both the home Region and linked Regions.

func (*Client) GetFindingsV2

func (c *Client) GetFindingsV2(ctx context.Context, params *GetFindingsV2Input, optFns ...func(*Options)) (*GetFindingsV2Output, error)

Return a list of findings that match the specified criteria. GetFindings and GetFindingsV2 both use securityhub:GetFindings in the Action element of an IAM policy statement. You must have permission to perform the securityhub:GetFindings action. This API is in private preview and subject to change.

func (*Client) GetInsightResults

func (c *Client) GetInsightResults(ctx context.Context, params *GetInsightResultsInput, optFns ...func(*Options)) (*GetInsightResultsOutput, error)

Lists the results of the Security Hub insight specified by the insight ARN.

func (*Client) GetInsights

func (c *Client) GetInsights(ctx context.Context, params *GetInsightsInput, optFns ...func(*Options)) (*GetInsightsOutput, error)

Lists and describes insights for the specified insight ARNs.

func (*Client) GetInvitationsCount

func (c *Client) GetInvitationsCount(ctx context.Context, params *GetInvitationsCountInput, optFns ...func(*Options)) (*GetInvitationsCountOutput, error)

We recommend using Organizations instead of Security Hub invitations to manage your member accounts. For information, see Managing Security Hub administrator and member accounts with Organizationsin the Security Hub User Guide.

Returns the count of all Security Hub membership invitations that were sent to the calling member account, not including the currently accepted invitation.

func (*Client) GetMasterAccount

func (c *Client) GetMasterAccount(ctx context.Context, params *GetMasterAccountInput, optFns ...func(*Options)) (*GetMasterAccountOutput, error)

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.

Deprecated: This API has been deprecated, use GetAdministratorAccount API instead.

func (*Client) GetMembers

func (c *Client) GetMembers(ctx context.Context, params *GetMembersInput, optFns ...func(*Options)) (*GetMembersOutput, error)

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.

func (*Client) GetResourcesStatisticsV2

func (c *Client) GetResourcesStatisticsV2(ctx context.Context, params *GetResourcesStatisticsV2Input, optFns ...func(*Options)) (*GetResourcesStatisticsV2Output, error)

Retrieves statistical information about Amazon Web Services resources and their associated security findings. This API is in private preview and subject to change.

func (*Client) GetResourcesV2

func (c *Client) GetResourcesV2(ctx context.Context, params *GetResourcesV2Input, optFns ...func(*Options)) (*GetResourcesV2Output, error)

Returns a list of resources. This API is in private preview and subject to change.

func (*Client) GetSecurityControlDefinition

func (c *Client) GetSecurityControlDefinition(ctx context.Context, params *GetSecurityControlDefinitionInput, optFns ...func(*Options)) (*GetSecurityControlDefinitionOutput, error)
Retrieves the definition of a security control. The definition includes the

control title, description, Region availability, parameter definitions, and other details.

func (*Client) InviteMembers

func (c *Client) InviteMembers(ctx context.Context, params *InviteMembersInput, optFns ...func(*Options)) (*InviteMembersOutput, error)

We recommend using Organizations instead of Security Hub invitations to manage your member accounts. For information, see Managing Security Hub administrator and member accounts with Organizationsin the Security Hub User Guide.

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 don't belong to an Amazon Web Services organization. Organization accounts don't 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 in the member account.

func (*Client) ListAggregatorsV2

func (c *Client) ListAggregatorsV2(ctx context.Context, params *ListAggregatorsV2Input, optFns ...func(*Options)) (*ListAggregatorsV2Output, error)

Retrieves a list of V2 aggregators. This API is in private preview and subject to change.

func (*Client) ListAutomationRules

func (c *Client) ListAutomationRules(ctx context.Context, params *ListAutomationRulesInput, optFns ...func(*Options)) (*ListAutomationRulesOutput, error)

A list of automation rules and their metadata for the calling account.

func (*Client) ListAutomationRulesV2

func (c *Client) ListAutomationRulesV2(ctx context.Context, params *ListAutomationRulesV2Input, optFns ...func(*Options)) (*ListAutomationRulesV2Output, error)

Returns a list of automation rules and metadata for the calling account. This API is in private preview and subject to change.

func (*Client) ListConfigurationPolicies

func (c *Client) ListConfigurationPolicies(ctx context.Context, params *ListConfigurationPoliciesInput, optFns ...func(*Options)) (*ListConfigurationPoliciesOutput, error)
Lists the configuration policies that the Security Hub delegated administrator

has created for your organization. Only the delegated administrator can invoke this operation from the home Region.

func (*Client) ListConfigurationPolicyAssociations

func (c *Client) ListConfigurationPolicyAssociations(ctx context.Context, params *ListConfigurationPolicyAssociationsInput, optFns ...func(*Options)) (*ListConfigurationPolicyAssociationsOutput, error)
Provides information about the associations for your configuration policies

and self-managed behavior. Only the Security Hub delegated administrator can invoke this operation from the home Region.

func (*Client) ListConnectorsV2

func (c *Client) ListConnectorsV2(ctx context.Context, params *ListConnectorsV2Input, optFns ...func(*Options)) (*ListConnectorsV2Output, error)

Grants permission to retrieve a list of connectorsV2 and their metadata for the calling account. This API is in preview release and subject to change.

func (*Client) ListEnabledProductsForImport

func (c *Client) ListEnabledProductsForImport(ctx context.Context, params *ListEnabledProductsForImportInput, optFns ...func(*Options)) (*ListEnabledProductsForImportOutput, error)

Lists all findings-generating solutions (products) that you are subscribed to receive findings from in Security Hub.

func (*Client) ListFindingAggregators

func (c *Client) ListFindingAggregators(ctx context.Context, params *ListFindingAggregatorsInput, optFns ...func(*Options)) (*ListFindingAggregatorsOutput, error)

If cross-Region aggregation is enabled, then ListFindingAggregators returns the Amazon Resource Name (ARN) of the finding aggregator. You can run this operation from any Amazon Web Services Region.

func (*Client) ListInvitations

func (c *Client) ListInvitations(ctx context.Context, params *ListInvitationsInput, optFns ...func(*Options)) (*ListInvitationsOutput, error)

We recommend using Organizations instead of Security Hub invitations to manage your member accounts. For information, see Managing Security Hub administrator and member accounts with Organizationsin the Security Hub User Guide.

Lists all Security Hub membership invitations that were sent to the calling account.

Only accounts that are managed by invitation can use this operation. Accounts that are managed using the integration with Organizations don't receive invitations.

func (*Client) ListMembers

func (c *Client) ListMembers(ctx context.Context, params *ListMembersInput, optFns ...func(*Options)) (*ListMembersOutput, error)

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.

func (*Client) ListOrganizationAdminAccounts

func (c *Client) ListOrganizationAdminAccounts(ctx context.Context, params *ListOrganizationAdminAccountsInput, optFns ...func(*Options)) (*ListOrganizationAdminAccountsOutput, error)

Lists the Security Hub administrator accounts. Can only be called by the organization management account.

func (*Client) ListSecurityControlDefinitions

func (c *Client) ListSecurityControlDefinitions(ctx context.Context, params *ListSecurityControlDefinitionsInput, optFns ...func(*Options)) (*ListSecurityControlDefinitionsOutput, error)

Lists all of the security controls that apply to a specified standard.

func (*Client) ListStandardsControlAssociations

func (c *Client) ListStandardsControlAssociations(ctx context.Context, params *ListStandardsControlAssociationsInput, optFns ...func(*Options)) (*ListStandardsControlAssociationsOutput, error)
Specifies whether a control is currently enabled or disabled in each enabled

standard in the calling account.

This operation omits standards control associations for standard subscriptions where StandardsControlsUpdatable has value NOT_READY_FOR_UPDATES .

func (*Client) ListTagsForResource

func (c *Client) ListTagsForResource(ctx context.Context, params *ListTagsForResourceInput, optFns ...func(*Options)) (*ListTagsForResourceOutput, error)

Returns a list of tags associated with a resource.

func (*Client) Options

func (c *Client) Options() Options

Options returns a copy of the client configuration.

Callers SHOULD NOT perform mutations on any inner structures within client config. Config overrides should instead be made on a per-operation basis through functional options.

func (*Client) StartConfigurationPolicyAssociation

func (c *Client) StartConfigurationPolicyAssociation(ctx context.Context, params *StartConfigurationPolicyAssociationInput, optFns ...func(*Options)) (*StartConfigurationPolicyAssociationOutput, error)
Associates a target account, organizational unit, or the root with a specified

configuration. The target can be associated with a configuration policy or self-managed behavior. Only the Security Hub delegated administrator can invoke this operation from the home Region.

func (*Client) StartConfigurationPolicyDisassociation

func (c *Client) StartConfigurationPolicyDisassociation(ctx context.Context, params *StartConfigurationPolicyDisassociationInput, optFns ...func(*Options)) (*StartConfigurationPolicyDisassociationOutput, error)
Disassociates a target account, organizational unit, or the root from a

specified configuration. When you disassociate a configuration from its target, the target inherits the configuration of the closest parent. If there’s no configuration to inherit, the target retains its settings but becomes a self-managed account. A target can be disassociated from a configuration policy or self-managed behavior. Only the Security Hub delegated administrator can invoke this operation from the home Region.

func (*Client) TagResource

func (c *Client) TagResource(ctx context.Context, params *TagResourceInput, optFns ...func(*Options)) (*TagResourceOutput, error)

Adds one or more tags to a resource.

func (*Client) UntagResource

func (c *Client) UntagResource(ctx context.Context, params *UntagResourceInput, optFns ...func(*Options)) (*UntagResourceOutput, error)

Removes one or more tags from a resource.

func (*Client) UpdateActionTarget

func (c *Client) UpdateActionTarget(ctx context.Context, params *UpdateActionTargetInput, optFns ...func(*Options)) (*UpdateActionTargetOutput, error)

Updates the name and description of a custom action target in Security Hub.

func (*Client) UpdateAggregatorV2

func (c *Client) UpdateAggregatorV2(ctx context.Context, params *UpdateAggregatorV2Input, optFns ...func(*Options)) (*UpdateAggregatorV2Output, error)

Udpates the configuration for the Aggregator V2. This API is in private preview and subject to change.

func (*Client) UpdateAutomationRuleV2

func (c *Client) UpdateAutomationRuleV2(ctx context.Context, params *UpdateAutomationRuleV2Input, optFns ...func(*Options)) (*UpdateAutomationRuleV2Output, error)

Updates a V2 automation rule. This API is in private preview and subject to change.

func (*Client) UpdateConfigurationPolicy

func (c *Client) UpdateConfigurationPolicy(ctx context.Context, params *UpdateConfigurationPolicyInput, optFns ...func(*Options)) (*UpdateConfigurationPolicyOutput, error)
Updates a configuration policy. Only the Security Hub delegated administrator

can invoke this operation from the home Region.

func (*Client) UpdateConnectorV2

func (c *Client) UpdateConnectorV2(ctx context.Context, params *UpdateConnectorV2Input, optFns ...func(*Options)) (*UpdateConnectorV2Output, error)

Grants permission to update a connectorV2 based on its id and input parameters. This API is in preview release and subject to change.

func (*Client) UpdateFindingAggregator

func (c *Client) UpdateFindingAggregator(ctx context.Context, params *UpdateFindingAggregatorInput, optFns ...func(*Options)) (*UpdateFindingAggregatorOutput, error)

The aggregation Region is now called the home Region.

Updates cross-Region aggregation settings. You can use this operation to update the Region linking mode and the list of included or excluded Amazon Web Services Regions. However, you can't use this operation to change the home Region.

You can invoke this operation from the current home Region only.

func (*Client) UpdateFindings

func (c *Client) UpdateFindings(ctx context.Context, params *UpdateFindingsInput, optFns ...func(*Options)) (*UpdateFindingsOutput, error)

UpdateFindings is a deprecated operation. Instead of UpdateFindings , use the BatchUpdateFindings operation.

The UpdateFindings operation updates the Note and RecordState of the Security Hub aggregated findings that the filter attributes specify. Any member account that can view the finding can also see the update to the finding.

Finding updates made with UpdateFindings aren't persisted if the same finding is later updated by the finding provider through the BatchImportFindings operation. In addition, Security Hub doesn't record updates made with UpdateFindings in the finding history.

func (*Client) UpdateInsight

func (c *Client) UpdateInsight(ctx context.Context, params *UpdateInsightInput, optFns ...func(*Options)) (*UpdateInsightOutput, error)

Updates the Security Hub insight identified by the specified insight ARN.

func (*Client) UpdateOrganizationConfiguration

func (c *Client) UpdateOrganizationConfiguration(ctx context.Context, params *UpdateOrganizationConfigurationInput, optFns ...func(*Options)) (*UpdateOrganizationConfigurationOutput, error)

Updates the configuration of your organization in Security Hub. Only the Security Hub administrator account can invoke this operation.

func (*Client) UpdateSecurityControl

func (c *Client) UpdateSecurityControl(ctx context.Context, params *UpdateSecurityControlInput, optFns ...func(*Options)) (*UpdateSecurityControlOutput, error)

Updates the properties of a security control.

func (*Client) UpdateSecurityHubConfiguration

func (c *Client) UpdateSecurityHubConfiguration(ctx context.Context, params *UpdateSecurityHubConfigurationInput, optFns ...func(*Options)) (*UpdateSecurityHubConfigurationOutput, error)

Updates configuration options for Security Hub.

func (*Client) UpdateStandardsControl

func (c *Client) UpdateStandardsControl(ctx context.Context, params *UpdateStandardsControlInput, optFns ...func(*Options)) (*UpdateStandardsControlOutput, error)

Used to control whether an individual security standard control is enabled or disabled.

Calls to this operation return a RESOURCE_NOT_FOUND_EXCEPTION error when the standard subscription for the control has StandardsControlsUpdatable value NOT_READY_FOR_UPDATES .

type ConnectorRegistrationsV2Input

type ConnectorRegistrationsV2Input struct {

	// The authCode retrieved from authUrl to complete the OAuth 2.0 authorization
	// code flow.
	//
	// This member is required.
	AuthCode *string

	// The authState retrieved from authUrl to complete the OAuth 2.0 authorization
	// code flow.
	//
	// This member is required.
	AuthState *string
	// contains filtered or unexported fields
}

type ConnectorRegistrationsV2Output

type ConnectorRegistrationsV2Output struct {

	// The UUID of the connectorV2 to identify connectorV2 resource.
	//
	// This member is required.
	ConnectorId *string

	// The Amazon Resource Name (ARN) of the connectorV2.
	ConnectorArn *string

	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
	// contains filtered or unexported fields
}

type CreateActionTargetInput

type CreateActionTargetInput struct {

	// The description for the custom action target.
	//
	// This member is required.
	Description *string

	// The ID for the custom action target. Can contain up to 20 alphanumeric
	// characters.
	//
	// This member is required.
	Id *string

	// The name of the custom action target. Can contain up to 20 characters.
	//
	// This member is required.
	Name *string
	// contains filtered or unexported fields
}

type CreateActionTargetOutput

type CreateActionTargetOutput struct {

	// The Amazon Resource Name (ARN) for the custom action target.
	//
	// This member is required.
	ActionTargetArn *string

	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
	// contains filtered or unexported fields
}

type CreateAggregatorV2Input

type CreateAggregatorV2Input struct {

	// Determines how Regions are linked to an Aggregator V2.
	//
	// This member is required.
	RegionLinkingMode *string

	// A unique identifier used to ensure idempotency.
	ClientToken *string

	// The list of Regions that are linked to the aggregation Region.
	LinkedRegions []string

	// A list of key-value pairs to be applied to the AggregatorV2.
	Tags map[string]string
	// contains filtered or unexported fields
}

type CreateAggregatorV2Output

type CreateAggregatorV2Output struct {

	// The Amazon Web Services Region where data is aggregated.
	AggregationRegion *string

	// The ARN of the AggregatorV2.
	AggregatorV2Arn *string

	// The list of Regions that are linked to the aggregation Region.
	LinkedRegions []string

	// Determines how Regions are linked to an Aggregator V2.
	RegionLinkingMode *string

	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
	// contains filtered or unexported fields
}

type CreateAutomationRuleInput

type CreateAutomationRuleInput struct {

	//  One or more actions to update finding fields if a finding matches the
	// conditions specified in Criteria .
	//
	// This member is required.
	Actions []types.AutomationRulesAction

	//  A set of ASFF finding field attributes and corresponding expected values that
	// Security Hub uses to filter findings. If a rule is enabled and a finding matches
	// the conditions specified in this parameter, Security Hub applies the rule action
	// to the finding.
	//
	// This member is required.
	Criteria *types.AutomationRulesFindingFilters

	//  A description of the rule.
	//
	// This member is required.
	Description *string

	//  The name of the rule.
	//
	// This member is required.
	RuleName *string

	// An integer ranging from 1 to 1000 that represents the order in which the rule
	// action is applied to findings. Security Hub applies rules with lower values for
	// this parameter first.
	//
	// This member is required.
	RuleOrder *int32

	// Specifies whether a rule is the last to be applied with respect to a finding
	// that matches the rule criteria. This is useful when a finding matches the
	// criteria for multiple rules, and each rule has different actions. If a rule is
	// terminal, Security Hub applies the rule action to a finding that matches the
	// rule criteria and doesn't evaluate other rules for the finding. By default, a
	// rule isn't terminal.
	IsTerminal *bool

	//  Whether the rule is active after it is created. If this parameter is equal to
	// ENABLED , Security Hub starts applying the rule to findings and finding updates
	// after the rule is created. To change the value of this parameter after creating
	// a rule, use [BatchUpdateAutomationRules]BatchUpdateAutomationRules .
	//
	// [BatchUpdateAutomationRules]: https://docs.aws.amazon.com/securityhub/1.0/APIReference/API_BatchUpdateAutomationRules.html
	RuleStatus types.RuleStatus

	//  User-defined tags associated with an automation rule.
	Tags map[string]string
	// contains filtered or unexported fields
}

type CreateAutomationRuleOutput

type CreateAutomationRuleOutput struct {

	//  The Amazon Resource Name (ARN) of the automation rule that you created.
	RuleArn *string

	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
	// contains filtered or unexported fields
}

type CreateAutomationRuleV2Input

type CreateAutomationRuleV2Input struct {

	// A list of actions to be performed when the rule criteria is met.
	//
	// This member is required.
	Actions []types.AutomationRulesActionV2

	// The filtering type and configuration of the automation rule.
	//
	// This member is required.
	Criteria types.Criteria

	// A description of the V2 automation rule.
	//
	// This member is required.
	Description *string

	// The name of the V2 automation rule.
	//
	// This member is required.
	RuleName *string

	// The value for the rule priority.
	//
	// This member is required.
	RuleOrder *float32

	// A unique identifier used to ensure idempotency.
	ClientToken *string

	// The status of the V2 automation rule.
	RuleStatus types.RuleStatusV2

	// A list of key-value pairs associated with the V2 automation rule.
	Tags map[string]string
	// contains filtered or unexported fields
}

type CreateAutomationRuleV2Output

type CreateAutomationRuleV2Output struct {

	// The ARN of the V2 automation rule.
	RuleArn *string

	// The ID of the V2 automation rule.
	RuleId *string

	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
	// contains filtered or unexported fields
}

type CreateConfigurationPolicyInput

type CreateConfigurationPolicyInput struct {

	//  An object that defines how Security Hub is configured. It includes whether
	// Security Hub is enabled or disabled, a list of enabled security standards, a
	// list of enabled or disabled security controls, and a list of custom parameter
	// values for specified controls. If you provide a list of security controls that
	// are enabled in the configuration policy, Security Hub disables all other
	// controls (including newly released controls). If you provide a list of security
	// controls that are disabled in the configuration policy, Security Hub enables all
	// other controls (including newly released controls).
	//
	// This member is required.
	ConfigurationPolicy types.Policy

	//  The name of the configuration policy. Alphanumeric characters and the
	// following ASCII characters are permitted: -, ., !, *, / .
	//
	// This member is required.
	Name *string

	//  The description of the configuration policy.
	Description *string

	//  User-defined tags associated with a configuration policy. For more
	// information, see [Tagging Security Hub resources]in the Security Hub user guide.
	//
	// [Tagging Security Hub resources]: https://docs.aws.amazon.com/securityhub/latest/userguide/tagging-resources.html
	Tags map[string]string
	// contains filtered or unexported fields
}

type CreateConfigurationPolicyOutput

type CreateConfigurationPolicyOutput struct {

	//  The Amazon Resource Name (ARN) of the configuration policy.
	Arn *string

	//  An object that defines how Security Hub is configured. It includes whether
	// Security Hub is enabled or disabled, a list of enabled security standards, a
	// list of enabled or disabled security controls, and a list of custom parameter
	// values for specified controls. If the request included a list of security
	// controls that are enabled in the configuration policy, Security Hub disables all
	// other controls (including newly released controls). If the request included a
	// list of security controls that are disabled in the configuration policy,
	// Security Hub enables all other controls (including newly released controls).
	ConfigurationPolicy types.Policy

	//  The date and time, in UTC and ISO 8601 format, that the configuration policy
	// was created.
	CreatedAt *time.Time

	//  The description of the configuration policy.
	Description *string

	//  The universally unique identifier (UUID) of the configuration policy.
	Id *string

	//  The name of the configuration policy.
	Name *string

	//  The date and time, in UTC and ISO 8601 format, that the configuration policy
	// was last updated.
	UpdatedAt *time.Time

	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
	// contains filtered or unexported fields
}

type CreateConnectorV2Input

type CreateConnectorV2Input struct {

	// The unique name of the connectorV2.
	//
	// This member is required.
	Name *string

	// The third-party provider’s service configuration.
	//
	// This member is required.
	Provider types.ProviderConfiguration

	// A unique identifier used to ensure idempotency.
	ClientToken *string

	// The description of the connectorV2.
	Description *string

	// The Amazon Resource Name (ARN) of KMS key used to encrypt secrets for the
	// connectorV2.
	KmsKeyArn *string

	// The tags to add to the connectorV2 when you create.
	Tags map[string]string
	// contains filtered or unexported fields
}

type CreateConnectorV2Output

type CreateConnectorV2Output struct {

	// The UUID of the connectorV2 to identify connectorV2 resource.
	//
	// This member is required.
	ConnectorId *string

	// The Url provide to customers for OAuth auth code flow.
	AuthUrl *string

	// The Amazon Resource Name (ARN) of the connectorV2.
	ConnectorArn *string

	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
	// contains filtered or unexported fields
}

type CreateFindingAggregatorInput

type CreateFindingAggregatorInput struct {

	// Indicates whether to aggregate findings from all of the available Regions in
	// the current partition. Also determines whether to automatically aggregate
	// findings from new Regions as Security Hub supports them and you opt into them.
	//
	// The selected option also determines how to use the Regions provided in the
	// Regions list.
	//
	// The options are as follows:
	//
	//   - ALL_REGIONS - Aggregates findings from all of the Regions where Security Hub
	//   is enabled. When you choose this option, Security Hub also automatically
	//   aggregates findings from new Regions as Security Hub supports them and you opt
	//   into them.
	//
	//   - ALL_REGIONS_EXCEPT_SPECIFIED - Aggregates findings from all of the Regions
	//   where Security Hub is enabled, except for the Regions listed in the Regions
	//   parameter. When you choose this option, Security Hub also automatically
	//   aggregates findings from new Regions as Security Hub supports them and you opt
	//   into them.
	//
	//   - SPECIFIED_REGIONS - Aggregates findings only from the Regions listed in the
	//   Regions parameter. Security Hub does not automatically aggregate findings from
	//   new Regions.
	//
	//   - NO_REGIONS - Aggregates no data because no Regions are selected as linked
	//   Regions.
	//
	// This member is required.
	RegionLinkingMode *string

	// If RegionLinkingMode is ALL_REGIONS_EXCEPT_SPECIFIED , then this is a
	// space-separated list of Regions that don't replicate and send findings to the
	// home Region.
	//
	// If RegionLinkingMode is SPECIFIED_REGIONS , then this is a space-separated list
	// of Regions that do replicate and send findings to the home Region.
	//
	// An InvalidInputException error results if you populate this field while
	// RegionLinkingMode is NO_REGIONS .
	Regions []string
	// contains filtered or unexported fields
}

type CreateFindingAggregatorOutput

type CreateFindingAggregatorOutput struct {

	// The home Region. Findings generated in linked Regions are replicated and sent
	// to the home Region.
	FindingAggregationRegion *string

	// The ARN of the finding aggregator. You use the finding aggregator ARN to
	// retrieve details for, update, and stop cross-Region aggregation.
	FindingAggregatorArn *string

	// Indicates whether to link all Regions, all Regions except for a list of
	// excluded Regions, or a list of included Regions.
	RegionLinkingMode *string

	// The list of excluded Regions or included Regions.
	Regions []string

	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
	// contains filtered or unexported fields
}

type CreateInsightInput

type CreateInsightInput struct {

	// One or more attributes used to filter the findings included in the insight. The
	// insight only includes findings that match the criteria defined in the filters.
	//
	// This member is required.
	Filters *types.AwsSecurityFindingFilters

	// The attribute used to group the findings for the insight. The grouping
	// attribute identifies the type of item that the insight applies to. For example,
	// if an insight is grouped by resource identifier, then the insight produces a
	// list of resource identifiers.
	//
	// This member is required.
	GroupByAttribute *string

	// The name of the custom insight to create.
	//
	// This member is required.
	Name *string
	// contains filtered or unexported fields
}

type CreateInsightOutput

type CreateInsightOutput struct {

	// The ARN of the insight created.
	//
	// This member is required.
	InsightArn *string

	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
	// contains filtered or unexported fields
}

type CreateMembersInput

type CreateMembersInput struct {

	// The list of accounts to associate with the Security Hub administrator account.
	// For each account, the list includes the account ID and optionally the email
	// address.
	//
	// This member is required.
	AccountDetails []types.AccountDetails
	// contains filtered or unexported fields
}

type CreateMembersOutput

type CreateMembersOutput struct {

	// The list of Amazon Web Services accounts that were not processed. For each
	// account, the list includes the account ID and the email address.
	UnprocessedAccounts []types.Result

	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
	// contains filtered or unexported fields
}

type CreateTicketV2Input

type CreateTicketV2Input struct {

	// The UUID of the connectorV2 to identify connectorV2 resource.
	//
	// This member is required.
	ConnectorId *string

	// The the unique ID for the finding.
	//
	// This member is required.
	FindingMetadataUid *string

	// The client idempotency token.
	ClientToken *string
	// contains filtered or unexported fields
}

type CreateTicketV2Output

type CreateTicketV2Output struct {

	// The ID for the ticketv2.
	//
	// This member is required.
	TicketId *string

	// The url to the created ticket.
	TicketSrcUrl *string

	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
	// contains filtered or unexported fields
}

type DeclineInvitationsInput

type DeclineInvitationsInput struct {

	// The list of prospective member account IDs for which to decline an invitation.
	//
	// This member is required.
	AccountIds []string
	// contains filtered or unexported fields
}

type DeclineInvitationsOutput

type DeclineInvitationsOutput struct {

	// The list of Amazon Web Services accounts that were not processed. For each
	// account, the list includes the account ID and the email address.
	UnprocessedAccounts []types.Result

	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
	// contains filtered or unexported fields
}

type DeleteActionTargetInput

type DeleteActionTargetInput struct {

	// The Amazon Resource Name (ARN) of the custom action target to delete.
	//
	// This member is required.
	ActionTargetArn *string
	// contains filtered or unexported fields
}

type DeleteActionTargetOutput

type DeleteActionTargetOutput struct {

	// The ARN of the custom action target that was deleted.
	//
	// This member is required.
	ActionTargetArn *string

	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
	// contains filtered or unexported fields
}

type DeleteAggregatorV2Input

type DeleteAggregatorV2Input struct {

	// The ARN of the Aggregator V2.
	//
	// This member is required.
	AggregatorV2Arn *string
	// contains filtered or unexported fields
}

type DeleteAggregatorV2Output

type DeleteAggregatorV2Output struct {
	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
	// contains filtered or unexported fields
}

type DeleteAutomationRuleV2Input

type DeleteAutomationRuleV2Input struct {

	// The ARN of the V2 automation rule.
	//
	// This member is required.
	Identifier *string
	// contains filtered or unexported fields
}

type DeleteAutomationRuleV2Output

type DeleteAutomationRuleV2Output struct {
	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
	// contains filtered or unexported fields
}

type DeleteConfigurationPolicyInput

type DeleteConfigurationPolicyInput struct {

	//  The Amazon Resource Name (ARN) or universally unique identifier (UUID) of the
	// configuration policy.
	//
	// This member is required.
	Identifier *string
	// contains filtered or unexported fields
}

type DeleteConfigurationPolicyOutput

type DeleteConfigurationPolicyOutput struct {
	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
	// contains filtered or unexported fields
}

type DeleteConnectorV2Input

type DeleteConnectorV2Input struct {

	// The UUID of the connectorV2 to identify connectorV2 resource.
	//
	// This member is required.
	ConnectorId *string
	// contains filtered or unexported fields
}

type DeleteConnectorV2Output

type DeleteConnectorV2Output struct {
	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
	// contains filtered or unexported fields
}

type DeleteFindingAggregatorInput

type DeleteFindingAggregatorInput struct {

	// The ARN of the finding aggregator to delete. To obtain the ARN, use
	// ListFindingAggregators .
	//
	// This member is required.
	FindingAggregatorArn *string
	// contains filtered or unexported fields
}

type DeleteFindingAggregatorOutput

type DeleteFindingAggregatorOutput struct {
	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
	// contains filtered or unexported fields
}

type DeleteInsightInput

type DeleteInsightInput struct {

	// The ARN of the insight to delete.
	//
	// This member is required.
	InsightArn *string
	// contains filtered or unexported fields
}

type DeleteInsightOutput

type DeleteInsightOutput struct {

	// The ARN of the insight that was deleted.
	//
	// This member is required.
	InsightArn *string

	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
	// contains filtered or unexported fields
}

type DeleteInvitationsInput

type DeleteInvitationsInput struct {

	// The list of member account IDs that received the invitations you want to delete.
	//
	// This member is required.
	AccountIds []string
	// contains filtered or unexported fields
}

type DeleteInvitationsOutput

type DeleteInvitationsOutput struct {

	// The list of Amazon Web Services accounts for which the invitations were not
	// deleted. For each account, the list includes the account ID and the email
	// address.
	UnprocessedAccounts []types.Result

	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
	// contains filtered or unexported fields
}

type DeleteMembersInput

type DeleteMembersInput struct {

	// The list of account IDs for the member accounts to delete.
	//
	// This member is required.
	AccountIds []string
	// contains filtered or unexported fields
}

type DeleteMembersOutput

type DeleteMembersOutput struct {

	// The list of Amazon Web Services accounts that were not deleted. For each
	// account, the list includes the account ID and the email address.
	UnprocessedAccounts []types.Result

	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
	// contains filtered or unexported fields
}

type DescribeActionTargetsAPIClient

type DescribeActionTargetsAPIClient interface {
	DescribeActionTargets(context.Context, *DescribeActionTargetsInput, ...func(*Options)) (*DescribeActionTargetsOutput, error)
}

DescribeActionTargetsAPIClient is a client that implements the DescribeActionTargets operation.

type DescribeActionTargetsInput

type DescribeActionTargetsInput struct {

	// A list of custom action target ARNs for the custom action targets to retrieve.
	ActionTargetArns []string

	// The maximum number of results to return.
	MaxResults *int32

	// The token that is required for pagination. On your first call to the
	// DescribeActionTargets operation, set the value of this parameter to NULL .
	//
	// For subsequent calls to the operation, to continue listing data, set the value
	// of this parameter to the value returned from the previous response.
	NextToken *string
	// contains filtered or unexported fields
}

type DescribeActionTargetsOutput

type DescribeActionTargetsOutput struct {

	// A list of ActionTarget objects. Each object includes the ActionTargetArn ,
	// Description , and Name of a custom action target available in Security Hub.
	//
	// This member is required.
	ActionTargets []types.ActionTarget

	// The pagination token to use to request the next page of results.
	NextToken *string

	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
	// contains filtered or unexported fields
}

type DescribeActionTargetsPaginator

type DescribeActionTargetsPaginator struct {
	// contains filtered or unexported fields
}

DescribeActionTargetsPaginator is a paginator for DescribeActionTargets

func NewDescribeActionTargetsPaginator

NewDescribeActionTargetsPaginator returns a new DescribeActionTargetsPaginator

func (*DescribeActionTargetsPaginator) HasMorePages

func (p *DescribeActionTargetsPaginator) HasMorePages() bool

HasMorePages returns a boolean indicating whether more pages are available

func (*DescribeActionTargetsPaginator) NextPage

NextPage retrieves the next DescribeActionTargets page.

type DescribeActionTargetsPaginatorOptions

type DescribeActionTargetsPaginatorOptions struct {
	// The maximum number of results to return.
	Limit int32

	// Set to true if pagination should stop if the service returns a pagination token
	// that matches the most recent token provided to the service.
	StopOnDuplicateToken bool
}

DescribeActionTargetsPaginatorOptions is the paginator options for DescribeActionTargets

type DescribeHubInput

type DescribeHubInput struct {

	// The ARN of the Hub resource to retrieve.
	HubArn *string
	// contains filtered or unexported fields
}

type DescribeHubOutput

type DescribeHubOutput struct {

	// Whether to automatically enable new controls when they are added to standards
	// that are enabled.
	//
	// If set to true , then new controls for enabled standards are enabled
	// automatically. If set to false , then new controls are not enabled.
	//
	// When you automatically enable new controls, you can interact with the controls
	// in the console and programmatically immediately after release. However,
	// automatically enabled controls have a temporary default status of DISABLED . It
	// can take up to several days for Security Hub to process the control release and
	// designate the control as ENABLED in your account. During the processing period,
	// you can manually enable or disable a control, and Security Hub will maintain
	// that designation regardless of whether you have AutoEnableControls set to true .
	AutoEnableControls *bool

	// Specifies whether the calling account has consolidated control findings turned
	// on. If the value for this field is set to SECURITY_CONTROL , Security Hub
	// generates a single finding for a control check even when the check applies to
	// multiple enabled standards.
	//
	// If the value for this field is set to STANDARD_CONTROL , Security Hub generates
	// separate findings for a control check when the check applies to multiple enabled
	// standards.
	//
	// The value for this field in a member account matches the value in the
	// administrator account. For accounts that aren't part of an organization, the
	// default value of this field is SECURITY_CONTROL if you enabled Security Hub on
	// or after February 23, 2023.
	ControlFindingGenerator types.ControlFindingGenerator

	// The ARN of the Hub resource that was retrieved.
	HubArn *string

	// The date and time when Security Hub was enabled in the account.
	SubscribedAt *string

	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
	// contains filtered or unexported fields
}

type DescribeOrganizationConfigurationInput

type DescribeOrganizationConfigurationInput struct {
	// contains filtered or unexported fields
}

type DescribeOrganizationConfigurationOutput

type DescribeOrganizationConfigurationOutput struct {

	// Whether to automatically enable Security Hub in new member accounts when they
	// join the organization.
	//
	// If set to true , then Security Hub is automatically enabled in new accounts. If
	// set to false , then Security Hub isn't enabled in new accounts automatically.
	// The default value is false .
	//
	// If the ConfigurationType of your organization is set to CENTRAL , then this
	// field is set to false and can't be changed in the home Region and linked
	// Regions. However, in that case, the delegated administrator can create a
	// configuration policy in which Security Hub is enabled and associate the policy
	// with new organization accounts.
	AutoEnable *bool

	// Whether to automatically enable Security Hub [default standards] in new member accounts when they
	// join the organization.
	//
	// If equal to DEFAULT , then Security Hub default standards are automatically
	// enabled for new member accounts. If equal to NONE , then default standards are
	// not automatically enabled for new member accounts. The default value of this
	// parameter is equal to DEFAULT .
	//
	// If the ConfigurationType of your organization is set to CENTRAL , then this
	// field is set to NONE and can't be changed in the home Region and linked
	// Regions. However, in that case, the delegated administrator can create a
	// configuration policy in which specific security standards are enabled and
	// associate the policy with new organization accounts.
	//
	// [default standards]: https://docs.aws.amazon.com/securityhub/latest/userguide/securityhub-standards-enable-disable.html
	AutoEnableStandards types.AutoEnableStandards

	// Whether the maximum number of allowed member accounts are already associated
	// with the Security Hub administrator account.
	MemberAccountLimitReached *bool

	//  Provides information about the way an organization is configured in Security
	// Hub.
	OrganizationConfiguration *types.OrganizationConfiguration

	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
	// contains filtered or unexported fields
}

type DescribeProductsAPIClient

type DescribeProductsAPIClient interface {
	DescribeProducts(context.Context, *DescribeProductsInput, ...func(*Options)) (*DescribeProductsOutput, error)
}

DescribeProductsAPIClient is a client that implements the DescribeProducts operation.

type DescribeProductsInput

type DescribeProductsInput struct {

	// The maximum number of results to return.
	MaxResults *int32

	// The token that is required for pagination. On your first call to the
	// DescribeProducts operation, set the value of this parameter to NULL .
	//
	// For subsequent calls to the operation, to continue listing data, set the value
	// of this parameter to the value returned from the previous response.
	NextToken *string

	// The ARN of the integration to return.
	ProductArn *string
	// contains filtered or unexported fields
}

type DescribeProductsOutput

type DescribeProductsOutput struct {

	// A list of products, including details for each product.
	//
	// This member is required.
	Products []types.Product

	// The pagination token to use to request the next page of results.
	NextToken *string

	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
	// contains filtered or unexported fields
}

type DescribeProductsPaginator

type DescribeProductsPaginator struct {
	// contains filtered or unexported fields
}

DescribeProductsPaginator is a paginator for DescribeProducts

func NewDescribeProductsPaginator

func NewDescribeProductsPaginator(client DescribeProductsAPIClient, params *DescribeProductsInput, optFns ...func(*DescribeProductsPaginatorOptions)) *DescribeProductsPaginator

NewDescribeProductsPaginator returns a new DescribeProductsPaginator

func (*DescribeProductsPaginator) HasMorePages

func (p *DescribeProductsPaginator) HasMorePages() bool

HasMorePages returns a boolean indicating whether more pages are available

func (*DescribeProductsPaginator) NextPage

func (p *DescribeProductsPaginator) NextPage(ctx context.Context, optFns ...func(*Options)) (*DescribeProductsOutput, error)

NextPage retrieves the next DescribeProducts page.

type DescribeProductsPaginatorOptions

type DescribeProductsPaginatorOptions struct {
	// The maximum number of results to return.
	Limit int32

	// Set to true if pagination should stop if the service returns a pagination token
	// that matches the most recent token provided to the service.
	StopOnDuplicateToken bool
}

DescribeProductsPaginatorOptions is the paginator options for DescribeProducts

type DescribeProductsV2APIClient

type DescribeProductsV2APIClient interface {
	DescribeProductsV2(context.Context, *DescribeProductsV2Input, ...func(*Options)) (*DescribeProductsV2Output, error)
}

DescribeProductsV2APIClient is a client that implements the DescribeProductsV2 operation.

type DescribeProductsV2Input

type DescribeProductsV2Input struct {

	// The maximum number of results to return.
	MaxResults *int32

	// The token required for pagination. On your first call, set the value of this
	// parameter to NULL . For subsequent calls, to continue listing data, set the
	// value of this parameter to the value returned in the previous response.
	NextToken *string
	// contains filtered or unexported fields
}

type DescribeProductsV2Output

type DescribeProductsV2Output struct {

	// Gets information about the product integration.
	//
	// This member is required.
	ProductsV2 []types.ProductV2

	// The pagination token to use to request the next page of results. Otherwise,
	// this parameter is null.
	NextToken *string

	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
	// contains filtered or unexported fields
}

type DescribeProductsV2Paginator

type DescribeProductsV2Paginator struct {
	// contains filtered or unexported fields
}

DescribeProductsV2Paginator is a paginator for DescribeProductsV2

func NewDescribeProductsV2Paginator

func NewDescribeProductsV2Paginator(client DescribeProductsV2APIClient, params *DescribeProductsV2Input, optFns ...func(*DescribeProductsV2PaginatorOptions)) *DescribeProductsV2Paginator

NewDescribeProductsV2Paginator returns a new DescribeProductsV2Paginator

func (*DescribeProductsV2Paginator) HasMorePages

func (p *DescribeProductsV2Paginator) HasMorePages() bool

HasMorePages returns a boolean indicating whether more pages are available

func (*DescribeProductsV2Paginator) NextPage

func (p *DescribeProductsV2Paginator) NextPage(ctx context.Context, optFns ...func(*Options)) (*DescribeProductsV2Output, error)

NextPage retrieves the next DescribeProductsV2 page.

type DescribeProductsV2PaginatorOptions

type DescribeProductsV2PaginatorOptions struct {
	// The maximum number of results to return.
	Limit int32

	// Set to true if pagination should stop if the service returns a pagination token
	// that matches the most recent token provided to the service.
	StopOnDuplicateToken bool
}

DescribeProductsV2PaginatorOptions is the paginator options for DescribeProductsV2

type DescribeSecurityHubV2Input

type DescribeSecurityHubV2Input struct {
	// contains filtered or unexported fields
}

type DescribeSecurityHubV2Output

type DescribeSecurityHubV2Output struct {

	// The ARN of the service resource.
	HubV2Arn *string

	// The date and time when the service was enabled in the account.
	SubscribedAt *string

	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
	// contains filtered or unexported fields
}

type DescribeStandardsAPIClient

type DescribeStandardsAPIClient interface {
	DescribeStandards(context.Context, *DescribeStandardsInput, ...func(*Options)) (*DescribeStandardsOutput, error)
}

DescribeStandardsAPIClient is a client that implements the DescribeStandards operation.

type DescribeStandardsControlsAPIClient

type DescribeStandardsControlsAPIClient interface {
	DescribeStandardsControls(context.Context, *DescribeStandardsControlsInput, ...func(*Options)) (*DescribeStandardsControlsOutput, error)
}

DescribeStandardsControlsAPIClient is a client that implements the DescribeStandardsControls operation.

type DescribeStandardsControlsInput

type DescribeStandardsControlsInput struct {

	// The ARN of a resource that represents your subscription to a supported
	// standard. To get the subscription ARNs of the standards you have enabled, use
	// the GetEnabledStandards operation.
	//
	// This member is required.
	StandardsSubscriptionArn *string

	// The maximum number of security standard controls to return.
	MaxResults *int32

	// The token that is required for pagination. On your first call to the
	// DescribeStandardsControls operation, set the value of this parameter to NULL .
	//
	// For subsequent calls to the operation, to continue listing data, set the value
	// of this parameter to the value returned from the previous response.
	NextToken *string
	// contains filtered or unexported fields
}

type DescribeStandardsControlsOutput

type DescribeStandardsControlsOutput struct {

	// A list of security standards controls.
	Controls []types.StandardsControl

	// The pagination token to use to request the next page of results.
	NextToken *string

	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
	// contains filtered or unexported fields
}

type DescribeStandardsControlsPaginator

type DescribeStandardsControlsPaginator struct {
	// contains filtered or unexported fields
}

DescribeStandardsControlsPaginator is a paginator for DescribeStandardsControls

func NewDescribeStandardsControlsPaginator

NewDescribeStandardsControlsPaginator returns a new DescribeStandardsControlsPaginator

func (*DescribeStandardsControlsPaginator) HasMorePages

func (p *DescribeStandardsControlsPaginator) HasMorePages() bool

HasMorePages returns a boolean indicating whether more pages are available

func (*DescribeStandardsControlsPaginator) NextPage

NextPage retrieves the next DescribeStandardsControls page.

type DescribeStandardsControlsPaginatorOptions

type DescribeStandardsControlsPaginatorOptions struct {
	// The maximum number of security standard controls to return.
	Limit int32

	// Set to true if pagination should stop if the service returns a pagination token
	// that matches the most recent token provided to the service.
	StopOnDuplicateToken bool
}

DescribeStandardsControlsPaginatorOptions is the paginator options for DescribeStandardsControls

type DescribeStandardsInput

type DescribeStandardsInput struct {

	// The maximum number of standards to return.
	MaxResults *int32

	// The token that is required for pagination. On your first call to the
	// DescribeStandards operation, set the value of this parameter to NULL .
	//
	// For subsequent calls to the operation, to continue listing data, set the value
	// of this parameter to the value returned from the previous response.
	NextToken *string
	// contains filtered or unexported fields
}

type DescribeStandardsOutput

type DescribeStandardsOutput struct {

	// The pagination token to use to request the next page of results.
	NextToken *string

	// A list of available standards.
	Standards []types.Standard

	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
	// contains filtered or unexported fields
}

type DescribeStandardsPaginator

type DescribeStandardsPaginator struct {
	// contains filtered or unexported fields
}

DescribeStandardsPaginator is a paginator for DescribeStandards

func NewDescribeStandardsPaginator

func NewDescribeStandardsPaginator(client DescribeStandardsAPIClient, params *DescribeStandardsInput, optFns ...func(*DescribeStandardsPaginatorOptions)) *DescribeStandardsPaginator

NewDescribeStandardsPaginator returns a new DescribeStandardsPaginator

func (*DescribeStandardsPaginator) HasMorePages

func (p *DescribeStandardsPaginator) HasMorePages() bool

HasMorePages returns a boolean indicating whether more pages are available

func (*DescribeStandardsPaginator) NextPage

func (p *DescribeStandardsPaginator) NextPage(ctx context.Context, optFns ...func(*Options)) (*DescribeStandardsOutput, error)

NextPage retrieves the next DescribeStandards page.

type DescribeStandardsPaginatorOptions

type DescribeStandardsPaginatorOptions struct {
	// The maximum number of standards to return.
	Limit int32

	// Set to true if pagination should stop if the service returns a pagination token
	// that matches the most recent token provided to the service.
	StopOnDuplicateToken bool
}

DescribeStandardsPaginatorOptions is the paginator options for DescribeStandards

type DisableImportFindingsForProductInput

type DisableImportFindingsForProductInput struct {

	// The ARN of the integrated product to disable the integration for.
	//
	// This member is required.
	ProductSubscriptionArn *string
	// contains filtered or unexported fields
}

type DisableImportFindingsForProductOutput

type DisableImportFindingsForProductOutput struct {
	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
	// contains filtered or unexported fields
}

type DisableOrganizationAdminAccountInput

type DisableOrganizationAdminAccountInput struct {

	// The Amazon Web Services account identifier of the Security Hub administrator
	// account.
	//
	// This member is required.
	AdminAccountId *string

	// The feature for which the delegated admin account is disabled. Defaults to
	// Security Hub if not specified.
	Feature types.SecurityHubFeature
	// contains filtered or unexported fields
}

type DisableOrganizationAdminAccountOutput

type DisableOrganizationAdminAccountOutput struct {
	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
	// contains filtered or unexported fields
}

type DisableSecurityHubInput

type DisableSecurityHubInput struct {
	// contains filtered or unexported fields
}

type DisableSecurityHubOutput

type DisableSecurityHubOutput struct {
	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
	// contains filtered or unexported fields
}

type DisableSecurityHubV2Input

type DisableSecurityHubV2Input struct {
	// contains filtered or unexported fields
}

type DisableSecurityHubV2Output

type DisableSecurityHubV2Output struct {
	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
	// contains filtered or unexported fields
}

type DisassociateFromAdministratorAccountInput

type DisassociateFromAdministratorAccountInput struct {
	// contains filtered or unexported fields
}

type DisassociateFromAdministratorAccountOutput

type DisassociateFromAdministratorAccountOutput struct {
	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
	// contains filtered or unexported fields
}

type DisassociateFromMasterAccountInput

type DisassociateFromMasterAccountInput struct {
	// contains filtered or unexported fields
}

type DisassociateFromMasterAccountOutput

type DisassociateFromMasterAccountOutput struct {
	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
	// contains filtered or unexported fields
}

type DisassociateMembersInput

type DisassociateMembersInput struct {

	// The account IDs of the member accounts to disassociate from the administrator
	// account.
	//
	// This member is required.
	AccountIds []string
	// contains filtered or unexported fields
}

type DisassociateMembersOutput

type DisassociateMembersOutput struct {
	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
	// contains filtered or unexported fields
}

type EnableImportFindingsForProductInput

type EnableImportFindingsForProductInput struct {

	// The ARN of the product to enable the integration for.
	//
	// This member is required.
	ProductArn *string
	// contains filtered or unexported fields
}

type EnableImportFindingsForProductOutput

type EnableImportFindingsForProductOutput struct {

	// The ARN of your subscription to the product to enable integrations for.
	ProductSubscriptionArn *string

	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
	// contains filtered or unexported fields
}

type EnableOrganizationAdminAccountInput

type EnableOrganizationAdminAccountInput struct {

	// The Amazon Web Services account identifier of the account to designate as the
	// Security Hub administrator account.
	//
	// This member is required.
	AdminAccountId *string

	// The feature for which the delegated admin account is enabled. Defaults to
	// Security Hub if not specified.
	Feature types.SecurityHubFeature
	// contains filtered or unexported fields
}

type EnableOrganizationAdminAccountOutput

type EnableOrganizationAdminAccountOutput struct {

	// The Amazon Web Services account identifier of the account to designate as the
	// Security Hub administrator account.
	AdminAccountId *string

	// The feature where the delegated administrator is enabled. The default is
	// Security Hub CSPM if no delegated administrator is specified in the request.
	Feature types.SecurityHubFeature

	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
	// contains filtered or unexported fields
}

type EnableSecurityHubInput

type EnableSecurityHubInput struct {

	// This field, used when enabling Security Hub, specifies whether the calling
	// account has consolidated control findings turned on. If the value for this field
	// is set to SECURITY_CONTROL , Security Hub generates a single finding for a
	// control check even when the check applies to multiple enabled standards.
	//
	// If the value for this field is set to STANDARD_CONTROL , Security Hub generates
	// separate findings for a control check when the check applies to multiple enabled
	// standards.
	//
	// The value for this field in a member account matches the value in the
	// administrator account. For accounts that aren't part of an organization, the
	// default value of this field is SECURITY_CONTROL if you enabled Security Hub on
	// or after February 23, 2023.
	ControlFindingGenerator types.ControlFindingGenerator

	// Whether to enable the security standards that Security Hub has designated as
	// automatically enabled. If you don't provide a value for EnableDefaultStandards ,
	// it is set to true . To not enable the automatically enabled standards, set
	// EnableDefaultStandards to false .
	EnableDefaultStandards *bool

	// The tags to add to the hub resource when you enable Security Hub.
	Tags map[string]string
	// contains filtered or unexported fields
}

type EnableSecurityHubOutput

type EnableSecurityHubOutput struct {
	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
	// contains filtered or unexported fields
}

type EnableSecurityHubV2Input

type EnableSecurityHubV2Input struct {

	// The tags to add to the hub V2 resource when you enable Security Hub.
	Tags map[string]string
	// contains filtered or unexported fields
}

type EnableSecurityHubV2Output

type EnableSecurityHubV2Output struct {

	// The ARN of the V2 resource that was created.
	HubV2Arn *string

	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
	// contains filtered or unexported fields
}

type EndpointParameters

type EndpointParameters struct {
	// The AWS region used to dispatch the request.
	//
	// Parameter is
	// required.
	//
	// AWS::Region
	Region *string

	// When true, use the dual-stack endpoint. If the configured endpoint does not
	// support dual-stack, dispatching the request MAY return an error.
	//
	// Defaults to
	// false if no value is provided.
	//
	// AWS::UseDualStack
	UseDualStack *bool

	// When true, send this request to the FIPS-compliant regional endpoint. If the
	// configured endpoint does not have a FIPS compliant endpoint, dispatching the
	// request will return an error.
	//
	// Defaults to false if no value is
	// provided.
	//
	// AWS::UseFIPS
	UseFIPS *bool

	// Override the endpoint used to send this request
	//
	// Parameter is
	// required.
	//
	// SDK::Endpoint
	Endpoint *string
}

EndpointParameters provides the parameters that influence how endpoints are resolved.

func (EndpointParameters) ValidateRequired

func (p EndpointParameters) ValidateRequired() error

ValidateRequired validates required parameters are set.

func (EndpointParameters) WithDefaults

func (p EndpointParameters) WithDefaults() EndpointParameters

WithDefaults returns a shallow copy of EndpointParameterswith default values applied to members where applicable.

type EndpointResolver

type EndpointResolver interface {
	ResolveEndpoint(region string, options EndpointResolverOptions) (aws.Endpoint, error)
}

EndpointResolver interface for resolving service endpoints.

func EndpointResolverFromURL

func EndpointResolverFromURL(url string, optFns ...func(*aws.Endpoint)) EndpointResolver

EndpointResolverFromURL returns an EndpointResolver configured using the provided endpoint url. By default, the resolved endpoint resolver uses the client region as signing region, and the endpoint source is set to EndpointSourceCustom.You can provide functional options to configure endpoint values for the resolved endpoint.

type EndpointResolverFunc

type EndpointResolverFunc func(region string, options EndpointResolverOptions) (aws.Endpoint, error)

EndpointResolverFunc is a helper utility that wraps a function so it satisfies the EndpointResolver interface. This is useful when you want to add additional endpoint resolving logic, or stub out specific endpoints with custom values.

func (EndpointResolverFunc) ResolveEndpoint

func (fn EndpointResolverFunc) ResolveEndpoint(region string, options EndpointResolverOptions) (endpoint aws.Endpoint, err error)

type EndpointResolverOptions

type EndpointResolverOptions = internalendpoints.Options

EndpointResolverOptions is the service endpoint resolver options

type EndpointResolverV2

type EndpointResolverV2 interface {
	// ResolveEndpoint attempts to resolve the endpoint with the provided options,
	// returning the endpoint if found. Otherwise an error is returned.
	ResolveEndpoint(ctx context.Context, params EndpointParameters) (
		smithyendpoints.Endpoint, error,
	)
}

EndpointResolverV2 provides the interface for resolving service endpoints.

func NewDefaultEndpointResolverV2

func NewDefaultEndpointResolverV2() EndpointResolverV2

type GetAdministratorAccountInput

type GetAdministratorAccountInput struct {
	// contains filtered or unexported fields
}

type GetAdministratorAccountOutput

type GetAdministratorAccountOutput struct {

	// Details about an invitation.
	Administrator *types.Invitation

	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
	// contains filtered or unexported fields
}

type GetAggregatorV2Input

type GetAggregatorV2Input struct {

	// The ARN of the Aggregator V2.
	//
	// This member is required.
	AggregatorV2Arn *string
	// contains filtered or unexported fields
}

type GetAggregatorV2Output

type GetAggregatorV2Output struct {

	// The Amazon Web Services Region where data is aggregated.
	AggregationRegion *string

	// The ARN of the Aggregator V2.
	AggregatorV2Arn *string

	// The list of Regions that are linked to the aggregation Region.
	LinkedRegions []string

	// Determines how Regions are linked to an Aggregator V2.
	RegionLinkingMode *string

	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
	// contains filtered or unexported fields
}

type GetAutomationRuleV2Input

type GetAutomationRuleV2Input struct {

	// The ARN of the V2 automation rule.
	//
	// This member is required.
	Identifier *string
	// contains filtered or unexported fields
}

type GetAutomationRuleV2Output

type GetAutomationRuleV2Output struct {

	// A list of actions performed when the rule criteria is met.
	Actions []types.AutomationRulesActionV2

	// The timestamp when the V2 automation rule was created.
	CreatedAt *time.Time

	// The filtering type and configuration of the V2 automation rule.
	Criteria types.Criteria

	// A description of the automation rule.
	Description *string

	// The ARN of the V2 automation rule.
	RuleArn *string

	// The ID of the V2 automation rule.
	RuleId *string

	// The name of the V2 automation rule.
	RuleName *string

	// The value for the rule priority.
	RuleOrder *float32

	// The status of the V2 automation automation rule.
	RuleStatus types.RuleStatusV2

	// The timestamp when the V2 automation rule was updated.
	UpdatedAt *time.Time

	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
	// contains filtered or unexported fields
}

type GetConfigurationPolicyAssociationInput

type GetConfigurationPolicyAssociationInput struct {

	//  The target account ID, organizational unit ID, or the root ID to retrieve the
	// association for.
	//
	// This member is required.
	Target types.Target
	// contains filtered or unexported fields
}

type GetConfigurationPolicyAssociationOutput

type GetConfigurationPolicyAssociationOutput struct {

	//  The current status of the association between the specified target and the
	// configuration.
	AssociationStatus types.ConfigurationPolicyAssociationStatus

	//  The explanation for a FAILED value for AssociationStatus .
	AssociationStatusMessage *string

	//  Indicates whether the association between the specified target and the
	// configuration was directly applied by the Security Hub delegated administrator
	// or inherited from a parent.
	AssociationType types.AssociationType

	//  The universally unique identifier (UUID) of a configuration policy. For
	// self-managed behavior, the value is SELF_MANAGED_SECURITY_HUB .
	ConfigurationPolicyId *string

	//  The target account ID, organizational unit ID, or the root ID for which the
	// association is retrieved.
	TargetId *string

	//  Specifies whether the target is an Amazon Web Services account, organizational
	// unit, or the organization root.
	TargetType types.TargetType

	//  The date and time, in UTC and ISO 8601 format, that the configuration policy
	// association was last updated.
	UpdatedAt *time.Time

	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
	// contains filtered or unexported fields
}

type GetConfigurationPolicyInput

type GetConfigurationPolicyInput struct {

	//  The Amazon Resource Name (ARN) or universally unique identifier (UUID) of the
	// configuration policy.
	//
	// This member is required.
	Identifier *string
	// contains filtered or unexported fields
}

type GetConfigurationPolicyOutput

type GetConfigurationPolicyOutput struct {

	//  The ARN of the configuration policy.
	Arn *string

	//  An object that defines how Security Hub is configured. It includes whether
	// Security Hub is enabled or disabled, a list of enabled security standards, a
	// list of enabled or disabled security controls, and a list of custom parameter
	// values for specified controls. If the policy includes a list of security
	// controls that are enabled, Security Hub disables all other controls (including
	// newly released controls). If the policy includes a list of security controls
	// that are disabled, Security Hub enables all other controls (including newly
	// released controls).
	ConfigurationPolicy types.Policy

	//  The date and time, in UTC and ISO 8601 format, that the configuration policy
	// was created.
	CreatedAt *time.Time

	//  The description of the configuration policy.
	Description *string

	//  The UUID of the configuration policy.
	Id *string

	//  The name of the configuration policy.
	Name *string

	//  The date and time, in UTC and ISO 8601 format, that the configuration policy
	// was last updated.
	UpdatedAt *time.Time

	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
	// contains filtered or unexported fields
}

type GetConnectorV2Input

type GetConnectorV2Input struct {

	// The UUID of the connectorV2 to identify connectorV2 resource.
	//
	// This member is required.
	ConnectorId *string
	// contains filtered or unexported fields
}

type GetConnectorV2Output

type GetConnectorV2Output struct {

	// The UUID of the connectorV2 to identify connectorV2 resource.
	//
	// This member is required.
	ConnectorId *string

	// ISO 8601 UTC timestamp for the time create the connectorV2.
	//
	// This member is required.
	CreatedAt *time.Time

	// The current health status for connectorV2
	//
	// This member is required.
	Health *types.HealthCheck

	// ISO 8601 UTC timestamp for the time update the connectorV2 connectorStatus.
	//
	// This member is required.
	LastUpdatedAt *time.Time

	// The name of the connectorV2.
	//
	// This member is required.
	Name *string

	// The third-party provider detail for a service configuration.
	//
	// This member is required.
	ProviderDetail types.ProviderDetail

	// The Amazon Resource Name (ARN) of the connectorV2.
	ConnectorArn *string

	// The description of the connectorV2.
	Description *string

	// The Amazon Resource Name (ARN) of KMS key used for the connectorV2.
	KmsKeyArn *string

	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
	// contains filtered or unexported fields
}

type GetEnabledStandardsAPIClient

type GetEnabledStandardsAPIClient interface {
	GetEnabledStandards(context.Context, *GetEnabledStandardsInput, ...func(*Options)) (*GetEnabledStandardsOutput, error)
}

GetEnabledStandardsAPIClient is a client that implements the GetEnabledStandards operation.

type GetEnabledStandardsInput

type GetEnabledStandardsInput struct {

	// The maximum number of results to return in the response.
	MaxResults *int32

	// The token that is required for pagination. On your first call to the
	// GetEnabledStandards operation, set the value of this parameter to NULL .
	//
	// For subsequent calls to the operation, to continue listing data, set the value
	// of this parameter to the value returned from the previous response.
	NextToken *string

	// The list of the standards subscription ARNs for the standards to retrieve.
	StandardsSubscriptionArns []string
	// contains filtered or unexported fields
}

type GetEnabledStandardsOutput

type GetEnabledStandardsOutput struct {

	// The pagination token to use to request the next page of results.
	NextToken *string

	// The list of StandardsSubscriptions objects that include information about the
	// enabled standards.
	StandardsSubscriptions []types.StandardsSubscription

	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
	// contains filtered or unexported fields
}

type GetEnabledStandardsPaginator

type GetEnabledStandardsPaginator struct {
	// contains filtered or unexported fields
}

GetEnabledStandardsPaginator is a paginator for GetEnabledStandards

func NewGetEnabledStandardsPaginator

func NewGetEnabledStandardsPaginator(client GetEnabledStandardsAPIClient, params *GetEnabledStandardsInput, optFns ...func(*GetEnabledStandardsPaginatorOptions)) *GetEnabledStandardsPaginator

NewGetEnabledStandardsPaginator returns a new GetEnabledStandardsPaginator

func (*GetEnabledStandardsPaginator) HasMorePages

func (p *GetEnabledStandardsPaginator) HasMorePages() bool

HasMorePages returns a boolean indicating whether more pages are available

func (*GetEnabledStandardsPaginator) NextPage

func (p *GetEnabledStandardsPaginator) NextPage(ctx context.Context, optFns ...func(*Options)) (*GetEnabledStandardsOutput, error)

NextPage retrieves the next GetEnabledStandards page.

type GetEnabledStandardsPaginatorOptions

type GetEnabledStandardsPaginatorOptions struct {
	// The maximum number of results to return in the response.
	Limit int32

	// Set to true if pagination should stop if the service returns a pagination token
	// that matches the most recent token provided to the service.
	StopOnDuplicateToken bool
}

GetEnabledStandardsPaginatorOptions is the paginator options for GetEnabledStandards

type GetFindingAggregatorInput

type GetFindingAggregatorInput struct {

	// The ARN of the finding aggregator to return details for. To obtain the ARN, use
	// ListFindingAggregators .
	//
	// This member is required.
	FindingAggregatorArn *string
	// contains filtered or unexported fields
}

type GetFindingAggregatorOutput

type GetFindingAggregatorOutput struct {

	// The home Region. Findings generated in linked Regions are replicated and sent
	// to the home Region.
	FindingAggregationRegion *string

	// The ARN of the finding aggregator.
	FindingAggregatorArn *string

	// Indicates whether to link all Regions, all Regions except for a list of
	// excluded Regions, or a list of included Regions.
	RegionLinkingMode *string

	// The list of excluded Regions or included Regions.
	Regions []string

	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
	// contains filtered or unexported fields
}

type GetFindingHistoryAPIClient

type GetFindingHistoryAPIClient interface {
	GetFindingHistory(context.Context, *GetFindingHistoryInput, ...func(*Options)) (*GetFindingHistoryOutput, error)
}

GetFindingHistoryAPIClient is a client that implements the GetFindingHistory operation.

type GetFindingHistoryInput

type GetFindingHistoryInput struct {

	// Identifies which finding to get the finding history for.
	//
	// This member is required.
	FindingIdentifier *types.AwsSecurityFindingIdentifier

	//  An ISO 8601-formatted timestamp that indicates the end time of the requested
	// finding history.
	//
	// If you provide values for both StartTime and EndTime , Security Hub returns
	// finding history for the specified time period. If you provide a value for
	// StartTime but not for EndTime , Security Hub returns finding history from the
	// StartTime to the time at which the API is called. If you provide a value for
	// EndTime but not for StartTime , Security Hub returns finding history from the [CreatedAt]
	// timestamp of the finding to the EndTime . If you provide neither StartTime nor
	// EndTime , Security Hub returns finding history from the CreatedAt timestamp of
	// the finding to the time at which the API is called. In all of these scenarios,
	// the response is limited to 100 results, and the maximum time period is limited
	// to 90 days.
	//
	// For more information about the validation and formatting of timestamp fields in
	// Security Hub, see [Timestamps].
	//
	// [Timestamps]: https://docs.aws.amazon.com/securityhub/1.0/APIReference/Welcome.html#timestamps
	// [CreatedAt]: https://docs.aws.amazon.com/securityhub/1.0/APIReference/API_AwsSecurityFindingFilters.html#securityhub-Type-AwsSecurityFindingFilters-CreatedAt
	EndTime *time.Time

	//  The maximum number of results to be returned. If you don’t provide it,
	// Security Hub returns up to 100 results of finding history.
	MaxResults *int32

	//  A token for pagination purposes. Provide NULL as the initial value. In
	// subsequent requests, provide the token included in the response to get up to an
	// additional 100 results of finding history. If you don’t provide NextToken ,
	// Security Hub returns up to 100 results of finding history for each request.
	NextToken *string

	// A timestamp that indicates the start time of the requested finding history.
	//
	// If you provide values for both StartTime and EndTime , Security Hub returns
	// finding history for the specified time period. If you provide a value for
	// StartTime but not for EndTime , Security Hub returns finding history from the
	// StartTime to the time at which the API is called. If you provide a value for
	// EndTime but not for StartTime , Security Hub returns finding history from the [CreatedAt]
	// timestamp of the finding to the EndTime . If you provide neither StartTime nor
	// EndTime , Security Hub returns finding history from the CreatedAt timestamp of
	// the finding to the time at which the API is called. In all of these scenarios,
	// the response is limited to 100 results, and the maximum time period is limited
	// to 90 days.
	//
	// For more information about the validation and formatting of timestamp fields in
	// Security Hub, see [Timestamps].
	//
	// [Timestamps]: https://docs.aws.amazon.com/securityhub/1.0/APIReference/Welcome.html#timestamps
	// [CreatedAt]: https://docs.aws.amazon.com/securityhub/1.0/APIReference/API_AwsSecurityFindingFilters.html#securityhub-Type-AwsSecurityFindingFilters-CreatedAt
	StartTime *time.Time
	// contains filtered or unexported fields
}

type GetFindingHistoryOutput

type GetFindingHistoryOutput struct {

	//  A token for pagination purposes. Provide this token in the subsequent request
	// to GetFindingsHistory to get up to an additional 100 results of history for the
	// same finding that you specified in your initial request.
	NextToken *string

	//  A list of events that altered the specified finding during the specified time
	// period.
	Records []types.FindingHistoryRecord

	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
	// contains filtered or unexported fields
}

type GetFindingHistoryPaginator

type GetFindingHistoryPaginator struct {
	// contains filtered or unexported fields
}

GetFindingHistoryPaginator is a paginator for GetFindingHistory

func NewGetFindingHistoryPaginator

func NewGetFindingHistoryPaginator(client GetFindingHistoryAPIClient, params *GetFindingHistoryInput, optFns ...func(*GetFindingHistoryPaginatorOptions)) *GetFindingHistoryPaginator

NewGetFindingHistoryPaginator returns a new GetFindingHistoryPaginator

func (*GetFindingHistoryPaginator) HasMorePages

func (p *GetFindingHistoryPaginator) HasMorePages() bool

HasMorePages returns a boolean indicating whether more pages are available

func (*GetFindingHistoryPaginator) NextPage

func (p *GetFindingHistoryPaginator) NextPage(ctx context.Context, optFns ...func(*Options)) (*GetFindingHistoryOutput, error)

NextPage retrieves the next GetFindingHistory page.

type GetFindingHistoryPaginatorOptions

type GetFindingHistoryPaginatorOptions struct {
	//  The maximum number of results to be returned. If you don’t provide it,
	// Security Hub returns up to 100 results of finding history.
	Limit int32

	// Set to true if pagination should stop if the service returns a pagination token
	// that matches the most recent token provided to the service.
	StopOnDuplicateToken bool
}

GetFindingHistoryPaginatorOptions is the paginator options for GetFindingHistory

type GetFindingStatisticsV2Input

type GetFindingStatisticsV2Input struct {

	// Specifies how security findings should be aggregated and organized in the
	// statistical analysis. It can accept up to 5 groupBy fields in a single call.
	//
	// This member is required.
	GroupByRules []types.GroupByRule

	// The maximum number of results to be returned.
	MaxStatisticResults *int32

	// Orders the aggregation count in descending or ascending order. Descending order
	// is the default.
	SortOrder types.SortOrder
	// contains filtered or unexported fields
}

type GetFindingStatisticsV2Output

type GetFindingStatisticsV2Output struct {

	// Aggregated statistics about security findings based on specified grouping
	// criteria.
	GroupByResults []types.GroupByResult

	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
	// contains filtered or unexported fields
}

type GetFindingsAPIClient

type GetFindingsAPIClient interface {
	GetFindings(context.Context, *GetFindingsInput, ...func(*Options)) (*GetFindingsOutput, error)
}

GetFindingsAPIClient is a client that implements the GetFindings operation.

type GetFindingsInput

type GetFindingsInput struct {

	// The finding attributes used to define a condition to filter the returned
	// findings.
	//
	// You can filter by up to 10 finding attributes. For each attribute, you can
	// provide up to 20 filter values.
	//
	// Note that in the available filter fields, WorkflowState is deprecated. To
	// search for a finding based on its workflow status, use WorkflowStatus .
	Filters *types.AwsSecurityFindingFilters

	// The maximum number of findings to return.
	MaxResults *int32

	// The token that is required for pagination. On your first call to the GetFindings
	// operation, set the value of this parameter to NULL .
	//
	// For subsequent calls to the operation, to continue listing data, set the value
	// of this parameter to the value returned from the previous response.
	NextToken *string

	// The finding attributes used to sort the list of returned findings.
	SortCriteria []types.SortCriterion
	// contains filtered or unexported fields
}

type GetFindingsOutput

type GetFindingsOutput struct {

	// The findings that matched the filters specified in the request.
	//
	// This member is required.
	Findings []types.AwsSecurityFinding

	// The pagination token to use to request the next page of results.
	NextToken *string

	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
	// contains filtered or unexported fields
}

type GetFindingsPaginator

type GetFindingsPaginator struct {
	// contains filtered or unexported fields
}

GetFindingsPaginator is a paginator for GetFindings

func NewGetFindingsPaginator

func NewGetFindingsPaginator(client GetFindingsAPIClient, params *GetFindingsInput, optFns ...func(*GetFindingsPaginatorOptions)) *GetFindingsPaginator

NewGetFindingsPaginator returns a new GetFindingsPaginator

func (*GetFindingsPaginator) HasMorePages

func (p *GetFindingsPaginator) HasMorePages() bool

HasMorePages returns a boolean indicating whether more pages are available

func (*GetFindingsPaginator) NextPage

func (p *GetFindingsPaginator) NextPage(ctx context.Context, optFns ...func(*Options)) (*GetFindingsOutput, error)

NextPage retrieves the next GetFindings page.

type GetFindingsPaginatorOptions

type GetFindingsPaginatorOptions struct {
	// The maximum number of findings to return.
	Limit int32

	// Set to true if pagination should stop if the service returns a pagination token
	// that matches the most recent token provided to the service.
	StopOnDuplicateToken bool
}

GetFindingsPaginatorOptions is the paginator options for GetFindings

type GetFindingsV2APIClient

type GetFindingsV2APIClient interface {
	GetFindingsV2(context.Context, *GetFindingsV2Input, ...func(*Options)) (*GetFindingsV2Output, error)
}

GetFindingsV2APIClient is a client that implements the GetFindingsV2 operation.

type GetFindingsV2Input

type GetFindingsV2Input struct {

	// The finding attributes used to define a condition to filter the returned OCSF
	// findings. You can filter up to 10 composite filters. For each filter type inside
	// of a composite filter, you can provide up to 20 filters.
	Filters *types.OcsfFindingFilters

	// The maximum number of results to return.
	MaxResults *int32

	//  The token required for pagination. On your first call, set the value of this
	// parameter to NULL . For subsequent calls, to continue listing data, set the
	// value of this parameter to the value returned in the previous response.
	NextToken *string

	// The finding attributes used to sort the list of returned findings.
	SortCriteria []types.SortCriterion
	// contains filtered or unexported fields
}

type GetFindingsV2Output

type GetFindingsV2Output struct {

	// An array of security findings returned by the operation.
	Findings []document.Interface

	// The pagination token to use to request the next page of results. Otherwise,
	// this parameter is null.
	NextToken *string

	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
	// contains filtered or unexported fields
}

type GetFindingsV2Paginator

type GetFindingsV2Paginator struct {
	// contains filtered or unexported fields
}

GetFindingsV2Paginator is a paginator for GetFindingsV2

func NewGetFindingsV2Paginator

func NewGetFindingsV2Paginator(client GetFindingsV2APIClient, params *GetFindingsV2Input, optFns ...func(*GetFindingsV2PaginatorOptions)) *GetFindingsV2Paginator

NewGetFindingsV2Paginator returns a new GetFindingsV2Paginator

func (*GetFindingsV2Paginator) HasMorePages

func (p *GetFindingsV2Paginator) HasMorePages() bool

HasMorePages returns a boolean indicating whether more pages are available

func (*GetFindingsV2Paginator) NextPage

func (p *GetFindingsV2Paginator) NextPage(ctx context.Context, optFns ...func(*Options)) (*GetFindingsV2Output, error)

NextPage retrieves the next GetFindingsV2 page.

type GetFindingsV2PaginatorOptions

type GetFindingsV2PaginatorOptions struct {
	// The maximum number of results to return.
	Limit int32

	// Set to true if pagination should stop if the service returns a pagination token
	// that matches the most recent token provided to the service.
	StopOnDuplicateToken bool
}

GetFindingsV2PaginatorOptions is the paginator options for GetFindingsV2

type GetInsightResultsInput

type GetInsightResultsInput struct {

	// The ARN of the insight for which to return results.
	//
	// This member is required.
	InsightArn *string
	// contains filtered or unexported fields
}

type GetInsightResultsOutput

type GetInsightResultsOutput struct {

	// The insight results returned by the operation.
	//
	// This member is required.
	InsightResults *types.InsightResults

	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
	// contains filtered or unexported fields
}

type GetInsightsAPIClient

type GetInsightsAPIClient interface {
	GetInsights(context.Context, *GetInsightsInput, ...func(*Options)) (*GetInsightsOutput, error)
}

GetInsightsAPIClient is a client that implements the GetInsights operation.

type GetInsightsInput

type GetInsightsInput struct {

	// The ARNs of the insights to describe. If you don't provide any insight ARNs,
	// then GetInsights returns all of your custom insights. It does not return any
	// managed insights.
	InsightArns []string

	// The maximum number of items to return in the response.
	MaxResults *int32

	// The token that is required for pagination. On your first call to the GetInsights
	// operation, set the value of this parameter to NULL .
	//
	// For subsequent calls to the operation, to continue listing data, set the value
	// of this parameter to the value returned from the previous response.
	NextToken *string
	// contains filtered or unexported fields
}

type GetInsightsOutput

type GetInsightsOutput struct {

	// The insights returned by the operation.
	//
	// This member is required.
	Insights []types.Insight

	// The pagination token to use to request the next page of results.
	NextToken *string

	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
	// contains filtered or unexported fields
}

type GetInsightsPaginator

type GetInsightsPaginator struct {
	// contains filtered or unexported fields
}

GetInsightsPaginator is a paginator for GetInsights

func NewGetInsightsPaginator

func NewGetInsightsPaginator(client GetInsightsAPIClient, params *GetInsightsInput, optFns ...func(*GetInsightsPaginatorOptions)) *GetInsightsPaginator

NewGetInsightsPaginator returns a new GetInsightsPaginator

func (*GetInsightsPaginator) HasMorePages

func (p *GetInsightsPaginator) HasMorePages() bool

HasMorePages returns a boolean indicating whether more pages are available

func (*GetInsightsPaginator) NextPage

func (p *GetInsightsPaginator) NextPage(ctx context.Context, optFns ...func(*Options)) (*GetInsightsOutput, error)

NextPage retrieves the next GetInsights page.

type GetInsightsPaginatorOptions

type GetInsightsPaginatorOptions struct {
	// The maximum number of items to return in the response.
	Limit int32

	// Set to true if pagination should stop if the service returns a pagination token
	// that matches the most recent token provided to the service.
	StopOnDuplicateToken bool
}

GetInsightsPaginatorOptions is the paginator options for GetInsights

type GetInvitationsCountInput

type GetInvitationsCountInput struct {
	// contains filtered or unexported fields
}

type GetInvitationsCountOutput

type GetInvitationsCountOutput struct {

	// The number of all membership invitations sent to this Security Hub member
	// account, not including the currently accepted invitation.
	InvitationsCount *int32

	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
	// contains filtered or unexported fields
}

type GetMasterAccountInput

type GetMasterAccountInput struct {
	// contains filtered or unexported fields
}

type GetMasterAccountOutput

type GetMasterAccountOutput struct {

	// A list of details about the Security Hub administrator account for the current
	// member account.
	Master *types.Invitation

	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
	// contains filtered or unexported fields
}

type GetMembersInput

type GetMembersInput struct {

	// The list of account IDs for the Security Hub member accounts to return the
	// details for.
	//
	// This member is required.
	AccountIds []string
	// contains filtered or unexported fields
}

type GetMembersOutput

type GetMembersOutput struct {

	// The list of details about the Security Hub member accounts.
	Members []types.Member

	// The list of Amazon Web Services accounts that could not be processed. For each
	// account, the list includes the account ID and the email address.
	UnprocessedAccounts []types.Result

	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
	// contains filtered or unexported fields
}

type GetResourcesStatisticsV2Input

type GetResourcesStatisticsV2Input struct {

	// How resource statistics should be aggregated and organized in the response.
	//
	// This member is required.
	GroupByRules []types.ResourceGroupByRule

	// The maximum number of results to be returned.
	MaxStatisticResults *int32

	// Sorts aggregated statistics.
	SortOrder types.SortOrder
	// contains filtered or unexported fields
}

type GetResourcesStatisticsV2Output

type GetResourcesStatisticsV2Output struct {

	// The aggregated statistics about resources based on the specified grouping rule.
	//
	// This member is required.
	GroupByResults []types.GroupByResult

	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
	// contains filtered or unexported fields
}

type GetResourcesV2APIClient

type GetResourcesV2APIClient interface {
	GetResourcesV2(context.Context, *GetResourcesV2Input, ...func(*Options)) (*GetResourcesV2Output, error)
}

GetResourcesV2APIClient is a client that implements the GetResourcesV2 operation.

type GetResourcesV2Input

type GetResourcesV2Input struct {

	// Filters resources based on a set of criteria.
	Filters *types.ResourcesFilters

	// The maximum number of results to return.
	MaxResults *int32

	// The token required for pagination. On your first call, set the value of this
	// parameter to NULL . For subsequent calls, to continue listing data, set the
	// value of this parameter to the value returned in the previous response.
	NextToken *string

	// The finding attributes used to sort the list of returned findings.
	SortCriteria []types.SortCriterion
	// contains filtered or unexported fields
}

type GetResourcesV2Output

type GetResourcesV2Output struct {

	// Filters resources based on a set of criteria.
	//
	// This member is required.
	Resources []types.ResourceResult

	// The pagination token to use to request the next page of results. Otherwise,
	// this parameter is null.
	NextToken *string

	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
	// contains filtered or unexported fields
}

type GetResourcesV2Paginator

type GetResourcesV2Paginator struct {
	// contains filtered or unexported fields
}

GetResourcesV2Paginator is a paginator for GetResourcesV2

func NewGetResourcesV2Paginator

func NewGetResourcesV2Paginator(client GetResourcesV2APIClient, params *GetResourcesV2Input, optFns ...func(*GetResourcesV2PaginatorOptions)) *GetResourcesV2Paginator

NewGetResourcesV2Paginator returns a new GetResourcesV2Paginator

func (*GetResourcesV2Paginator) HasMorePages

func (p *GetResourcesV2Paginator) HasMorePages() bool

HasMorePages returns a boolean indicating whether more pages are available

func (*GetResourcesV2Paginator) NextPage

func (p *GetResourcesV2Paginator) NextPage(ctx context.Context, optFns ...func(*Options)) (*GetResourcesV2Output, error)

NextPage retrieves the next GetResourcesV2 page.

type GetResourcesV2PaginatorOptions

type GetResourcesV2PaginatorOptions struct {
	// The maximum number of results to return.
	Limit int32

	// Set to true if pagination should stop if the service returns a pagination token
	// that matches the most recent token provided to the service.
	StopOnDuplicateToken bool
}

GetResourcesV2PaginatorOptions is the paginator options for GetResourcesV2

type GetSecurityControlDefinitionInput

type GetSecurityControlDefinitionInput struct {

	//  The ID of the security control to retrieve the definition for. This field
	// doesn’t accept an Amazon Resource Name (ARN).
	//
	// This member is required.
	SecurityControlId *string
	// contains filtered or unexported fields
}

type GetSecurityControlDefinitionOutput

type GetSecurityControlDefinitionOutput struct {

	//  Provides metadata for a security control, including its unique
	// standard-agnostic identifier, title, description, severity, availability in
	// Amazon Web Services Regions, and a link to remediation steps.
	//
	// This member is required.
	SecurityControlDefinition *types.SecurityControlDefinition

	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
	// contains filtered or unexported fields
}

type HTTPClient

type HTTPClient interface {
	Do(*http.Request) (*http.Response, error)
}

type HTTPSignerV4

type HTTPSignerV4 interface {
	SignHTTP(ctx context.Context, credentials aws.Credentials, r *http.Request, payloadHash string, service string, region string, signingTime time.Time, optFns ...func(*v4.SignerOptions)) error
}

type IdempotencyTokenProvider

type IdempotencyTokenProvider interface {
	GetIdempotencyToken() (string, error)
}

IdempotencyTokenProvider interface for providing idempotency token

type InviteMembersInput

type InviteMembersInput struct {

	// The list of account IDs of the Amazon Web Services accounts to invite to
	// Security Hub as members.
	//
	// This member is required.
	AccountIds []string
	// contains filtered or unexported fields
}

type InviteMembersOutput

type InviteMembersOutput struct {

	// The list of Amazon Web Services accounts that could not be processed. For each
	// account, the list includes the account ID and the email address.
	UnprocessedAccounts []types.Result

	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
	// contains filtered or unexported fields
}

type ListAggregatorsV2APIClient

type ListAggregatorsV2APIClient interface {
	ListAggregatorsV2(context.Context, *ListAggregatorsV2Input, ...func(*Options)) (*ListAggregatorsV2Output, error)
}

ListAggregatorsV2APIClient is a client that implements the ListAggregatorsV2 operation.

type ListAggregatorsV2Input

type ListAggregatorsV2Input struct {

	// The maximum number of results to return.
	MaxResults *int32

	// The token required for pagination. On your first call, set the value of this
	// parameter to NULL . For subsequent calls, to continue listing data, set the
	// value of this parameter to the value returned in the previous response.
	NextToken *string
	// contains filtered or unexported fields
}

type ListAggregatorsV2Output

type ListAggregatorsV2Output struct {

	// An array of aggregators.
	AggregatorsV2 []types.AggregatorV2

	// The pagination token to use to request the next page of results. Otherwise,
	// this parameter is null.
	NextToken *string

	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
	// contains filtered or unexported fields
}

type ListAggregatorsV2Paginator

type ListAggregatorsV2Paginator struct {
	// contains filtered or unexported fields
}

ListAggregatorsV2Paginator is a paginator for ListAggregatorsV2

func NewListAggregatorsV2Paginator

func NewListAggregatorsV2Paginator(client ListAggregatorsV2APIClient, params *ListAggregatorsV2Input, optFns ...func(*ListAggregatorsV2PaginatorOptions)) *ListAggregatorsV2Paginator

NewListAggregatorsV2Paginator returns a new ListAggregatorsV2Paginator

func (*ListAggregatorsV2Paginator) HasMorePages

func (p *ListAggregatorsV2Paginator) HasMorePages() bool

HasMorePages returns a boolean indicating whether more pages are available

func (*ListAggregatorsV2Paginator) NextPage

func (p *ListAggregatorsV2Paginator) NextPage(ctx context.Context, optFns ...func(*Options)) (*ListAggregatorsV2Output, error)

NextPage retrieves the next ListAggregatorsV2 page.

type ListAggregatorsV2PaginatorOptions

type ListAggregatorsV2PaginatorOptions struct {
	// The maximum number of results to return.
	Limit int32

	// Set to true if pagination should stop if the service returns a pagination token
	// that matches the most recent token provided to the service.
	StopOnDuplicateToken bool
}

ListAggregatorsV2PaginatorOptions is the paginator options for ListAggregatorsV2

type ListAutomationRulesInput

type ListAutomationRulesInput struct {

	//  The maximum number of rules to return in the response. This currently ranges
	// from 1 to 100.
	MaxResults *int32

	//  A token to specify where to start paginating the response. This is the
	// NextToken from a previously truncated response. On your first call to the
	// ListAutomationRules API, set the value of this parameter to NULL .
	NextToken *string
	// contains filtered or unexported fields
}

type ListAutomationRulesOutput

type ListAutomationRulesOutput struct {

	//  Metadata for rules in the calling account. The response includes rules with a
	// RuleStatus of ENABLED and DISABLED .
	AutomationRulesMetadata []types.AutomationRulesMetadata

	//  A pagination token for the response.
	NextToken *string

	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
	// contains filtered or unexported fields
}

type ListAutomationRulesV2Input

type ListAutomationRulesV2Input struct {

	// The maximum number of results to return.
	MaxResults *int32

	// The token required for pagination. On your first call, set the value of this
	// parameter to NULL . For subsequent calls, to continue listing data, set the
	// value of this parameter to the value returned in the previous response.
	NextToken *string
	// contains filtered or unexported fields
}

type ListAutomationRulesV2Output

type ListAutomationRulesV2Output struct {

	// The pagination token to use to request the next page of results. Otherwise,
	// this parameter is null.
	NextToken *string

	// An array of automation rules.
	Rules []types.AutomationRulesMetadataV2

	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
	// contains filtered or unexported fields
}

type ListConfigurationPoliciesAPIClient

type ListConfigurationPoliciesAPIClient interface {
	ListConfigurationPolicies(context.Context, *ListConfigurationPoliciesInput, ...func(*Options)) (*ListConfigurationPoliciesOutput, error)
}

ListConfigurationPoliciesAPIClient is a client that implements the ListConfigurationPolicies operation.

type ListConfigurationPoliciesInput

type ListConfigurationPoliciesInput struct {

	//  The maximum number of results that's returned by ListConfigurationPolicies in
	// each page of the response. When this parameter is used,
	// ListConfigurationPolicies returns the specified number of results in a single
	// page and a NextToken response element. You can see the remaining results of the
	// initial request by sending another ListConfigurationPolicies request with the
	// returned NextToken value. A valid range for MaxResults is between 1 and 100.
	MaxResults *int32

	//  The NextToken value that's returned from a previous paginated
	// ListConfigurationPolicies request where MaxResults was used but the results
	// exceeded the value of that parameter. Pagination continues from the MaxResults
	// was used but the results exceeded the value of that parameter. Pagination
	// continues from the end of the previous response that returned the NextToken
	// value. This value is null when there are no more results to return.
	NextToken *string
	// contains filtered or unexported fields
}

type ListConfigurationPoliciesOutput

type ListConfigurationPoliciesOutput struct {

	//  Provides metadata for each of your configuration policies.
	ConfigurationPolicySummaries []types.ConfigurationPolicySummary

	//  The NextToken value to include in the next ListConfigurationPolicies request.
	// When the results of a ListConfigurationPolicies request exceed MaxResults , this
	// value can be used to retrieve the next page of results. This value is null when
	// there are no more results to return.
	NextToken *string

	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
	// contains filtered or unexported fields
}

type ListConfigurationPoliciesPaginator

type ListConfigurationPoliciesPaginator struct {
	// contains filtered or unexported fields
}

ListConfigurationPoliciesPaginator is a paginator for ListConfigurationPolicies

func NewListConfigurationPoliciesPaginator

NewListConfigurationPoliciesPaginator returns a new ListConfigurationPoliciesPaginator

func (*ListConfigurationPoliciesPaginator) HasMorePages

func (p *ListConfigurationPoliciesPaginator) HasMorePages() bool

HasMorePages returns a boolean indicating whether more pages are available

func (*ListConfigurationPoliciesPaginator) NextPage

NextPage retrieves the next ListConfigurationPolicies page.

type ListConfigurationPoliciesPaginatorOptions

type ListConfigurationPoliciesPaginatorOptions struct {
	//  The maximum number of results that's returned by ListConfigurationPolicies in
	// each page of the response. When this parameter is used,
	// ListConfigurationPolicies returns the specified number of results in a single
	// page and a NextToken response element. You can see the remaining results of the
	// initial request by sending another ListConfigurationPolicies request with the
	// returned NextToken value. A valid range for MaxResults is between 1 and 100.
	Limit int32

	// Set to true if pagination should stop if the service returns a pagination token
	// that matches the most recent token provided to the service.
	StopOnDuplicateToken bool
}

ListConfigurationPoliciesPaginatorOptions is the paginator options for ListConfigurationPolicies

type ListConfigurationPolicyAssociationsAPIClient

type ListConfigurationPolicyAssociationsAPIClient interface {
	ListConfigurationPolicyAssociations(context.Context, *ListConfigurationPolicyAssociationsInput, ...func(*Options)) (*ListConfigurationPolicyAssociationsOutput, error)
}

ListConfigurationPolicyAssociationsAPIClient is a client that implements the ListConfigurationPolicyAssociations operation.

type ListConfigurationPolicyAssociationsInput

type ListConfigurationPolicyAssociationsInput struct {

	//  Options for filtering the ListConfigurationPolicyAssociations response. You
	// can filter by the Amazon Resource Name (ARN) or universally unique identifier
	// (UUID) of a configuration, AssociationType , or AssociationStatus .
	Filters *types.AssociationFilters

	//  The maximum number of results that's returned by ListConfigurationPolicies in
	// each page of the response. When this parameter is used,
	// ListConfigurationPolicyAssociations returns the specified number of results in a
	// single page and a NextToken response element. You can see the remaining results
	// of the initial request by sending another ListConfigurationPolicyAssociations
	// request with the returned NextToken value. A valid range for MaxResults is
	// between 1 and 100.
	MaxResults *int32

	//  The NextToken value that's returned from a previous paginated
	// ListConfigurationPolicyAssociations request where MaxResults was used but the
	// results exceeded the value of that parameter. Pagination continues from the end
	// of the previous response that returned the NextToken value. This value is null
	// when there are no more results to return.
	NextToken *string
	// contains filtered or unexported fields
}

type ListConfigurationPolicyAssociationsOutput

type ListConfigurationPolicyAssociationsOutput struct {

	//  An object that contains the details of each configuration policy association
	// that’s returned in a ListConfigurationPolicyAssociations request.
	ConfigurationPolicyAssociationSummaries []types.ConfigurationPolicyAssociationSummary

	//  The NextToken value to include in the next ListConfigurationPolicyAssociations
	// request. When the results of a ListConfigurationPolicyAssociations request
	// exceed MaxResults , this value can be used to retrieve the next page of results.
	// This value is null when there are no more results to return.
	NextToken *string

	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
	// contains filtered or unexported fields
}

type ListConfigurationPolicyAssociationsPaginator

type ListConfigurationPolicyAssociationsPaginator struct {
	// contains filtered or unexported fields
}

ListConfigurationPolicyAssociationsPaginator is a paginator for ListConfigurationPolicyAssociations

func NewListConfigurationPolicyAssociationsPaginator

NewListConfigurationPolicyAssociationsPaginator returns a new ListConfigurationPolicyAssociationsPaginator

func (*ListConfigurationPolicyAssociationsPaginator) HasMorePages

HasMorePages returns a boolean indicating whether more pages are available

func (*ListConfigurationPolicyAssociationsPaginator) NextPage

NextPage retrieves the next ListConfigurationPolicyAssociations page.

type ListConfigurationPolicyAssociationsPaginatorOptions

type ListConfigurationPolicyAssociationsPaginatorOptions struct {
	//  The maximum number of results that's returned by ListConfigurationPolicies in
	// each page of the response. When this parameter is used,
	// ListConfigurationPolicyAssociations returns the specified number of results in a
	// single page and a NextToken response element. You can see the remaining results
	// of the initial request by sending another ListConfigurationPolicyAssociations
	// request with the returned NextToken value. A valid range for MaxResults is
	// between 1 and 100.
	Limit int32

	// Set to true if pagination should stop if the service returns a pagination token
	// that matches the most recent token provided to the service.
	StopOnDuplicateToken bool
}

ListConfigurationPolicyAssociationsPaginatorOptions is the paginator options for ListConfigurationPolicyAssociations

type ListConnectorsV2Input

type ListConnectorsV2Input struct {

	// The status for the connectorV2.
	ConnectorStatus types.ConnectorStatus

	// The maximum number of results to be returned.
	MaxResults *int32

	// The pagination token per the Amazon Web Services Pagination standard
	NextToken *string

	// The name of the third-party provider.
	ProviderName types.ConnectorProviderName
	// contains filtered or unexported fields
}

type ListConnectorsV2Output

type ListConnectorsV2Output struct {

	// An array of connectorV2 summaries.
	//
	// This member is required.
	Connectors []types.ConnectorSummary

	// The pagination token to use to request the next page of results. Otherwise,
	// this parameter is null.
	NextToken *string

	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
	// contains filtered or unexported fields
}

type ListEnabledProductsForImportAPIClient

type ListEnabledProductsForImportAPIClient interface {
	ListEnabledProductsForImport(context.Context, *ListEnabledProductsForImportInput, ...func(*Options)) (*ListEnabledProductsForImportOutput, error)
}

ListEnabledProductsForImportAPIClient is a client that implements the ListEnabledProductsForImport operation.

type ListEnabledProductsForImportInput

type ListEnabledProductsForImportInput struct {

	// The maximum number of items to return in the response.
	MaxResults *int32

	// The token that is required for pagination. On your first call to the
	// ListEnabledProductsForImport operation, set the value of this parameter to NULL .
	//
	// For subsequent calls to the operation, to continue listing data, set the value
	// of this parameter to the value returned from the previous response.
	NextToken *string
	// contains filtered or unexported fields
}

type ListEnabledProductsForImportOutput

type ListEnabledProductsForImportOutput struct {

	// The pagination token to use to request the next page of results.
	NextToken *string

	// The list of ARNs for the resources that represent your subscriptions to
	// products.
	ProductSubscriptions []string

	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
	// contains filtered or unexported fields
}

type ListEnabledProductsForImportPaginator

type ListEnabledProductsForImportPaginator struct {
	// contains filtered or unexported fields
}

ListEnabledProductsForImportPaginator is a paginator for ListEnabledProductsForImport

func NewListEnabledProductsForImportPaginator

NewListEnabledProductsForImportPaginator returns a new ListEnabledProductsForImportPaginator

func (*ListEnabledProductsForImportPaginator) HasMorePages

func (p *ListEnabledProductsForImportPaginator) HasMorePages() bool

HasMorePages returns a boolean indicating whether more pages are available

func (*ListEnabledProductsForImportPaginator) NextPage

NextPage retrieves the next ListEnabledProductsForImport page.

type ListEnabledProductsForImportPaginatorOptions

type ListEnabledProductsForImportPaginatorOptions struct {
	// The maximum number of items to return in the response.
	Limit int32

	// Set to true if pagination should stop if the service returns a pagination token
	// that matches the most recent token provided to the service.
	StopOnDuplicateToken bool
}

ListEnabledProductsForImportPaginatorOptions is the paginator options for ListEnabledProductsForImport

type ListFindingAggregatorsAPIClient

type ListFindingAggregatorsAPIClient interface {
	ListFindingAggregators(context.Context, *ListFindingAggregatorsInput, ...func(*Options)) (*ListFindingAggregatorsOutput, error)
}

ListFindingAggregatorsAPIClient is a client that implements the ListFindingAggregators operation.

type ListFindingAggregatorsInput

type ListFindingAggregatorsInput struct {

	// The maximum number of results to return. This operation currently only returns
	// a single result.
	MaxResults *int32

	// The token returned with the previous set of results. Identifies the next set of
	// results to return.
	NextToken *string
	// contains filtered or unexported fields
}

type ListFindingAggregatorsOutput

type ListFindingAggregatorsOutput struct {

	// The list of finding aggregators. This operation currently only returns a single
	// result.
	FindingAggregators []types.FindingAggregator

	// If there are more results, this is the token to provide in the next call to
	// ListFindingAggregators .
	//
	// This operation currently only returns a single result.
	NextToken *string

	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
	// contains filtered or unexported fields
}

type ListFindingAggregatorsPaginator

type ListFindingAggregatorsPaginator struct {
	// contains filtered or unexported fields
}

ListFindingAggregatorsPaginator is a paginator for ListFindingAggregators

func NewListFindingAggregatorsPaginator

NewListFindingAggregatorsPaginator returns a new ListFindingAggregatorsPaginator

func (*ListFindingAggregatorsPaginator) HasMorePages

func (p *ListFindingAggregatorsPaginator) HasMorePages() bool

HasMorePages returns a boolean indicating whether more pages are available

func (*ListFindingAggregatorsPaginator) NextPage

NextPage retrieves the next ListFindingAggregators page.

type ListFindingAggregatorsPaginatorOptions

type ListFindingAggregatorsPaginatorOptions struct {
	// The maximum number of results to return. This operation currently only returns
	// a single result.
	Limit int32

	// Set to true if pagination should stop if the service returns a pagination token
	// that matches the most recent token provided to the service.
	StopOnDuplicateToken bool
}

ListFindingAggregatorsPaginatorOptions is the paginator options for ListFindingAggregators

type ListInvitationsAPIClient

type ListInvitationsAPIClient interface {
	ListInvitations(context.Context, *ListInvitationsInput, ...func(*Options)) (*ListInvitationsOutput, error)
}

ListInvitationsAPIClient is a client that implements the ListInvitations operation.

type ListInvitationsInput

type ListInvitationsInput struct {

	// The maximum number of items to return in the response.
	MaxResults *int32

	// The token that is required for pagination. On your first call to the
	// ListInvitations operation, set the value of this parameter to NULL .
	//
	// For subsequent calls to the operation, to continue listing data, set the value
	// of this parameter to the value returned from the previous response.
	NextToken *string
	// contains filtered or unexported fields
}

type ListInvitationsOutput

type ListInvitationsOutput struct {

	// The details of the invitations returned by the operation.
	Invitations []types.Invitation

	// The pagination token to use to request the next page of results.
	NextToken *string

	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
	// contains filtered or unexported fields
}

type ListInvitationsPaginator

type ListInvitationsPaginator struct {
	// contains filtered or unexported fields
}

ListInvitationsPaginator is a paginator for ListInvitations

func NewListInvitationsPaginator

func NewListInvitationsPaginator(client ListInvitationsAPIClient, params *ListInvitationsInput, optFns ...func(*ListInvitationsPaginatorOptions)) *ListInvitationsPaginator

NewListInvitationsPaginator returns a new ListInvitationsPaginator

func (*ListInvitationsPaginator) HasMorePages

func (p *ListInvitationsPaginator) HasMorePages() bool

HasMorePages returns a boolean indicating whether more pages are available

func (*ListInvitationsPaginator) NextPage

func (p *ListInvitationsPaginator) NextPage(ctx context.Context, optFns ...func(*Options)) (*ListInvitationsOutput, error)

NextPage retrieves the next ListInvitations page.

type ListInvitationsPaginatorOptions

type ListInvitationsPaginatorOptions struct {
	// The maximum number of items to return in the response.
	Limit int32

	// Set to true if pagination should stop if the service returns a pagination token
	// that matches the most recent token provided to the service.
	StopOnDuplicateToken bool
}

ListInvitationsPaginatorOptions is the paginator options for ListInvitations

type ListMembersAPIClient

type ListMembersAPIClient interface {
	ListMembers(context.Context, *ListMembersInput, ...func(*Options)) (*ListMembersOutput, error)
}

ListMembersAPIClient is a client that implements the ListMembers operation.

type ListMembersInput

type ListMembersInput struct {

	// The maximum number of items to return in the response.
	MaxResults *int32

	// The token that is required for pagination. On your first call to the ListMembers
	// operation, set the value of this parameter to NULL .
	//
	// For subsequent calls to the operation, to continue listing data, set the value
	// of this parameter to the value returned from the previous response.
	NextToken *string

	// Specifies which member accounts to include in the response based on their
	// relationship status with the administrator account. The default value is TRUE .
	//
	// If OnlyAssociated is set to TRUE , the response includes member accounts whose
	// relationship status with the administrator account is set to ENABLED .
	//
	// If OnlyAssociated is set to FALSE , the response includes all existing member
	// accounts.
	OnlyAssociated *bool
	// contains filtered or unexported fields
}

type ListMembersOutput

type ListMembersOutput struct {

	// Member details returned by the operation.
	Members []types.Member

	// The pagination token to use to request the next page of results.
	NextToken *string

	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
	// contains filtered or unexported fields
}

type ListMembersPaginator

type ListMembersPaginator struct {
	// contains filtered or unexported fields
}

ListMembersPaginator is a paginator for ListMembers

func NewListMembersPaginator

func NewListMembersPaginator(client ListMembersAPIClient, params *ListMembersInput, optFns ...func(*ListMembersPaginatorOptions)) *ListMembersPaginator

NewListMembersPaginator returns a new ListMembersPaginator

func (*ListMembersPaginator) HasMorePages

func (p *ListMembersPaginator) HasMorePages() bool

HasMorePages returns a boolean indicating whether more pages are available

func (*ListMembersPaginator) NextPage

func (p *ListMembersPaginator) NextPage(ctx context.Context, optFns ...func(*Options)) (*ListMembersOutput, error)

NextPage retrieves the next ListMembers page.

type ListMembersPaginatorOptions

type ListMembersPaginatorOptions struct {
	// The maximum number of items to return in the response.
	Limit int32

	// Set to true if pagination should stop if the service returns a pagination token
	// that matches the most recent token provided to the service.
	StopOnDuplicateToken bool
}

ListMembersPaginatorOptions is the paginator options for ListMembers

type ListOrganizationAdminAccountsAPIClient

type ListOrganizationAdminAccountsAPIClient interface {
	ListOrganizationAdminAccounts(context.Context, *ListOrganizationAdminAccountsInput, ...func(*Options)) (*ListOrganizationAdminAccountsOutput, error)
}

ListOrganizationAdminAccountsAPIClient is a client that implements the ListOrganizationAdminAccounts operation.

type ListOrganizationAdminAccountsInput

type ListOrganizationAdminAccountsInput struct {

	// The feature where the delegated administrator account is listed. Defaults to
	// Security Hub if not specified.
	Feature types.SecurityHubFeature

	// The maximum number of items to return in the response.
	MaxResults *int32

	// The token that is required for pagination. On your first call to the
	// ListOrganizationAdminAccounts operation, set the value of this parameter to NULL
	// . For subsequent calls to the operation, to continue listing data, set the value
	// of this parameter to the value returned from the previous response.
	NextToken *string
	// contains filtered or unexported fields
}

type ListOrganizationAdminAccountsOutput

type ListOrganizationAdminAccountsOutput struct {

	// The list of Security Hub administrator accounts.
	AdminAccounts []types.AdminAccount

	// The feature where the delegated administrator account is listed. Defaults to
	// Security Hub CSPM if not specified.
	Feature types.SecurityHubFeature

	// The pagination token to use to request the next page of results.
	NextToken *string

	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
	// contains filtered or unexported fields
}

type ListOrganizationAdminAccountsPaginator

type ListOrganizationAdminAccountsPaginator struct {
	// contains filtered or unexported fields
}

ListOrganizationAdminAccountsPaginator is a paginator for ListOrganizationAdminAccounts

func NewListOrganizationAdminAccountsPaginator

NewListOrganizationAdminAccountsPaginator returns a new ListOrganizationAdminAccountsPaginator

func (*ListOrganizationAdminAccountsPaginator) HasMorePages

func (p *ListOrganizationAdminAccountsPaginator) HasMorePages() bool

HasMorePages returns a boolean indicating whether more pages are available

func (*ListOrganizationAdminAccountsPaginator) NextPage

NextPage retrieves the next ListOrganizationAdminAccounts page.

type ListOrganizationAdminAccountsPaginatorOptions

type ListOrganizationAdminAccountsPaginatorOptions struct {
	// The maximum number of items to return in the response.
	Limit int32

	// Set to true if pagination should stop if the service returns a pagination token
	// that matches the most recent token provided to the service.
	StopOnDuplicateToken bool
}

ListOrganizationAdminAccountsPaginatorOptions is the paginator options for ListOrganizationAdminAccounts

type ListSecurityControlDefinitionsAPIClient

type ListSecurityControlDefinitionsAPIClient interface {
	ListSecurityControlDefinitions(context.Context, *ListSecurityControlDefinitionsInput, ...func(*Options)) (*ListSecurityControlDefinitionsOutput, error)
}

ListSecurityControlDefinitionsAPIClient is a client that implements the ListSecurityControlDefinitions operation.

type ListSecurityControlDefinitionsInput

type ListSecurityControlDefinitionsInput struct {

	//  An optional parameter that limits the total results of the API response to the
	// specified number. If this parameter isn't provided in the request, the results
	// include the first 25 security controls that apply to the specified standard. The
	// results also include a NextToken parameter that you can use in a subsequent API
	// call to get the next 25 controls. This repeats until all controls for the
	// standard are returned.
	MaxResults *int32

	//  Optional pagination parameter.
	NextToken *string

	//  The Amazon Resource Name (ARN) of the standard that you want to view controls
	// for.
	StandardsArn *string
	// contains filtered or unexported fields
}

type ListSecurityControlDefinitionsOutput

type ListSecurityControlDefinitionsOutput struct {

	//  An array of controls that apply to the specified standard.
	//
	// This member is required.
	SecurityControlDefinitions []types.SecurityControlDefinition

	//  A pagination parameter that's included in the response only if it was included
	// in the request.
	NextToken *string

	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
	// contains filtered or unexported fields
}

type ListSecurityControlDefinitionsPaginator

type ListSecurityControlDefinitionsPaginator struct {
	// contains filtered or unexported fields
}

ListSecurityControlDefinitionsPaginator is a paginator for ListSecurityControlDefinitions

func NewListSecurityControlDefinitionsPaginator

NewListSecurityControlDefinitionsPaginator returns a new ListSecurityControlDefinitionsPaginator

func (*ListSecurityControlDefinitionsPaginator) HasMorePages

HasMorePages returns a boolean indicating whether more pages are available

func (*ListSecurityControlDefinitionsPaginator) NextPage

NextPage retrieves the next ListSecurityControlDefinitions page.

type ListSecurityControlDefinitionsPaginatorOptions

type ListSecurityControlDefinitionsPaginatorOptions struct {
	//  An optional parameter that limits the total results of the API response to the
	// specified number. If this parameter isn't provided in the request, the results
	// include the first 25 security controls that apply to the specified standard. The
	// results also include a NextToken parameter that you can use in a subsequent API
	// call to get the next 25 controls. This repeats until all controls for the
	// standard are returned.
	Limit int32

	// Set to true if pagination should stop if the service returns a pagination token
	// that matches the most recent token provided to the service.
	StopOnDuplicateToken bool
}

ListSecurityControlDefinitionsPaginatorOptions is the paginator options for ListSecurityControlDefinitions

type ListStandardsControlAssociationsAPIClient

type ListStandardsControlAssociationsAPIClient interface {
	ListStandardsControlAssociations(context.Context, *ListStandardsControlAssociationsInput, ...func(*Options)) (*ListStandardsControlAssociationsOutput, error)
}

ListStandardsControlAssociationsAPIClient is a client that implements the ListStandardsControlAssociations operation.

type ListStandardsControlAssociationsInput

type ListStandardsControlAssociationsInput struct {

	//  The identifier of the control (identified with SecurityControlId ,
	// SecurityControlArn , or a mix of both parameters) that you want to determine the
	// enablement status of in each enabled standard.
	//
	// This member is required.
	SecurityControlId *string

	//  An optional parameter that limits the total results of the API response to the
	// specified number. If this parameter isn't provided in the request, the results
	// include the first 25 standard and control associations. The results also include
	// a NextToken parameter that you can use in a subsequent API call to get the next
	// 25 associations. This repeats until all associations for the specified control
	// are returned. The number of results is limited by the number of supported
	// Security Hub standards that you've enabled in the calling account.
	MaxResults *int32

	//  Optional pagination parameter.
	NextToken *string
	// contains filtered or unexported fields
}

type ListStandardsControlAssociationsOutput

type ListStandardsControlAssociationsOutput struct {

	//  An array that provides the enablement status and other details for each
	// security control that applies to each enabled standard.
	//
	// This member is required.
	StandardsControlAssociationSummaries []types.StandardsControlAssociationSummary

	//  A pagination parameter that's included in the response only if it was included
	// in the request.
	NextToken *string

	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
	// contains filtered or unexported fields
}

type ListStandardsControlAssociationsPaginator

type ListStandardsControlAssociationsPaginator struct {
	// contains filtered or unexported fields
}

ListStandardsControlAssociationsPaginator is a paginator for ListStandardsControlAssociations

func NewListStandardsControlAssociationsPaginator

NewListStandardsControlAssociationsPaginator returns a new ListStandardsControlAssociationsPaginator

func (*ListStandardsControlAssociationsPaginator) HasMorePages

HasMorePages returns a boolean indicating whether more pages are available

func (*ListStandardsControlAssociationsPaginator) NextPage

NextPage retrieves the next ListStandardsControlAssociations page.

type ListStandardsControlAssociationsPaginatorOptions

type ListStandardsControlAssociationsPaginatorOptions struct {
	//  An optional parameter that limits the total results of the API response to the
	// specified number. If this parameter isn't provided in the request, the results
	// include the first 25 standard and control associations. The results also include
	// a NextToken parameter that you can use in a subsequent API call to get the next
	// 25 associations. This repeats until all associations for the specified control
	// are returned. The number of results is limited by the number of supported
	// Security Hub standards that you've enabled in the calling account.
	Limit int32

	// Set to true if pagination should stop if the service returns a pagination token
	// that matches the most recent token provided to the service.
	StopOnDuplicateToken bool
}

ListStandardsControlAssociationsPaginatorOptions is the paginator options for ListStandardsControlAssociations

type ListTagsForResourceInput

type ListTagsForResourceInput struct {

	// The ARN of the resource to retrieve tags for.
	//
	// This member is required.
	ResourceArn *string
	// contains filtered or unexported fields
}

type ListTagsForResourceOutput

type ListTagsForResourceOutput struct {

	// The tags associated with a resource.
	Tags map[string]string

	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
	// contains filtered or unexported fields
}

type Options

type Options struct {
	// Set of options to modify how an operation is invoked. These apply to all
	// operations invoked for this client. Use functional options on operation call to
	// modify this list for per operation behavior.
	APIOptions []func(*middleware.Stack) error

	// The optional application specific identifier appended to the User-Agent header.
	AppID string

	// This endpoint will be given as input to an EndpointResolverV2. It is used for
	// providing a custom base endpoint that is subject to modifications by the
	// processing EndpointResolverV2.
	BaseEndpoint *string

	// Configures the events that will be sent to the configured logger.
	ClientLogMode aws.ClientLogMode

	// The credentials object to use when signing requests.
	Credentials aws.CredentialsProvider

	// The configuration DefaultsMode that the SDK should use when constructing the
	// clients initial default settings.
	DefaultsMode aws.DefaultsMode

	// The endpoint options to be used when attempting to resolve an endpoint.
	EndpointOptions EndpointResolverOptions

	// The service endpoint resolver.
	//
	// Deprecated: Deprecated: EndpointResolver and WithEndpointResolver. Providing a
	// value for this field will likely prevent you from using any endpoint-related
	// service features released after the introduction of EndpointResolverV2 and
	// BaseEndpoint.
	//
	// To migrate an EndpointResolver implementation that uses a custom endpoint, set
	// the client option BaseEndpoint instead.
	EndpointResolver EndpointResolver

	// Resolves the endpoint used for a particular service operation. This should be
	// used over the deprecated EndpointResolver.
	EndpointResolverV2 EndpointResolverV2

	// Signature Version 4 (SigV4) Signer
	HTTPSignerV4 HTTPSignerV4

	// Provides idempotency tokens values that will be automatically populated into
	// idempotent API operations.
	IdempotencyTokenProvider IdempotencyTokenProvider

	// The logger writer interface to write logging messages to.
	Logger logging.Logger

	// The client meter provider.
	MeterProvider metrics.MeterProvider

	// The region to send requests to. (Required)
	Region string

	// RetryMaxAttempts specifies the maximum number attempts an API client will call
	// an operation that fails with a retryable error. A value of 0 is ignored, and
	// will not be used to configure the API client created default retryer, or modify
	// per operation call's retry max attempts.
	//
	// If specified in an operation call's functional options with a value that is
	// different than the constructed client's Options, the Client's Retryer will be
	// wrapped to use the operation's specific RetryMaxAttempts value.
	RetryMaxAttempts int

	// RetryMode specifies the retry mode the API client will be created with, if
	// Retryer option is not also specified.
	//
	// When creating a new API Clients this member will only be used if the Retryer
	// Options member is nil. This value will be ignored if Retryer is not nil.
	//
	// Currently does not support per operation call overrides, may in the future.
	RetryMode aws.RetryMode

	// Retryer guides how HTTP requests should be retried in case of recoverable
	// failures. When nil the API client will use a default retryer. The kind of
	// default retry created by the API client can be changed with the RetryMode
	// option.
	Retryer aws.Retryer

	// The RuntimeEnvironment configuration, only populated if the DefaultsMode is set
	// to DefaultsModeAuto and is initialized using config.LoadDefaultConfig . You
	// should not populate this structure programmatically, or rely on the values here
	// within your applications.
	RuntimeEnvironment aws.RuntimeEnvironment

	// The client tracer provider.
	TracerProvider tracing.TracerProvider

	// The HTTP client to invoke API calls with. Defaults to client's default HTTP
	// implementation if nil.
	HTTPClient HTTPClient

	// The auth scheme resolver which determines how to authenticate for each
	// operation.
	AuthSchemeResolver AuthSchemeResolver

	// The list of auth schemes supported by the client.
	AuthSchemes []smithyhttp.AuthScheme
	// contains filtered or unexported fields
}

func (Options) Copy

func (o Options) Copy() Options

Copy creates a clone where the APIOptions list is deep copied.

func (Options) GetIdentityResolver

func (o Options) GetIdentityResolver(schemeID string) smithyauth.IdentityResolver

type ResolveEndpoint

type ResolveEndpoint struct {
	Resolver EndpointResolver
	Options  EndpointResolverOptions
}

func (*ResolveEndpoint) HandleSerialize

func (*ResolveEndpoint) ID

func (*ResolveEndpoint) ID() string

type StartConfigurationPolicyAssociationInput

type StartConfigurationPolicyAssociationInput struct {

	//  The Amazon Resource Name (ARN) of a configuration policy, the universally
	// unique identifier (UUID) of a configuration policy, or a value of
	// SELF_MANAGED_SECURITY_HUB for a self-managed configuration.
	//
	// This member is required.
	ConfigurationPolicyIdentifier *string

	//  The identifier of the target account, organizational unit, or the root to
	// associate with the specified configuration.
	//
	// This member is required.
	Target types.Target
	// contains filtered or unexported fields
}

type StartConfigurationPolicyAssociationOutput

type StartConfigurationPolicyAssociationOutput struct {

	//  The current status of the association between the specified target and the
	// configuration.
	AssociationStatus types.ConfigurationPolicyAssociationStatus

	//  An explanation for a FAILED value for AssociationStatus .
	AssociationStatusMessage *string

	//  Indicates whether the association between the specified target and the
	// configuration was directly applied by the Security Hub delegated administrator
	// or inherited from a parent.
	AssociationType types.AssociationType

	//  The UUID of the configuration policy.
	ConfigurationPolicyId *string

	//  The identifier of the target account, organizational unit, or the organization
	// root with which the configuration is associated.
	TargetId *string

	//  Indicates whether the target is an Amazon Web Services account, organizational
	// unit, or the organization root.
	TargetType types.TargetType

	//  The date and time, in UTC and ISO 8601 format, that the configuration policy
	// association was last updated.
	UpdatedAt *time.Time

	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
	// contains filtered or unexported fields
}

type StartConfigurationPolicyDisassociationInput

type StartConfigurationPolicyDisassociationInput struct {

	//  The Amazon Resource Name (ARN) of a configuration policy, the universally
	// unique identifier (UUID) of a configuration policy, or a value of
	// SELF_MANAGED_SECURITY_HUB for a self-managed configuration.
	//
	// This member is required.
	ConfigurationPolicyIdentifier *string

	//  The identifier of the target account, organizational unit, or the root to
	// disassociate from the specified configuration.
	Target types.Target
	// contains filtered or unexported fields
}

type StartConfigurationPolicyDisassociationOutput

type StartConfigurationPolicyDisassociationOutput struct {
	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
	// contains filtered or unexported fields
}

type TagResourceInput

type TagResourceInput struct {

	// The ARN of the resource to apply the tags to.
	//
	// This member is required.
	ResourceArn *string

	// The tags to add to the resource. You can add up to 50 tags at a time. The tag
	// keys can be no longer than 128 characters. The tag values can be no longer than
	// 256 characters.
	//
	// This member is required.
	Tags map[string]string
	// contains filtered or unexported fields
}

type TagResourceOutput

type TagResourceOutput struct {
	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
	// contains filtered or unexported fields
}

type UntagResourceInput

type UntagResourceInput struct {

	// The ARN of the resource to remove the tags from.
	//
	// This member is required.
	ResourceArn *string

	// The tag keys associated with the tags to remove from the resource. You can
	// remove up to 50 tags at a time.
	//
	// This member is required.
	TagKeys []string
	// contains filtered or unexported fields
}

type UntagResourceOutput

type UntagResourceOutput struct {
	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
	// contains filtered or unexported fields
}

type UpdateActionTargetInput

type UpdateActionTargetInput struct {

	// The ARN of the custom action target to update.
	//
	// This member is required.
	ActionTargetArn *string

	// The updated description for the custom action target.
	Description *string

	// The updated name of the custom action target.
	Name *string
	// contains filtered or unexported fields
}

type UpdateActionTargetOutput

type UpdateActionTargetOutput struct {
	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
	// contains filtered or unexported fields
}

type UpdateAggregatorV2Input

type UpdateAggregatorV2Input struct {

	// The ARN of the Aggregator V2.
	//
	// This member is required.
	AggregatorV2Arn *string

	// Determines how Amazon Web Services Regions should be linked to the Aggregator
	// V2.
	//
	// This member is required.
	RegionLinkingMode *string

	// A list of Amazon Web Services Regions linked to the aggegation Region.
	LinkedRegions []string
	// contains filtered or unexported fields
}

type UpdateAggregatorV2Output

type UpdateAggregatorV2Output struct {

	// The Amazon Web Services Region where data is aggregated.
	AggregationRegion *string

	// The ARN of the Aggregator V2.
	AggregatorV2Arn *string

	// A list of Amazon Web Services Regions linked to the aggegation Region.
	LinkedRegions []string

	// Determines how Amazon Web Services Regions should be linked to the Aggregator
	// V2.
	RegionLinkingMode *string

	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
	// contains filtered or unexported fields
}

type UpdateAutomationRuleV2Input

type UpdateAutomationRuleV2Input struct {

	// The ARN of the automation rule.
	//
	// This member is required.
	Identifier *string

	// A list of actions to be performed when the rule criteria is met.
	Actions []types.AutomationRulesActionV2

	// The filtering type and configuration of the automation rule.
	Criteria types.Criteria

	// A description of the automation rule.
	Description *string

	// The name of the automation rule.
	RuleName *string

	// Represents a value for the rule priority.
	RuleOrder *float32

	// The status of the automation rule.
	RuleStatus types.RuleStatusV2
	// contains filtered or unexported fields
}

type UpdateAutomationRuleV2Output

type UpdateAutomationRuleV2Output struct {
	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
	// contains filtered or unexported fields
}

type UpdateConfigurationPolicyInput

type UpdateConfigurationPolicyInput struct {

	//  The Amazon Resource Name (ARN) or universally unique identifier (UUID) of the
	// configuration policy.
	//
	// This member is required.
	Identifier *string

	//  An object that defines how Security Hub is configured. It includes whether
	// Security Hub is enabled or disabled, a list of enabled security standards, a
	// list of enabled or disabled security controls, and a list of custom parameter
	// values for specified controls. If you provide a list of security controls that
	// are enabled in the configuration policy, Security Hub disables all other
	// controls (including newly released controls). If you provide a list of security
	// controls that are disabled in the configuration policy, Security Hub enables all
	// other controls (including newly released controls).
	//
	// When updating a configuration policy, provide a complete list of standards that
	// you want to enable and a complete list of controls that you want to enable or
	// disable. The updated configuration replaces the current configuration.
	ConfigurationPolicy types.Policy

	//  The description of the configuration policy.
	Description *string

	//  The name of the configuration policy. Alphanumeric characters and the
	// following ASCII characters are permitted: -, ., !, *, / .
	Name *string

	//  The reason for updating the configuration policy.
	UpdatedReason *string
	// contains filtered or unexported fields
}

type UpdateConfigurationPolicyOutput

type UpdateConfigurationPolicyOutput struct {

	//  The ARN of the configuration policy.
	Arn *string

	//  An object that defines how Security Hub is configured. It includes whether
	// Security Hub is enabled or disabled, a list of enabled security standards, a
	// list of enabled or disabled security controls, and a list of custom parameter
	// values for specified controls. If the request included a list of security
	// controls that are enabled in the configuration policy, Security Hub disables all
	// other controls (including newly released controls). If the request included a
	// list of security controls that are disabled in the configuration policy,
	// Security Hub enables all other controls (including newly released controls).
	ConfigurationPolicy types.Policy

	//  The date and time, in UTC and ISO 8601 format, that the configuration policy
	// was created.
	CreatedAt *time.Time

	//  The description of the configuration policy.
	Description *string

	//  The UUID of the configuration policy.
	Id *string

	//  The name of the configuration policy.
	Name *string

	//  The date and time, in UTC and ISO 8601 format, that the configuration policy
	// was last updated.
	UpdatedAt *time.Time

	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
	// contains filtered or unexported fields
}

type UpdateConnectorV2Input

type UpdateConnectorV2Input struct {

	// The UUID of the connectorV2 to identify connectorV2 resource.
	//
	// This member is required.
	ConnectorId *string

	// The clientSecret of ServiceNow.
	ClientSecret *string

	// The description of the connectorV2.
	Description *string

	// The third-party provider’s service configuration.
	Provider types.ProviderUpdateConfiguration
	// contains filtered or unexported fields
}

type UpdateConnectorV2Output

type UpdateConnectorV2Output struct {
	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
	// contains filtered or unexported fields
}

type UpdateFindingAggregatorInput

type UpdateFindingAggregatorInput struct {

	// The ARN of the finding aggregator. To obtain the ARN, use ListFindingAggregators
	// .
	//
	// This member is required.
	FindingAggregatorArn *string

	// Indicates whether to aggregate findings from all of the available Regions in
	// the current partition. Also determines whether to automatically aggregate
	// findings from new Regions as Security Hub supports them and you opt into them.
	//
	// The selected option also determines how to use the Regions provided in the
	// Regions list.
	//
	// The options are as follows:
	//
	//   - ALL_REGIONS - Aggregates findings from all of the Regions where Security Hub
	//   is enabled. When you choose this option, Security Hub also automatically
	//   aggregates findings from new Regions as Security Hub supports them and you opt
	//   into them.
	//
	//   - ALL_REGIONS_EXCEPT_SPECIFIED - Aggregates findings from all of the Regions
	//   where Security Hub is enabled, except for the Regions listed in the Regions
	//   parameter. When you choose this option, Security Hub also automatically
	//   aggregates findings from new Regions as Security Hub supports them and you opt
	//   into them.
	//
	//   - SPECIFIED_REGIONS - Aggregates findings only from the Regions listed in the
	//   Regions parameter. Security Hub does not automatically aggregate findings from
	//   new Regions.
	//
	//   - NO_REGIONS - Aggregates no data because no Regions are selected as linked
	//   Regions.
	//
	// This member is required.
	RegionLinkingMode *string

	// If RegionLinkingMode is ALL_REGIONS_EXCEPT_SPECIFIED , then this is a
	// space-separated list of Regions that don't replicate and send findings to the
	// home Region.
	//
	// If RegionLinkingMode is SPECIFIED_REGIONS , then this is a space-separated list
	// of Regions that do replicate and send findings to the home Region.
	//
	// An InvalidInputException error results if you populate this field while
	// RegionLinkingMode is NO_REGIONS .
	Regions []string
	// contains filtered or unexported fields
}

type UpdateFindingAggregatorOutput

type UpdateFindingAggregatorOutput struct {

	// The home Region. Findings generated in linked Regions are replicated and sent
	// to the home Region.
	FindingAggregationRegion *string

	// The ARN of the finding aggregator.
	FindingAggregatorArn *string

	// Indicates whether to link all Regions, all Regions except for a list of
	// excluded Regions, or a list of included Regions.
	RegionLinkingMode *string

	// The list of excluded Regions or included Regions.
	Regions []string

	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
	// contains filtered or unexported fields
}

type UpdateFindingsInput

type UpdateFindingsInput struct {

	// A collection of attributes that specify which findings you want to update.
	//
	// This member is required.
	Filters *types.AwsSecurityFindingFilters

	// The updated note for the finding.
	Note *types.NoteUpdate

	// The updated record state for the finding.
	RecordState types.RecordState
	// contains filtered or unexported fields
}

type UpdateFindingsOutput

type UpdateFindingsOutput struct {
	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
	// contains filtered or unexported fields
}

type UpdateInsightInput

type UpdateInsightInput struct {

	// The ARN of the insight that you want to update.
	//
	// This member is required.
	InsightArn *string

	// The updated filters that define this insight.
	Filters *types.AwsSecurityFindingFilters

	// The updated GroupBy attribute that defines this insight.
	GroupByAttribute *string

	// The updated name for the insight.
	Name *string
	// contains filtered or unexported fields
}

type UpdateInsightOutput

type UpdateInsightOutput struct {
	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
	// contains filtered or unexported fields
}

type UpdateOrganizationConfigurationInput

type UpdateOrganizationConfigurationInput struct {

	// Whether to automatically enable Security Hub in new member accounts when they
	// join the organization.
	//
	// If set to true , then Security Hub is automatically enabled in new accounts. If
	// set to false , then Security Hub isn't enabled in new accounts automatically.
	// The default value is false .
	//
	// If the ConfigurationType of your organization is set to CENTRAL , then this
	// field is set to false and can't be changed in the home Region and linked
	// Regions. However, in that case, the delegated administrator can create a
	// configuration policy in which Security Hub is enabled and associate the policy
	// with new organization accounts.
	//
	// This member is required.
	AutoEnable *bool

	// Whether to automatically enable Security Hub [default standards] in new member accounts when they
	// join the organization.
	//
	// The default value of this parameter is equal to DEFAULT .
	//
	// If equal to DEFAULT , then Security Hub default standards are automatically
	// enabled for new member accounts. If equal to NONE , then default standards are
	// not automatically enabled for new member accounts.
	//
	// If the ConfigurationType of your organization is set to CENTRAL , then this
	// field is set to NONE and can't be changed in the home Region and linked
	// Regions. However, in that case, the delegated administrator can create a
	// configuration policy in which specific security standards are enabled and
	// associate the policy with new organization accounts.
	//
	// [default standards]: https://docs.aws.amazon.com/securityhub/latest/userguide/securityhub-standards-enable-disable.html
	AutoEnableStandards types.AutoEnableStandards

	//  Provides information about the way an organization is configured in Security
	// Hub.
	OrganizationConfiguration *types.OrganizationConfiguration
	// contains filtered or unexported fields
}

type UpdateOrganizationConfigurationOutput

type UpdateOrganizationConfigurationOutput struct {
	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
	// contains filtered or unexported fields
}

type UpdateSecurityControlInput

type UpdateSecurityControlInput struct {

	//  An object that specifies which security control parameters to update.
	//
	// This member is required.
	Parameters map[string]types.ParameterConfiguration

	//  The Amazon Resource Name (ARN) or ID of the control to update.
	//
	// This member is required.
	SecurityControlId *string

	//  The most recent reason for updating the properties of the security control.
	// This field accepts alphanumeric characters in addition to white spaces, dashes,
	// and underscores.
	LastUpdateReason *string
	// contains filtered or unexported fields
}

type UpdateSecurityControlOutput

type UpdateSecurityControlOutput struct {
	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
	// contains filtered or unexported fields
}

type UpdateSecurityHubConfigurationInput

type UpdateSecurityHubConfigurationInput struct {

	// Whether to automatically enable new controls when they are added to standards
	// that are enabled.
	//
	// By default, this is set to true , and new controls are enabled automatically. To
	// not automatically enable new controls, set this to false .
	//
	// When you automatically enable new controls, you can interact with the controls
	// in the console and programmatically immediately after release. However,
	// automatically enabled controls have a temporary default status of DISABLED . It
	// can take up to several days for Security Hub to process the control release and
	// designate the control as ENABLED in your account. During the processing period,
	// you can manually enable or disable a control, and Security Hub will maintain
	// that designation regardless of whether you have AutoEnableControls set to true .
	AutoEnableControls *bool

	// Updates whether the calling account has consolidated control findings turned
	// on. If the value for this field is set to SECURITY_CONTROL , Security Hub
	// generates a single finding for a control check even when the check applies to
	// multiple enabled standards.
	//
	// If the value for this field is set to STANDARD_CONTROL , Security Hub generates
	// separate findings for a control check when the check applies to multiple enabled
	// standards.
	//
	// For accounts that are part of an organization, this value can only be updated
	// in the administrator account.
	ControlFindingGenerator types.ControlFindingGenerator
	// contains filtered or unexported fields
}

type UpdateSecurityHubConfigurationOutput

type UpdateSecurityHubConfigurationOutput struct {
	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
	// contains filtered or unexported fields
}

type UpdateStandardsControlInput

type UpdateStandardsControlInput struct {

	// The ARN of the security standard control to enable or disable.
	//
	// This member is required.
	StandardsControlArn *string

	// The updated status of the security standard control.
	ControlStatus types.ControlStatus

	// A description of the reason why you are disabling a security standard control.
	// If you are disabling a control, then this is required.
	DisabledReason *string
	// contains filtered or unexported fields
}

type UpdateStandardsControlOutput

type UpdateStandardsControlOutput struct {
	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
	// contains filtered or unexported fields
}

Source Files

api_client.go api_op_AcceptAdministratorInvitation.go api_op_AcceptInvitation.go api_op_BatchDeleteAutomationRules.go api_op_BatchDisableStandards.go api_op_BatchEnableStandards.go api_op_BatchGetAutomationRules.go api_op_BatchGetConfigurationPolicyAssociations.go api_op_BatchGetSecurityControls.go api_op_BatchGetStandardsControlAssociations.go api_op_BatchImportFindings.go api_op_BatchUpdateAutomationRules.go api_op_BatchUpdateFindings.go api_op_BatchUpdateFindingsV2.go api_op_BatchUpdateStandardsControlAssociations.go api_op_ConnectorRegistrationsV2.go api_op_CreateActionTarget.go api_op_CreateAggregatorV2.go api_op_CreateAutomationRule.go api_op_CreateAutomationRuleV2.go api_op_CreateConfigurationPolicy.go api_op_CreateConnectorV2.go api_op_CreateFindingAggregator.go api_op_CreateInsight.go api_op_CreateMembers.go api_op_CreateTicketV2.go api_op_DeclineInvitations.go api_op_DeleteActionTarget.go api_op_DeleteAggregatorV2.go api_op_DeleteAutomationRuleV2.go api_op_DeleteConfigurationPolicy.go api_op_DeleteConnectorV2.go api_op_DeleteFindingAggregator.go api_op_DeleteInsight.go api_op_DeleteInvitations.go api_op_DeleteMembers.go api_op_DescribeActionTargets.go api_op_DescribeHub.go api_op_DescribeOrganizationConfiguration.go api_op_DescribeProducts.go api_op_DescribeProductsV2.go api_op_DescribeSecurityHubV2.go api_op_DescribeStandards.go api_op_DescribeStandardsControls.go api_op_DisableImportFindingsForProduct.go api_op_DisableOrganizationAdminAccount.go api_op_DisableSecurityHub.go api_op_DisableSecurityHubV2.go api_op_DisassociateFromAdministratorAccount.go api_op_DisassociateFromMasterAccount.go api_op_DisassociateMembers.go api_op_EnableImportFindingsForProduct.go api_op_EnableOrganizationAdminAccount.go api_op_EnableSecurityHub.go api_op_EnableSecurityHubV2.go api_op_GetAdministratorAccount.go api_op_GetAggregatorV2.go api_op_GetAutomationRuleV2.go api_op_GetConfigurationPolicy.go api_op_GetConfigurationPolicyAssociation.go api_op_GetConnectorV2.go api_op_GetEnabledStandards.go api_op_GetFindingAggregator.go api_op_GetFindingHistory.go api_op_GetFindingStatisticsV2.go api_op_GetFindings.go api_op_GetFindingsV2.go api_op_GetInsightResults.go api_op_GetInsights.go api_op_GetInvitationsCount.go api_op_GetMasterAccount.go api_op_GetMembers.go api_op_GetResourcesStatisticsV2.go api_op_GetResourcesV2.go api_op_GetSecurityControlDefinition.go api_op_InviteMembers.go api_op_ListAggregatorsV2.go api_op_ListAutomationRules.go api_op_ListAutomationRulesV2.go api_op_ListConfigurationPolicies.go api_op_ListConfigurationPolicyAssociations.go api_op_ListConnectorsV2.go api_op_ListEnabledProductsForImport.go api_op_ListFindingAggregators.go api_op_ListInvitations.go api_op_ListMembers.go api_op_ListOrganizationAdminAccounts.go api_op_ListSecurityControlDefinitions.go api_op_ListStandardsControlAssociations.go api_op_ListTagsForResource.go api_op_StartConfigurationPolicyAssociation.go api_op_StartConfigurationPolicyDisassociation.go api_op_TagResource.go api_op_UntagResource.go api_op_UpdateActionTarget.go api_op_UpdateAggregatorV2.go api_op_UpdateAutomationRuleV2.go api_op_UpdateConfigurationPolicy.go api_op_UpdateConnectorV2.go api_op_UpdateFindingAggregator.go api_op_UpdateFindings.go api_op_UpdateInsight.go api_op_UpdateOrganizationConfiguration.go api_op_UpdateSecurityControl.go api_op_UpdateSecurityHubConfiguration.go api_op_UpdateStandardsControl.go auth.go deserializers.go doc.go endpoints.go go_module_metadata.go options.go serializers.go validators.go

Directories

PathSynopsis
documentPackage document implements encoding and decoding of open-content that has a JSON-like data model.
internal
types
Version
v1.58.0 (latest)
Published
Jun 17, 2025
Platform
linux/amd64
Imports
47 packages
Last checked
2 weeks ago

Tools for package owners.