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, AWS CloudTrail event logs, and DNS logs. 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 AWS environment. This can include issues like escalations of privileges, uses of exposed credentials, or communication with malicious IPs, URLs, or domains. For example, GuardDuty can detect compromised EC2 instances that serve malware or mine bitcoin. GuardDuty also monitors AWS account access behavior for signs of compromise. Some examples of this are unauthorized infrastructure deployments such as 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 of the status of your AWS environment by producing security findings that you can view in the GuardDuty console or through Amazon CloudWatch events. 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 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) 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) 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) 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) 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) 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) 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) 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) 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) 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 DescribeOrganizationConfigurationInput
- type DescribeOrganizationConfigurationOutput
- type DescribePublishingDestinationInput
- type DescribePublishingDestinationOutput
- type DisableOrganizationAdminAccountInput
- type DisableOrganizationAdminAccountOutput
- type DisassociateFromMasterAccountInput
- type DisassociateFromMasterAccountOutput
- type DisassociateMembersInput
- type DisassociateMembersOutput
- type EnableOrganizationAdminAccountInput
- type EnableOrganizationAdminAccountOutput
- type EndpointResolver
- type EndpointResolverFunc
- type EndpointResolverOptions
- 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 GetMasterAccountInput
- type GetMasterAccountOutput
- type GetMemberDetectorsInput
- type GetMemberDetectorsOutput
- type GetMembersInput
- type GetMembersOutput
- 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 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 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 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 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 }
type AcceptInvitationOutput ¶
type AcceptInvitationOutput struct { // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
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 }
type ArchiveFindingsOutput ¶
type ArchiveFindingsOutput struct { // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
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) 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.
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.
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.
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 AWS 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 AWS account by specifying a list of AWS 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 been enabled in potential member accounts and before using Invite Members (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 example findings of types specified by the list of finding types. If 'NULL' is specified for findingTypes, the API generates example 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 AWS 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 AWS 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.
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) 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.
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 AWS account within the Organization as the GuardDuty delegated administrator.
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.
func (*Client) DisassociateMembers ¶
func (c *Client) DisassociateMembers(ctx context.Context, params *DisassociateMembersInput, optFns ...func(*Options)) (*DisassociateMembersOutput, error)
Disassociates GuardDuty member accounts (to the current GuardDuty administrator account) specified by the account IDs.
func (*Client) EnableOrganizationAdminAccount ¶
func (c *Client) EnableOrganizationAdminAccount(ctx context.Context, params *EnableOrganizationAdminAccountInput, optFns ...func(*Options)) (*EnableOrganizationAdminAccountOutput, error)
Enables an AWS account within the organization as the GuardDuty delegated administrator.
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.
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) 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.
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.
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) 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 projects 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 AWS accounts (created as members of the current AWS account by CreateMembers) to enable GuardDuty, and allow the current AWS account to view and manage these accounts' findings on their behalf as the GuardDuty administrator account.
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 AWS 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 dectectorId.
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) 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 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.
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.
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) UpdateMemberDetectors ¶
func (c *Client) UpdateMemberDetectors(ctx context.Context, params *UpdateMemberDetectorsInput, optFns ...func(*Options)) (*UpdateMemberDetectorsOutput, error)
Contains information on member accounts to be updated.
func (*Client) UpdateOrganizationConfiguration ¶
func (c *Client) UpdateOrganizationConfiguration(ctx context.Context, params *UpdateOrganizationConfigurationInput, optFns ...func(*Options)) (*UpdateOrganizationConfigurationOutput, error)
Updates the delegated administrator account with the values provided.
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. DataSources *types.DataSourceConfigurations // 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 }
type CreateDetectorOutput ¶
type CreateDetectorOutput struct { // The unique ID of the created detector. DetectorId *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
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 // // * // 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.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.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 // // * 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: 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. Minimum length of 3. Maximum length of 64. Valid // characters include alphanumeric characters, dot (.), underscore (_), and dash // (-). Spaces are not allowed. // // 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. 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 }
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 }
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. For example: // https://s3.us-west-2.amazonaws.com/my-bucket/my-object-key. // // This member is required. Location *string // The user-friendly name to identify the IPSet. Allowed characters are // alphanumerics, spaces, hyphens (-), 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 }
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 }
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 }
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 }
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 }
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 }
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 }
type CreateSampleFindingsOutput ¶
type CreateSampleFindingsOutput struct { // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
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. For example: // https://s3.us-west-2.amazonaws.com/my-bucket/my-object-key. // // 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 }
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 }
type DeclineInvitationsInput ¶
type DeclineInvitationsInput struct { // A list of account IDs of the AWS accounts that sent invitations to the current // member account that you want to decline invitations from. // // This member is required. AccountIds []string }
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 }
type DeleteDetectorInput ¶
type DeleteDetectorInput struct { // The unique ID of the detector that you want to delete. // // This member is required. DetectorId *string }
type DeleteDetectorOutput ¶
type DeleteDetectorOutput struct { // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
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 }
type DeleteFilterOutput ¶
type DeleteFilterOutput struct { // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
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 }
type DeleteIPSetOutput ¶
type DeleteIPSetOutput struct { // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
type DeleteInvitationsInput ¶
type DeleteInvitationsInput struct { // A list of account IDs of the AWS accounts that sent invitations to the current // member account that you want to delete invitations from. // // This member is required. AccountIds []string }
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 }
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 }
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 }
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 }
type DeletePublishingDestinationOutput ¶
type DeletePublishingDestinationOutput struct { // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
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 }
type DeleteThreatIntelSetOutput ¶
type DeleteThreatIntelSetOutput struct { // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
type DescribeOrganizationConfigurationInput ¶
type DescribeOrganizationConfigurationInput struct { // The ID of the detector to retrieve information about the delegated administrator // from. // // This member is required. DetectorId *string }
type DescribeOrganizationConfigurationOutput ¶
type DescribeOrganizationConfigurationOutput struct { // Indicates whether GuardDuty is automatically enabled for accounts added to the // organization. // // This member is required. AutoEnable bool // 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 // Describes which data sources are enabled automatically for member accounts. DataSources *types.OrganizationDataSourceConfigurationsResult // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
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 }
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 }
type DisableOrganizationAdminAccountInput ¶
type DisableOrganizationAdminAccountInput struct { // The AWS Account ID for the organizations account to be disabled as a GuardDuty // delegated administrator. // // This member is required. AdminAccountId *string }
type DisableOrganizationAdminAccountOutput ¶
type DisableOrganizationAdminAccountOutput struct { // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
type DisassociateFromMasterAccountInput ¶
type DisassociateFromMasterAccountInput struct { // The unique ID of the detector of the GuardDuty member account. // // This member is required. DetectorId *string }
type DisassociateFromMasterAccountOutput ¶
type DisassociateFromMasterAccountOutput struct { // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
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 }
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 }
type EnableOrganizationAdminAccountInput ¶
type EnableOrganizationAdminAccountInput struct { // The AWS Account ID for the organization account to be enabled as a GuardDuty // delegated administrator. // // This member is required. AdminAccountId *string }
type EnableOrganizationAdminAccountOutput ¶
type EnableOrganizationAdminAccountOutput struct { // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
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 GetDetectorInput ¶
type GetDetectorInput struct { // The unique ID of the detector that you want to get. // // This member is required. DetectorId *string }
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. DataSources *types.DataSourceConfigurationsResult // 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 }
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 }
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 }
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 }
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 }
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 }
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 }
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 }
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. For example: // https://s3.us-west-2.amazonaws.com/my-bucket/my-object-key. // // 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 }
type GetInvitationsCountInput ¶
type GetInvitationsCountInput struct { }
type GetInvitationsCountOutput ¶
type GetInvitationsCountOutput struct { // The number of received invitations. InvitationsCount int32 // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
type GetMasterAccountInput ¶
type GetMasterAccountInput struct { // The unique ID of the detector of the GuardDuty member account. // // This member is required. DetectorId *string }
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 }
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 }
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 }
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 }
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 }
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 }
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. For example: // https://s3.us-west-2.amazonaws.com/my-bucket/my-object-key. // // 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 }
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 }
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 }
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 }
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 }
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 }
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 }
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 }
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 }
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.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 // // * 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 }
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 }
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 }
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 }
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 }
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 }
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). OnlyAssociated *string }
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 }
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 }
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 }
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 }
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 }
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 }
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 }
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 }
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 }
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 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 // Retryer guides how HTTP requests should be retried in case of recoverable // failures. When nil the API client will use a default retryer. Retryer aws.Retryer // The HTTP client to invoke API calls with. Defaults to client's default HTTP // implementation if nil. HTTPClient HTTPClient }
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 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 }
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 }
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 }
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 }
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 }
type TagResourceOutput ¶
type TagResourceOutput struct { // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
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 }
type UnarchiveFindingsOutput ¶
type UnarchiveFindingsOutput struct { // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
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 }
type UntagResourceOutput ¶
type UntagResourceOutput struct { // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
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. DataSources *types.DataSourceConfigurations // Specifies whether the detector is enabled or not enabled. Enable bool // An enum value that specifies how frequently findings are exported, such as to // CloudWatch Events. FindingPublishingFrequency types.FindingPublishingFrequency }
type UpdateDetectorOutput ¶
type UpdateDetectorOutput struct { // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
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. 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 }
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 }
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 }
type UpdateFindingsFeedbackOutput ¶
type UpdateFindingsFeedbackOutput struct { // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
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. For example: // https://s3.us-west-2.amazonaws.com/my-bucket/my-object-key. Location *string // The unique ID that specifies the IPSet that you want to update. Name *string }
type UpdateIPSetOutput ¶
type UpdateIPSetOutput struct { // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
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. DataSources *types.DataSourceConfigurations }
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 }
type UpdateOrganizationConfigurationInput ¶
type UpdateOrganizationConfigurationInput struct { // Indicates whether to automatically enable member accounts in the organization. // // This member is required. AutoEnable bool // The ID of the detector to update the delegated administrator for. // // This member is required. DetectorId *string // Describes which data sources will be updated. DataSources *types.OrganizationDataSourceConfigurations }
type UpdateOrganizationConfigurationOutput ¶
type UpdateOrganizationConfigurationOutput struct { // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
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 }
type UpdatePublishingDestinationOutput ¶
type UpdatePublishingDestinationOutput struct { // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
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 }
type UpdateThreatIntelSetOutput ¶
type UpdateThreatIntelSetOutput struct { // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
Source Files ¶
api_client.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_DescribeOrganizationConfiguration.go api_op_DescribePublishingDestination.go api_op_DisableOrganizationAdminAccount.go api_op_DisassociateFromMasterAccount.go api_op_DisassociateMembers.go api_op_EnableOrganizationAdminAccount.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_GetMasterAccount.go api_op_GetMemberDetectors.go api_op_GetMembers.go api_op_GetThreatIntelSet.go api_op_GetUsageStatistics.go api_op_InviteMembers.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_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_UpdateMemberDetectors.go api_op_UpdateOrganizationConfiguration.go api_op_UpdatePublishingDestination.go api_op_UpdateThreatIntelSet.go deserializers.go doc.go endpoints.go serializers.go validators.go
Directories ¶
Path | Synopsis |
---|---|
internal | |
types |
- Version
- v1.1.2
- Published
- Mar 13, 2021
- Platform
- js/wasm
- Imports
- 29 packages
- Last checked
- now –
Tools for package owners.