package guardduty
import "github.com/aws/aws-sdk-go-v2/service/guardduty"
Package guardduty provides the API client, operations, and parameter types for Amazon GuardDuty.
Amazon GuardDuty is a continuous security monitoring service that analyzes and processes the following data sources: VPC flow logs, Amazon Web Services CloudTrail management event logs, CloudTrail S3 data event logs, EKS audit logs, DNS logs, and Amazon EBS volume data. It uses threat intelligence feeds, such as lists of malicious IPs and domains, and machine learning to identify unexpected, potentially unauthorized, and malicious activity within your Amazon Web Services environment. This can include issues like escalations of privileges, uses of exposed credentials, or communication with malicious IPs, domains, or presence of malware on your Amazon EC2 instances and container workloads. For example, GuardDuty can detect compromised EC2 instances and container workloads serving malware, or mining bitcoin. GuardDuty also monitors Amazon Web Services account access behavior for signs of compromise, such as unauthorized infrastructure deployments like EC2 instances deployed in a Region that has never been used, or unusual API calls like a password policy change to reduce password strength. GuardDuty informs you about the status of your Amazon Web Services environment by producing security findings that you can view in the GuardDuty console or through Amazon EventBridge. For more information, see the Amazon GuardDuty User Guide (https://docs.aws.amazon.com/guardduty/latest/ug/what-is-guardduty.html) .
Index ¶
- Constants
- func NewDefaultEndpointResolver() *internalendpoints.Resolver
- func WithAPIOptions(optFns ...func(*middleware.Stack) error) func(*Options)
- func WithEndpointResolver(v EndpointResolver) func(*Options)
- type AcceptAdministratorInvitationInput
- type AcceptAdministratorInvitationOutput
- type AcceptInvitationInput
- type AcceptInvitationOutput
- type ArchiveFindingsInput
- type ArchiveFindingsOutput
- type Client
- func New(options Options, optFns ...func(*Options)) *Client
- func NewFromConfig(cfg aws.Config, optFns ...func(*Options)) *Client
- func (c *Client) AcceptAdministratorInvitation(ctx context.Context, params *AcceptAdministratorInvitationInput, optFns ...func(*Options)) (*AcceptAdministratorInvitationOutput, error)
- func (c *Client) AcceptInvitation(ctx context.Context, params *AcceptInvitationInput, optFns ...func(*Options)) (*AcceptInvitationOutput, error)
- func (c *Client) ArchiveFindings(ctx context.Context, params *ArchiveFindingsInput, optFns ...func(*Options)) (*ArchiveFindingsOutput, error)
- func (c *Client) CreateDetector(ctx context.Context, params *CreateDetectorInput, optFns ...func(*Options)) (*CreateDetectorOutput, error)
- func (c *Client) CreateFilter(ctx context.Context, params *CreateFilterInput, optFns ...func(*Options)) (*CreateFilterOutput, error)
- func (c *Client) CreateIPSet(ctx context.Context, params *CreateIPSetInput, optFns ...func(*Options)) (*CreateIPSetOutput, error)
- func (c *Client) CreateMembers(ctx context.Context, params *CreateMembersInput, optFns ...func(*Options)) (*CreateMembersOutput, error)
- func (c *Client) CreatePublishingDestination(ctx context.Context, params *CreatePublishingDestinationInput, optFns ...func(*Options)) (*CreatePublishingDestinationOutput, error)
- func (c *Client) CreateSampleFindings(ctx context.Context, params *CreateSampleFindingsInput, optFns ...func(*Options)) (*CreateSampleFindingsOutput, error)
- func (c *Client) CreateThreatIntelSet(ctx context.Context, params *CreateThreatIntelSetInput, optFns ...func(*Options)) (*CreateThreatIntelSetOutput, error)
- func (c *Client) DeclineInvitations(ctx context.Context, params *DeclineInvitationsInput, optFns ...func(*Options)) (*DeclineInvitationsOutput, error)
- func (c *Client) DeleteDetector(ctx context.Context, params *DeleteDetectorInput, optFns ...func(*Options)) (*DeleteDetectorOutput, error)
- func (c *Client) DeleteFilter(ctx context.Context, params *DeleteFilterInput, optFns ...func(*Options)) (*DeleteFilterOutput, error)
- func (c *Client) DeleteIPSet(ctx context.Context, params *DeleteIPSetInput, optFns ...func(*Options)) (*DeleteIPSetOutput, error)
- func (c *Client) DeleteInvitations(ctx context.Context, params *DeleteInvitationsInput, optFns ...func(*Options)) (*DeleteInvitationsOutput, error)
- func (c *Client) DeleteMembers(ctx context.Context, params *DeleteMembersInput, optFns ...func(*Options)) (*DeleteMembersOutput, error)
- func (c *Client) DeletePublishingDestination(ctx context.Context, params *DeletePublishingDestinationInput, optFns ...func(*Options)) (*DeletePublishingDestinationOutput, error)
- func (c *Client) DeleteThreatIntelSet(ctx context.Context, params *DeleteThreatIntelSetInput, optFns ...func(*Options)) (*DeleteThreatIntelSetOutput, error)
- func (c *Client) DescribeMalwareScans(ctx context.Context, params *DescribeMalwareScansInput, optFns ...func(*Options)) (*DescribeMalwareScansOutput, error)
- func (c *Client) DescribeOrganizationConfiguration(ctx context.Context, params *DescribeOrganizationConfigurationInput, optFns ...func(*Options)) (*DescribeOrganizationConfigurationOutput, error)
- func (c *Client) DescribePublishingDestination(ctx context.Context, params *DescribePublishingDestinationInput, optFns ...func(*Options)) (*DescribePublishingDestinationOutput, error)
- func (c *Client) DisableOrganizationAdminAccount(ctx context.Context, params *DisableOrganizationAdminAccountInput, optFns ...func(*Options)) (*DisableOrganizationAdminAccountOutput, error)
- func (c *Client) DisassociateFromAdministratorAccount(ctx context.Context, params *DisassociateFromAdministratorAccountInput, optFns ...func(*Options)) (*DisassociateFromAdministratorAccountOutput, error)
- func (c *Client) DisassociateFromMasterAccount(ctx context.Context, params *DisassociateFromMasterAccountInput, optFns ...func(*Options)) (*DisassociateFromMasterAccountOutput, error)
- func (c *Client) DisassociateMembers(ctx context.Context, params *DisassociateMembersInput, optFns ...func(*Options)) (*DisassociateMembersOutput, error)
- func (c *Client) EnableOrganizationAdminAccount(ctx context.Context, params *EnableOrganizationAdminAccountInput, optFns ...func(*Options)) (*EnableOrganizationAdminAccountOutput, error)
- func (c *Client) GetAdministratorAccount(ctx context.Context, params *GetAdministratorAccountInput, optFns ...func(*Options)) (*GetAdministratorAccountOutput, error)
- func (c *Client) GetCoverageStatistics(ctx context.Context, params *GetCoverageStatisticsInput, optFns ...func(*Options)) (*GetCoverageStatisticsOutput, error)
- func (c *Client) GetDetector(ctx context.Context, params *GetDetectorInput, optFns ...func(*Options)) (*GetDetectorOutput, error)
- func (c *Client) GetFilter(ctx context.Context, params *GetFilterInput, optFns ...func(*Options)) (*GetFilterOutput, error)
- func (c *Client) GetFindings(ctx context.Context, params *GetFindingsInput, optFns ...func(*Options)) (*GetFindingsOutput, error)
- func (c *Client) GetFindingsStatistics(ctx context.Context, params *GetFindingsStatisticsInput, optFns ...func(*Options)) (*GetFindingsStatisticsOutput, error)
- func (c *Client) GetIPSet(ctx context.Context, params *GetIPSetInput, optFns ...func(*Options)) (*GetIPSetOutput, error)
- func (c *Client) GetInvitationsCount(ctx context.Context, params *GetInvitationsCountInput, optFns ...func(*Options)) (*GetInvitationsCountOutput, error)
- func (c *Client) GetMalwareScanSettings(ctx context.Context, params *GetMalwareScanSettingsInput, optFns ...func(*Options)) (*GetMalwareScanSettingsOutput, error)
- func (c *Client) GetMasterAccount(ctx context.Context, params *GetMasterAccountInput, optFns ...func(*Options)) (*GetMasterAccountOutput, error)
- func (c *Client) GetMemberDetectors(ctx context.Context, params *GetMemberDetectorsInput, optFns ...func(*Options)) (*GetMemberDetectorsOutput, error)
- func (c *Client) GetMembers(ctx context.Context, params *GetMembersInput, optFns ...func(*Options)) (*GetMembersOutput, error)
- func (c *Client) GetRemainingFreeTrialDays(ctx context.Context, params *GetRemainingFreeTrialDaysInput, optFns ...func(*Options)) (*GetRemainingFreeTrialDaysOutput, error)
- func (c *Client) GetThreatIntelSet(ctx context.Context, params *GetThreatIntelSetInput, optFns ...func(*Options)) (*GetThreatIntelSetOutput, error)
- func (c *Client) GetUsageStatistics(ctx context.Context, params *GetUsageStatisticsInput, optFns ...func(*Options)) (*GetUsageStatisticsOutput, error)
- func (c *Client) InviteMembers(ctx context.Context, params *InviteMembersInput, optFns ...func(*Options)) (*InviteMembersOutput, error)
- func (c *Client) ListCoverage(ctx context.Context, params *ListCoverageInput, optFns ...func(*Options)) (*ListCoverageOutput, error)
- func (c *Client) ListDetectors(ctx context.Context, params *ListDetectorsInput, optFns ...func(*Options)) (*ListDetectorsOutput, error)
- func (c *Client) ListFilters(ctx context.Context, params *ListFiltersInput, optFns ...func(*Options)) (*ListFiltersOutput, error)
- func (c *Client) ListFindings(ctx context.Context, params *ListFindingsInput, optFns ...func(*Options)) (*ListFindingsOutput, error)
- func (c *Client) ListIPSets(ctx context.Context, params *ListIPSetsInput, optFns ...func(*Options)) (*ListIPSetsOutput, error)
- func (c *Client) ListInvitations(ctx context.Context, params *ListInvitationsInput, optFns ...func(*Options)) (*ListInvitationsOutput, error)
- func (c *Client) ListMembers(ctx context.Context, params *ListMembersInput, optFns ...func(*Options)) (*ListMembersOutput, error)
- func (c *Client) ListOrganizationAdminAccounts(ctx context.Context, params *ListOrganizationAdminAccountsInput, optFns ...func(*Options)) (*ListOrganizationAdminAccountsOutput, error)
- func (c *Client) ListPublishingDestinations(ctx context.Context, params *ListPublishingDestinationsInput, optFns ...func(*Options)) (*ListPublishingDestinationsOutput, error)
- func (c *Client) ListTagsForResource(ctx context.Context, params *ListTagsForResourceInput, optFns ...func(*Options)) (*ListTagsForResourceOutput, error)
- func (c *Client) ListThreatIntelSets(ctx context.Context, params *ListThreatIntelSetsInput, optFns ...func(*Options)) (*ListThreatIntelSetsOutput, error)
- func (c *Client) StartMalwareScan(ctx context.Context, params *StartMalwareScanInput, optFns ...func(*Options)) (*StartMalwareScanOutput, error)
- func (c *Client) StartMonitoringMembers(ctx context.Context, params *StartMonitoringMembersInput, optFns ...func(*Options)) (*StartMonitoringMembersOutput, error)
- func (c *Client) StopMonitoringMembers(ctx context.Context, params *StopMonitoringMembersInput, optFns ...func(*Options)) (*StopMonitoringMembersOutput, error)
- func (c *Client) TagResource(ctx context.Context, params *TagResourceInput, optFns ...func(*Options)) (*TagResourceOutput, error)
- func (c *Client) UnarchiveFindings(ctx context.Context, params *UnarchiveFindingsInput, optFns ...func(*Options)) (*UnarchiveFindingsOutput, error)
- func (c *Client) UntagResource(ctx context.Context, params *UntagResourceInput, optFns ...func(*Options)) (*UntagResourceOutput, error)
- func (c *Client) UpdateDetector(ctx context.Context, params *UpdateDetectorInput, optFns ...func(*Options)) (*UpdateDetectorOutput, error)
- func (c *Client) UpdateFilter(ctx context.Context, params *UpdateFilterInput, optFns ...func(*Options)) (*UpdateFilterOutput, error)
- func (c *Client) UpdateFindingsFeedback(ctx context.Context, params *UpdateFindingsFeedbackInput, optFns ...func(*Options)) (*UpdateFindingsFeedbackOutput, error)
- func (c *Client) UpdateIPSet(ctx context.Context, params *UpdateIPSetInput, optFns ...func(*Options)) (*UpdateIPSetOutput, error)
- func (c *Client) UpdateMalwareScanSettings(ctx context.Context, params *UpdateMalwareScanSettingsInput, optFns ...func(*Options)) (*UpdateMalwareScanSettingsOutput, error)
- func (c *Client) UpdateMemberDetectors(ctx context.Context, params *UpdateMemberDetectorsInput, optFns ...func(*Options)) (*UpdateMemberDetectorsOutput, error)
- func (c *Client) UpdateOrganizationConfiguration(ctx context.Context, params *UpdateOrganizationConfigurationInput, optFns ...func(*Options)) (*UpdateOrganizationConfigurationOutput, error)
- func (c *Client) UpdatePublishingDestination(ctx context.Context, params *UpdatePublishingDestinationInput, optFns ...func(*Options)) (*UpdatePublishingDestinationOutput, error)
- func (c *Client) UpdateThreatIntelSet(ctx context.Context, params *UpdateThreatIntelSetInput, optFns ...func(*Options)) (*UpdateThreatIntelSetOutput, error)
- type CreateDetectorInput
- type CreateDetectorOutput
- type CreateFilterInput
- type CreateFilterOutput
- type CreateIPSetInput
- type CreateIPSetOutput
- type CreateMembersInput
- type CreateMembersOutput
- type CreatePublishingDestinationInput
- type CreatePublishingDestinationOutput
- type CreateSampleFindingsInput
- type CreateSampleFindingsOutput
- type CreateThreatIntelSetInput
- type CreateThreatIntelSetOutput
- type DeclineInvitationsInput
- type DeclineInvitationsOutput
- type DeleteDetectorInput
- type DeleteDetectorOutput
- type DeleteFilterInput
- type DeleteFilterOutput
- type DeleteIPSetInput
- type DeleteIPSetOutput
- type DeleteInvitationsInput
- type DeleteInvitationsOutput
- type DeleteMembersInput
- type DeleteMembersOutput
- type DeletePublishingDestinationInput
- type DeletePublishingDestinationOutput
- type DeleteThreatIntelSetInput
- type DeleteThreatIntelSetOutput
- type DescribeMalwareScansAPIClient
- type DescribeMalwareScansInput
- type DescribeMalwareScansOutput
- type DescribeMalwareScansPaginator
- func NewDescribeMalwareScansPaginator(client DescribeMalwareScansAPIClient, params *DescribeMalwareScansInput, optFns ...func(*DescribeMalwareScansPaginatorOptions)) *DescribeMalwareScansPaginator
- func (p *DescribeMalwareScansPaginator) HasMorePages() bool
- func (p *DescribeMalwareScansPaginator) NextPage(ctx context.Context, optFns ...func(*Options)) (*DescribeMalwareScansOutput, error)
- type DescribeMalwareScansPaginatorOptions
- type DescribeOrganizationConfigurationAPIClient
- type DescribeOrganizationConfigurationInput
- type DescribeOrganizationConfigurationOutput
- type DescribeOrganizationConfigurationPaginator
- func NewDescribeOrganizationConfigurationPaginator(client DescribeOrganizationConfigurationAPIClient, params *DescribeOrganizationConfigurationInput, optFns ...func(*DescribeOrganizationConfigurationPaginatorOptions)) *DescribeOrganizationConfigurationPaginator
- func (p *DescribeOrganizationConfigurationPaginator) HasMorePages() bool
- func (p *DescribeOrganizationConfigurationPaginator) NextPage(ctx context.Context, optFns ...func(*Options)) (*DescribeOrganizationConfigurationOutput, error)
- type DescribeOrganizationConfigurationPaginatorOptions
- type DescribePublishingDestinationInput
- type DescribePublishingDestinationOutput
- type DisableOrganizationAdminAccountInput
- type DisableOrganizationAdminAccountOutput
- type DisassociateFromAdministratorAccountInput
- type DisassociateFromAdministratorAccountOutput
- type DisassociateFromMasterAccountInput
- type DisassociateFromMasterAccountOutput
- type DisassociateMembersInput
- type DisassociateMembersOutput
- type EnableOrganizationAdminAccountInput
- type EnableOrganizationAdminAccountOutput
- type EndpointResolver
- type EndpointResolverFunc
- type EndpointResolverOptions
- type GetAdministratorAccountInput
- type GetAdministratorAccountOutput
- type GetCoverageStatisticsInput
- type GetCoverageStatisticsOutput
- type GetDetectorInput
- type GetDetectorOutput
- type GetFilterInput
- type GetFilterOutput
- type GetFindingsInput
- type GetFindingsOutput
- type GetFindingsStatisticsInput
- type GetFindingsStatisticsOutput
- type GetIPSetInput
- type GetIPSetOutput
- type GetInvitationsCountInput
- type GetInvitationsCountOutput
- type GetMalwareScanSettingsInput
- type GetMalwareScanSettingsOutput
- type GetMasterAccountInput
- type GetMasterAccountOutput
- type GetMemberDetectorsInput
- type GetMemberDetectorsOutput
- type GetMembersInput
- type GetMembersOutput
- type GetRemainingFreeTrialDaysInput
- type GetRemainingFreeTrialDaysOutput
- type GetThreatIntelSetInput
- type GetThreatIntelSetOutput
- type GetUsageStatisticsAPIClient
- type GetUsageStatisticsInput
- type GetUsageStatisticsOutput
- type GetUsageStatisticsPaginator
- func NewGetUsageStatisticsPaginator(client GetUsageStatisticsAPIClient, params *GetUsageStatisticsInput, optFns ...func(*GetUsageStatisticsPaginatorOptions)) *GetUsageStatisticsPaginator
- func (p *GetUsageStatisticsPaginator) HasMorePages() bool
- func (p *GetUsageStatisticsPaginator) NextPage(ctx context.Context, optFns ...func(*Options)) (*GetUsageStatisticsOutput, error)
- type GetUsageStatisticsPaginatorOptions
- type HTTPClient
- type HTTPSignerV4
- type IdempotencyTokenProvider
- type InviteMembersInput
- type InviteMembersOutput
- type ListCoverageAPIClient
- type ListCoverageInput
- type ListCoverageOutput
- type ListCoveragePaginator
- func NewListCoveragePaginator(client ListCoverageAPIClient, params *ListCoverageInput, optFns ...func(*ListCoveragePaginatorOptions)) *ListCoveragePaginator
- func (p *ListCoveragePaginator) HasMorePages() bool
- func (p *ListCoveragePaginator) NextPage(ctx context.Context, optFns ...func(*Options)) (*ListCoverageOutput, error)
- type ListCoveragePaginatorOptions
- type ListDetectorsAPIClient
- type ListDetectorsInput
- type ListDetectorsOutput
- type ListDetectorsPaginator
- func NewListDetectorsPaginator(client ListDetectorsAPIClient, params *ListDetectorsInput, optFns ...func(*ListDetectorsPaginatorOptions)) *ListDetectorsPaginator
- func (p *ListDetectorsPaginator) HasMorePages() bool
- func (p *ListDetectorsPaginator) NextPage(ctx context.Context, optFns ...func(*Options)) (*ListDetectorsOutput, error)
- type ListDetectorsPaginatorOptions
- type ListFiltersAPIClient
- type ListFiltersInput
- type ListFiltersOutput
- type ListFiltersPaginator
- func NewListFiltersPaginator(client ListFiltersAPIClient, params *ListFiltersInput, optFns ...func(*ListFiltersPaginatorOptions)) *ListFiltersPaginator
- func (p *ListFiltersPaginator) HasMorePages() bool
- func (p *ListFiltersPaginator) NextPage(ctx context.Context, optFns ...func(*Options)) (*ListFiltersOutput, error)
- type ListFiltersPaginatorOptions
- type ListFindingsAPIClient
- type ListFindingsInput
- type ListFindingsOutput
- type ListFindingsPaginator
- func NewListFindingsPaginator(client ListFindingsAPIClient, params *ListFindingsInput, optFns ...func(*ListFindingsPaginatorOptions)) *ListFindingsPaginator
- func (p *ListFindingsPaginator) HasMorePages() bool
- func (p *ListFindingsPaginator) NextPage(ctx context.Context, optFns ...func(*Options)) (*ListFindingsOutput, error)
- type ListFindingsPaginatorOptions
- type ListIPSetsAPIClient
- type ListIPSetsInput
- type ListIPSetsOutput
- type ListIPSetsPaginator
- func NewListIPSetsPaginator(client ListIPSetsAPIClient, params *ListIPSetsInput, optFns ...func(*ListIPSetsPaginatorOptions)) *ListIPSetsPaginator
- func (p *ListIPSetsPaginator) HasMorePages() bool
- func (p *ListIPSetsPaginator) NextPage(ctx context.Context, optFns ...func(*Options)) (*ListIPSetsOutput, error)
- type ListIPSetsPaginatorOptions
- type ListInvitationsAPIClient
- type ListInvitationsInput
- type ListInvitationsOutput
- type ListInvitationsPaginator
- func NewListInvitationsPaginator(client ListInvitationsAPIClient, params *ListInvitationsInput, optFns ...func(*ListInvitationsPaginatorOptions)) *ListInvitationsPaginator
- func (p *ListInvitationsPaginator) HasMorePages() bool
- func (p *ListInvitationsPaginator) NextPage(ctx context.Context, optFns ...func(*Options)) (*ListInvitationsOutput, error)
- type ListInvitationsPaginatorOptions
- type ListMembersAPIClient
- type ListMembersInput
- type ListMembersOutput
- type ListMembersPaginator
- func NewListMembersPaginator(client ListMembersAPIClient, params *ListMembersInput, optFns ...func(*ListMembersPaginatorOptions)) *ListMembersPaginator
- func (p *ListMembersPaginator) HasMorePages() bool
- func (p *ListMembersPaginator) NextPage(ctx context.Context, optFns ...func(*Options)) (*ListMembersOutput, error)
- type ListMembersPaginatorOptions
- type ListOrganizationAdminAccountsAPIClient
- type ListOrganizationAdminAccountsInput
- type ListOrganizationAdminAccountsOutput
- type ListOrganizationAdminAccountsPaginator
- func NewListOrganizationAdminAccountsPaginator(client ListOrganizationAdminAccountsAPIClient, params *ListOrganizationAdminAccountsInput, optFns ...func(*ListOrganizationAdminAccountsPaginatorOptions)) *ListOrganizationAdminAccountsPaginator
- func (p *ListOrganizationAdminAccountsPaginator) HasMorePages() bool
- func (p *ListOrganizationAdminAccountsPaginator) NextPage(ctx context.Context, optFns ...func(*Options)) (*ListOrganizationAdminAccountsOutput, error)
- type ListOrganizationAdminAccountsPaginatorOptions
- type ListPublishingDestinationsAPIClient
- type ListPublishingDestinationsInput
- type ListPublishingDestinationsOutput
- type ListPublishingDestinationsPaginator
- func NewListPublishingDestinationsPaginator(client ListPublishingDestinationsAPIClient, params *ListPublishingDestinationsInput, optFns ...func(*ListPublishingDestinationsPaginatorOptions)) *ListPublishingDestinationsPaginator
- func (p *ListPublishingDestinationsPaginator) HasMorePages() bool
- func (p *ListPublishingDestinationsPaginator) NextPage(ctx context.Context, optFns ...func(*Options)) (*ListPublishingDestinationsOutput, error)
- type ListPublishingDestinationsPaginatorOptions
- type ListTagsForResourceInput
- type ListTagsForResourceOutput
- type ListThreatIntelSetsAPIClient
- type ListThreatIntelSetsInput
- type ListThreatIntelSetsOutput
- type ListThreatIntelSetsPaginator
- func NewListThreatIntelSetsPaginator(client ListThreatIntelSetsAPIClient, params *ListThreatIntelSetsInput, optFns ...func(*ListThreatIntelSetsPaginatorOptions)) *ListThreatIntelSetsPaginator
- func (p *ListThreatIntelSetsPaginator) HasMorePages() bool
- func (p *ListThreatIntelSetsPaginator) NextPage(ctx context.Context, optFns ...func(*Options)) (*ListThreatIntelSetsOutput, error)
- type ListThreatIntelSetsPaginatorOptions
- type Options
- type ResolveEndpoint
- func (m *ResolveEndpoint) HandleSerialize(ctx context.Context, in middleware.SerializeInput, next middleware.SerializeHandler) ( out middleware.SerializeOutput, metadata middleware.Metadata, err error, )
- func (*ResolveEndpoint) ID() string
- type StartMalwareScanInput
- type StartMalwareScanOutput
- type StartMonitoringMembersInput
- type StartMonitoringMembersOutput
- type StopMonitoringMembersInput
- type StopMonitoringMembersOutput
- type TagResourceInput
- type TagResourceOutput
- type UnarchiveFindingsInput
- type UnarchiveFindingsOutput
- type UntagResourceInput
- type UntagResourceOutput
- type UpdateDetectorInput
- type UpdateDetectorOutput
- type UpdateFilterInput
- type UpdateFilterOutput
- type UpdateFindingsFeedbackInput
- type UpdateFindingsFeedbackOutput
- type UpdateIPSetInput
- type UpdateIPSetOutput
- type UpdateMalwareScanSettingsInput
- type UpdateMalwareScanSettingsOutput
- type UpdateMemberDetectorsInput
- type UpdateMemberDetectorsOutput
- type UpdateOrganizationConfigurationInput
- type UpdateOrganizationConfigurationOutput
- type UpdatePublishingDestinationInput
- type UpdatePublishingDestinationOutput
- type UpdateThreatIntelSetInput
- type UpdateThreatIntelSetOutput
Constants ¶
const ServiceAPIVersion = "2017-11-28"
const ServiceID = "GuardDuty"
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)
WithEndpointResolver returns a functional option for setting the Client's EndpointResolver option.
Types ¶
type AcceptAdministratorInvitationInput ¶
type AcceptAdministratorInvitationInput struct { // The account ID of the GuardDuty administrator account whose invitation you're // accepting. // // This member is required. AdministratorId *string // The unique ID of the detector of the GuardDuty member account. // // This member is required. DetectorId *string // The value that is used to validate the administrator account to the member // 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 unique ID of the detector of the GuardDuty member account. // // This member is required. DetectorId *string // The value that is used to validate the administrator account to the member // account. // // This member is required. InvitationId *string // The account ID of the GuardDuty administrator account whose invitation you're // accepting. // // 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 ArchiveFindingsInput ¶
type ArchiveFindingsInput struct { // The ID of the detector that specifies the GuardDuty service whose findings you // want to archive. // // This member is required. DetectorId *string // The IDs of the findings that you want to archive. // // This member is required. FindingIds []string // contains filtered or unexported fields }
type ArchiveFindingsOutput ¶
type ArchiveFindingsOutput struct { // 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 Amazon GuardDuty.
func New ¶
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 ¶
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)
Accepts the invitation to be a member account and get monitored by a GuardDuty administrator account that sent the invitation.
func (*Client) AcceptInvitation ¶
func (c *Client) AcceptInvitation(ctx context.Context, params *AcceptInvitationInput, optFns ...func(*Options)) (*AcceptInvitationOutput, error)
Accepts the invitation to be monitored by a GuardDuty administrator account.
Deprecated: This operation is deprecated, use AcceptAdministratorInvitation instead
func (*Client) ArchiveFindings ¶
func (c *Client) ArchiveFindings(ctx context.Context, params *ArchiveFindingsInput, optFns ...func(*Options)) (*ArchiveFindingsOutput, error)
Archives GuardDuty findings that are specified by the list of finding IDs. Only the administrator account can archive findings. Member accounts don't have permission to archive findings from their accounts.
func (*Client) CreateDetector ¶
func (c *Client) CreateDetector(ctx context.Context, params *CreateDetectorInput, optFns ...func(*Options)) (*CreateDetectorOutput, error)
Creates a single Amazon GuardDuty detector. A detector is a resource that represents the GuardDuty service. To start using GuardDuty, you must create a detector in each Region where you enable the service. You can have only one detector per account per Region. All data sources are enabled in a new detector by default. There might be regional differences because some data sources might not be available in all the Amazon Web Services Regions where GuardDuty is presently supported. For more information, see Regions and endpoints (https://docs.aws.amazon.com/guardduty/latest/ug/guardduty_regions.html) .
func (*Client) CreateFilter ¶
func (c *Client) CreateFilter(ctx context.Context, params *CreateFilterInput, optFns ...func(*Options)) (*CreateFilterOutput, error)
Creates a filter using the specified finding criteria. The maximum number of saved filters per Amazon Web Services account per Region is 100. For more information, see Quotas for GuardDuty (https://docs.aws.amazon.com/guardduty/latest/ug/guardduty_limits.html) .
func (*Client) CreateIPSet ¶
func (c *Client) CreateIPSet(ctx context.Context, params *CreateIPSetInput, optFns ...func(*Options)) (*CreateIPSetOutput, error)
Creates a new IPSet, which is called a trusted IP list in the console user interface. An IPSet is a list of IP addresses that are trusted for secure communication with Amazon Web Services infrastructure and applications. GuardDuty doesn't generate findings for IP addresses that are included in IPSets. Only users from the administrator account can use this operation.
func (*Client) CreateMembers ¶
func (c *Client) CreateMembers(ctx context.Context, params *CreateMembersInput, optFns ...func(*Options)) (*CreateMembersOutput, error)
Creates member accounts of the current Amazon Web Services account by specifying a list of Amazon Web Services account IDs. This step is a prerequisite for managing the associated member accounts either by invitation or through an organization. When using Create Members as an organizations delegated administrator this action will enable GuardDuty in the added member accounts, with the exception of the organization delegated administrator account, which must enable GuardDuty prior to being added as a member. If you are adding accounts by invitation, use this action after GuardDuty has bee enabled in potential member accounts and before using InviteMembers (https://docs.aws.amazon.com/guardduty/latest/APIReference/API_InviteMembers.html) .
func (*Client) CreatePublishingDestination ¶
func (c *Client) CreatePublishingDestination(ctx context.Context, params *CreatePublishingDestinationInput, optFns ...func(*Options)) (*CreatePublishingDestinationOutput, error)
Creates a publishing destination to export findings to. The resource to export findings to must exist before you use this operation.
func (*Client) CreateSampleFindings ¶
func (c *Client) CreateSampleFindings(ctx context.Context, params *CreateSampleFindingsInput, optFns ...func(*Options)) (*CreateSampleFindingsOutput, error)
Generates sample findings of types specified by the list of finding types. If 'NULL' is specified for findingTypes , the API generates sample findings of all supported finding types.
func (*Client) CreateThreatIntelSet ¶
func (c *Client) CreateThreatIntelSet(ctx context.Context, params *CreateThreatIntelSetInput, optFns ...func(*Options)) (*CreateThreatIntelSetOutput, error)
Creates a new ThreatIntelSet. ThreatIntelSets consist of known malicious IP addresses. GuardDuty generates findings based on ThreatIntelSets. Only users of the administrator account can use this operation.
func (*Client) DeclineInvitations ¶
func (c *Client) DeclineInvitations(ctx context.Context, params *DeclineInvitationsInput, optFns ...func(*Options)) (*DeclineInvitationsOutput, error)
Declines invitations sent to the current member account by Amazon Web Services accounts specified by their account IDs.
func (*Client) DeleteDetector ¶
func (c *Client) DeleteDetector(ctx context.Context, params *DeleteDetectorInput, optFns ...func(*Options)) (*DeleteDetectorOutput, error)
Deletes an Amazon GuardDuty detector that is specified by the detector ID.
func (*Client) DeleteFilter ¶
func (c *Client) DeleteFilter(ctx context.Context, params *DeleteFilterInput, optFns ...func(*Options)) (*DeleteFilterOutput, error)
Deletes the filter specified by the filter name.
func (*Client) DeleteIPSet ¶
func (c *Client) DeleteIPSet(ctx context.Context, params *DeleteIPSetInput, optFns ...func(*Options)) (*DeleteIPSetOutput, error)
Deletes the IPSet specified by the ipSetId . IPSets are called trusted IP lists in the console user interface.
func (*Client) DeleteInvitations ¶
func (c *Client) DeleteInvitations(ctx context.Context, params *DeleteInvitationsInput, optFns ...func(*Options)) (*DeleteInvitationsOutput, error)
Deletes invitations sent to the current member account by Amazon Web Services accounts specified by their account IDs.
func (*Client) DeleteMembers ¶
func (c *Client) DeleteMembers(ctx context.Context, params *DeleteMembersInput, optFns ...func(*Options)) (*DeleteMembersOutput, error)
Deletes GuardDuty member accounts (to the current GuardDuty administrator account) specified by the account IDs. With autoEnableOrganizationMembers configuration for your organization set to ALL , you'll receive an error if you attempt to disable GuardDuty for a member account in your organization.
func (*Client) DeletePublishingDestination ¶
func (c *Client) DeletePublishingDestination(ctx context.Context, params *DeletePublishingDestinationInput, optFns ...func(*Options)) (*DeletePublishingDestinationOutput, error)
Deletes the publishing definition with the specified destinationId .
func (*Client) DeleteThreatIntelSet ¶
func (c *Client) DeleteThreatIntelSet(ctx context.Context, params *DeleteThreatIntelSetInput, optFns ...func(*Options)) (*DeleteThreatIntelSetOutput, error)
Deletes the ThreatIntelSet specified by the ThreatIntelSet ID.
func (*Client) DescribeMalwareScans ¶
func (c *Client) DescribeMalwareScans(ctx context.Context, params *DescribeMalwareScansInput, optFns ...func(*Options)) (*DescribeMalwareScansOutput, error)
Returns a list of malware scans. Each member account can view the malware scans for their own accounts. An administrator can view the malware scans for all the member accounts. There might be regional differences because some data sources might not be available in all the Amazon Web Services Regions where GuardDuty is presently supported. For more information, see Regions and endpoints (https://docs.aws.amazon.com/guardduty/latest/ug/guardduty_regions.html) .
func (*Client) DescribeOrganizationConfiguration ¶
func (c *Client) DescribeOrganizationConfiguration(ctx context.Context, params *DescribeOrganizationConfigurationInput, optFns ...func(*Options)) (*DescribeOrganizationConfigurationOutput, error)
Returns information about the account selected as the delegated administrator for GuardDuty. There might be regional differences because some data sources might not be available in all the Amazon Web Services Regions where GuardDuty is presently supported. For more information, see Regions and endpoints (https://docs.aws.amazon.com/guardduty/latest/ug/guardduty_regions.html) .
func (*Client) DescribePublishingDestination ¶
func (c *Client) DescribePublishingDestination(ctx context.Context, params *DescribePublishingDestinationInput, optFns ...func(*Options)) (*DescribePublishingDestinationOutput, error)
Returns information about the publishing destination specified by the provided destinationId .
func (*Client) DisableOrganizationAdminAccount ¶
func (c *Client) DisableOrganizationAdminAccount(ctx context.Context, params *DisableOrganizationAdminAccountInput, optFns ...func(*Options)) (*DisableOrganizationAdminAccountOutput, error)
Disables an Amazon Web Services account within the Organization as the GuardDuty delegated administrator.
func (*Client) DisassociateFromAdministratorAccount ¶
func (c *Client) DisassociateFromAdministratorAccount(ctx context.Context, params *DisassociateFromAdministratorAccountInput, optFns ...func(*Options)) (*DisassociateFromAdministratorAccountOutput, error)
Disassociates the current GuardDuty member account from its administrator account. With autoEnableOrganizationMembers configuration for your organization set to ALL , you'll receive an error if you attempt to disable GuardDuty in a member account.
func (*Client) DisassociateFromMasterAccount ¶
func (c *Client) DisassociateFromMasterAccount(ctx context.Context, params *DisassociateFromMasterAccountInput, optFns ...func(*Options)) (*DisassociateFromMasterAccountOutput, error)
Disassociates the current GuardDuty member account from its administrator account.
Deprecated: This operation is deprecated, use DisassociateFromAdministratorAccount instead
func (*Client) DisassociateMembers ¶
func (c *Client) DisassociateMembers(ctx context.Context, params *DisassociateMembersInput, optFns ...func(*Options)) (*DisassociateMembersOutput, error)
Disassociates GuardDuty member accounts (to the current administrator account) specified by the account IDs. With autoEnableOrganizationMembers configuration for your organization set to ALL , you'll receive an error if you attempt to disassociate a member account before removing them from your Amazon Web Services organization.
func (*Client) EnableOrganizationAdminAccount ¶
func (c *Client) EnableOrganizationAdminAccount(ctx context.Context, params *EnableOrganizationAdminAccountInput, optFns ...func(*Options)) (*EnableOrganizationAdminAccountOutput, error)
Enables an Amazon Web Services account within the organization as the GuardDuty delegated administrator.
func (*Client) GetAdministratorAccount ¶
func (c *Client) GetAdministratorAccount(ctx context.Context, params *GetAdministratorAccountInput, optFns ...func(*Options)) (*GetAdministratorAccountOutput, error)
Provides the details for the GuardDuty administrator account associated with the current GuardDuty member account.
func (*Client) GetCoverageStatistics ¶
func (c *Client) GetCoverageStatistics(ctx context.Context, params *GetCoverageStatisticsInput, optFns ...func(*Options)) (*GetCoverageStatisticsOutput, error)
Retrieves aggregated statistics for your account. If you are a GuardDuty administrator, you can retrieve the statistics for all the resources associated with the active member accounts in your organization who have enabled EKS Runtime Monitoring and have the GuardDuty agent running on their EKS nodes.
func (*Client) GetDetector ¶
func (c *Client) GetDetector(ctx context.Context, params *GetDetectorInput, optFns ...func(*Options)) (*GetDetectorOutput, error)
Retrieves an Amazon GuardDuty detector specified by the detectorId. There might be regional differences because some data sources might not be available in all the Amazon Web Services Regions where GuardDuty is presently supported. For more information, see Regions and endpoints (https://docs.aws.amazon.com/guardduty/latest/ug/guardduty_regions.html) .
func (*Client) GetFilter ¶
func (c *Client) GetFilter(ctx context.Context, params *GetFilterInput, optFns ...func(*Options)) (*GetFilterOutput, error)
Returns the details of the filter specified by the filter name.
func (*Client) GetFindings ¶
func (c *Client) GetFindings(ctx context.Context, params *GetFindingsInput, optFns ...func(*Options)) (*GetFindingsOutput, error)
Describes Amazon GuardDuty findings specified by finding IDs.
func (*Client) GetFindingsStatistics ¶
func (c *Client) GetFindingsStatistics(ctx context.Context, params *GetFindingsStatisticsInput, optFns ...func(*Options)) (*GetFindingsStatisticsOutput, error)
Lists Amazon GuardDuty findings statistics for the specified detector ID.
func (*Client) GetIPSet ¶
func (c *Client) GetIPSet(ctx context.Context, params *GetIPSetInput, optFns ...func(*Options)) (*GetIPSetOutput, error)
Retrieves the IPSet specified by the ipSetId .
func (*Client) GetInvitationsCount ¶
func (c *Client) GetInvitationsCount(ctx context.Context, params *GetInvitationsCountInput, optFns ...func(*Options)) (*GetInvitationsCountOutput, error)
Returns the count of all GuardDuty membership invitations that were sent to the current member account except the currently accepted invitation.
func (*Client) GetMalwareScanSettings ¶
func (c *Client) GetMalwareScanSettings(ctx context.Context, params *GetMalwareScanSettingsInput, optFns ...func(*Options)) (*GetMalwareScanSettingsOutput, error)
Returns the details of the malware scan settings. There might be regional differences because some data sources might not be available in all the Amazon Web Services Regions where GuardDuty is presently supported. For more information, see Regions and endpoints (https://docs.aws.amazon.com/guardduty/latest/ug/guardduty_regions.html) .
func (*Client) GetMasterAccount ¶
func (c *Client) GetMasterAccount(ctx context.Context, params *GetMasterAccountInput, optFns ...func(*Options)) (*GetMasterAccountOutput, error)
Provides the details for the GuardDuty administrator account associated with the current GuardDuty member account.
Deprecated: This operation is deprecated, use GetAdministratorAccount instead
func (*Client) GetMemberDetectors ¶
func (c *Client) GetMemberDetectors(ctx context.Context, params *GetMemberDetectorsInput, optFns ...func(*Options)) (*GetMemberDetectorsOutput, error)
Describes which data sources are enabled for the member account's detector. There might be regional differences because some data sources might not be available in all the Amazon Web Services Regions where GuardDuty is presently supported. For more information, see Regions and endpoints (https://docs.aws.amazon.com/guardduty/latest/ug/guardduty_regions.html) .
func (*Client) GetMembers ¶
func (c *Client) GetMembers(ctx context.Context, params *GetMembersInput, optFns ...func(*Options)) (*GetMembersOutput, error)
Retrieves GuardDuty member accounts (of the current GuardDuty administrator account) specified by the account IDs.
func (*Client) GetRemainingFreeTrialDays ¶
func (c *Client) GetRemainingFreeTrialDays(ctx context.Context, params *GetRemainingFreeTrialDaysInput, optFns ...func(*Options)) (*GetRemainingFreeTrialDaysOutput, error)
Provides the number of days left for each data source used in the free trial period.
func (*Client) GetThreatIntelSet ¶
func (c *Client) GetThreatIntelSet(ctx context.Context, params *GetThreatIntelSetInput, optFns ...func(*Options)) (*GetThreatIntelSetOutput, error)
Retrieves the ThreatIntelSet that is specified by the ThreatIntelSet ID.
func (*Client) GetUsageStatistics ¶
func (c *Client) GetUsageStatistics(ctx context.Context, params *GetUsageStatisticsInput, optFns ...func(*Options)) (*GetUsageStatisticsOutput, error)
Lists Amazon GuardDuty usage statistics over the last 30 days for the specified detector ID. For newly enabled detectors or data sources, the cost returned will include only the usage so far under 30 days. This may differ from the cost metrics in the console, which project usage over 30 days to provide a monthly cost estimate. For more information, see Understanding How Usage Costs are Calculated (https://docs.aws.amazon.com/guardduty/latest/ug/monitoring_costs.html#usage-calculations) .
func (*Client) InviteMembers ¶
func (c *Client) InviteMembers(ctx context.Context, params *InviteMembersInput, optFns ...func(*Options)) (*InviteMembersOutput, error)
Invites other Amazon Web Services accounts (created as members of the current Amazon Web Services account by CreateMembers) to enable GuardDuty, and allow the current Amazon Web Services account to view and manage these accounts' findings on their behalf as the GuardDuty administrator account.
func (*Client) ListCoverage ¶
func (c *Client) ListCoverage(ctx context.Context, params *ListCoverageInput, optFns ...func(*Options)) (*ListCoverageOutput, error)
Lists coverage details for your GuardDuty account. If you're a GuardDuty administrator, you can retrieve all resources associated with the active member accounts in your organization. Make sure the accounts have EKS Runtime Monitoring enabled and GuardDuty agent running on their EKS nodes.
func (*Client) ListDetectors ¶
func (c *Client) ListDetectors(ctx context.Context, params *ListDetectorsInput, optFns ...func(*Options)) (*ListDetectorsOutput, error)
Lists detectorIds of all the existing Amazon GuardDuty detector resources.
func (*Client) ListFilters ¶
func (c *Client) ListFilters(ctx context.Context, params *ListFiltersInput, optFns ...func(*Options)) (*ListFiltersOutput, error)
Returns a paginated list of the current filters.
func (*Client) ListFindings ¶
func (c *Client) ListFindings(ctx context.Context, params *ListFindingsInput, optFns ...func(*Options)) (*ListFindingsOutput, error)
Lists Amazon GuardDuty findings for the specified detector ID.
func (*Client) ListIPSets ¶
func (c *Client) ListIPSets(ctx context.Context, params *ListIPSetsInput, optFns ...func(*Options)) (*ListIPSetsOutput, error)
Lists the IPSets of the GuardDuty service specified by the detector ID. If you use this operation from a member account, the IPSets returned are the IPSets from the associated administrator account.
func (*Client) ListInvitations ¶
func (c *Client) ListInvitations(ctx context.Context, params *ListInvitationsInput, optFns ...func(*Options)) (*ListInvitationsOutput, error)
Lists all GuardDuty membership invitations that were sent to the current Amazon Web Services account.
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 GuardDuty administrator account.
func (*Client) ListOrganizationAdminAccounts ¶
func (c *Client) ListOrganizationAdminAccounts(ctx context.Context, params *ListOrganizationAdminAccountsInput, optFns ...func(*Options)) (*ListOrganizationAdminAccountsOutput, error)
Lists the accounts configured as GuardDuty delegated administrators.
func (*Client) ListPublishingDestinations ¶
func (c *Client) ListPublishingDestinations(ctx context.Context, params *ListPublishingDestinationsInput, optFns ...func(*Options)) (*ListPublishingDestinationsOutput, error)
Returns a list of publishing destinations associated with the specified detectorId .
func (*Client) ListTagsForResource ¶
func (c *Client) ListTagsForResource(ctx context.Context, params *ListTagsForResourceInput, optFns ...func(*Options)) (*ListTagsForResourceOutput, error)
Lists tags for a resource. Tagging is currently supported for detectors, finding filters, IP sets, and threat intel sets, with a limit of 50 tags per resource. When invoked, this operation returns all assigned tags for a given resource.
func (*Client) ListThreatIntelSets ¶
func (c *Client) ListThreatIntelSets(ctx context.Context, params *ListThreatIntelSetsInput, optFns ...func(*Options)) (*ListThreatIntelSetsOutput, error)
Lists the ThreatIntelSets of the GuardDuty service specified by the detector ID. If you use this operation from a member account, the ThreatIntelSets associated with the administrator account are returned.
func (*Client) StartMalwareScan ¶
func (c *Client) StartMalwareScan(ctx context.Context, params *StartMalwareScanInput, optFns ...func(*Options)) (*StartMalwareScanOutput, error)
Initiates the malware scan. Invoking this API will automatically create the Service-linked role (https://docs.aws.amazon.com/guardduty/latest/ug/slr-permissions-malware-protection.html) in the corresponding account.
func (*Client) StartMonitoringMembers ¶
func (c *Client) StartMonitoringMembers(ctx context.Context, params *StartMonitoringMembersInput, optFns ...func(*Options)) (*StartMonitoringMembersOutput, error)
Turns on GuardDuty monitoring of the specified member accounts. Use this operation to restart monitoring of accounts that you stopped monitoring with the StopMonitoringMembers (https://docs.aws.amazon.com/guardduty/latest/APIReference/API_StopMonitoringMembers.html) operation.
func (*Client) StopMonitoringMembers ¶
func (c *Client) StopMonitoringMembers(ctx context.Context, params *StopMonitoringMembersInput, optFns ...func(*Options)) (*StopMonitoringMembersOutput, error)
Stops GuardDuty monitoring for the specified member accounts. Use the StartMonitoringMembers operation to restart monitoring for those accounts. With autoEnableOrganizationMembers configuration for your organization set to ALL , you'll receive an error if you attempt to stop monitoring the member accounts in your organization.
func (*Client) TagResource ¶
func (c *Client) TagResource(ctx context.Context, params *TagResourceInput, optFns ...func(*Options)) (*TagResourceOutput, error)
Adds tags to a resource.
func (*Client) UnarchiveFindings ¶
func (c *Client) UnarchiveFindings(ctx context.Context, params *UnarchiveFindingsInput, optFns ...func(*Options)) (*UnarchiveFindingsOutput, error)
Unarchives GuardDuty findings specified by the findingIds .
func (*Client) UntagResource ¶
func (c *Client) UntagResource(ctx context.Context, params *UntagResourceInput, optFns ...func(*Options)) (*UntagResourceOutput, error)
Removes tags from a resource.
func (*Client) UpdateDetector ¶
func (c *Client) UpdateDetector(ctx context.Context, params *UpdateDetectorInput, optFns ...func(*Options)) (*UpdateDetectorOutput, error)
Updates the Amazon GuardDuty detector specified by the detectorId. There might be regional differences because some data sources might not be available in all the Amazon Web Services Regions where GuardDuty is presently supported. For more information, see Regions and endpoints (https://docs.aws.amazon.com/guardduty/latest/ug/guardduty_regions.html) .
func (*Client) UpdateFilter ¶
func (c *Client) UpdateFilter(ctx context.Context, params *UpdateFilterInput, optFns ...func(*Options)) (*UpdateFilterOutput, error)
Updates the filter specified by the filter name.
func (*Client) UpdateFindingsFeedback ¶
func (c *Client) UpdateFindingsFeedback(ctx context.Context, params *UpdateFindingsFeedbackInput, optFns ...func(*Options)) (*UpdateFindingsFeedbackOutput, error)
Marks the specified GuardDuty findings as useful or not useful.
func (*Client) UpdateIPSet ¶
func (c *Client) UpdateIPSet(ctx context.Context, params *UpdateIPSetInput, optFns ...func(*Options)) (*UpdateIPSetOutput, error)
Updates the IPSet specified by the IPSet ID.
func (*Client) UpdateMalwareScanSettings ¶
func (c *Client) UpdateMalwareScanSettings(ctx context.Context, params *UpdateMalwareScanSettingsInput, optFns ...func(*Options)) (*UpdateMalwareScanSettingsOutput, error)
Updates the malware scan settings. There might be regional differences because some data sources might not be available in all the Amazon Web Services Regions where GuardDuty is presently supported. For more information, see Regions and endpoints (https://docs.aws.amazon.com/guardduty/latest/ug/guardduty_regions.html) .
func (*Client) UpdateMemberDetectors ¶
func (c *Client) UpdateMemberDetectors(ctx context.Context, params *UpdateMemberDetectorsInput, optFns ...func(*Options)) (*UpdateMemberDetectorsOutput, error)
Contains information on member accounts to be updated. There might be regional differences because some data sources might not be available in all the Amazon Web Services Regions where GuardDuty is presently supported. For more information, see Regions and endpoints (https://docs.aws.amazon.com/guardduty/latest/ug/guardduty_regions.html) .
func (*Client) UpdateOrganizationConfiguration ¶
func (c *Client) UpdateOrganizationConfiguration(ctx context.Context, params *UpdateOrganizationConfigurationInput, optFns ...func(*Options)) (*UpdateOrganizationConfigurationOutput, error)
Configures the delegated administrator account with the provided values. You must provide the value for either autoEnableOrganizationMembers or autoEnable . There might be regional differences because some data sources might not be available in all the Amazon Web Services Regions where GuardDuty is presently supported. For more information, see Regions and endpoints (https://docs.aws.amazon.com/guardduty/latest/ug/guardduty_regions.html) .
func (*Client) UpdatePublishingDestination ¶
func (c *Client) UpdatePublishingDestination(ctx context.Context, params *UpdatePublishingDestinationInput, optFns ...func(*Options)) (*UpdatePublishingDestinationOutput, error)
Updates information about the publishing destination specified by the destinationId .
func (*Client) UpdateThreatIntelSet ¶
func (c *Client) UpdateThreatIntelSet(ctx context.Context, params *UpdateThreatIntelSetInput, optFns ...func(*Options)) (*UpdateThreatIntelSetOutput, error)
Updates the ThreatIntelSet specified by the ThreatIntelSet ID.
type CreateDetectorInput ¶
type CreateDetectorInput struct { // A Boolean value that specifies whether the detector is to be enabled. // // This member is required. Enable bool // The idempotency token for the create request. ClientToken *string // Describes which data sources will be enabled for the detector. There might be // regional differences because some data sources might not be available in all the // Amazon Web Services Regions where GuardDuty is presently supported. For more // information, see Regions and endpoints (https://docs.aws.amazon.com/guardduty/latest/ug/guardduty_regions.html) // . // // Deprecated: This parameter is deprecated, use Features instead DataSources *types.DataSourceConfigurations // A list of features that will be configured for the detector. Features []types.DetectorFeatureConfiguration // A value that specifies how frequently updated findings are exported. FindingPublishingFrequency types.FindingPublishingFrequency // The tags to be added to a new detector resource. Tags map[string]string // contains filtered or unexported fields }
type CreateDetectorOutput ¶
type CreateDetectorOutput struct { // The unique ID of the created detector. DetectorId *string // Specifies the data sources that couldn't be enabled when GuardDuty was enabled // for the first time. UnprocessedDataSources *types.UnprocessedDataSourcesResult // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type CreateFilterInput ¶
type CreateFilterInput struct { // The ID of the detector belonging to the GuardDuty account that you want to // create a filter for. // // This member is required. DetectorId *string // Represents the criteria to be used in the filter for querying findings. You can // only use the following attributes to query findings: // - accountId // - region // - id // - resource.accessKeyDetails.accessKeyId // - resource.accessKeyDetails.principalId // - resource.accessKeyDetails.userName // - resource.accessKeyDetails.userType // - resource.instanceDetails.iamInstanceProfile.id // - resource.instanceDetails.imageId // - resource.instanceDetails.instanceId // - resource.instanceDetails.outpostArn // - resource.instanceDetails.networkInterfaces.ipv6Addresses // - // resource.instanceDetails.networkInterfaces.privateIpAddresses.privateIpAddress // - resource.instanceDetails.networkInterfaces.publicDnsName // - resource.instanceDetails.networkInterfaces.publicIp // - resource.instanceDetails.networkInterfaces.securityGroups.groupId // - resource.instanceDetails.networkInterfaces.securityGroups.groupName // - resource.instanceDetails.networkInterfaces.subnetId // - resource.instanceDetails.networkInterfaces.vpcId // - resource.instanceDetails.tags.key // - resource.instanceDetails.tags.value // - resource.resourceType // - service.action.actionType // - service.action.awsApiCallAction.api // - service.action.awsApiCallAction.callerType // - service.action.awsApiCallAction.errorCode // - service.action.awsApiCallAction.userAgent // - service.action.awsApiCallAction.remoteIpDetails.city.cityName // - service.action.awsApiCallAction.remoteIpDetails.country.countryName // - service.action.awsApiCallAction.remoteIpDetails.ipAddressV4 // - service.action.awsApiCallAction.remoteIpDetails.organization.asn // - service.action.awsApiCallAction.remoteIpDetails.organization.asnOrg // - service.action.awsApiCallAction.serviceName // - service.action.dnsRequestAction.domain // - service.action.networkConnectionAction.blocked // - service.action.networkConnectionAction.connectionDirection // - service.action.networkConnectionAction.localPortDetails.port // - service.action.networkConnectionAction.protocol // - service.action.networkConnectionAction.localIpDetails.ipAddressV4 // - service.action.networkConnectionAction.remoteIpDetails.city.cityName // - service.action.networkConnectionAction.remoteIpDetails.country.countryName // - service.action.networkConnectionAction.remoteIpDetails.ipAddressV4 // - service.action.networkConnectionAction.remoteIpDetails.organization.asn // - service.action.networkConnectionAction.remoteIpDetails.organization.asnOrg // - service.action.networkConnectionAction.remotePortDetails.port // - service.additionalInfo.threatListName // - resource.s3BucketDetails.publicAccess.effectivePermissions // - resource.s3BucketDetails.name // - resource.s3BucketDetails.tags.key // - resource.s3BucketDetails.tags.value // - resource.s3BucketDetails.type // - service.resourceRole // - severity // - type // - updatedAt Type: ISO 8601 string format: YYYY-MM-DDTHH:MM:SS.SSSZ or // YYYY-MM-DDTHH:MM:SSZ depending on whether the value contains milliseconds. // // This member is required. FindingCriteria *types.FindingCriteria // The name of the filter. Valid characters include period (.), underscore (_), // dash (-), and alphanumeric characters. A whitespace is considered to be an // invalid character. // // This member is required. Name *string // Specifies the action that is to be applied to the findings that match the // filter. Action types.FilterAction // The idempotency token for the create request. ClientToken *string // The description of the filter. Valid characters include alphanumeric // characters, and special characters such as hyphen, period, colon, underscore, // parentheses ( { } , [ ] , and ( ) ), forward slash, horizontal tab, vertical // tab, newline, form feed, return, and whitespace. Description *string // Specifies the position of the filter in the list of current filters. Also // specifies the order in which this filter is applied to the findings. Rank int32 // The tags to be added to a new filter resource. Tags map[string]string // contains filtered or unexported fields }
type CreateFilterOutput ¶
type CreateFilterOutput struct { // The name of the successfully created filter. // // This member is required. Name *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type CreateIPSetInput ¶
type CreateIPSetInput struct { // A Boolean value that indicates whether GuardDuty is to start using the uploaded // IPSet. // // This member is required. Activate bool // The unique ID of the detector of the GuardDuty account that you want to create // an IPSet for. // // This member is required. DetectorId *string // The format of the file that contains the IPSet. // // This member is required. Format types.IpSetFormat // The URI of the file that contains the IPSet. // // This member is required. Location *string // The user-friendly name to identify the IPSet. Allowed characters are // alphanumeric, whitespace, dash (-), and underscores (_). // // This member is required. Name *string // The idempotency token for the create request. ClientToken *string // The tags to be added to a new IP set resource. Tags map[string]string // contains filtered or unexported fields }
type CreateIPSetOutput ¶
type CreateIPSetOutput struct { // The ID of the IPSet resource. // // This member is required. IpSetId *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type CreateMembersInput ¶
type CreateMembersInput struct { // A list of account ID and email address pairs of the accounts that you want to // associate with the GuardDuty administrator account. // // This member is required. AccountDetails []types.AccountDetail // The unique ID of the detector of the GuardDuty account that you want to // associate member accounts with. // // This member is required. DetectorId *string // contains filtered or unexported fields }
type CreateMembersOutput ¶
type CreateMembersOutput struct { // A list of objects that include the accountIds of the unprocessed accounts and a // result string that explains why each was unprocessed. // // This member is required. UnprocessedAccounts []types.UnprocessedAccount // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type CreatePublishingDestinationInput ¶
type CreatePublishingDestinationInput struct { // The properties of the publishing destination, including the ARNs for the // destination and the KMS key used for encryption. // // This member is required. DestinationProperties *types.DestinationProperties // The type of resource for the publishing destination. Currently only Amazon S3 // buckets are supported. // // This member is required. DestinationType types.DestinationType // The ID of the GuardDuty detector associated with the publishing destination. // // This member is required. DetectorId *string // The idempotency token for the request. ClientToken *string // contains filtered or unexported fields }
type CreatePublishingDestinationOutput ¶
type CreatePublishingDestinationOutput struct { // The ID of the publishing destination that is created. // // This member is required. DestinationId *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type CreateSampleFindingsInput ¶
type CreateSampleFindingsInput struct { // The ID of the detector to create sample findings for. // // This member is required. DetectorId *string // The types of sample findings to generate. FindingTypes []string // contains filtered or unexported fields }
type CreateSampleFindingsOutput ¶
type CreateSampleFindingsOutput struct { // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type CreateThreatIntelSetInput ¶
type CreateThreatIntelSetInput struct { // A Boolean value that indicates whether GuardDuty is to start using the uploaded // ThreatIntelSet. // // This member is required. Activate bool // The unique ID of the detector of the GuardDuty account that you want to create // a threatIntelSet for. // // This member is required. DetectorId *string // The format of the file that contains the ThreatIntelSet. // // This member is required. Format types.ThreatIntelSetFormat // The URI of the file that contains the ThreatIntelSet. // // This member is required. Location *string // A user-friendly ThreatIntelSet name displayed in all findings that are // generated by activity that involves IP addresses included in this // ThreatIntelSet. // // This member is required. Name *string // The idempotency token for the create request. ClientToken *string // The tags to be added to a new threat list resource. Tags map[string]string // contains filtered or unexported fields }
type CreateThreatIntelSetOutput ¶
type CreateThreatIntelSetOutput struct { // The ID of the ThreatIntelSet resource. // // This member is required. ThreatIntelSetId *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type DeclineInvitationsInput ¶
type DeclineInvitationsInput struct { // A list of account IDs of the Amazon Web Services accounts that sent invitations // to the current member account that you want to decline invitations from. // // This member is required. AccountIds []string // contains filtered or unexported fields }
type DeclineInvitationsOutput ¶
type DeclineInvitationsOutput struct { // A list of objects that contain the unprocessed account and a result string that // explains why it was unprocessed. // // This member is required. UnprocessedAccounts []types.UnprocessedAccount // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type DeleteDetectorInput ¶
type DeleteDetectorInput struct { // The unique ID of the detector that you want to delete. // // This member is required. DetectorId *string // contains filtered or unexported fields }
type DeleteDetectorOutput ¶
type DeleteDetectorOutput struct { // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type DeleteFilterInput ¶
type DeleteFilterInput struct { // The unique ID of the detector that the filter is associated with. // // This member is required. DetectorId *string // The name of the filter that you want to delete. // // This member is required. FilterName *string // contains filtered or unexported fields }
type DeleteFilterOutput ¶
type DeleteFilterOutput struct { // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type DeleteIPSetInput ¶
type DeleteIPSetInput struct { // The unique ID of the detector associated with the IPSet. // // This member is required. DetectorId *string // The unique ID of the IPSet to delete. // // This member is required. IpSetId *string // contains filtered or unexported fields }
type DeleteIPSetOutput ¶
type DeleteIPSetOutput struct { // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type DeleteInvitationsInput ¶
type DeleteInvitationsInput struct { // A list of account IDs of the Amazon Web Services accounts that sent invitations // to the current member account that you want to delete invitations from. // // This member is required. AccountIds []string // contains filtered or unexported fields }
type DeleteInvitationsOutput ¶
type DeleteInvitationsOutput struct { // A list of objects that contain the unprocessed account and a result string that // explains why it was unprocessed. // // This member is required. UnprocessedAccounts []types.UnprocessedAccount // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type DeleteMembersInput ¶
type DeleteMembersInput struct { // A list of account IDs of the GuardDuty member accounts that you want to delete. // // This member is required. AccountIds []string // The unique ID of the detector of the GuardDuty account whose members you want // to delete. // // This member is required. DetectorId *string // contains filtered or unexported fields }
type DeleteMembersOutput ¶
type DeleteMembersOutput struct { // The accounts that could not be processed. // // This member is required. UnprocessedAccounts []types.UnprocessedAccount // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type DeletePublishingDestinationInput ¶
type DeletePublishingDestinationInput struct { // The ID of the publishing destination to delete. // // This member is required. DestinationId *string // The unique ID of the detector associated with the publishing destination to // delete. // // This member is required. DetectorId *string // contains filtered or unexported fields }
type DeletePublishingDestinationOutput ¶
type DeletePublishingDestinationOutput struct { // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type DeleteThreatIntelSetInput ¶
type DeleteThreatIntelSetInput struct { // The unique ID of the detector that the threatIntelSet is associated with. // // This member is required. DetectorId *string // The unique ID of the threatIntelSet that you want to delete. // // This member is required. ThreatIntelSetId *string // contains filtered or unexported fields }
type DeleteThreatIntelSetOutput ¶
type DeleteThreatIntelSetOutput struct { // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type DescribeMalwareScansAPIClient ¶
type DescribeMalwareScansAPIClient interface { DescribeMalwareScans(context.Context, *DescribeMalwareScansInput, ...func(*Options)) (*DescribeMalwareScansOutput, error) }
DescribeMalwareScansAPIClient is a client that implements the DescribeMalwareScans operation.
type DescribeMalwareScansInput ¶
type DescribeMalwareScansInput struct { // The unique ID of the detector that the request is associated with. // // This member is required. DetectorId *string // Represents the criteria to be used in the filter for describing scan entries. FilterCriteria *types.FilterCriteria // You can use this parameter to indicate the maximum number of items that you // want in the response. The default value is 50. The maximum value is 50. MaxResults int32 // You can use this parameter when paginating results. Set the value of this // parameter to null on your first call to the list action. For subsequent calls to // the action, fill nextToken in the request with the value of NextToken from the // previous response to continue listing data. NextToken *string // Represents the criteria used for sorting scan entries. The attributeName (https://docs.aws.amazon.com/guardduty/latest/APIReference/API_SortCriteria.html#guardduty-Type-SortCriteria-attributeName) // is required and it must be scanStartTime . SortCriteria *types.SortCriteria // contains filtered or unexported fields }
type DescribeMalwareScansOutput ¶
type DescribeMalwareScansOutput struct { // Contains information about malware scans. // // This member is required. Scans []types.Scan // The pagination parameter to be used on the next list operation to retrieve more // items. NextToken *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type DescribeMalwareScansPaginator ¶
type DescribeMalwareScansPaginator struct {
// contains filtered or unexported fields
}
DescribeMalwareScansPaginator is a paginator for DescribeMalwareScans
func NewDescribeMalwareScansPaginator ¶
func NewDescribeMalwareScansPaginator(client DescribeMalwareScansAPIClient, params *DescribeMalwareScansInput, optFns ...func(*DescribeMalwareScansPaginatorOptions)) *DescribeMalwareScansPaginator
NewDescribeMalwareScansPaginator returns a new DescribeMalwareScansPaginator
func (*DescribeMalwareScansPaginator) HasMorePages ¶
func (p *DescribeMalwareScansPaginator) HasMorePages() bool
HasMorePages returns a boolean indicating whether more pages are available
func (*DescribeMalwareScansPaginator) NextPage ¶
func (p *DescribeMalwareScansPaginator) NextPage(ctx context.Context, optFns ...func(*Options)) (*DescribeMalwareScansOutput, error)
NextPage retrieves the next DescribeMalwareScans page.
type DescribeMalwareScansPaginatorOptions ¶
type DescribeMalwareScansPaginatorOptions struct { // You can use this parameter to indicate the maximum number of items that you // want in the response. The default value is 50. The maximum value is 50. 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 }
DescribeMalwareScansPaginatorOptions is the paginator options for DescribeMalwareScans
type DescribeOrganizationConfigurationAPIClient ¶
type DescribeOrganizationConfigurationAPIClient interface { DescribeOrganizationConfiguration(context.Context, *DescribeOrganizationConfigurationInput, ...func(*Options)) (*DescribeOrganizationConfigurationOutput, error) }
DescribeOrganizationConfigurationAPIClient is a client that implements the DescribeOrganizationConfiguration operation.
type DescribeOrganizationConfigurationInput ¶
type DescribeOrganizationConfigurationInput struct { // The ID of the detector to retrieve information about the delegated // administrator from. // // This member is required. DetectorId *string // You can use this parameter to indicate the maximum number of items that you // want in the response. MaxResults int32 // You can use this parameter when paginating results. Set the value of this // parameter to null on your first call to the list action. For subsequent calls to // the action, fill nextToken in the request with the value of NextToken from the // previous response to continue listing data. NextToken *string // contains filtered or unexported fields }
type DescribeOrganizationConfigurationOutput ¶
type DescribeOrganizationConfigurationOutput struct { // Indicates whether the maximum number of allowed member accounts are already // associated with the delegated administrator account for your organization. // // This member is required. MemberAccountLimitReached bool // Indicates whether GuardDuty is automatically enabled for accounts added to the // organization. Even though this is still supported, we recommend using // AutoEnableOrganizationMembers to achieve the similar results. // // Deprecated: This field is deprecated, use AutoEnableOrganizationMembers instead AutoEnable bool // Indicates the auto-enablement configuration of GuardDuty for the member // accounts in the organization. // - NEW : Indicates that when a new account joins the organization, they will // have GuardDuty enabled automatically. // - ALL : Indicates that all accounts in the Amazon Web Services Organization // have GuardDuty enabled automatically. This includes NEW accounts that join the // organization and accounts that may have been suspended or removed from the // organization in GuardDuty. // - NONE : Indicates that GuardDuty will not be automatically enabled for any // accounts in the organization. GuardDuty must be managed for each account // individually by the administrator. AutoEnableOrganizationMembers types.AutoEnableMembers // Describes which data sources are enabled automatically for member accounts. // // Deprecated: This parameter is deprecated, use Features instead DataSources *types.OrganizationDataSourceConfigurationsResult // A list of features that are configured for this organization. Features []types.OrganizationFeatureConfigurationResult // The pagination parameter to be used on the next list operation to retrieve more // items. NextToken *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type DescribeOrganizationConfigurationPaginator ¶
type DescribeOrganizationConfigurationPaginator struct {
// contains filtered or unexported fields
}
DescribeOrganizationConfigurationPaginator is a paginator for DescribeOrganizationConfiguration
func NewDescribeOrganizationConfigurationPaginator ¶
func NewDescribeOrganizationConfigurationPaginator(client DescribeOrganizationConfigurationAPIClient, params *DescribeOrganizationConfigurationInput, optFns ...func(*DescribeOrganizationConfigurationPaginatorOptions)) *DescribeOrganizationConfigurationPaginator
NewDescribeOrganizationConfigurationPaginator returns a new DescribeOrganizationConfigurationPaginator
func (*DescribeOrganizationConfigurationPaginator) HasMorePages ¶
func (p *DescribeOrganizationConfigurationPaginator) HasMorePages() bool
HasMorePages returns a boolean indicating whether more pages are available
func (*DescribeOrganizationConfigurationPaginator) NextPage ¶
func (p *DescribeOrganizationConfigurationPaginator) NextPage(ctx context.Context, optFns ...func(*Options)) (*DescribeOrganizationConfigurationOutput, error)
NextPage retrieves the next DescribeOrganizationConfiguration page.
type DescribeOrganizationConfigurationPaginatorOptions ¶
type DescribeOrganizationConfigurationPaginatorOptions struct { // You can use this parameter to indicate the maximum number of items that you // want 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 }
DescribeOrganizationConfigurationPaginatorOptions is the paginator options for DescribeOrganizationConfiguration
type DescribePublishingDestinationInput ¶
type DescribePublishingDestinationInput struct { // The ID of the publishing destination to retrieve. // // This member is required. DestinationId *string // The unique ID of the detector associated with the publishing destination to // retrieve. // // This member is required. DetectorId *string // contains filtered or unexported fields }
type DescribePublishingDestinationOutput ¶
type DescribePublishingDestinationOutput struct { // The ID of the publishing destination. // // This member is required. DestinationId *string // A DestinationProperties object that includes the DestinationArn and KmsKeyArn // of the publishing destination. // // This member is required. DestinationProperties *types.DestinationProperties // The type of publishing destination. Currently, only Amazon S3 buckets are // supported. // // This member is required. DestinationType types.DestinationType // The time, in epoch millisecond format, at which GuardDuty was first unable to // publish findings to the destination. // // This member is required. PublishingFailureStartTimestamp int64 // The status of the publishing destination. // // This member is required. Status types.PublishingStatus // 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 ID for the organizations account to be disabled // as a GuardDuty delegated administrator. // // This member is required. AdminAccountId *string // 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 DisassociateFromAdministratorAccountInput ¶
type DisassociateFromAdministratorAccountInput struct { // The unique ID of the detector of the GuardDuty member account. // // This member is required. DetectorId *string // 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 { // The unique ID of the detector of the GuardDuty member account. // // This member is required. DetectorId *string // 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 { // A list of account IDs of the GuardDuty member accounts that you want to // disassociate from the administrator account. // // This member is required. AccountIds []string // The unique ID of the detector of the GuardDuty account whose members you want // to disassociate from the administrator account. // // This member is required. DetectorId *string // contains filtered or unexported fields }
type DisassociateMembersOutput ¶
type DisassociateMembersOutput struct { // A list of objects that contain the unprocessed account and a result string that // explains why it was unprocessed. // // This member is required. UnprocessedAccounts []types.UnprocessedAccount // 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 ID for the organization account to be enabled // as a GuardDuty delegated administrator. // // This member is required. AdminAccountId *string // contains filtered or unexported fields }
type EnableOrganizationAdminAccountOutput ¶
type EnableOrganizationAdminAccountOutput struct { // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
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 GetAdministratorAccountInput ¶
type GetAdministratorAccountInput struct { // The unique ID of the detector of the GuardDuty member account. // // This member is required. DetectorId *string // contains filtered or unexported fields }
type GetAdministratorAccountOutput ¶
type GetAdministratorAccountOutput struct { // The administrator account details. // // This member is required. Administrator *types.Administrator // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type GetCoverageStatisticsInput ¶
type GetCoverageStatisticsInput struct { // The unique ID of the GuardDuty detector associated to the coverage statistics. // // This member is required. DetectorId *string // Represents the statistics type used to aggregate the coverage details. // // This member is required. StatisticsType []types.CoverageStatisticsType // Represents the criteria used to filter the coverage statistics FilterCriteria *types.CoverageFilterCriteria // contains filtered or unexported fields }
type GetCoverageStatisticsOutput ¶
type GetCoverageStatisticsOutput struct { // Represents the count aggregated by the statusCode and resourceType . CoverageStatistics *types.CoverageStatistics // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type GetDetectorInput ¶
type GetDetectorInput struct { // The unique ID of the detector that you want to get. // // This member is required. DetectorId *string // contains filtered or unexported fields }
type GetDetectorOutput ¶
type GetDetectorOutput struct { // The GuardDuty service role. // // This member is required. ServiceRole *string // The detector status. // // This member is required. Status types.DetectorStatus // The timestamp of when the detector was created. CreatedAt *string // Describes which data sources are enabled for the detector. // // Deprecated: This parameter is deprecated, use Features instead DataSources *types.DataSourceConfigurationsResult // Describes the features that have been enabled for the detector. Features []types.DetectorFeatureConfigurationResult // The publishing frequency of the finding. FindingPublishingFrequency types.FindingPublishingFrequency // The tags of the detector resource. Tags map[string]string // The last-updated timestamp for the detector. UpdatedAt *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type GetFilterInput ¶
type GetFilterInput struct { // The unique ID of the detector that the filter is associated with. // // This member is required. DetectorId *string // The name of the filter you want to get. // // This member is required. FilterName *string // contains filtered or unexported fields }
type GetFilterOutput ¶
type GetFilterOutput struct { // Specifies the action that is to be applied to the findings that match the // filter. // // This member is required. Action types.FilterAction // Represents the criteria to be used in the filter for querying findings. // // This member is required. FindingCriteria *types.FindingCriteria // The name of the filter. // // This member is required. Name *string // The description of the filter. Description *string // Specifies the position of the filter in the list of current filters. Also // specifies the order in which this filter is applied to the findings. Rank int32 // The tags of the filter resource. Tags map[string]string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type GetFindingsInput ¶
type GetFindingsInput struct { // The ID of the detector that specifies the GuardDuty service whose findings you // want to retrieve. // // This member is required. DetectorId *string // The IDs of the findings that you want to retrieve. // // This member is required. FindingIds []string // Represents the criteria used for sorting findings. SortCriteria *types.SortCriteria // contains filtered or unexported fields }
type GetFindingsOutput ¶
type GetFindingsOutput struct { // A list of findings. // // This member is required. Findings []types.Finding // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type GetFindingsStatisticsInput ¶
type GetFindingsStatisticsInput struct { // The ID of the detector that specifies the GuardDuty service whose findings' // statistics you want to retrieve. // // This member is required. DetectorId *string // The types of finding statistics to retrieve. // // This member is required. FindingStatisticTypes []types.FindingStatisticType // Represents the criteria that is used for querying findings. FindingCriteria *types.FindingCriteria // contains filtered or unexported fields }
type GetFindingsStatisticsOutput ¶
type GetFindingsStatisticsOutput struct { // The finding statistics object. // // This member is required. FindingStatistics *types.FindingStatistics // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type GetIPSetInput ¶
type GetIPSetInput struct { // The unique ID of the detector that the IPSet is associated with. // // This member is required. DetectorId *string // The unique ID of the IPSet to retrieve. // // This member is required. IpSetId *string // contains filtered or unexported fields }
type GetIPSetOutput ¶
type GetIPSetOutput struct { // The format of the file that contains the IPSet. // // This member is required. Format types.IpSetFormat // The URI of the file that contains the IPSet. // // This member is required. Location *string // The user-friendly name for the IPSet. // // This member is required. Name *string // The status of IPSet file that was uploaded. // // This member is required. Status types.IpSetStatus // The tags of the IPSet resource. Tags map[string]string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type GetInvitationsCountInput ¶
type GetInvitationsCountInput struct {
// contains filtered or unexported fields
}
type GetInvitationsCountOutput ¶
type GetInvitationsCountOutput struct { // The number of received invitations. InvitationsCount int32 // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type GetMalwareScanSettingsInput ¶
type GetMalwareScanSettingsInput struct { // The unique ID of the detector that the scan setting is associated with. // // This member is required. DetectorId *string // contains filtered or unexported fields }
type GetMalwareScanSettingsOutput ¶
type GetMalwareScanSettingsOutput struct { // An enum value representing possible snapshot preservation settings. EbsSnapshotPreservation types.EbsSnapshotPreservation // Represents the criteria to be used in the filter for scanning resources. ScanResourceCriteria *types.ScanResourceCriteria // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type GetMasterAccountInput ¶
type GetMasterAccountInput struct { // The unique ID of the detector of the GuardDuty member account. // // This member is required. DetectorId *string // contains filtered or unexported fields }
type GetMasterAccountOutput ¶
type GetMasterAccountOutput struct { // The administrator account details. // // This member is required. Master *types.Master // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type GetMemberDetectorsInput ¶
type GetMemberDetectorsInput struct { // The account ID of the member account. // // This member is required. AccountIds []string // The detector ID for the administrator account. // // This member is required. DetectorId *string // contains filtered or unexported fields }
type GetMemberDetectorsOutput ¶
type GetMemberDetectorsOutput struct { // An object that describes which data sources are enabled for a member account. // // This member is required. MemberDataSourceConfigurations []types.MemberDataSourceConfiguration // A list of member account IDs that were unable to be processed along with an // explanation for why they were not processed. // // This member is required. UnprocessedAccounts []types.UnprocessedAccount // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type GetMembersInput ¶
type GetMembersInput struct { // A list of account IDs of the GuardDuty member accounts that you want to // describe. // // This member is required. AccountIds []string // The unique ID of the detector of the GuardDuty account whose members you want // to retrieve. // // This member is required. DetectorId *string // contains filtered or unexported fields }
type GetMembersOutput ¶
type GetMembersOutput struct { // A list of members. // // This member is required. Members []types.Member // A list of objects that contain the unprocessed account and a result string that // explains why it was unprocessed. // // This member is required. UnprocessedAccounts []types.UnprocessedAccount // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type GetRemainingFreeTrialDaysInput ¶
type GetRemainingFreeTrialDaysInput struct { // The unique ID of the detector of the GuardDuty member account. // // This member is required. DetectorId *string // A list of account identifiers of the GuardDuty member account. AccountIds []string // contains filtered or unexported fields }
type GetRemainingFreeTrialDaysOutput ¶
type GetRemainingFreeTrialDaysOutput struct { // The member accounts which were included in a request and were processed // successfully. Accounts []types.AccountFreeTrialInfo // The member account that was included in a request but for which the request // could not be processed. UnprocessedAccounts []types.UnprocessedAccount // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type GetThreatIntelSetInput ¶
type GetThreatIntelSetInput struct { // The unique ID of the detector that the threatIntelSet is associated with. // // This member is required. DetectorId *string // The unique ID of the threatIntelSet that you want to get. // // This member is required. ThreatIntelSetId *string // contains filtered or unexported fields }
type GetThreatIntelSetOutput ¶
type GetThreatIntelSetOutput struct { // The format of the threatIntelSet. // // This member is required. Format types.ThreatIntelSetFormat // The URI of the file that contains the ThreatIntelSet. // // This member is required. Location *string // A user-friendly ThreatIntelSet name displayed in all findings that are // generated by activity that involves IP addresses included in this // ThreatIntelSet. // // This member is required. Name *string // The status of threatIntelSet file uploaded. // // This member is required. Status types.ThreatIntelSetStatus // The tags of the threat list resource. Tags map[string]string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type GetUsageStatisticsAPIClient ¶
type GetUsageStatisticsAPIClient interface { GetUsageStatistics(context.Context, *GetUsageStatisticsInput, ...func(*Options)) (*GetUsageStatisticsOutput, error) }
GetUsageStatisticsAPIClient is a client that implements the GetUsageStatistics operation.
type GetUsageStatisticsInput ¶
type GetUsageStatisticsInput struct { // The ID of the detector that specifies the GuardDuty service whose usage // statistics you want to retrieve. // // This member is required. DetectorId *string // Represents the criteria used for querying usage. // // This member is required. UsageCriteria *types.UsageCriteria // The type of usage statistics to retrieve. // // This member is required. UsageStatisticType types.UsageStatisticType // The maximum number of results to return in the response. MaxResults int32 // A token to use for paginating results that are returned in the response. Set // the value of this parameter to null for the first request to a list action. For // subsequent calls, use the NextToken value returned from the previous request to // continue listing results after the first page. NextToken *string // The currency unit you would like to view your usage statistics in. Current // valid values are USD. Unit *string // contains filtered or unexported fields }
type GetUsageStatisticsOutput ¶
type GetUsageStatisticsOutput struct { // The pagination parameter to be used on the next list operation to retrieve more // items. NextToken *string // The usage statistics object. If a UsageStatisticType was provided, the objects // representing other types will be null. UsageStatistics *types.UsageStatistics // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type GetUsageStatisticsPaginator ¶
type GetUsageStatisticsPaginator struct {
// contains filtered or unexported fields
}
GetUsageStatisticsPaginator is a paginator for GetUsageStatistics
func NewGetUsageStatisticsPaginator ¶
func NewGetUsageStatisticsPaginator(client GetUsageStatisticsAPIClient, params *GetUsageStatisticsInput, optFns ...func(*GetUsageStatisticsPaginatorOptions)) *GetUsageStatisticsPaginator
NewGetUsageStatisticsPaginator returns a new GetUsageStatisticsPaginator
func (*GetUsageStatisticsPaginator) HasMorePages ¶
func (p *GetUsageStatisticsPaginator) HasMorePages() bool
HasMorePages returns a boolean indicating whether more pages are available
func (*GetUsageStatisticsPaginator) NextPage ¶
func (p *GetUsageStatisticsPaginator) NextPage(ctx context.Context, optFns ...func(*Options)) (*GetUsageStatisticsOutput, error)
NextPage retrieves the next GetUsageStatistics page.
type GetUsageStatisticsPaginatorOptions ¶
type GetUsageStatisticsPaginatorOptions 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 }
GetUsageStatisticsPaginatorOptions is the paginator options for GetUsageStatistics
type HTTPClient ¶
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 ¶
IdempotencyTokenProvider interface for providing idempotency token
type InviteMembersInput ¶
type InviteMembersInput struct { // A list of account IDs of the accounts that you want to invite to GuardDuty as // members. // // This member is required. AccountIds []string // The unique ID of the detector of the GuardDuty account that you want to invite // members with. // // This member is required. DetectorId *string // A Boolean value that specifies whether you want to disable email notification // to the accounts that you are inviting to GuardDuty as members. DisableEmailNotification bool // The invitation message that you want to send to the accounts that you're // inviting to GuardDuty as members. Message *string // contains filtered or unexported fields }
type InviteMembersOutput ¶
type InviteMembersOutput struct { // A list of objects that contain the unprocessed account and a result string that // explains why it was unprocessed. // // This member is required. UnprocessedAccounts []types.UnprocessedAccount // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type ListCoverageAPIClient ¶
type ListCoverageAPIClient interface { ListCoverage(context.Context, *ListCoverageInput, ...func(*Options)) (*ListCoverageOutput, error) }
ListCoverageAPIClient is a client that implements the ListCoverage operation.
type ListCoverageInput ¶
type ListCoverageInput struct { // The unique ID of the detector whose coverage details you want to retrieve. // // This member is required. DetectorId *string // Represents the criteria used to filter the coverage details. FilterCriteria *types.CoverageFilterCriteria // The maximum number of results to return in the response. MaxResults int32 // A token to use for paginating results that are returned in the response. Set // the value of this parameter to null for the first request to a list action. For // subsequent calls, use the NextToken value returned from the previous request to // continue listing results after the first page. NextToken *string // Represents the criteria used to sort the coverage details. SortCriteria *types.CoverageSortCriteria // contains filtered or unexported fields }
type ListCoverageOutput ¶
type ListCoverageOutput struct { // A list of resources and their attributes providing cluster details. // // This member is required. Resources []types.CoverageResource // The pagination parameter to be used on the next list operation to retrieve more // items. NextToken *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type ListCoveragePaginator ¶
type ListCoveragePaginator struct {
// contains filtered or unexported fields
}
ListCoveragePaginator is a paginator for ListCoverage
func NewListCoveragePaginator ¶
func NewListCoveragePaginator(client ListCoverageAPIClient, params *ListCoverageInput, optFns ...func(*ListCoveragePaginatorOptions)) *ListCoveragePaginator
NewListCoveragePaginator returns a new ListCoveragePaginator
func (*ListCoveragePaginator) HasMorePages ¶
func (p *ListCoveragePaginator) HasMorePages() bool
HasMorePages returns a boolean indicating whether more pages are available
func (*ListCoveragePaginator) NextPage ¶
func (p *ListCoveragePaginator) NextPage(ctx context.Context, optFns ...func(*Options)) (*ListCoverageOutput, error)
NextPage retrieves the next ListCoverage page.
type ListCoveragePaginatorOptions ¶
type ListCoveragePaginatorOptions 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 }
ListCoveragePaginatorOptions is the paginator options for ListCoverage
type ListDetectorsAPIClient ¶
type ListDetectorsAPIClient interface { ListDetectors(context.Context, *ListDetectorsInput, ...func(*Options)) (*ListDetectorsOutput, error) }
ListDetectorsAPIClient is a client that implements the ListDetectors operation.
type ListDetectorsInput ¶
type ListDetectorsInput struct { // You can use this parameter to indicate the maximum number of items that you // want in the response. The default value is 50. The maximum value is 50. MaxResults int32 // You can use this parameter when paginating results. Set the value of this // parameter to null on your first call to the list action. For subsequent calls to // the action, fill nextToken in the request with the value of NextToken from the // previous response to continue listing data. NextToken *string // contains filtered or unexported fields }
type ListDetectorsOutput ¶
type ListDetectorsOutput struct { // A list of detector IDs. // // This member is required. DetectorIds []string // The pagination parameter to be used on the next list operation to retrieve more // items. NextToken *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type ListDetectorsPaginator ¶
type ListDetectorsPaginator struct {
// contains filtered or unexported fields
}
ListDetectorsPaginator is a paginator for ListDetectors
func NewListDetectorsPaginator ¶
func NewListDetectorsPaginator(client ListDetectorsAPIClient, params *ListDetectorsInput, optFns ...func(*ListDetectorsPaginatorOptions)) *ListDetectorsPaginator
NewListDetectorsPaginator returns a new ListDetectorsPaginator
func (*ListDetectorsPaginator) HasMorePages ¶
func (p *ListDetectorsPaginator) HasMorePages() bool
HasMorePages returns a boolean indicating whether more pages are available
func (*ListDetectorsPaginator) NextPage ¶
func (p *ListDetectorsPaginator) NextPage(ctx context.Context, optFns ...func(*Options)) (*ListDetectorsOutput, error)
NextPage retrieves the next ListDetectors page.
type ListDetectorsPaginatorOptions ¶
type ListDetectorsPaginatorOptions struct { // You can use this parameter to indicate the maximum number of items that you // want in the response. The default value is 50. The maximum value is 50. 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 }
ListDetectorsPaginatorOptions is the paginator options for ListDetectors
type ListFiltersAPIClient ¶
type ListFiltersAPIClient interface { ListFilters(context.Context, *ListFiltersInput, ...func(*Options)) (*ListFiltersOutput, error) }
ListFiltersAPIClient is a client that implements the ListFilters operation.
type ListFiltersInput ¶
type ListFiltersInput struct { // The unique ID of the detector that the filter is associated with. // // This member is required. DetectorId *string // You can use this parameter to indicate the maximum number of items that you // want in the response. The default value is 50. The maximum value is 50. MaxResults int32 // You can use this parameter when paginating results. Set the value of this // parameter to null on your first call to the list action. For subsequent calls to // the action, fill nextToken in the request with the value of NextToken from the // previous response to continue listing data. NextToken *string // contains filtered or unexported fields }
type ListFiltersOutput ¶
type ListFiltersOutput struct { // A list of filter names. // // This member is required. FilterNames []string // The pagination parameter to be used on the next list operation to retrieve more // items. NextToken *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type ListFiltersPaginator ¶
type ListFiltersPaginator struct {
// contains filtered or unexported fields
}
ListFiltersPaginator is a paginator for ListFilters
func NewListFiltersPaginator ¶
func NewListFiltersPaginator(client ListFiltersAPIClient, params *ListFiltersInput, optFns ...func(*ListFiltersPaginatorOptions)) *ListFiltersPaginator
NewListFiltersPaginator returns a new ListFiltersPaginator
func (*ListFiltersPaginator) HasMorePages ¶
func (p *ListFiltersPaginator) HasMorePages() bool
HasMorePages returns a boolean indicating whether more pages are available
func (*ListFiltersPaginator) NextPage ¶
func (p *ListFiltersPaginator) NextPage(ctx context.Context, optFns ...func(*Options)) (*ListFiltersOutput, error)
NextPage retrieves the next ListFilters page.
type ListFiltersPaginatorOptions ¶
type ListFiltersPaginatorOptions struct { // You can use this parameter to indicate the maximum number of items that you // want in the response. The default value is 50. The maximum value is 50. 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 }
ListFiltersPaginatorOptions is the paginator options for ListFilters
type ListFindingsAPIClient ¶
type ListFindingsAPIClient interface { ListFindings(context.Context, *ListFindingsInput, ...func(*Options)) (*ListFindingsOutput, error) }
ListFindingsAPIClient is a client that implements the ListFindings operation.
type ListFindingsInput ¶
type ListFindingsInput struct { // The ID of the detector that specifies the GuardDuty service whose findings you // want to list. // // This member is required. DetectorId *string // Represents the criteria used for querying findings. Valid values include: // - JSON field name // - accountId // - region // - confidence // - id // - resource.accessKeyDetails.accessKeyId // - resource.accessKeyDetails.principalId // - resource.accessKeyDetails.userName // - resource.accessKeyDetails.userType // - resource.instanceDetails.iamInstanceProfile.id // - resource.instanceDetails.imageId // - resource.instanceDetails.instanceId // - resource.instanceDetails.networkInterfaces.ipv6Addresses // - // resource.instanceDetails.networkInterfaces.privateIpAddresses.privateIpAddress // - resource.instanceDetails.networkInterfaces.publicDnsName // - resource.instanceDetails.networkInterfaces.publicIp // - resource.instanceDetails.networkInterfaces.securityGroups.groupId // - resource.instanceDetails.networkInterfaces.securityGroups.groupName // - resource.instanceDetails.networkInterfaces.subnetId // - resource.instanceDetails.networkInterfaces.vpcId // - resource.instanceDetails.tags.key // - resource.instanceDetails.tags.value // - resource.resourceType // - service.action.actionType // - service.action.awsApiCallAction.api // - service.action.awsApiCallAction.callerType // - service.action.awsApiCallAction.remoteIpDetails.city.cityName // - service.action.awsApiCallAction.remoteIpDetails.country.countryName // - service.action.awsApiCallAction.remoteIpDetails.ipAddressV4 // - service.action.awsApiCallAction.remoteIpDetails.organization.asn // - service.action.awsApiCallAction.remoteIpDetails.organization.asnOrg // - service.action.awsApiCallAction.serviceName // - service.action.dnsRequestAction.domain // - service.action.networkConnectionAction.blocked // - service.action.networkConnectionAction.connectionDirection // - service.action.networkConnectionAction.localPortDetails.port // - service.action.networkConnectionAction.protocol // - service.action.networkConnectionAction.remoteIpDetails.country.countryName // - service.action.networkConnectionAction.remoteIpDetails.ipAddressV4 // - service.action.networkConnectionAction.remoteIpDetails.organization.asn // - service.action.networkConnectionAction.remoteIpDetails.organization.asnOrg // - service.action.networkConnectionAction.remotePortDetails.port // - service.additionalInfo.threatListName // - service.archived When this attribute is set to 'true', only archived // findings are listed. When it's set to 'false', only unarchived findings are // listed. When this attribute is not set, all existing findings are listed. // - service.resourceRole // - severity // - type // - updatedAt Type: Timestamp in Unix Epoch millisecond format: 1486685375000 FindingCriteria *types.FindingCriteria // You can use this parameter to indicate the maximum number of items you want in // the response. The default value is 50. The maximum value is 50. MaxResults int32 // You can use this parameter when paginating results. Set the value of this // parameter to null on your first call to the list action. For subsequent calls to // the action, fill nextToken in the request with the value of NextToken from the // previous response to continue listing data. NextToken *string // Represents the criteria used for sorting findings. SortCriteria *types.SortCriteria // contains filtered or unexported fields }
type ListFindingsOutput ¶
type ListFindingsOutput struct { // The IDs of the findings that you're listing. // // This member is required. FindingIds []string // The pagination parameter to be used on the next list operation to retrieve more // items. NextToken *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type ListFindingsPaginator ¶
type ListFindingsPaginator struct {
// contains filtered or unexported fields
}
ListFindingsPaginator is a paginator for ListFindings
func NewListFindingsPaginator ¶
func NewListFindingsPaginator(client ListFindingsAPIClient, params *ListFindingsInput, optFns ...func(*ListFindingsPaginatorOptions)) *ListFindingsPaginator
NewListFindingsPaginator returns a new ListFindingsPaginator
func (*ListFindingsPaginator) HasMorePages ¶
func (p *ListFindingsPaginator) HasMorePages() bool
HasMorePages returns a boolean indicating whether more pages are available
func (*ListFindingsPaginator) NextPage ¶
func (p *ListFindingsPaginator) NextPage(ctx context.Context, optFns ...func(*Options)) (*ListFindingsOutput, error)
NextPage retrieves the next ListFindings page.
type ListFindingsPaginatorOptions ¶
type ListFindingsPaginatorOptions struct { // You can use this parameter to indicate the maximum number of items you want in // the response. The default value is 50. The maximum value is 50. 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 }
ListFindingsPaginatorOptions is the paginator options for ListFindings
type ListIPSetsAPIClient ¶
type ListIPSetsAPIClient interface { ListIPSets(context.Context, *ListIPSetsInput, ...func(*Options)) (*ListIPSetsOutput, error) }
ListIPSetsAPIClient is a client that implements the ListIPSets operation.
type ListIPSetsInput ¶
type ListIPSetsInput struct { // The unique ID of the detector that the IPSet is associated with. // // This member is required. DetectorId *string // You can use this parameter to indicate the maximum number of items you want in // the response. The default value is 50. The maximum value is 50. MaxResults int32 // You can use this parameter when paginating results. Set the value of this // parameter to null on your first call to the list action. For subsequent calls to // the action, fill nextToken in the request with the value of NextToken from the // previous response to continue listing data. NextToken *string // contains filtered or unexported fields }
type ListIPSetsOutput ¶
type ListIPSetsOutput struct { // The IDs of the IPSet resources. // // This member is required. IpSetIds []string // The pagination parameter to be used on the next list operation to retrieve more // items. NextToken *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type ListIPSetsPaginator ¶
type ListIPSetsPaginator struct {
// contains filtered or unexported fields
}
ListIPSetsPaginator is a paginator for ListIPSets
func NewListIPSetsPaginator ¶
func NewListIPSetsPaginator(client ListIPSetsAPIClient, params *ListIPSetsInput, optFns ...func(*ListIPSetsPaginatorOptions)) *ListIPSetsPaginator
NewListIPSetsPaginator returns a new ListIPSetsPaginator
func (*ListIPSetsPaginator) HasMorePages ¶
func (p *ListIPSetsPaginator) HasMorePages() bool
HasMorePages returns a boolean indicating whether more pages are available
func (*ListIPSetsPaginator) NextPage ¶
func (p *ListIPSetsPaginator) NextPage(ctx context.Context, optFns ...func(*Options)) (*ListIPSetsOutput, error)
NextPage retrieves the next ListIPSets page.
type ListIPSetsPaginatorOptions ¶
type ListIPSetsPaginatorOptions struct { // You can use this parameter to indicate the maximum number of items you want in // the response. The default value is 50. The maximum value is 50. 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 }
ListIPSetsPaginatorOptions is the paginator options for ListIPSets
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 { // You can use this parameter to indicate the maximum number of items that you // want in the response. The default value is 50. The maximum value is 50. MaxResults int32 // You can use this parameter when paginating results. Set the value of this // parameter to null on your first call to the list action. For subsequent calls to // the action, fill nextToken in the request with the value of NextToken from the // previous response to continue listing data. NextToken *string // contains filtered or unexported fields }
type ListInvitationsOutput ¶
type ListInvitationsOutput struct { // A list of invitation descriptions. Invitations []types.Invitation // The pagination parameter to be used on the next list operation to retrieve more // items. 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 { // You can use this parameter to indicate the maximum number of items that you // want in the response. The default value is 50. The maximum value is 50. 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 unique ID of the detector the member is associated with. // // This member is required. DetectorId *string // You can use this parameter to indicate the maximum number of items you want in // the response. The default value is 50. The maximum value is 50. MaxResults int32 // You can use this parameter when paginating results. Set the value of this // parameter to null on your first call to the list action. For subsequent calls to // the action, fill nextToken in the request with the value of NextToken from the // previous response to continue listing data. NextToken *string // Specifies whether to only return associated members or to return all members // (including members who haven't been invited yet or have been disassociated). // Member accounts must have been previously associated with the GuardDuty // administrator account using Create Members (https://docs.aws.amazon.com/guardduty/latest/APIReference/API_CreateMembers.html) // . OnlyAssociated *string // contains filtered or unexported fields }
type ListMembersOutput ¶
type ListMembersOutput struct { // A list of members. Members []types.Member // The pagination parameter to be used on the next list operation to retrieve more // items. 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 { // You can use this parameter to indicate the maximum number of items you want in // the response. The default value is 50. The maximum value is 50. 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 maximum number of results to return in the response. MaxResults int32 // A token to use for paginating results that are returned in the response. Set // the value of this parameter to null for the first request to a list action. For // subsequent calls, use the NextToken value returned from the previous request to // continue listing results after the first page. NextToken *string // contains filtered or unexported fields }
type ListOrganizationAdminAccountsOutput ¶
type ListOrganizationAdminAccountsOutput struct { // A list of accounts configured as GuardDuty delegated administrators. AdminAccounts []types.AdminAccount // The pagination parameter to be used on the next list operation to retrieve more // items. 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 ¶
func NewListOrganizationAdminAccountsPaginator(client ListOrganizationAdminAccountsAPIClient, params *ListOrganizationAdminAccountsInput, optFns ...func(*ListOrganizationAdminAccountsPaginatorOptions)) *ListOrganizationAdminAccountsPaginator
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 ¶
func (p *ListOrganizationAdminAccountsPaginator) NextPage(ctx context.Context, optFns ...func(*Options)) (*ListOrganizationAdminAccountsOutput, error)
NextPage retrieves the next ListOrganizationAdminAccounts page.
type ListOrganizationAdminAccountsPaginatorOptions ¶
type ListOrganizationAdminAccountsPaginatorOptions 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 }
ListOrganizationAdminAccountsPaginatorOptions is the paginator options for ListOrganizationAdminAccounts
type ListPublishingDestinationsAPIClient ¶
type ListPublishingDestinationsAPIClient interface { ListPublishingDestinations(context.Context, *ListPublishingDestinationsInput, ...func(*Options)) (*ListPublishingDestinationsOutput, error) }
ListPublishingDestinationsAPIClient is a client that implements the ListPublishingDestinations operation.
type ListPublishingDestinationsInput ¶
type ListPublishingDestinationsInput struct { // The ID of the detector to retrieve publishing destinations for. // // This member is required. DetectorId *string // The maximum number of results to return in the response. MaxResults int32 // A token to use for paginating results that are returned in the response. Set // the value of this parameter to null for the first request to a list action. For // subsequent calls, use the NextToken value returned from the previous request to // continue listing results after the first page. NextToken *string // contains filtered or unexported fields }
type ListPublishingDestinationsOutput ¶
type ListPublishingDestinationsOutput struct { // A Destinations object that includes information about each publishing // destination returned. // // This member is required. Destinations []types.Destination // A token to use for paginating results that are returned in the response. Set // the value of this parameter to null for the first request to a list action. For // subsequent calls, use the NextToken value returned from the previous request to // continue listing results after the first page. NextToken *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type ListPublishingDestinationsPaginator ¶
type ListPublishingDestinationsPaginator struct {
// contains filtered or unexported fields
}
ListPublishingDestinationsPaginator is a paginator for ListPublishingDestinations
func NewListPublishingDestinationsPaginator ¶
func NewListPublishingDestinationsPaginator(client ListPublishingDestinationsAPIClient, params *ListPublishingDestinationsInput, optFns ...func(*ListPublishingDestinationsPaginatorOptions)) *ListPublishingDestinationsPaginator
NewListPublishingDestinationsPaginator returns a new ListPublishingDestinationsPaginator
func (*ListPublishingDestinationsPaginator) HasMorePages ¶
func (p *ListPublishingDestinationsPaginator) HasMorePages() bool
HasMorePages returns a boolean indicating whether more pages are available
func (*ListPublishingDestinationsPaginator) NextPage ¶
func (p *ListPublishingDestinationsPaginator) NextPage(ctx context.Context, optFns ...func(*Options)) (*ListPublishingDestinationsOutput, error)
NextPage retrieves the next ListPublishingDestinations page.
type ListPublishingDestinationsPaginatorOptions ¶
type ListPublishingDestinationsPaginatorOptions 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 }
ListPublishingDestinationsPaginatorOptions is the paginator options for ListPublishingDestinations
type ListTagsForResourceInput ¶
type ListTagsForResourceInput struct { // The Amazon Resource Name (ARN) for the given GuardDuty resource. // // This member is required. ResourceArn *string // contains filtered or unexported fields }
type ListTagsForResourceOutput ¶
type ListTagsForResourceOutput struct { // The tags associated with the resource. Tags map[string]string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type ListThreatIntelSetsAPIClient ¶
type ListThreatIntelSetsAPIClient interface { ListThreatIntelSets(context.Context, *ListThreatIntelSetsInput, ...func(*Options)) (*ListThreatIntelSetsOutput, error) }
ListThreatIntelSetsAPIClient is a client that implements the ListThreatIntelSets operation.
type ListThreatIntelSetsInput ¶
type ListThreatIntelSetsInput struct { // The unique ID of the detector that the threatIntelSet is associated with. // // This member is required. DetectorId *string // You can use this parameter to indicate the maximum number of items that you // want in the response. The default value is 50. The maximum value is 50. MaxResults int32 // You can use this parameter to paginate results in the response. Set the value // of this parameter to null on your first call to the list action. For subsequent // calls to the action, fill nextToken in the request with the value of NextToken // from the previous response to continue listing data. NextToken *string // contains filtered or unexported fields }
type ListThreatIntelSetsOutput ¶
type ListThreatIntelSetsOutput struct { // The IDs of the ThreatIntelSet resources. // // This member is required. ThreatIntelSetIds []string // The pagination parameter to be used on the next list operation to retrieve more // items. NextToken *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type ListThreatIntelSetsPaginator ¶
type ListThreatIntelSetsPaginator struct {
// contains filtered or unexported fields
}
ListThreatIntelSetsPaginator is a paginator for ListThreatIntelSets
func NewListThreatIntelSetsPaginator ¶
func NewListThreatIntelSetsPaginator(client ListThreatIntelSetsAPIClient, params *ListThreatIntelSetsInput, optFns ...func(*ListThreatIntelSetsPaginatorOptions)) *ListThreatIntelSetsPaginator
NewListThreatIntelSetsPaginator returns a new ListThreatIntelSetsPaginator
func (*ListThreatIntelSetsPaginator) HasMorePages ¶
func (p *ListThreatIntelSetsPaginator) HasMorePages() bool
HasMorePages returns a boolean indicating whether more pages are available
func (*ListThreatIntelSetsPaginator) NextPage ¶
func (p *ListThreatIntelSetsPaginator) NextPage(ctx context.Context, optFns ...func(*Options)) (*ListThreatIntelSetsOutput, error)
NextPage retrieves the next ListThreatIntelSets page.
type ListThreatIntelSetsPaginatorOptions ¶
type ListThreatIntelSetsPaginatorOptions struct { // You can use this parameter to indicate the maximum number of items that you // want in the response. The default value is 50. The maximum value is 50. 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 }
ListThreatIntelSetsPaginatorOptions is the paginator options for ListThreatIntelSets
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 // 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. EndpointResolver EndpointResolver // 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 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. 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. 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 HTTP client to invoke API calls with. Defaults to client's default HTTP // implementation if nil. HTTPClient HTTPClient // contains filtered or unexported fields }
func (Options) Copy ¶
Copy creates a clone where the APIOptions list is deep copied.
type ResolveEndpoint ¶
type ResolveEndpoint struct { Resolver EndpointResolver Options EndpointResolverOptions }
func (*ResolveEndpoint) HandleSerialize ¶
func (m *ResolveEndpoint) HandleSerialize(ctx context.Context, in middleware.SerializeInput, next middleware.SerializeHandler) ( out middleware.SerializeOutput, metadata middleware.Metadata, err error, )
func (*ResolveEndpoint) ID ¶
func (*ResolveEndpoint) ID() string
type StartMalwareScanInput ¶
type StartMalwareScanInput struct { // Amazon Resource Name (ARN) of the resource for which you invoked the API. // // This member is required. ResourceArn *string // contains filtered or unexported fields }
type StartMalwareScanOutput ¶
type StartMalwareScanOutput struct { // A unique identifier that gets generated when you invoke the API without any // error. Each malware scan has a corresponding scan ID. Using this scan ID, you // can monitor the status of your malware scan. ScanId *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type StartMonitoringMembersInput ¶
type StartMonitoringMembersInput struct { // A list of account IDs of the GuardDuty member accounts to start monitoring. // // This member is required. AccountIds []string // The unique ID of the detector of the GuardDuty administrator account associated // with the member accounts to monitor. // // This member is required. DetectorId *string // contains filtered or unexported fields }
type StartMonitoringMembersOutput ¶
type StartMonitoringMembersOutput struct { // A list of objects that contain the unprocessed account and a result string that // explains why it was unprocessed. // // This member is required. UnprocessedAccounts []types.UnprocessedAccount // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type StopMonitoringMembersInput ¶
type StopMonitoringMembersInput struct { // A list of account IDs for the member accounts to stop monitoring. // // This member is required. AccountIds []string // The unique ID of the detector associated with the GuardDuty administrator // account that is monitoring member accounts. // // This member is required. DetectorId *string // contains filtered or unexported fields }
type StopMonitoringMembersOutput ¶
type StopMonitoringMembersOutput struct { // A list of objects that contain an accountId for each account that could not be // processed, and a result string that indicates why the account was not processed. // // This member is required. UnprocessedAccounts []types.UnprocessedAccount // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type TagResourceInput ¶
type TagResourceInput struct { // The Amazon Resource Name (ARN) for the GuardDuty resource to apply a tag to. // // This member is required. ResourceArn *string // The tags to be added to a resource. // // 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 UnarchiveFindingsInput ¶
type UnarchiveFindingsInput struct { // The ID of the detector associated with the findings to unarchive. // // This member is required. DetectorId *string // The IDs of the findings to unarchive. // // This member is required. FindingIds []string // contains filtered or unexported fields }
type UnarchiveFindingsOutput ¶
type UnarchiveFindingsOutput struct { // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type UntagResourceInput ¶
type UntagResourceInput struct { // The Amazon Resource Name (ARN) for the resource to remove tags from. // // This member is required. ResourceArn *string // The tag keys to remove from the resource. // // 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 UpdateDetectorInput ¶
type UpdateDetectorInput struct { // The unique ID of the detector to update. // // This member is required. DetectorId *string // Describes which data sources will be updated. There might be regional // differences because some data sources might not be available in all the Amazon // Web Services Regions where GuardDuty is presently supported. For more // information, see Regions and endpoints (https://docs.aws.amazon.com/guardduty/latest/ug/guardduty_regions.html) // . // // Deprecated: This parameter is deprecated, use Features instead DataSources *types.DataSourceConfigurations // Specifies whether the detector is enabled or not enabled. Enable bool // Provides the features that will be updated for the detector. Features []types.DetectorFeatureConfiguration // An enum value that specifies how frequently findings are exported, such as to // CloudWatch Events. FindingPublishingFrequency types.FindingPublishingFrequency // contains filtered or unexported fields }
type UpdateDetectorOutput ¶
type UpdateDetectorOutput struct { // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type UpdateFilterInput ¶
type UpdateFilterInput struct { // The unique ID of the detector that specifies the GuardDuty service where you // want to update a filter. // // This member is required. DetectorId *string // The name of the filter. // // This member is required. FilterName *string // Specifies the action that is to be applied to the findings that match the // filter. Action types.FilterAction // The description of the filter. Valid characters include alphanumeric // characters, and special characters such as hyphen, period, colon, underscore, // parentheses ( { } , [ ] , and ( ) ), forward slash, horizontal tab, vertical // tab, newline, form feed, return, and whitespace. Description *string // Represents the criteria to be used in the filter for querying findings. FindingCriteria *types.FindingCriteria // Specifies the position of the filter in the list of current filters. Also // specifies the order in which this filter is applied to the findings. Rank int32 // contains filtered or unexported fields }
type UpdateFilterOutput ¶
type UpdateFilterOutput struct { // The name of the filter. // // This member is required. Name *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type UpdateFindingsFeedbackInput ¶
type UpdateFindingsFeedbackInput struct { // The ID of the detector associated with the findings to update feedback for. // // This member is required. DetectorId *string // The feedback for the finding. // // This member is required. Feedback types.Feedback // The IDs of the findings that you want to mark as useful or not useful. // // This member is required. FindingIds []string // Additional feedback about the GuardDuty findings. Comments *string // contains filtered or unexported fields }
type UpdateFindingsFeedbackOutput ¶
type UpdateFindingsFeedbackOutput struct { // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type UpdateIPSetInput ¶
type UpdateIPSetInput struct { // The detectorID that specifies the GuardDuty service whose IPSet you want to // update. // // This member is required. DetectorId *string // The unique ID that specifies the IPSet that you want to update. // // This member is required. IpSetId *string // The updated Boolean value that specifies whether the IPSet is active or not. Activate bool // The updated URI of the file that contains the IPSet. Location *string // The unique ID that specifies the IPSet that you want to update. Name *string // contains filtered or unexported fields }
type UpdateIPSetOutput ¶
type UpdateIPSetOutput struct { // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type UpdateMalwareScanSettingsInput ¶
type UpdateMalwareScanSettingsInput struct { // The unique ID of the detector that specifies the GuardDuty service where you // want to update scan settings. // // This member is required. DetectorId *string // An enum value representing possible snapshot preservation settings. EbsSnapshotPreservation types.EbsSnapshotPreservation // Represents the criteria to be used in the filter for selecting resources to // scan. ScanResourceCriteria *types.ScanResourceCriteria // contains filtered or unexported fields }
type UpdateMalwareScanSettingsOutput ¶
type UpdateMalwareScanSettingsOutput struct { // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type UpdateMemberDetectorsInput ¶
type UpdateMemberDetectorsInput struct { // A list of member account IDs to be updated. // // This member is required. AccountIds []string // The detector ID of the administrator account. // // This member is required. DetectorId *string // Describes which data sources will be updated. // // Deprecated: This parameter is deprecated, use Features instead DataSources *types.DataSourceConfigurations // A list of features that will be updated for the specified member accounts. Features []types.MemberFeaturesConfiguration // contains filtered or unexported fields }
type UpdateMemberDetectorsOutput ¶
type UpdateMemberDetectorsOutput struct { // A list of member account IDs that were unable to be processed along with an // explanation for why they were not processed. // // This member is required. UnprocessedAccounts []types.UnprocessedAccount // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type UpdateOrganizationConfigurationInput ¶
type UpdateOrganizationConfigurationInput struct { // The ID of the detector that configures the delegated administrator. // // This member is required. DetectorId *string // Indicates whether to automatically enable member accounts in the organization. // Even though this is still supported, we recommend using // AutoEnableOrganizationMembers to achieve the similar results. // // Deprecated: This field is deprecated, use AutoEnableOrganizationMembers instead AutoEnable bool // Indicates the auto-enablement configuration of GuardDuty for the member // accounts in the organization. // - NEW : Indicates that when a new account joins the organization, they will // have GuardDuty enabled automatically. // - ALL : Indicates that all accounts in the Amazon Web Services Organization // have GuardDuty enabled automatically. This includes NEW accounts that join the // organization and accounts that may have been suspended or removed from the // organization in GuardDuty. // - NONE : Indicates that GuardDuty will not be automatically enabled for any // accounts in the organization. GuardDuty must be managed for each account // individually by the administrator. AutoEnableOrganizationMembers types.AutoEnableMembers // Describes which data sources will be updated. // // Deprecated: This parameter is deprecated, use Features instead DataSources *types.OrganizationDataSourceConfigurations // A list of features that will be configured for the organization. Features []types.OrganizationFeatureConfiguration // 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 UpdatePublishingDestinationInput ¶
type UpdatePublishingDestinationInput struct { // The ID of the publishing destination to update. // // This member is required. DestinationId *string // The ID of the detector associated with the publishing destinations to update. // // This member is required. DetectorId *string // A DestinationProperties object that includes the DestinationArn and KmsKeyArn // of the publishing destination. DestinationProperties *types.DestinationProperties // contains filtered or unexported fields }
type UpdatePublishingDestinationOutput ¶
type UpdatePublishingDestinationOutput struct { // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type UpdateThreatIntelSetInput ¶
type UpdateThreatIntelSetInput struct { // The detectorID that specifies the GuardDuty service whose ThreatIntelSet you // want to update. // // This member is required. DetectorId *string // The unique ID that specifies the ThreatIntelSet that you want to update. // // This member is required. ThreatIntelSetId *string // The updated Boolean value that specifies whether the ThreateIntelSet is active // or not. Activate bool // The updated URI of the file that contains the ThreateIntelSet. Location *string // The unique ID that specifies the ThreatIntelSet that you want to update. Name *string // contains filtered or unexported fields }
type UpdateThreatIntelSetOutput ¶
type UpdateThreatIntelSetOutput 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_ArchiveFindings.go api_op_CreateDetector.go api_op_CreateFilter.go api_op_CreateIPSet.go api_op_CreateMembers.go api_op_CreatePublishingDestination.go api_op_CreateSampleFindings.go api_op_CreateThreatIntelSet.go api_op_DeclineInvitations.go api_op_DeleteDetector.go api_op_DeleteFilter.go api_op_DeleteIPSet.go api_op_DeleteInvitations.go api_op_DeleteMembers.go api_op_DeletePublishingDestination.go api_op_DeleteThreatIntelSet.go api_op_DescribeMalwareScans.go api_op_DescribeOrganizationConfiguration.go api_op_DescribePublishingDestination.go api_op_DisableOrganizationAdminAccount.go api_op_DisassociateFromAdministratorAccount.go api_op_DisassociateFromMasterAccount.go api_op_DisassociateMembers.go api_op_EnableOrganizationAdminAccount.go api_op_GetAdministratorAccount.go api_op_GetCoverageStatistics.go api_op_GetDetector.go api_op_GetFilter.go api_op_GetFindings.go api_op_GetFindingsStatistics.go api_op_GetIPSet.go api_op_GetInvitationsCount.go api_op_GetMalwareScanSettings.go api_op_GetMasterAccount.go api_op_GetMemberDetectors.go api_op_GetMembers.go api_op_GetRemainingFreeTrialDays.go api_op_GetThreatIntelSet.go api_op_GetUsageStatistics.go api_op_InviteMembers.go api_op_ListCoverage.go api_op_ListDetectors.go api_op_ListFilters.go api_op_ListFindings.go api_op_ListIPSets.go api_op_ListInvitations.go api_op_ListMembers.go api_op_ListOrganizationAdminAccounts.go api_op_ListPublishingDestinations.go api_op_ListTagsForResource.go api_op_ListThreatIntelSets.go api_op_StartMalwareScan.go api_op_StartMonitoringMembers.go api_op_StopMonitoringMembers.go api_op_TagResource.go api_op_UnarchiveFindings.go api_op_UntagResource.go api_op_UpdateDetector.go api_op_UpdateFilter.go api_op_UpdateFindingsFeedback.go api_op_UpdateIPSet.go api_op_UpdateMalwareScanSettings.go api_op_UpdateMemberDetectors.go api_op_UpdateOrganizationConfiguration.go api_op_UpdatePublishingDestination.go api_op_UpdateThreatIntelSet.go deserializers.go doc.go endpoints.go go_module_metadata.go serializers.go validators.go
Directories ¶
Path | Synopsis |
---|---|
internal | |
types |
- Version
- v1.22.1
- Published
- May 4, 2023
- Platform
- js/wasm
- Imports
- 34 packages
- Last checked
- now –
Tools for package owners.