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

package securityhub

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

Package securityhub provides the client and types for making API requests to AWS SecurityHub.

Security Hub provides you with a comprehensive view of the security state of your AWS environment and resources. It also provides you with the compliance status of your environment based on CIS AWS Foundations compliance checks. Security Hub collects security data from AWS accounts, services, and integrated third-party products and helps you analyze security trends in your environment to identify the highest priority security issues. For more information about Security Hub, see the AWS Security Hub User Guide (https://docs.aws.amazon.com/securityhub/latest/userguide/what-is-securityhub.html) .

When you use operations in the Security Hub API, the requests are executed only in the AWS Region that is currently active or in the specific AWS Region that you specify in your request. Any configuration or settings change that results from the operation is applied only to that Region. To make the same change in other Regions, execute the same command for each Region to apply the change to. For example, if your Region is set to us-west-2, when you use CreateMembers to add a member account to Security Hub, the association of the member account with the master account is created only in the us-west-2 Region. Security Hub must be enabled for the member account in the same Region that the invite was sent from.

See https://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26 for more information on this service.

See securityhub package documentation for more information. https://docs.aws.amazon.com/sdk-for-go/api/service/securityhub/

Using the Client

To contact AWS SecurityHub with the SDK use the New function to create a new service client. With that client you can make API requests to the service. These clients are safe to use concurrently.

See the SDK's documentation for more information on how to use the SDK. https://docs.aws.amazon.com/sdk-for-go/api/

See aws.Config documentation for more information on configuring SDK clients. https://docs.aws.amazon.com/sdk-for-go/api/aws/#Config

See the AWS SecurityHub client SecurityHub for more information on creating client for this service. https://docs.aws.amazon.com/sdk-for-go/api/service/securityhub/#New

Index

Package Files

api.go doc.go errors.go service.go

Constants

const (
    // AwsIamAccessKeyStatusActive is a AwsIamAccessKeyStatus enum value
    AwsIamAccessKeyStatusActive = "Active"

    // AwsIamAccessKeyStatusInactive is a AwsIamAccessKeyStatus enum value
    AwsIamAccessKeyStatusInactive = "Inactive"
)
const (
    // ComplianceStatusPassed is a ComplianceStatus enum value
    ComplianceStatusPassed = "PASSED"

    // ComplianceStatusWarning is a ComplianceStatus enum value
    ComplianceStatusWarning = "WARNING"

    // ComplianceStatusFailed is a ComplianceStatus enum value
    ComplianceStatusFailed = "FAILED"

    // ComplianceStatusNotAvailable is a ComplianceStatus enum value
    ComplianceStatusNotAvailable = "NOT_AVAILABLE"
)
const (
    // MalwareStateObserved is a MalwareState enum value
    MalwareStateObserved = "OBSERVED"

    // MalwareStateRemovalFailed is a MalwareState enum value
    MalwareStateRemovalFailed = "REMOVAL_FAILED"

    // MalwareStateRemoved is a MalwareState enum value
    MalwareStateRemoved = "REMOVED"
)
const (
    // MalwareTypeAdware is a MalwareType enum value
    MalwareTypeAdware = "ADWARE"

    // MalwareTypeBlendedThreat is a MalwareType enum value
    MalwareTypeBlendedThreat = "BLENDED_THREAT"

    // MalwareTypeBotnetAgent is a MalwareType enum value
    MalwareTypeBotnetAgent = "BOTNET_AGENT"

    // MalwareTypeCoinMiner is a MalwareType enum value
    MalwareTypeCoinMiner = "COIN_MINER"

    // MalwareTypeExploitKit is a MalwareType enum value
    MalwareTypeExploitKit = "EXPLOIT_KIT"

    // MalwareTypeKeylogger is a MalwareType enum value
    MalwareTypeKeylogger = "KEYLOGGER"

    // MalwareTypeMacro is a MalwareType enum value
    MalwareTypeMacro = "MACRO"

    // MalwareTypePotentiallyUnwanted is a MalwareType enum value
    MalwareTypePotentiallyUnwanted = "POTENTIALLY_UNWANTED"

    // MalwareTypeSpyware is a MalwareType enum value
    MalwareTypeSpyware = "SPYWARE"

    // MalwareTypeRansomware is a MalwareType enum value
    MalwareTypeRansomware = "RANSOMWARE"

    // MalwareTypeRemoteAccess is a MalwareType enum value
    MalwareTypeRemoteAccess = "REMOTE_ACCESS"

    // MalwareTypeRootkit is a MalwareType enum value
    MalwareTypeRootkit = "ROOTKIT"

    // MalwareTypeTrojan is a MalwareType enum value
    MalwareTypeTrojan = "TROJAN"

    // MalwareTypeVirus is a MalwareType enum value
    MalwareTypeVirus = "VIRUS"

    // MalwareTypeWorm is a MalwareType enum value
    MalwareTypeWorm = "WORM"
)
const (
    // NetworkDirectionIn is a NetworkDirection enum value
    NetworkDirectionIn = "IN"

    // NetworkDirectionOut is a NetworkDirection enum value
    NetworkDirectionOut = "OUT"
)
const (
    // PartitionAws is a Partition enum value
    PartitionAws = "aws"

    // PartitionAwsCn is a Partition enum value
    PartitionAwsCn = "aws-cn"

    // PartitionAwsUsGov is a Partition enum value
    PartitionAwsUsGov = "aws-us-gov"
)
const (
    // RecordStateActive is a RecordState enum value
    RecordStateActive = "ACTIVE"

    // RecordStateArchived is a RecordState enum value
    RecordStateArchived = "ARCHIVED"
)
const (
    // SortOrderAsc is a SortOrder enum value
    SortOrderAsc = "asc"

    // SortOrderDesc is a SortOrder enum value
    SortOrderDesc = "desc"
)
const (
    // StandardsStatusPending is a StandardsStatus enum value
    StandardsStatusPending = "PENDING"

    // StandardsStatusReady is a StandardsStatus enum value
    StandardsStatusReady = "READY"

    // StandardsStatusFailed is a StandardsStatus enum value
    StandardsStatusFailed = "FAILED"

    // StandardsStatusDeleting is a StandardsStatus enum value
    StandardsStatusDeleting = "DELETING"

    // StandardsStatusIncomplete is a StandardsStatus enum value
    StandardsStatusIncomplete = "INCOMPLETE"
)
const (
    // StringFilterComparisonEquals is a StringFilterComparison enum value
    StringFilterComparisonEquals = "EQUALS"

    // StringFilterComparisonPrefix is a StringFilterComparison enum value
    StringFilterComparisonPrefix = "PREFIX"
)
const (
    // ThreatIntelIndicatorCategoryBackdoor is a ThreatIntelIndicatorCategory enum value
    ThreatIntelIndicatorCategoryBackdoor = "BACKDOOR"

    // ThreatIntelIndicatorCategoryCardStealer is a ThreatIntelIndicatorCategory enum value
    ThreatIntelIndicatorCategoryCardStealer = "CARD_STEALER"

    // ThreatIntelIndicatorCategoryCommandAndControl is a ThreatIntelIndicatorCategory enum value
    ThreatIntelIndicatorCategoryCommandAndControl = "COMMAND_AND_CONTROL"

    // ThreatIntelIndicatorCategoryDropSite is a ThreatIntelIndicatorCategory enum value
    ThreatIntelIndicatorCategoryDropSite = "DROP_SITE"

    // ThreatIntelIndicatorCategoryExploitSite is a ThreatIntelIndicatorCategory enum value
    ThreatIntelIndicatorCategoryExploitSite = "EXPLOIT_SITE"

    // ThreatIntelIndicatorCategoryKeylogger is a ThreatIntelIndicatorCategory enum value
    ThreatIntelIndicatorCategoryKeylogger = "KEYLOGGER"
)
const (
    // ThreatIntelIndicatorTypeDomain is a ThreatIntelIndicatorType enum value
    ThreatIntelIndicatorTypeDomain = "DOMAIN"

    // ThreatIntelIndicatorTypeEmailAddress is a ThreatIntelIndicatorType enum value
    ThreatIntelIndicatorTypeEmailAddress = "EMAIL_ADDRESS"

    // ThreatIntelIndicatorTypeHashMd5 is a ThreatIntelIndicatorType enum value
    ThreatIntelIndicatorTypeHashMd5 = "HASH_MD5"

    // ThreatIntelIndicatorTypeHashSha1 is a ThreatIntelIndicatorType enum value
    ThreatIntelIndicatorTypeHashSha1 = "HASH_SHA1"

    // ThreatIntelIndicatorTypeHashSha256 is a ThreatIntelIndicatorType enum value
    ThreatIntelIndicatorTypeHashSha256 = "HASH_SHA256"

    // ThreatIntelIndicatorTypeHashSha512 is a ThreatIntelIndicatorType enum value
    ThreatIntelIndicatorTypeHashSha512 = "HASH_SHA512"

    // ThreatIntelIndicatorTypeIpv4Address is a ThreatIntelIndicatorType enum value
    ThreatIntelIndicatorTypeIpv4Address = "IPV4_ADDRESS"

    // ThreatIntelIndicatorTypeIpv6Address is a ThreatIntelIndicatorType enum value
    ThreatIntelIndicatorTypeIpv6Address = "IPV6_ADDRESS"

    // ThreatIntelIndicatorTypeMutex is a ThreatIntelIndicatorType enum value
    ThreatIntelIndicatorTypeMutex = "MUTEX"

    // ThreatIntelIndicatorTypeProcess is a ThreatIntelIndicatorType enum value
    ThreatIntelIndicatorTypeProcess = "PROCESS"

    // ThreatIntelIndicatorTypeUrl is a ThreatIntelIndicatorType enum value
    ThreatIntelIndicatorTypeUrl = "URL"
)
const (
    // VerificationStateUnknown is a VerificationState enum value
    VerificationStateUnknown = "UNKNOWN"

    // VerificationStateTruePositive is a VerificationState enum value
    VerificationStateTruePositive = "TRUE_POSITIVE"

    // VerificationStateFalsePositive is a VerificationState enum value
    VerificationStateFalsePositive = "FALSE_POSITIVE"

    // VerificationStateBenignPositive is a VerificationState enum value
    VerificationStateBenignPositive = "BENIGN_POSITIVE"
)
const (
    // WorkflowStateNew is a WorkflowState enum value
    WorkflowStateNew = "NEW"

    // WorkflowStateAssigned is a WorkflowState enum value
    WorkflowStateAssigned = "ASSIGNED"

    // WorkflowStateInProgress is a WorkflowState enum value
    WorkflowStateInProgress = "IN_PROGRESS"

    // WorkflowStateDeferred is a WorkflowState enum value
    WorkflowStateDeferred = "DEFERRED"

    // WorkflowStateResolved is a WorkflowState enum value
    WorkflowStateResolved = "RESOLVED"
)
const (

    // ErrCodeAccessDeniedException for service response error code
    // "AccessDeniedException".
    //
    // You don't have permission to perform the action specified in the request.
    ErrCodeAccessDeniedException = "AccessDeniedException"

    // ErrCodeInternalException for service response error code
    // "InternalException".
    //
    // Internal server error.
    ErrCodeInternalException = "InternalException"

    // ErrCodeInvalidAccessException for service response error code
    // "InvalidAccessException".
    //
    // AWS Security Hub isn't enabled for the account used to make this request.
    ErrCodeInvalidAccessException = "InvalidAccessException"

    // ErrCodeInvalidInputException for service response error code
    // "InvalidInputException".
    //
    // The request was rejected because you supplied an invalid or out-of-range
    // value for an input parameter.
    ErrCodeInvalidInputException = "InvalidInputException"

    // ErrCodeLimitExceededException for service response error code
    // "LimitExceededException".
    //
    // The request was rejected because it attempted to create resources beyond
    // the current AWS account limits. The error code describes the limit exceeded.
    ErrCodeLimitExceededException = "LimitExceededException"

    // ErrCodeResourceConflictException for service response error code
    // "ResourceConflictException".
    //
    // The resource specified in the request conflicts with an existing resource.
    ErrCodeResourceConflictException = "ResourceConflictException"

    // ErrCodeResourceNotFoundException for service response error code
    // "ResourceNotFoundException".
    //
    // The request was rejected because we can't find the specified resource.
    ErrCodeResourceNotFoundException = "ResourceNotFoundException"
)
const (
    ServiceName = "SecurityHub" // Name of service.
    EndpointsID = "securityhub" // ID to lookup a service endpoint with.
    ServiceID   = "SecurityHub" // ServiceID is a unique identifer of a specific service.
)

Service information constants

const (
    // DateRangeUnitDays is a DateRangeUnit enum value
    DateRangeUnitDays = "DAYS"
)
const (
    // MapFilterComparisonEquals is a MapFilterComparison enum value
    MapFilterComparisonEquals = "EQUALS"
)

type AcceptInvitationInput Uses

type AcceptInvitationInput struct {

    // The ID of the invitation sent from the Security Hub master account.
    //
    // InvitationId is a required field
    InvitationId *string `type:"string" required:"true"`

    // The account ID of the Security Hub master account that sent the invitation.
    //
    // MasterId is a required field
    MasterId *string `type:"string" required:"true"`
    // contains filtered or unexported fields
}

func (AcceptInvitationInput) GoString Uses

func (s AcceptInvitationInput) GoString() string

GoString returns the string representation

func (*AcceptInvitationInput) SetInvitationId Uses

func (s *AcceptInvitationInput) SetInvitationId(v string) *AcceptInvitationInput

SetInvitationId sets the InvitationId field's value.

func (*AcceptInvitationInput) SetMasterId Uses

func (s *AcceptInvitationInput) SetMasterId(v string) *AcceptInvitationInput

SetMasterId sets the MasterId field's value.

func (AcceptInvitationInput) String Uses

func (s AcceptInvitationInput) String() string

String returns the string representation

func (*AcceptInvitationInput) Validate Uses

func (s *AcceptInvitationInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type AcceptInvitationOutput Uses

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

func (AcceptInvitationOutput) GoString Uses

func (s AcceptInvitationOutput) GoString() string

GoString returns the string representation

func (AcceptInvitationOutput) String Uses

func (s AcceptInvitationOutput) String() string

String returns the string representation

type AccountDetails Uses

type AccountDetails struct {

    // The ID of an AWS account.
    AccountId *string `type:"string"`

    // The email of an AWS account.
    Email *string `type:"string"`
    // contains filtered or unexported fields
}

The details of an AWS account.

func (AccountDetails) GoString Uses

func (s AccountDetails) GoString() string

GoString returns the string representation

func (*AccountDetails) SetAccountId Uses

func (s *AccountDetails) SetAccountId(v string) *AccountDetails

SetAccountId sets the AccountId field's value.

func (*AccountDetails) SetEmail Uses

func (s *AccountDetails) SetEmail(v string) *AccountDetails

SetEmail sets the Email field's value.

func (AccountDetails) String Uses

func (s AccountDetails) String() string

String returns the string representation

type ActionTarget Uses

type ActionTarget struct {

    // The ARN for the target action.
    //
    // ActionTargetArn is a required field
    ActionTargetArn *string `type:"string" required:"true"`

    // The description of the target action.
    //
    // Description is a required field
    Description *string `type:"string" required:"true"`

    // The name of the action target.
    //
    // Name is a required field
    Name *string `type:"string" required:"true"`
    // contains filtered or unexported fields
}

An ActionTarget object.

func (ActionTarget) GoString Uses

func (s ActionTarget) GoString() string

GoString returns the string representation

func (*ActionTarget) SetActionTargetArn Uses

func (s *ActionTarget) SetActionTargetArn(v string) *ActionTarget

SetActionTargetArn sets the ActionTargetArn field's value.

func (*ActionTarget) SetDescription Uses

func (s *ActionTarget) SetDescription(v string) *ActionTarget

SetDescription sets the Description field's value.

func (*ActionTarget) SetName Uses

func (s *ActionTarget) SetName(v string) *ActionTarget

SetName sets the Name field's value.

func (ActionTarget) String Uses

func (s ActionTarget) String() string

String returns the string representation

type AwsEc2InstanceDetails Uses

type AwsEc2InstanceDetails struct {

    // The IAM profile ARN of the instance.
    IamInstanceProfileArn *string `type:"string"`

    // The Amazon Machine Image (AMI) ID of the instance.
    ImageId *string `type:"string"`

    // The IPv4 addresses associated with the instance.
    IpV4Addresses []*string `type:"list"`

    // The IPv6 addresses associated with the instance.
    IpV6Addresses []*string `type:"list"`

    // The key name associated with the instance.
    KeyName *string `type:"string"`

    // The date/time the instance was launched.
    LaunchedAt *string `type:"string"`

    // The identifier of the subnet that the instance was launched in.
    SubnetId *string `type:"string"`

    // The instance type of the instance.
    Type *string `type:"string"`

    // The identifier of the VPC that the instance was launched in.
    VpcId *string `type:"string"`
    // contains filtered or unexported fields
}

The details of an Amazon EC2 instance.

func (AwsEc2InstanceDetails) GoString Uses

func (s AwsEc2InstanceDetails) GoString() string

GoString returns the string representation

func (*AwsEc2InstanceDetails) SetIamInstanceProfileArn Uses

func (s *AwsEc2InstanceDetails) SetIamInstanceProfileArn(v string) *AwsEc2InstanceDetails

SetIamInstanceProfileArn sets the IamInstanceProfileArn field's value.

func (*AwsEc2InstanceDetails) SetImageId Uses

func (s *AwsEc2InstanceDetails) SetImageId(v string) *AwsEc2InstanceDetails

SetImageId sets the ImageId field's value.

func (*AwsEc2InstanceDetails) SetIpV4Addresses Uses

func (s *AwsEc2InstanceDetails) SetIpV4Addresses(v []*string) *AwsEc2InstanceDetails

SetIpV4Addresses sets the IpV4Addresses field's value.

func (*AwsEc2InstanceDetails) SetIpV6Addresses Uses

func (s *AwsEc2InstanceDetails) SetIpV6Addresses(v []*string) *AwsEc2InstanceDetails

SetIpV6Addresses sets the IpV6Addresses field's value.

func (*AwsEc2InstanceDetails) SetKeyName Uses

func (s *AwsEc2InstanceDetails) SetKeyName(v string) *AwsEc2InstanceDetails

SetKeyName sets the KeyName field's value.

func (*AwsEc2InstanceDetails) SetLaunchedAt Uses

func (s *AwsEc2InstanceDetails) SetLaunchedAt(v string) *AwsEc2InstanceDetails

SetLaunchedAt sets the LaunchedAt field's value.

func (*AwsEc2InstanceDetails) SetSubnetId Uses

func (s *AwsEc2InstanceDetails) SetSubnetId(v string) *AwsEc2InstanceDetails

SetSubnetId sets the SubnetId field's value.

func (*AwsEc2InstanceDetails) SetType Uses

func (s *AwsEc2InstanceDetails) SetType(v string) *AwsEc2InstanceDetails

SetType sets the Type field's value.

func (*AwsEc2InstanceDetails) SetVpcId Uses

func (s *AwsEc2InstanceDetails) SetVpcId(v string) *AwsEc2InstanceDetails

SetVpcId sets the VpcId field's value.

func (AwsEc2InstanceDetails) String Uses

func (s AwsEc2InstanceDetails) String() string

String returns the string representation

type AwsIamAccessKeyDetails Uses

type AwsIamAccessKeyDetails struct {

    // The creation date/time of the IAM access key related to a finding.
    CreatedAt *string `type:"string"`

    // The status of the IAM access key related to a finding.
    Status *string `type:"string" enum:"AwsIamAccessKeyStatus"`

    // The user associated with the IAM access key related to a finding.
    UserName *string `type:"string"`
    // contains filtered or unexported fields
}

IAM access key details related to a finding.

func (AwsIamAccessKeyDetails) GoString Uses

func (s AwsIamAccessKeyDetails) GoString() string

GoString returns the string representation

func (*AwsIamAccessKeyDetails) SetCreatedAt Uses

func (s *AwsIamAccessKeyDetails) SetCreatedAt(v string) *AwsIamAccessKeyDetails

SetCreatedAt sets the CreatedAt field's value.

func (*AwsIamAccessKeyDetails) SetStatus Uses

func (s *AwsIamAccessKeyDetails) SetStatus(v string) *AwsIamAccessKeyDetails

SetStatus sets the Status field's value.

func (*AwsIamAccessKeyDetails) SetUserName Uses

func (s *AwsIamAccessKeyDetails) SetUserName(v string) *AwsIamAccessKeyDetails

SetUserName sets the UserName field's value.

func (AwsIamAccessKeyDetails) String Uses

func (s AwsIamAccessKeyDetails) String() string

String returns the string representation

type AwsS3BucketDetails Uses

type AwsS3BucketDetails struct {

    // The canonical user ID of the owner of the S3 bucket.
    OwnerId *string `type:"string"`

    // The display name of the owner of the S3 bucket.
    OwnerName *string `type:"string"`
    // contains filtered or unexported fields
}

The details of an Amazon S3 bucket.

func (AwsS3BucketDetails) GoString Uses

func (s AwsS3BucketDetails) GoString() string

GoString returns the string representation

func (*AwsS3BucketDetails) SetOwnerId Uses

func (s *AwsS3BucketDetails) SetOwnerId(v string) *AwsS3BucketDetails

SetOwnerId sets the OwnerId field's value.

func (*AwsS3BucketDetails) SetOwnerName Uses

func (s *AwsS3BucketDetails) SetOwnerName(v string) *AwsS3BucketDetails

SetOwnerName sets the OwnerName field's value.

func (AwsS3BucketDetails) String Uses

func (s AwsS3BucketDetails) String() string

String returns the string representation

type AwsSecurityFinding Uses

type AwsSecurityFinding struct {

    // The AWS account ID that a finding is generated in.
    //
    // AwsAccountId is a required field
    AwsAccountId *string `type:"string" required:"true"`

    // This data type is exclusive to findings that are generated as the result
    // of a check run against a specific rule in a supported standard (for example,
    // CIS AWS Foundations). Contains compliance-related finding details.
    Compliance *Compliance `type:"structure"`

    // A finding's confidence. Confidence is defined as the likelihood that a finding
    // accurately identifies the behavior or issue that it was intended to identify.
    // Confidence is scored on a 0-100 basis using a ratio scale, where 0 means
    // zero percent confidence and 100 means 100 percent confidence.
    Confidence *int64 `type:"integer"`

    // An ISO8601-formatted timestamp that indicates when the security-findings
    // provider created the potential security issue that a finding captured.
    //
    // CreatedAt is a required field
    CreatedAt *string `type:"string" required:"true"`

    // The level of importance assigned to the resources associated with the finding.
    // A score of 0 means that the underlying resources have no criticality, and
    // a score of 100 is reserved for the most critical resources.
    Criticality *int64 `type:"integer"`

    // A finding's description.
    //
    // In this release, Description is a required property.
    //
    // Description is a required field
    Description *string `type:"string" required:"true"`

    // An ISO8601-formatted timestamp that indicates when the security-findings
    // provider first observed the potential security issue that a finding captured.
    FirstObservedAt *string `type:"string"`

    // The identifier for the solution-specific component (a discrete unit of logic)
    // that generated a finding. In various security-findings providers' solutions,
    // this generator can be called a rule, a check, a detector, a plug-in, etc.
    //
    // GeneratorId is a required field
    GeneratorId *string `type:"string" required:"true"`

    // The security findings provider-specific identifier for a finding.
    //
    // Id is a required field
    Id  *string `type:"string" required:"true"`

    // An ISO8601-formatted timestamp that indicates when the security-findings
    // provider most recently observed the potential security issue that a finding
    // captured.
    LastObservedAt *string `type:"string"`

    // A list of malware related to a finding.
    Malware []*Malware `type:"list"`

    // The details of network-related information about a finding.
    Network *Network `type:"structure"`

    // A user-defined note added to a finding.
    Note *Note `type:"structure"`

    // The details of process-related information about a finding.
    Process *ProcessDetails `type:"structure"`

    // The ARN generated by Security Hub that uniquely identifies a third-party
    // company (security-findings provider) after this provider's product (solution
    // that generates findings) is registered with Security Hub.
    //
    // ProductArn is a required field
    ProductArn *string `type:"string" required:"true"`

    // A data type where security-findings providers can include additional solution-specific
    // details that aren't part of the defined AwsSecurityFinding format.
    ProductFields map[string]*string `type:"map"`

    // The record state of a finding.
    RecordState *string `type:"string" enum:"RecordState"`

    // A list of related findings.
    RelatedFindings []*RelatedFinding `type:"list"`

    // A data type that describes the remediation options for a finding.
    Remediation *Remediation `type:"structure"`

    // A set of resource data types that describe the resources that the finding
    // refers to.
    //
    // Resources is a required field
    Resources []*Resource `type:"list" required:"true"`

    // The schema version that a finding is formatted for.
    //
    // SchemaVersion is a required field
    SchemaVersion *string `type:"string" required:"true"`

    // A finding's severity.
    //
    // Severity is a required field
    Severity *Severity `type:"structure" required:"true"`

    // A URL that links to a page about the current finding in the security-findings
    // provider's solution.
    SourceUrl *string `type:"string"`

    // Threat intel details related to a finding.
    ThreatIntelIndicators []*ThreatIntelIndicator `type:"list"`

    // A finding's title.
    //
    // In this release, Title is a required property.
    //
    // Title is a required field
    Title *string `type:"string" required:"true"`

    // One or more finding types in the format of namespace/category/classifier
    // that classify a finding.
    //
    // Valid namespace values are: Software and Configuration Checks | TTPs | Effects
    // | Unusual Behaviors | Sensitive Data Identifications
    //
    // Types is a required field
    Types []*string `type:"list" required:"true"`

    // An ISO8601-formatted timestamp that indicates when the security-findings
    // provider last updated the finding record.
    //
    // UpdatedAt is a required field
    UpdatedAt *string `type:"string" required:"true"`

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

    // Indicates the veracity of a finding.
    VerificationState *string `type:"string" enum:"VerificationState"`

    // The workflow state of a finding.
    WorkflowState *string `type:"string" enum:"WorkflowState"`
    // contains filtered or unexported fields
}

Provides consistent format for the contents of the Security Hub-aggregated findings. AwsSecurityFinding format enables you to share findings between AWS security services and third-party solutions, and compliance checks.

A finding is a potential security issue generated either by AWS services (Amazon GuardDuty, Amazon Inspector, and Amazon Macie) or by the integrated third-party solutions and compliance checks.

func (AwsSecurityFinding) GoString Uses

func (s AwsSecurityFinding) GoString() string

GoString returns the string representation

func (*AwsSecurityFinding) SetAwsAccountId Uses

func (s *AwsSecurityFinding) SetAwsAccountId(v string) *AwsSecurityFinding

SetAwsAccountId sets the AwsAccountId field's value.

func (*AwsSecurityFinding) SetCompliance Uses

func (s *AwsSecurityFinding) SetCompliance(v *Compliance) *AwsSecurityFinding

SetCompliance sets the Compliance field's value.

func (*AwsSecurityFinding) SetConfidence Uses

func (s *AwsSecurityFinding) SetConfidence(v int64) *AwsSecurityFinding

SetConfidence sets the Confidence field's value.

func (*AwsSecurityFinding) SetCreatedAt Uses

func (s *AwsSecurityFinding) SetCreatedAt(v string) *AwsSecurityFinding

SetCreatedAt sets the CreatedAt field's value.

func (*AwsSecurityFinding) SetCriticality Uses

func (s *AwsSecurityFinding) SetCriticality(v int64) *AwsSecurityFinding

SetCriticality sets the Criticality field's value.

func (*AwsSecurityFinding) SetDescription Uses

func (s *AwsSecurityFinding) SetDescription(v string) *AwsSecurityFinding

SetDescription sets the Description field's value.

func (*AwsSecurityFinding) SetFirstObservedAt Uses

func (s *AwsSecurityFinding) SetFirstObservedAt(v string) *AwsSecurityFinding

SetFirstObservedAt sets the FirstObservedAt field's value.

func (*AwsSecurityFinding) SetGeneratorId Uses

func (s *AwsSecurityFinding) SetGeneratorId(v string) *AwsSecurityFinding

SetGeneratorId sets the GeneratorId field's value.

func (*AwsSecurityFinding) SetId Uses

func (s *AwsSecurityFinding) SetId(v string) *AwsSecurityFinding

SetId sets the Id field's value.

func (*AwsSecurityFinding) SetLastObservedAt Uses

func (s *AwsSecurityFinding) SetLastObservedAt(v string) *AwsSecurityFinding

SetLastObservedAt sets the LastObservedAt field's value.

func (*AwsSecurityFinding) SetMalware Uses

func (s *AwsSecurityFinding) SetMalware(v []*Malware) *AwsSecurityFinding

SetMalware sets the Malware field's value.

func (*AwsSecurityFinding) SetNetwork Uses

func (s *AwsSecurityFinding) SetNetwork(v *Network) *AwsSecurityFinding

SetNetwork sets the Network field's value.

func (*AwsSecurityFinding) SetNote Uses

func (s *AwsSecurityFinding) SetNote(v *Note) *AwsSecurityFinding

SetNote sets the Note field's value.

func (*AwsSecurityFinding) SetProcess Uses

func (s *AwsSecurityFinding) SetProcess(v *ProcessDetails) *AwsSecurityFinding

SetProcess sets the Process field's value.

func (*AwsSecurityFinding) SetProductArn Uses

func (s *AwsSecurityFinding) SetProductArn(v string) *AwsSecurityFinding

SetProductArn sets the ProductArn field's value.

func (*AwsSecurityFinding) SetProductFields Uses

func (s *AwsSecurityFinding) SetProductFields(v map[string]*string) *AwsSecurityFinding

SetProductFields sets the ProductFields field's value.

func (*AwsSecurityFinding) SetRecordState Uses

func (s *AwsSecurityFinding) SetRecordState(v string) *AwsSecurityFinding

SetRecordState sets the RecordState field's value.

func (*AwsSecurityFinding) SetRelatedFindings Uses

func (s *AwsSecurityFinding) SetRelatedFindings(v []*RelatedFinding) *AwsSecurityFinding

SetRelatedFindings sets the RelatedFindings field's value.

func (*AwsSecurityFinding) SetRemediation Uses

func (s *AwsSecurityFinding) SetRemediation(v *Remediation) *AwsSecurityFinding

SetRemediation sets the Remediation field's value.

func (*AwsSecurityFinding) SetResources Uses

func (s *AwsSecurityFinding) SetResources(v []*Resource) *AwsSecurityFinding

SetResources sets the Resources field's value.

func (*AwsSecurityFinding) SetSchemaVersion Uses

func (s *AwsSecurityFinding) SetSchemaVersion(v string) *AwsSecurityFinding

SetSchemaVersion sets the SchemaVersion field's value.

func (*AwsSecurityFinding) SetSeverity Uses

func (s *AwsSecurityFinding) SetSeverity(v *Severity) *AwsSecurityFinding

SetSeverity sets the Severity field's value.

func (*AwsSecurityFinding) SetSourceUrl Uses

func (s *AwsSecurityFinding) SetSourceUrl(v string) *AwsSecurityFinding

SetSourceUrl sets the SourceUrl field's value.

func (*AwsSecurityFinding) SetThreatIntelIndicators Uses

func (s *AwsSecurityFinding) SetThreatIntelIndicators(v []*ThreatIntelIndicator) *AwsSecurityFinding

SetThreatIntelIndicators sets the ThreatIntelIndicators field's value.

func (*AwsSecurityFinding) SetTitle Uses

func (s *AwsSecurityFinding) SetTitle(v string) *AwsSecurityFinding

SetTitle sets the Title field's value.

func (*AwsSecurityFinding) SetTypes Uses

func (s *AwsSecurityFinding) SetTypes(v []*string) *AwsSecurityFinding

SetTypes sets the Types field's value.

func (*AwsSecurityFinding) SetUpdatedAt Uses

func (s *AwsSecurityFinding) SetUpdatedAt(v string) *AwsSecurityFinding

SetUpdatedAt sets the UpdatedAt field's value.

func (*AwsSecurityFinding) SetUserDefinedFields Uses

func (s *AwsSecurityFinding) SetUserDefinedFields(v map[string]*string) *AwsSecurityFinding

SetUserDefinedFields sets the UserDefinedFields field's value.

func (*AwsSecurityFinding) SetVerificationState Uses

func (s *AwsSecurityFinding) SetVerificationState(v string) *AwsSecurityFinding

SetVerificationState sets the VerificationState field's value.

func (*AwsSecurityFinding) SetWorkflowState Uses

func (s *AwsSecurityFinding) SetWorkflowState(v string) *AwsSecurityFinding

SetWorkflowState sets the WorkflowState field's value.

func (AwsSecurityFinding) String Uses

func (s AwsSecurityFinding) String() string

String returns the string representation

func (*AwsSecurityFinding) Validate Uses

func (s *AwsSecurityFinding) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type AwsSecurityFindingFilters Uses

type AwsSecurityFindingFilters struct {

    // The AWS account ID that a finding is generated in.
    AwsAccountId []*StringFilter `type:"list"`

    // The name of the findings provider (company) that owns the solution (product)
    // that generates findings.
    CompanyName []*StringFilter `type:"list"`

    // Exclusive to findings that are generated as the result of a check run against
    // a specific rule in a supported standard (for example, CIS AWS Foundations).
    // Contains compliance-related finding details.
    ComplianceStatus []*StringFilter `type:"list"`

    // A finding's confidence. Confidence is defined as the likelihood that a finding
    // accurately identifies the behavior or issue that it was intended to identify.
    // Confidence is scored on a 0-100 basis using a ratio scale, where 0 means
    // zero percent confidence and 100 means 100 percent confidence.
    Confidence []*NumberFilter `type:"list"`

    // An ISO8601-formatted timestamp that indicates when the security-findings
    // provider captured the potential security issue that a finding captured.
    CreatedAt []*DateFilter `type:"list"`

    // The level of importance assigned to the resources associated with the finding.
    // A score of 0 means that the underlying resources have no criticality, and
    // a score of 100 is reserved for the most critical resources.
    Criticality []*NumberFilter `type:"list"`

    // A finding's description.
    Description []*StringFilter `type:"list"`

    // An ISO8601-formatted timestamp that indicates when the security-findings
    // provider first observed the potential security issue that a finding captured.
    FirstObservedAt []*DateFilter `type:"list"`

    // The identifier for the solution-specific component (a discrete unit of logic)
    // that generated a finding. In various security-findings providers' solutions,
    // this generator can be called a rule, a check, a detector, a plug-in, etc.
    GeneratorId []*StringFilter `type:"list"`

    // The security findings provider-specific identifier for a finding.
    Id  []*StringFilter `type:"list"`

    // A keyword for a finding.
    Keyword []*KeywordFilter `type:"list"`

    // An ISO8601-formatted timestamp that indicates when the security-findings
    // provider most recently observed the potential security issue that a finding
    // captured.
    LastObservedAt []*DateFilter `type:"list"`

    // The name of the malware that was observed.
    MalwareName []*StringFilter `type:"list"`

    // The filesystem path of the malware that was observed.
    MalwarePath []*StringFilter `type:"list"`

    // The state of the malware that was observed.
    MalwareState []*StringFilter `type:"list"`

    // The type of the malware that was observed.
    MalwareType []*StringFilter `type:"list"`

    // The destination domain of network-related information about a finding.
    NetworkDestinationDomain []*StringFilter `type:"list"`

    // The destination IPv4 address of network-related information about a finding.
    NetworkDestinationIpV4 []*IpFilter `type:"list"`

    // The destination IPv6 address of network-related information about a finding.
    NetworkDestinationIpV6 []*IpFilter `type:"list"`

    // The destination port of network-related information about a finding.
    NetworkDestinationPort []*NumberFilter `type:"list"`

    // Indicates the direction of network traffic associated with a finding.
    NetworkDirection []*StringFilter `type:"list"`

    // The protocol of network-related information about a finding.
    NetworkProtocol []*StringFilter `type:"list"`

    // The source domain of network-related information about a finding.
    NetworkSourceDomain []*StringFilter `type:"list"`

    // The source IPv4 address of network-related information about a finding.
    NetworkSourceIpV4 []*IpFilter `type:"list"`

    // The source IPv6 address of network-related information about a finding.
    NetworkSourceIpV6 []*IpFilter `type:"list"`

    // The source media access control (MAC) address of network-related information
    // about a finding.
    NetworkSourceMac []*StringFilter `type:"list"`

    // The source port of network-related information about a finding.
    NetworkSourcePort []*NumberFilter `type:"list"`

    // The text of a note.
    NoteText []*StringFilter `type:"list"`

    // The timestamp of when the note was updated.
    NoteUpdatedAt []*DateFilter `type:"list"`

    // The principal that created a note.
    NoteUpdatedBy []*StringFilter `type:"list"`

    // The date/time that the process was launched.
    ProcessLaunchedAt []*DateFilter `type:"list"`

    // The name of the process.
    ProcessName []*StringFilter `type:"list"`

    // The parent process ID.
    ProcessParentPid []*NumberFilter `type:"list"`

    // The path to the process executable.
    ProcessPath []*StringFilter `type:"list"`

    // The process ID.
    ProcessPid []*NumberFilter `type:"list"`

    // The date/time that the process was terminated.
    ProcessTerminatedAt []*DateFilter `type:"list"`

    // The ARN generated by Security Hub that uniquely identifies a third-party
    // company (security findings provider) after this provider's product (solution
    // that generates findings) is registered with Security Hub.
    ProductArn []*StringFilter `type:"list"`

    // A data type where security-findings providers can include additional solution-specific
    // details that aren't part of the defined AwsSecurityFinding format.
    ProductFields []*MapFilter `type:"list"`

    // The name of the solution (product) that generates findings.
    ProductName []*StringFilter `type:"list"`

    // The recommendation of what to do about the issue described in a finding.
    RecommendationText []*StringFilter `type:"list"`

    // The updated record state for the finding.
    RecordState []*StringFilter `type:"list"`

    // The solution-generated identifier for a related finding.
    RelatedFindingsId []*StringFilter `type:"list"`

    // The ARN of the solution that generated a related finding.
    RelatedFindingsProductArn []*StringFilter `type:"list"`

    // The IAM profile ARN of the instance.
    ResourceAwsEc2InstanceIamInstanceProfileArn []*StringFilter `type:"list"`

    // The Amazon Machine Image (AMI) ID of the instance.
    ResourceAwsEc2InstanceImageId []*StringFilter `type:"list"`

    // The IPv4 addresses associated with the instance.
    ResourceAwsEc2InstanceIpV4Addresses []*IpFilter `type:"list"`

    // The IPv6 addresses associated with the instance.
    ResourceAwsEc2InstanceIpV6Addresses []*IpFilter `type:"list"`

    // The key name associated with the instance.
    ResourceAwsEc2InstanceKeyName []*StringFilter `type:"list"`

    // The date/time the instance was launched.
    ResourceAwsEc2InstanceLaunchedAt []*DateFilter `type:"list"`

    // The identifier of the subnet that the instance was launched in.
    ResourceAwsEc2InstanceSubnetId []*StringFilter `type:"list"`

    // The instance type of the instance.
    ResourceAwsEc2InstanceType []*StringFilter `type:"list"`

    // The identifier of the VPC that the instance was launched in.
    ResourceAwsEc2InstanceVpcId []*StringFilter `type:"list"`

    // The creation date/time of the IAM access key related to a finding.
    ResourceAwsIamAccessKeyCreatedAt []*DateFilter `type:"list"`

    // The status of the IAM access key related to a finding.
    ResourceAwsIamAccessKeyStatus []*StringFilter `type:"list"`

    // The user associated with the IAM access key related to a finding.
    ResourceAwsIamAccessKeyUserName []*StringFilter `type:"list"`

    // The canonical user ID of the owner of the S3 bucket.
    ResourceAwsS3BucketOwnerId []*StringFilter `type:"list"`

    // The display name of the owner of the S3 bucket.
    ResourceAwsS3BucketOwnerName []*StringFilter `type:"list"`

    // The identifier of the image related to a finding.
    ResourceContainerImageId []*StringFilter `type:"list"`

    // The name of the image related to a finding.
    ResourceContainerImageName []*StringFilter `type:"list"`

    // The date/time that the container was started.
    ResourceContainerLaunchedAt []*DateFilter `type:"list"`

    // The name of the container related to a finding.
    ResourceContainerName []*StringFilter `type:"list"`

    // The details of a resource that doesn't have a specific subfield for the resource
    // type defined.
    ResourceDetailsOther []*MapFilter `type:"list"`

    // The canonical identifier for the given resource type.
    ResourceId []*StringFilter `type:"list"`

    // The canonical AWS partition name that the Region is assigned to.
    ResourcePartition []*StringFilter `type:"list"`

    // The canonical AWS external Region name where this resource is located.
    ResourceRegion []*StringFilter `type:"list"`

    // A list of AWS tags associated with a resource at the time the finding was
    // processed.
    ResourceTags []*MapFilter `type:"list"`

    // Specifies the type of the resource that details are provided for.
    ResourceType []*StringFilter `type:"list"`

    // The label of a finding's severity.
    SeverityLabel []*StringFilter `type:"list"`

    // The normalized severity of a finding.
    SeverityNormalized []*NumberFilter `type:"list"`

    // The native severity as defined by the security-findings provider's solution
    // that generated the finding.
    SeverityProduct []*NumberFilter `type:"list"`

    // A URL that links to a page about the current finding in the security-findings
    // provider's solution.
    SourceUrl []*StringFilter `type:"list"`

    // The category of a threat intel indicator.
    ThreatIntelIndicatorCategory []*StringFilter `type:"list"`

    // The date/time of the last observation of a threat intel indicator.
    ThreatIntelIndicatorLastObservedAt []*DateFilter `type:"list"`

    // The source of the threat intel.
    ThreatIntelIndicatorSource []*StringFilter `type:"list"`

    // The URL for more details from the source of the threat intel.
    ThreatIntelIndicatorSourceUrl []*StringFilter `type:"list"`

    // The type of a threat intel indicator.
    ThreatIntelIndicatorType []*StringFilter `type:"list"`

    // The value of a threat intel indicator.
    ThreatIntelIndicatorValue []*StringFilter `type:"list"`

    // A finding's title.
    Title []*StringFilter `type:"list"`

    // A finding type in the format of namespace/category/classifier that classifies
    // a finding.
    Type []*StringFilter `type:"list"`

    // An ISO8601-formatted timestamp that indicates when the security-findings
    // provider last updated the finding record.
    UpdatedAt []*DateFilter `type:"list"`

    // A list of name/value string pairs associated with the finding. These are
    // custom, user-defined fields added to a finding.
    UserDefinedFields []*MapFilter `type:"list"`

    // The veracity of a finding.
    VerificationState []*StringFilter `type:"list"`

    // The workflow state of a finding.
    WorkflowState []*StringFilter `type:"list"`
    // contains filtered or unexported fields
}

A collection of attributes that are applied to all active Security Hub-aggregated findings and that result in a subset of findings that are included in this insight.

func (AwsSecurityFindingFilters) GoString Uses

func (s AwsSecurityFindingFilters) GoString() string

GoString returns the string representation

func (*AwsSecurityFindingFilters) SetAwsAccountId Uses

func (s *AwsSecurityFindingFilters) SetAwsAccountId(v []*StringFilter) *AwsSecurityFindingFilters

SetAwsAccountId sets the AwsAccountId field's value.

func (*AwsSecurityFindingFilters) SetCompanyName Uses

func (s *AwsSecurityFindingFilters) SetCompanyName(v []*StringFilter) *AwsSecurityFindingFilters

SetCompanyName sets the CompanyName field's value.

func (*AwsSecurityFindingFilters) SetComplianceStatus Uses

func (s *AwsSecurityFindingFilters) SetComplianceStatus(v []*StringFilter) *AwsSecurityFindingFilters

SetComplianceStatus sets the ComplianceStatus field's value.

func (*AwsSecurityFindingFilters) SetConfidence Uses

func (s *AwsSecurityFindingFilters) SetConfidence(v []*NumberFilter) *AwsSecurityFindingFilters

SetConfidence sets the Confidence field's value.

func (*AwsSecurityFindingFilters) SetCreatedAt Uses

func (s *AwsSecurityFindingFilters) SetCreatedAt(v []*DateFilter) *AwsSecurityFindingFilters

SetCreatedAt sets the CreatedAt field's value.

func (*AwsSecurityFindingFilters) SetCriticality Uses

func (s *AwsSecurityFindingFilters) SetCriticality(v []*NumberFilter) *AwsSecurityFindingFilters

SetCriticality sets the Criticality field's value.

func (*AwsSecurityFindingFilters) SetDescription Uses

func (s *AwsSecurityFindingFilters) SetDescription(v []*StringFilter) *AwsSecurityFindingFilters

SetDescription sets the Description field's value.

func (*AwsSecurityFindingFilters) SetFirstObservedAt Uses

func (s *AwsSecurityFindingFilters) SetFirstObservedAt(v []*DateFilter) *AwsSecurityFindingFilters

SetFirstObservedAt sets the FirstObservedAt field's value.

func (*AwsSecurityFindingFilters) SetGeneratorId Uses

func (s *AwsSecurityFindingFilters) SetGeneratorId(v []*StringFilter) *AwsSecurityFindingFilters

SetGeneratorId sets the GeneratorId field's value.

func (*AwsSecurityFindingFilters) SetId Uses

func (s *AwsSecurityFindingFilters) SetId(v []*StringFilter) *AwsSecurityFindingFilters

SetId sets the Id field's value.

func (*AwsSecurityFindingFilters) SetKeyword Uses

func (s *AwsSecurityFindingFilters) SetKeyword(v []*KeywordFilter) *AwsSecurityFindingFilters

SetKeyword sets the Keyword field's value.

func (*AwsSecurityFindingFilters) SetLastObservedAt Uses

func (s *AwsSecurityFindingFilters) SetLastObservedAt(v []*DateFilter) *AwsSecurityFindingFilters

SetLastObservedAt sets the LastObservedAt field's value.

func (*AwsSecurityFindingFilters) SetMalwareName Uses

func (s *AwsSecurityFindingFilters) SetMalwareName(v []*StringFilter) *AwsSecurityFindingFilters

SetMalwareName sets the MalwareName field's value.

func (*AwsSecurityFindingFilters) SetMalwarePath Uses

func (s *AwsSecurityFindingFilters) SetMalwarePath(v []*StringFilter) *AwsSecurityFindingFilters

SetMalwarePath sets the MalwarePath field's value.

func (*AwsSecurityFindingFilters) SetMalwareState Uses

func (s *AwsSecurityFindingFilters) SetMalwareState(v []*StringFilter) *AwsSecurityFindingFilters

SetMalwareState sets the MalwareState field's value.

func (*AwsSecurityFindingFilters) SetMalwareType Uses

func (s *AwsSecurityFindingFilters) SetMalwareType(v []*StringFilter) *AwsSecurityFindingFilters

SetMalwareType sets the MalwareType field's value.

func (*AwsSecurityFindingFilters) SetNetworkDestinationDomain Uses

func (s *AwsSecurityFindingFilters) SetNetworkDestinationDomain(v []*StringFilter) *AwsSecurityFindingFilters

SetNetworkDestinationDomain sets the NetworkDestinationDomain field's value.

func (*AwsSecurityFindingFilters) SetNetworkDestinationIpV4 Uses

func (s *AwsSecurityFindingFilters) SetNetworkDestinationIpV4(v []*IpFilter) *AwsSecurityFindingFilters

SetNetworkDestinationIpV4 sets the NetworkDestinationIpV4 field's value.

func (*AwsSecurityFindingFilters) SetNetworkDestinationIpV6 Uses

func (s *AwsSecurityFindingFilters) SetNetworkDestinationIpV6(v []*IpFilter) *AwsSecurityFindingFilters

SetNetworkDestinationIpV6 sets the NetworkDestinationIpV6 field's value.

func (*AwsSecurityFindingFilters) SetNetworkDestinationPort Uses

func (s *AwsSecurityFindingFilters) SetNetworkDestinationPort(v []*NumberFilter) *AwsSecurityFindingFilters

SetNetworkDestinationPort sets the NetworkDestinationPort field's value.

func (*AwsSecurityFindingFilters) SetNetworkDirection Uses

func (s *AwsSecurityFindingFilters) SetNetworkDirection(v []*StringFilter) *AwsSecurityFindingFilters

SetNetworkDirection sets the NetworkDirection field's value.

func (*AwsSecurityFindingFilters) SetNetworkProtocol Uses

func (s *AwsSecurityFindingFilters) SetNetworkProtocol(v []*StringFilter) *AwsSecurityFindingFilters

SetNetworkProtocol sets the NetworkProtocol field's value.

func (*AwsSecurityFindingFilters) SetNetworkSourceDomain Uses

func (s *AwsSecurityFindingFilters) SetNetworkSourceDomain(v []*StringFilter) *AwsSecurityFindingFilters

SetNetworkSourceDomain sets the NetworkSourceDomain field's value.

func (*AwsSecurityFindingFilters) SetNetworkSourceIpV4 Uses

func (s *AwsSecurityFindingFilters) SetNetworkSourceIpV4(v []*IpFilter) *AwsSecurityFindingFilters

SetNetworkSourceIpV4 sets the NetworkSourceIpV4 field's value.

func (*AwsSecurityFindingFilters) SetNetworkSourceIpV6 Uses

func (s *AwsSecurityFindingFilters) SetNetworkSourceIpV6(v []*IpFilter) *AwsSecurityFindingFilters

SetNetworkSourceIpV6 sets the NetworkSourceIpV6 field's value.

func (*AwsSecurityFindingFilters) SetNetworkSourceMac Uses

func (s *AwsSecurityFindingFilters) SetNetworkSourceMac(v []*StringFilter) *AwsSecurityFindingFilters

SetNetworkSourceMac sets the NetworkSourceMac field's value.

func (*AwsSecurityFindingFilters) SetNetworkSourcePort Uses

func (s *AwsSecurityFindingFilters) SetNetworkSourcePort(v []*NumberFilter) *AwsSecurityFindingFilters

SetNetworkSourcePort sets the NetworkSourcePort field's value.

func (*AwsSecurityFindingFilters) SetNoteText Uses

func (s *AwsSecurityFindingFilters) SetNoteText(v []*StringFilter) *AwsSecurityFindingFilters

SetNoteText sets the NoteText field's value.

func (*AwsSecurityFindingFilters) SetNoteUpdatedAt Uses

func (s *AwsSecurityFindingFilters) SetNoteUpdatedAt(v []*DateFilter) *AwsSecurityFindingFilters

SetNoteUpdatedAt sets the NoteUpdatedAt field's value.

func (*AwsSecurityFindingFilters) SetNoteUpdatedBy Uses

func (s *AwsSecurityFindingFilters) SetNoteUpdatedBy(v []*StringFilter) *AwsSecurityFindingFilters

SetNoteUpdatedBy sets the NoteUpdatedBy field's value.

func (*AwsSecurityFindingFilters) SetProcessLaunchedAt Uses

func (s *AwsSecurityFindingFilters) SetProcessLaunchedAt(v []*DateFilter) *AwsSecurityFindingFilters

SetProcessLaunchedAt sets the ProcessLaunchedAt field's value.

func (*AwsSecurityFindingFilters) SetProcessName Uses

func (s *AwsSecurityFindingFilters) SetProcessName(v []*StringFilter) *AwsSecurityFindingFilters

SetProcessName sets the ProcessName field's value.

func (*AwsSecurityFindingFilters) SetProcessParentPid Uses

func (s *AwsSecurityFindingFilters) SetProcessParentPid(v []*NumberFilter) *AwsSecurityFindingFilters

SetProcessParentPid sets the ProcessParentPid field's value.

func (*AwsSecurityFindingFilters) SetProcessPath Uses

func (s *AwsSecurityFindingFilters) SetProcessPath(v []*StringFilter) *AwsSecurityFindingFilters

SetProcessPath sets the ProcessPath field's value.

func (*AwsSecurityFindingFilters) SetProcessPid Uses

func (s *AwsSecurityFindingFilters) SetProcessPid(v []*NumberFilter) *AwsSecurityFindingFilters

SetProcessPid sets the ProcessPid field's value.

func (*AwsSecurityFindingFilters) SetProcessTerminatedAt Uses

func (s *AwsSecurityFindingFilters) SetProcessTerminatedAt(v []*DateFilter) *AwsSecurityFindingFilters

SetProcessTerminatedAt sets the ProcessTerminatedAt field's value.

func (*AwsSecurityFindingFilters) SetProductArn Uses

func (s *AwsSecurityFindingFilters) SetProductArn(v []*StringFilter) *AwsSecurityFindingFilters

SetProductArn sets the ProductArn field's value.

func (*AwsSecurityFindingFilters) SetProductFields Uses

func (s *AwsSecurityFindingFilters) SetProductFields(v []*MapFilter) *AwsSecurityFindingFilters

SetProductFields sets the ProductFields field's value.

func (*AwsSecurityFindingFilters) SetProductName Uses

func (s *AwsSecurityFindingFilters) SetProductName(v []*StringFilter) *AwsSecurityFindingFilters

SetProductName sets the ProductName field's value.

func (*AwsSecurityFindingFilters) SetRecommendationText Uses

func (s *AwsSecurityFindingFilters) SetRecommendationText(v []*StringFilter) *AwsSecurityFindingFilters

SetRecommendationText sets the RecommendationText field's value.

func (*AwsSecurityFindingFilters) SetRecordState Uses

func (s *AwsSecurityFindingFilters) SetRecordState(v []*StringFilter) *AwsSecurityFindingFilters

SetRecordState sets the RecordState field's value.

func (*AwsSecurityFindingFilters) SetRelatedFindingsId Uses

func (s *AwsSecurityFindingFilters) SetRelatedFindingsId(v []*StringFilter) *AwsSecurityFindingFilters

SetRelatedFindingsId sets the RelatedFindingsId field's value.

func (*AwsSecurityFindingFilters) SetRelatedFindingsProductArn Uses

func (s *AwsSecurityFindingFilters) SetRelatedFindingsProductArn(v []*StringFilter) *AwsSecurityFindingFilters

SetRelatedFindingsProductArn sets the RelatedFindingsProductArn field's value.

func (*AwsSecurityFindingFilters) SetResourceAwsEc2InstanceIamInstanceProfileArn Uses

func (s *AwsSecurityFindingFilters) SetResourceAwsEc2InstanceIamInstanceProfileArn(v []*StringFilter) *AwsSecurityFindingFilters

SetResourceAwsEc2InstanceIamInstanceProfileArn sets the ResourceAwsEc2InstanceIamInstanceProfileArn field's value.

func (*AwsSecurityFindingFilters) SetResourceAwsEc2InstanceImageId Uses

func (s *AwsSecurityFindingFilters) SetResourceAwsEc2InstanceImageId(v []*StringFilter) *AwsSecurityFindingFilters

SetResourceAwsEc2InstanceImageId sets the ResourceAwsEc2InstanceImageId field's value.

func (*AwsSecurityFindingFilters) SetResourceAwsEc2InstanceIpV4Addresses Uses

func (s *AwsSecurityFindingFilters) SetResourceAwsEc2InstanceIpV4Addresses(v []*IpFilter) *AwsSecurityFindingFilters

SetResourceAwsEc2InstanceIpV4Addresses sets the ResourceAwsEc2InstanceIpV4Addresses field's value.

func (*AwsSecurityFindingFilters) SetResourceAwsEc2InstanceIpV6Addresses Uses

func (s *AwsSecurityFindingFilters) SetResourceAwsEc2InstanceIpV6Addresses(v []*IpFilter) *AwsSecurityFindingFilters

SetResourceAwsEc2InstanceIpV6Addresses sets the ResourceAwsEc2InstanceIpV6Addresses field's value.

func (*AwsSecurityFindingFilters) SetResourceAwsEc2InstanceKeyName Uses

func (s *AwsSecurityFindingFilters) SetResourceAwsEc2InstanceKeyName(v []*StringFilter) *AwsSecurityFindingFilters

SetResourceAwsEc2InstanceKeyName sets the ResourceAwsEc2InstanceKeyName field's value.

func (*AwsSecurityFindingFilters) SetResourceAwsEc2InstanceLaunchedAt Uses

func (s *AwsSecurityFindingFilters) SetResourceAwsEc2InstanceLaunchedAt(v []*DateFilter) *AwsSecurityFindingFilters

SetResourceAwsEc2InstanceLaunchedAt sets the ResourceAwsEc2InstanceLaunchedAt field's value.

func (*AwsSecurityFindingFilters) SetResourceAwsEc2InstanceSubnetId Uses

func (s *AwsSecurityFindingFilters) SetResourceAwsEc2InstanceSubnetId(v []*StringFilter) *AwsSecurityFindingFilters

SetResourceAwsEc2InstanceSubnetId sets the ResourceAwsEc2InstanceSubnetId field's value.

func (*AwsSecurityFindingFilters) SetResourceAwsEc2InstanceType Uses

func (s *AwsSecurityFindingFilters) SetResourceAwsEc2InstanceType(v []*StringFilter) *AwsSecurityFindingFilters

SetResourceAwsEc2InstanceType sets the ResourceAwsEc2InstanceType field's value.

func (*AwsSecurityFindingFilters) SetResourceAwsEc2InstanceVpcId Uses

func (s *AwsSecurityFindingFilters) SetResourceAwsEc2InstanceVpcId(v []*StringFilter) *AwsSecurityFindingFilters

SetResourceAwsEc2InstanceVpcId sets the ResourceAwsEc2InstanceVpcId field's value.

func (*AwsSecurityFindingFilters) SetResourceAwsIamAccessKeyCreatedAt Uses

func (s *AwsSecurityFindingFilters) SetResourceAwsIamAccessKeyCreatedAt(v []*DateFilter) *AwsSecurityFindingFilters

SetResourceAwsIamAccessKeyCreatedAt sets the ResourceAwsIamAccessKeyCreatedAt field's value.

func (*AwsSecurityFindingFilters) SetResourceAwsIamAccessKeyStatus Uses

func (s *AwsSecurityFindingFilters) SetResourceAwsIamAccessKeyStatus(v []*StringFilter) *AwsSecurityFindingFilters

SetResourceAwsIamAccessKeyStatus sets the ResourceAwsIamAccessKeyStatus field's value.

func (*AwsSecurityFindingFilters) SetResourceAwsIamAccessKeyUserName Uses

func (s *AwsSecurityFindingFilters) SetResourceAwsIamAccessKeyUserName(v []*StringFilter) *AwsSecurityFindingFilters

SetResourceAwsIamAccessKeyUserName sets the ResourceAwsIamAccessKeyUserName field's value.

func (*AwsSecurityFindingFilters) SetResourceAwsS3BucketOwnerId Uses

func (s *AwsSecurityFindingFilters) SetResourceAwsS3BucketOwnerId(v []*StringFilter) *AwsSecurityFindingFilters

SetResourceAwsS3BucketOwnerId sets the ResourceAwsS3BucketOwnerId field's value.

func (*AwsSecurityFindingFilters) SetResourceAwsS3BucketOwnerName Uses

func (s *AwsSecurityFindingFilters) SetResourceAwsS3BucketOwnerName(v []*StringFilter) *AwsSecurityFindingFilters

SetResourceAwsS3BucketOwnerName sets the ResourceAwsS3BucketOwnerName field's value.

func (*AwsSecurityFindingFilters) SetResourceContainerImageId Uses

func (s *AwsSecurityFindingFilters) SetResourceContainerImageId(v []*StringFilter) *AwsSecurityFindingFilters

SetResourceContainerImageId sets the ResourceContainerImageId field's value.

func (*AwsSecurityFindingFilters) SetResourceContainerImageName Uses

func (s *AwsSecurityFindingFilters) SetResourceContainerImageName(v []*StringFilter) *AwsSecurityFindingFilters

SetResourceContainerImageName sets the ResourceContainerImageName field's value.

func (*AwsSecurityFindingFilters) SetResourceContainerLaunchedAt Uses

func (s *AwsSecurityFindingFilters) SetResourceContainerLaunchedAt(v []*DateFilter) *AwsSecurityFindingFilters

SetResourceContainerLaunchedAt sets the ResourceContainerLaunchedAt field's value.

func (*AwsSecurityFindingFilters) SetResourceContainerName Uses

func (s *AwsSecurityFindingFilters) SetResourceContainerName(v []*StringFilter) *AwsSecurityFindingFilters

SetResourceContainerName sets the ResourceContainerName field's value.

func (*AwsSecurityFindingFilters) SetResourceDetailsOther Uses

func (s *AwsSecurityFindingFilters) SetResourceDetailsOther(v []*MapFilter) *AwsSecurityFindingFilters

SetResourceDetailsOther sets the ResourceDetailsOther field's value.

func (*AwsSecurityFindingFilters) SetResourceId Uses

func (s *AwsSecurityFindingFilters) SetResourceId(v []*StringFilter) *AwsSecurityFindingFilters

SetResourceId sets the ResourceId field's value.

func (*AwsSecurityFindingFilters) SetResourcePartition Uses

func (s *AwsSecurityFindingFilters) SetResourcePartition(v []*StringFilter) *AwsSecurityFindingFilters

SetResourcePartition sets the ResourcePartition field's value.

func (*AwsSecurityFindingFilters) SetResourceRegion Uses

func (s *AwsSecurityFindingFilters) SetResourceRegion(v []*StringFilter) *AwsSecurityFindingFilters

SetResourceRegion sets the ResourceRegion field's value.

func (*AwsSecurityFindingFilters) SetResourceTags Uses

func (s *AwsSecurityFindingFilters) SetResourceTags(v []*MapFilter) *AwsSecurityFindingFilters

SetResourceTags sets the ResourceTags field's value.

func (*AwsSecurityFindingFilters) SetResourceType Uses

func (s *AwsSecurityFindingFilters) SetResourceType(v []*StringFilter) *AwsSecurityFindingFilters

SetResourceType sets the ResourceType field's value.

func (*AwsSecurityFindingFilters) SetSeverityLabel Uses

func (s *AwsSecurityFindingFilters) SetSeverityLabel(v []*StringFilter) *AwsSecurityFindingFilters

SetSeverityLabel sets the SeverityLabel field's value.

func (*AwsSecurityFindingFilters) SetSeverityNormalized Uses

func (s *AwsSecurityFindingFilters) SetSeverityNormalized(v []*NumberFilter) *AwsSecurityFindingFilters

SetSeverityNormalized sets the SeverityNormalized field's value.

func (*AwsSecurityFindingFilters) SetSeverityProduct Uses

func (s *AwsSecurityFindingFilters) SetSeverityProduct(v []*NumberFilter) *AwsSecurityFindingFilters

SetSeverityProduct sets the SeverityProduct field's value.

func (*AwsSecurityFindingFilters) SetSourceUrl Uses

func (s *AwsSecurityFindingFilters) SetSourceUrl(v []*StringFilter) *AwsSecurityFindingFilters

SetSourceUrl sets the SourceUrl field's value.

func (*AwsSecurityFindingFilters) SetThreatIntelIndicatorCategory Uses

func (s *AwsSecurityFindingFilters) SetThreatIntelIndicatorCategory(v []*StringFilter) *AwsSecurityFindingFilters

SetThreatIntelIndicatorCategory sets the ThreatIntelIndicatorCategory field's value.

func (*AwsSecurityFindingFilters) SetThreatIntelIndicatorLastObservedAt Uses

func (s *AwsSecurityFindingFilters) SetThreatIntelIndicatorLastObservedAt(v []*DateFilter) *AwsSecurityFindingFilters

SetThreatIntelIndicatorLastObservedAt sets the ThreatIntelIndicatorLastObservedAt field's value.

func (*AwsSecurityFindingFilters) SetThreatIntelIndicatorSource Uses

func (s *AwsSecurityFindingFilters) SetThreatIntelIndicatorSource(v []*StringFilter) *AwsSecurityFindingFilters

SetThreatIntelIndicatorSource sets the ThreatIntelIndicatorSource field's value.

func (*AwsSecurityFindingFilters) SetThreatIntelIndicatorSourceUrl Uses

func (s *AwsSecurityFindingFilters) SetThreatIntelIndicatorSourceUrl(v []*StringFilter) *AwsSecurityFindingFilters

SetThreatIntelIndicatorSourceUrl sets the ThreatIntelIndicatorSourceUrl field's value.

func (*AwsSecurityFindingFilters) SetThreatIntelIndicatorType Uses

func (s *AwsSecurityFindingFilters) SetThreatIntelIndicatorType(v []*StringFilter) *AwsSecurityFindingFilters

SetThreatIntelIndicatorType sets the ThreatIntelIndicatorType field's value.

func (*AwsSecurityFindingFilters) SetThreatIntelIndicatorValue Uses

func (s *AwsSecurityFindingFilters) SetThreatIntelIndicatorValue(v []*StringFilter) *AwsSecurityFindingFilters

SetThreatIntelIndicatorValue sets the ThreatIntelIndicatorValue field's value.

func (*AwsSecurityFindingFilters) SetTitle Uses

func (s *AwsSecurityFindingFilters) SetTitle(v []*StringFilter) *AwsSecurityFindingFilters

SetTitle sets the Title field's value.

func (*AwsSecurityFindingFilters) SetType Uses

func (s *AwsSecurityFindingFilters) SetType(v []*StringFilter) *AwsSecurityFindingFilters

SetType sets the Type field's value.

func (*AwsSecurityFindingFilters) SetUpdatedAt Uses

func (s *AwsSecurityFindingFilters) SetUpdatedAt(v []*DateFilter) *AwsSecurityFindingFilters

SetUpdatedAt sets the UpdatedAt field's value.

func (*AwsSecurityFindingFilters) SetUserDefinedFields Uses

func (s *AwsSecurityFindingFilters) SetUserDefinedFields(v []*MapFilter) *AwsSecurityFindingFilters

SetUserDefinedFields sets the UserDefinedFields field's value.

func (*AwsSecurityFindingFilters) SetVerificationState Uses

func (s *AwsSecurityFindingFilters) SetVerificationState(v []*StringFilter) *AwsSecurityFindingFilters

SetVerificationState sets the VerificationState field's value.

func (*AwsSecurityFindingFilters) SetWorkflowState Uses

func (s *AwsSecurityFindingFilters) SetWorkflowState(v []*StringFilter) *AwsSecurityFindingFilters

SetWorkflowState sets the WorkflowState field's value.

func (AwsSecurityFindingFilters) String Uses

func (s AwsSecurityFindingFilters) String() string

String returns the string representation

type BatchDisableStandardsInput Uses

type BatchDisableStandardsInput struct {

    // The ARNs of the standards subscriptions to disable.
    //
    // StandardsSubscriptionArns is a required field
    StandardsSubscriptionArns []*string `min:"1" type:"list" required:"true"`
    // contains filtered or unexported fields
}

func (BatchDisableStandardsInput) GoString Uses

func (s BatchDisableStandardsInput) GoString() string

GoString returns the string representation

func (*BatchDisableStandardsInput) SetStandardsSubscriptionArns Uses

func (s *BatchDisableStandardsInput) SetStandardsSubscriptionArns(v []*string) *BatchDisableStandardsInput

SetStandardsSubscriptionArns sets the StandardsSubscriptionArns field's value.

func (BatchDisableStandardsInput) String Uses

func (s BatchDisableStandardsInput) String() string

String returns the string representation

func (*BatchDisableStandardsInput) Validate Uses

func (s *BatchDisableStandardsInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type BatchDisableStandardsOutput Uses

type BatchDisableStandardsOutput struct {

    // The details of the standards subscriptions that were disabled.
    StandardsSubscriptions []*StandardsSubscription `type:"list"`
    // contains filtered or unexported fields
}

func (BatchDisableStandardsOutput) GoString Uses

func (s BatchDisableStandardsOutput) GoString() string

GoString returns the string representation

func (*BatchDisableStandardsOutput) SetStandardsSubscriptions Uses

func (s *BatchDisableStandardsOutput) SetStandardsSubscriptions(v []*StandardsSubscription) *BatchDisableStandardsOutput

SetStandardsSubscriptions sets the StandardsSubscriptions field's value.

func (BatchDisableStandardsOutput) String Uses

func (s BatchDisableStandardsOutput) String() string

String returns the string representation

type BatchEnableStandardsInput Uses

type BatchEnableStandardsInput struct {

    // The list of standards compliance checks to enable.
    //
    // In this release, Security Hub supports only the CIS AWS Foundations standard.
    //
    // The ARN for the standard is arn:aws:securityhub:::ruleset/cis-aws-foundations-benchmark/v/1.2.0.
    //
    // StandardsSubscriptionRequests is a required field
    StandardsSubscriptionRequests []*StandardsSubscriptionRequest `min:"1" type:"list" required:"true"`
    // contains filtered or unexported fields
}

func (BatchEnableStandardsInput) GoString Uses

func (s BatchEnableStandardsInput) GoString() string

GoString returns the string representation

func (*BatchEnableStandardsInput) SetStandardsSubscriptionRequests Uses

func (s *BatchEnableStandardsInput) SetStandardsSubscriptionRequests(v []*StandardsSubscriptionRequest) *BatchEnableStandardsInput

SetStandardsSubscriptionRequests sets the StandardsSubscriptionRequests field's value.

func (BatchEnableStandardsInput) String Uses

func (s BatchEnableStandardsInput) String() string

String returns the string representation

func (*BatchEnableStandardsInput) Validate Uses

func (s *BatchEnableStandardsInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type BatchEnableStandardsOutput Uses

type BatchEnableStandardsOutput struct {

    // The details of the standards subscriptions that were enabled.
    StandardsSubscriptions []*StandardsSubscription `type:"list"`
    // contains filtered or unexported fields
}

func (BatchEnableStandardsOutput) GoString Uses

func (s BatchEnableStandardsOutput) GoString() string

GoString returns the string representation

func (*BatchEnableStandardsOutput) SetStandardsSubscriptions Uses

func (s *BatchEnableStandardsOutput) SetStandardsSubscriptions(v []*StandardsSubscription) *BatchEnableStandardsOutput

SetStandardsSubscriptions sets the StandardsSubscriptions field's value.

func (BatchEnableStandardsOutput) String Uses

func (s BatchEnableStandardsOutput) String() string

String returns the string representation

type BatchImportFindingsInput Uses

type BatchImportFindingsInput struct {

    // A list of findings to import. To successfully import a finding, it must follow
    // the AWS Security Finding Format (https://docs.aws.amazon.com/securityhub/latest/userguide/securityhub-findings-format.html).
    //
    // Findings is a required field
    Findings []*AwsSecurityFinding `type:"list" required:"true"`
    // contains filtered or unexported fields
}

func (BatchImportFindingsInput) GoString Uses

func (s BatchImportFindingsInput) GoString() string

GoString returns the string representation

func (*BatchImportFindingsInput) SetFindings Uses

func (s *BatchImportFindingsInput) SetFindings(v []*AwsSecurityFinding) *BatchImportFindingsInput

SetFindings sets the Findings field's value.

func (BatchImportFindingsInput) String Uses

func (s BatchImportFindingsInput) String() string

String returns the string representation

func (*BatchImportFindingsInput) Validate Uses

func (s *BatchImportFindingsInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type BatchImportFindingsOutput Uses

type BatchImportFindingsOutput struct {

    // The number of findings that failed to import.
    //
    // FailedCount is a required field
    FailedCount *int64 `type:"integer" required:"true"`

    // The list of the findings that failed to import.
    FailedFindings []*ImportFindingsError `type:"list"`

    // The number of findings that were successfully imported.
    //
    // SuccessCount is a required field
    SuccessCount *int64 `type:"integer" required:"true"`
    // contains filtered or unexported fields
}

func (BatchImportFindingsOutput) GoString Uses

func (s BatchImportFindingsOutput) GoString() string

GoString returns the string representation

func (*BatchImportFindingsOutput) SetFailedCount Uses

func (s *BatchImportFindingsOutput) SetFailedCount(v int64) *BatchImportFindingsOutput

SetFailedCount sets the FailedCount field's value.

func (*BatchImportFindingsOutput) SetFailedFindings Uses

func (s *BatchImportFindingsOutput) SetFailedFindings(v []*ImportFindingsError) *BatchImportFindingsOutput

SetFailedFindings sets the FailedFindings field's value.

func (*BatchImportFindingsOutput) SetSuccessCount Uses

func (s *BatchImportFindingsOutput) SetSuccessCount(v int64) *BatchImportFindingsOutput

SetSuccessCount sets the SuccessCount field's value.

func (BatchImportFindingsOutput) String Uses

func (s BatchImportFindingsOutput) String() string

String returns the string representation

type Compliance Uses

type Compliance struct {

    // The result of a compliance check.
    Status *string `type:"string" enum:"ComplianceStatus"`
    // contains filtered or unexported fields
}

Exclusive to findings that are generated as the result of a check run against a specific rule in a supported standard (for example, CIS AWS Foundations). Contains compliance-related finding details.

func (Compliance) GoString Uses

func (s Compliance) GoString() string

GoString returns the string representation

func (*Compliance) SetStatus Uses

func (s *Compliance) SetStatus(v string) *Compliance

SetStatus sets the Status field's value.

func (Compliance) String Uses

func (s Compliance) String() string

String returns the string representation

type ContainerDetails Uses

type ContainerDetails struct {

    // The identifier of the image related to a finding.
    ImageId *string `type:"string"`

    // The name of the image related to a finding.
    ImageName *string `type:"string"`

    // The date and time when the container started.
    LaunchedAt *string `type:"string"`

    // The name of the container related to a finding.
    Name *string `type:"string"`
    // contains filtered or unexported fields
}

Container details related to a finding.

func (ContainerDetails) GoString Uses

func (s ContainerDetails) GoString() string

GoString returns the string representation

func (*ContainerDetails) SetImageId Uses

func (s *ContainerDetails) SetImageId(v string) *ContainerDetails

SetImageId sets the ImageId field's value.

func (*ContainerDetails) SetImageName Uses

func (s *ContainerDetails) SetImageName(v string) *ContainerDetails

SetImageName sets the ImageName field's value.

func (*ContainerDetails) SetLaunchedAt Uses

func (s *ContainerDetails) SetLaunchedAt(v string) *ContainerDetails

SetLaunchedAt sets the LaunchedAt field's value.

func (*ContainerDetails) SetName Uses

func (s *ContainerDetails) SetName(v string) *ContainerDetails

SetName sets the Name field's value.

func (ContainerDetails) String Uses

func (s ContainerDetails) String() string

String returns the string representation

type CreateActionTargetInput Uses

type CreateActionTargetInput struct {

    // The description for the custom action target.
    //
    // Description is a required field
    Description *string `type:"string" required:"true"`

    // The ID for the custom action target.
    //
    // Id is a required field
    Id  *string `type:"string" required:"true"`

    // The name of the custom action target.
    //
    // Name is a required field
    Name *string `type:"string" required:"true"`
    // contains filtered or unexported fields
}

func (CreateActionTargetInput) GoString Uses

func (s CreateActionTargetInput) GoString() string

GoString returns the string representation

func (*CreateActionTargetInput) SetDescription Uses

func (s *CreateActionTargetInput) SetDescription(v string) *CreateActionTargetInput

SetDescription sets the Description field's value.

func (*CreateActionTargetInput) SetId Uses

func (s *CreateActionTargetInput) SetId(v string) *CreateActionTargetInput

SetId sets the Id field's value.

func (*CreateActionTargetInput) SetName Uses

func (s *CreateActionTargetInput) SetName(v string) *CreateActionTargetInput

SetName sets the Name field's value.

func (CreateActionTargetInput) String Uses

func (s CreateActionTargetInput) String() string

String returns the string representation

func (*CreateActionTargetInput) Validate Uses

func (s *CreateActionTargetInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type CreateActionTargetOutput Uses

type CreateActionTargetOutput struct {

    // The ARN for the custom action target.
    //
    // ActionTargetArn is a required field
    ActionTargetArn *string `type:"string" required:"true"`
    // contains filtered or unexported fields
}

func (CreateActionTargetOutput) GoString Uses

func (s CreateActionTargetOutput) GoString() string

GoString returns the string representation

func (*CreateActionTargetOutput) SetActionTargetArn Uses

func (s *CreateActionTargetOutput) SetActionTargetArn(v string) *CreateActionTargetOutput

SetActionTargetArn sets the ActionTargetArn field's value.

func (CreateActionTargetOutput) String Uses

func (s CreateActionTargetOutput) String() string

String returns the string representation

type CreateInsightInput Uses

type CreateInsightInput struct {

    // One or more attributes used to filter the findings included in the insight.
    // Only findings that match the criteria defined in the filters are included
    // in the insight.
    //
    // Filters is a required field
    Filters *AwsSecurityFindingFilters `type:"structure" required:"true"`

    // The attribute used as the aggregator to group related findings for the insight.
    //
    // GroupByAttribute is a required field
    GroupByAttribute *string `type:"string" required:"true"`

    // The name of the custom insight to create.
    //
    // Name is a required field
    Name *string `type:"string" required:"true"`
    // contains filtered or unexported fields
}

func (CreateInsightInput) GoString Uses

func (s CreateInsightInput) GoString() string

GoString returns the string representation

func (*CreateInsightInput) SetFilters Uses

func (s *CreateInsightInput) SetFilters(v *AwsSecurityFindingFilters) *CreateInsightInput

SetFilters sets the Filters field's value.

func (*CreateInsightInput) SetGroupByAttribute Uses

func (s *CreateInsightInput) SetGroupByAttribute(v string) *CreateInsightInput

SetGroupByAttribute sets the GroupByAttribute field's value.

func (*CreateInsightInput) SetName Uses

func (s *CreateInsightInput) SetName(v string) *CreateInsightInput

SetName sets the Name field's value.

func (CreateInsightInput) String Uses

func (s CreateInsightInput) String() string

String returns the string representation

func (*CreateInsightInput) Validate Uses

func (s *CreateInsightInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type CreateInsightOutput Uses

type CreateInsightOutput struct {

    // The ARN of the insight created.
    //
    // InsightArn is a required field
    InsightArn *string `type:"string" required:"true"`
    // contains filtered or unexported fields
}

func (CreateInsightOutput) GoString Uses

func (s CreateInsightOutput) GoString() string

GoString returns the string representation

func (*CreateInsightOutput) SetInsightArn Uses

func (s *CreateInsightOutput) SetInsightArn(v string) *CreateInsightOutput

SetInsightArn sets the InsightArn field's value.

func (CreateInsightOutput) String Uses

func (s CreateInsightOutput) String() string

String returns the string representation

type CreateMembersInput Uses

type CreateMembersInput struct {

    // A list of account ID and email address pairs of the accounts to associate
    // with the Security Hub master account.
    AccountDetails []*AccountDetails `type:"list"`
    // contains filtered or unexported fields
}

func (CreateMembersInput) GoString Uses

func (s CreateMembersInput) GoString() string

GoString returns the string representation

func (*CreateMembersInput) SetAccountDetails Uses

func (s *CreateMembersInput) SetAccountDetails(v []*AccountDetails) *CreateMembersInput

SetAccountDetails sets the AccountDetails field's value.

func (CreateMembersInput) String Uses

func (s CreateMembersInput) String() string

String returns the string representation

type CreateMembersOutput Uses

type CreateMembersOutput struct {

    // A list of account ID and email address pairs of the AWS accounts that weren't
    // processed.
    UnprocessedAccounts []*Result `type:"list"`
    // contains filtered or unexported fields
}

func (CreateMembersOutput) GoString Uses

func (s CreateMembersOutput) GoString() string

GoString returns the string representation

func (*CreateMembersOutput) SetUnprocessedAccounts Uses

func (s *CreateMembersOutput) SetUnprocessedAccounts(v []*Result) *CreateMembersOutput

SetUnprocessedAccounts sets the UnprocessedAccounts field's value.

func (CreateMembersOutput) String Uses

func (s CreateMembersOutput) String() string

String returns the string representation

type DateFilter Uses

type DateFilter struct {

    // A date range for the date filter.
    DateRange *DateRange `type:"structure"`

    // An end date for the date filter.
    End *string `type:"string"`

    // A start date for the date filter.
    Start *string `type:"string"`
    // contains filtered or unexported fields
}

A date filter for querying findings.

func (DateFilter) GoString Uses

func (s DateFilter) GoString() string

GoString returns the string representation

func (*DateFilter) SetDateRange Uses

func (s *DateFilter) SetDateRange(v *DateRange) *DateFilter

SetDateRange sets the DateRange field's value.

func (*DateFilter) SetEnd Uses

func (s *DateFilter) SetEnd(v string) *DateFilter

SetEnd sets the End field's value.

func (*DateFilter) SetStart Uses

func (s *DateFilter) SetStart(v string) *DateFilter

SetStart sets the Start field's value.

func (DateFilter) String Uses

func (s DateFilter) String() string

String returns the string representation

type DateRange Uses

type DateRange struct {

    // A date range unit for the date filter.
    Unit *string `type:"string" enum:"DateRangeUnit"`

    // A date range value for the date filter.
    Value *int64 `type:"integer"`
    // contains filtered or unexported fields
}

A date range for the date filter.

func (DateRange) GoString Uses

func (s DateRange) GoString() string

GoString returns the string representation

func (*DateRange) SetUnit Uses

func (s *DateRange) SetUnit(v string) *DateRange

SetUnit sets the Unit field's value.

func (*DateRange) SetValue Uses

func (s *DateRange) SetValue(v int64) *DateRange

SetValue sets the Value field's value.

func (DateRange) String Uses

func (s DateRange) String() string

String returns the string representation

type DeclineInvitationsInput Uses

type DeclineInvitationsInput struct {

    // A list of account IDs that specify the accounts that invitations to Security
    // Hub are declined from.
    //
    // AccountIds is a required field
    AccountIds []*string `type:"list" required:"true"`
    // contains filtered or unexported fields
}

func (DeclineInvitationsInput) GoString Uses

func (s DeclineInvitationsInput) GoString() string

GoString returns the string representation

func (*DeclineInvitationsInput) SetAccountIds Uses

func (s *DeclineInvitationsInput) SetAccountIds(v []*string) *DeclineInvitationsInput

SetAccountIds sets the AccountIds field's value.

func (DeclineInvitationsInput) String Uses

func (s DeclineInvitationsInput) String() string

String returns the string representation

func (*DeclineInvitationsInput) Validate Uses

func (s *DeclineInvitationsInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type DeclineInvitationsOutput Uses

type DeclineInvitationsOutput struct {

    // A list of account ID and email address pairs of the AWS accounts that weren't
    // processed.
    UnprocessedAccounts []*Result `type:"list"`
    // contains filtered or unexported fields
}

func (DeclineInvitationsOutput) GoString Uses

func (s DeclineInvitationsOutput) GoString() string

GoString returns the string representation

func (*DeclineInvitationsOutput) SetUnprocessedAccounts Uses

func (s *DeclineInvitationsOutput) SetUnprocessedAccounts(v []*Result) *DeclineInvitationsOutput

SetUnprocessedAccounts sets the UnprocessedAccounts field's value.

func (DeclineInvitationsOutput) String Uses

func (s DeclineInvitationsOutput) String() string

String returns the string representation

type DeleteActionTargetInput Uses

type DeleteActionTargetInput struct {

    // The ARN of the custom action target to delete.
    //
    // ActionTargetArn is a required field
    ActionTargetArn *string `location:"uri" locationName:"ActionTargetArn" type:"string" required:"true"`
    // contains filtered or unexported fields
}

func (DeleteActionTargetInput) GoString Uses

func (s DeleteActionTargetInput) GoString() string

GoString returns the string representation

func (*DeleteActionTargetInput) SetActionTargetArn Uses

func (s *DeleteActionTargetInput) SetActionTargetArn(v string) *DeleteActionTargetInput

SetActionTargetArn sets the ActionTargetArn field's value.

func (DeleteActionTargetInput) String Uses

func (s DeleteActionTargetInput) String() string

String returns the string representation

func (*DeleteActionTargetInput) Validate Uses

func (s *DeleteActionTargetInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type DeleteActionTargetOutput Uses

type DeleteActionTargetOutput struct {

    // The ARN of the custom action target that was deleted.
    //
    // ActionTargetArn is a required field
    ActionTargetArn *string `type:"string" required:"true"`
    // contains filtered or unexported fields
}

func (DeleteActionTargetOutput) GoString Uses

func (s DeleteActionTargetOutput) GoString() string

GoString returns the string representation

func (*DeleteActionTargetOutput) SetActionTargetArn Uses

func (s *DeleteActionTargetOutput) SetActionTargetArn(v string) *DeleteActionTargetOutput

SetActionTargetArn sets the ActionTargetArn field's value.

func (DeleteActionTargetOutput) String Uses

func (s DeleteActionTargetOutput) String() string

String returns the string representation

type DeleteInsightInput Uses

type DeleteInsightInput struct {

    // The ARN of the insight to delete.
    //
    // InsightArn is a required field
    InsightArn *string `location:"uri" locationName:"InsightArn" type:"string" required:"true"`
    // contains filtered or unexported fields
}

func (DeleteInsightInput) GoString Uses

func (s DeleteInsightInput) GoString() string

GoString returns the string representation

func (*DeleteInsightInput) SetInsightArn Uses

func (s *DeleteInsightInput) SetInsightArn(v string) *DeleteInsightInput

SetInsightArn sets the InsightArn field's value.

func (DeleteInsightInput) String Uses

func (s DeleteInsightInput) String() string

String returns the string representation

func (*DeleteInsightInput) Validate Uses

func (s *DeleteInsightInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type DeleteInsightOutput Uses

type DeleteInsightOutput struct {

    // The ARN of the insight that was deleted.
    //
    // InsightArn is a required field
    InsightArn *string `type:"string" required:"true"`
    // contains filtered or unexported fields
}

func (DeleteInsightOutput) GoString Uses

func (s DeleteInsightOutput) GoString() string

GoString returns the string representation

func (*DeleteInsightOutput) SetInsightArn Uses

func (s *DeleteInsightOutput) SetInsightArn(v string) *DeleteInsightOutput

SetInsightArn sets the InsightArn field's value.

func (DeleteInsightOutput) String Uses

func (s DeleteInsightOutput) String() string

String returns the string representation

type DeleteInvitationsInput Uses

type DeleteInvitationsInput struct {

    // A list of the account IDs that sent the invitations to delete.
    //
    // AccountIds is a required field
    AccountIds []*string `type:"list" required:"true"`
    // contains filtered or unexported fields
}

func (DeleteInvitationsInput) GoString Uses

func (s DeleteInvitationsInput) GoString() string

GoString returns the string representation

func (*DeleteInvitationsInput) SetAccountIds Uses

func (s *DeleteInvitationsInput) SetAccountIds(v []*string) *DeleteInvitationsInput

SetAccountIds sets the AccountIds field's value.

func (DeleteInvitationsInput) String Uses

func (s DeleteInvitationsInput) String() string

String returns the string representation

func (*DeleteInvitationsInput) Validate Uses

func (s *DeleteInvitationsInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type DeleteInvitationsOutput Uses

type DeleteInvitationsOutput struct {

    // A list of account ID and email address pairs of the AWS accounts that invitations
    // weren't deleted for.
    UnprocessedAccounts []*Result `type:"list"`
    // contains filtered or unexported fields
}

func (DeleteInvitationsOutput) GoString Uses

func (s DeleteInvitationsOutput) GoString() string

GoString returns the string representation

func (*DeleteInvitationsOutput) SetUnprocessedAccounts Uses

func (s *DeleteInvitationsOutput) SetUnprocessedAccounts(v []*Result) *DeleteInvitationsOutput

SetUnprocessedAccounts sets the UnprocessedAccounts field's value.

func (DeleteInvitationsOutput) String Uses

func (s DeleteInvitationsOutput) String() string

String returns the string representation

type DeleteMembersInput Uses

type DeleteMembersInput struct {

    // A list of account IDs of the member accounts to delete.
    AccountIds []*string `type:"list"`
    // contains filtered or unexported fields
}

func (DeleteMembersInput) GoString Uses

func (s DeleteMembersInput) GoString() string

GoString returns the string representation

func (*DeleteMembersInput) SetAccountIds Uses

func (s *DeleteMembersInput) SetAccountIds(v []*string) *DeleteMembersInput

SetAccountIds sets the AccountIds field's value.

func (DeleteMembersInput) String Uses

func (s DeleteMembersInput) String() string

String returns the string representation

type DeleteMembersOutput Uses

type DeleteMembersOutput struct {

    // A list of account ID and email address pairs of the AWS accounts that weren't
    // deleted.
    UnprocessedAccounts []*Result `type:"list"`
    // contains filtered or unexported fields
}

func (DeleteMembersOutput) GoString Uses

func (s DeleteMembersOutput) GoString() string

GoString returns the string representation

func (*DeleteMembersOutput) SetUnprocessedAccounts Uses

func (s *DeleteMembersOutput) SetUnprocessedAccounts(v []*Result) *DeleteMembersOutput

SetUnprocessedAccounts sets the UnprocessedAccounts field's value.

func (DeleteMembersOutput) String Uses

func (s DeleteMembersOutput) String() string

String returns the string representation

type DescribeActionTargetsInput Uses

type DescribeActionTargetsInput struct {

    // A list of custom action target ARNs for the custom action targets to retrieve.
    ActionTargetArns []*string `type:"list"`

    // The maximum number of results to return.
    MaxResults *int64 `min:"1" type:"integer"`

    // The token that is required for pagination.
    NextToken *string `type:"string"`
    // contains filtered or unexported fields
}

func (DescribeActionTargetsInput) GoString Uses

func (s DescribeActionTargetsInput) GoString() string

GoString returns the string representation

func (*DescribeActionTargetsInput) SetActionTargetArns Uses

func (s *DescribeActionTargetsInput) SetActionTargetArns(v []*string) *DescribeActionTargetsInput

SetActionTargetArns sets the ActionTargetArns field's value.

func (*DescribeActionTargetsInput) SetMaxResults Uses

func (s *DescribeActionTargetsInput) SetMaxResults(v int64) *DescribeActionTargetsInput

SetMaxResults sets the MaxResults field's value.

func (*DescribeActionTargetsInput) SetNextToken Uses

func (s *DescribeActionTargetsInput) SetNextToken(v string) *DescribeActionTargetsInput

SetNextToken sets the NextToken field's value.

func (DescribeActionTargetsInput) String Uses

func (s DescribeActionTargetsInput) String() string

String returns the string representation

func (*DescribeActionTargetsInput) Validate Uses

func (s *DescribeActionTargetsInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type DescribeActionTargetsOutput Uses

type DescribeActionTargetsOutput struct {

    // A list of ActionTarget objects. Each object includes the ActionTargetArn,
    // Description, and Name of a custom action target available in Security Hub.
    //
    // ActionTargets is a required field
    ActionTargets []*ActionTarget `type:"list" required:"true"`

    // The token that is required for pagination.
    NextToken *string `type:"string"`
    // contains filtered or unexported fields
}

func (DescribeActionTargetsOutput) GoString Uses

func (s DescribeActionTargetsOutput) GoString() string

GoString returns the string representation

func (*DescribeActionTargetsOutput) SetActionTargets Uses

func (s *DescribeActionTargetsOutput) SetActionTargets(v []*ActionTarget) *DescribeActionTargetsOutput

SetActionTargets sets the ActionTargets field's value.

func (*DescribeActionTargetsOutput) SetNextToken Uses

func (s *DescribeActionTargetsOutput) SetNextToken(v string) *DescribeActionTargetsOutput

SetNextToken sets the NextToken field's value.

func (DescribeActionTargetsOutput) String Uses

func (s DescribeActionTargetsOutput) String() string

String returns the string representation

type DescribeHubInput Uses

type DescribeHubInput struct {

    // The ARN of the Hub resource to retrieve.
    HubArn *string `location:"querystring" locationName:"HubArn" type:"string"`
    // contains filtered or unexported fields
}

func (DescribeHubInput) GoString Uses

func (s DescribeHubInput) GoString() string

GoString returns the string representation

func (*DescribeHubInput) SetHubArn Uses

func (s *DescribeHubInput) SetHubArn(v string) *DescribeHubInput

SetHubArn sets the HubArn field's value.

func (DescribeHubInput) String Uses

func (s DescribeHubInput) String() string

String returns the string representation

type DescribeHubOutput Uses

type DescribeHubOutput struct {

    // The ARN of the Hub resource retrieved.
    HubArn *string `type:"string"`

    // The date and time when Security Hub was enabled in the account.
    SubscribedAt *string `type:"string"`
    // contains filtered or unexported fields
}

func (DescribeHubOutput) GoString Uses

func (s DescribeHubOutput) GoString() string

GoString returns the string representation

func (*DescribeHubOutput) SetHubArn Uses

func (s *DescribeHubOutput) SetHubArn(v string) *DescribeHubOutput

SetHubArn sets the HubArn field's value.

func (*DescribeHubOutput) SetSubscribedAt Uses

func (s *DescribeHubOutput) SetSubscribedAt(v string) *DescribeHubOutput

SetSubscribedAt sets the SubscribedAt field's value.

func (DescribeHubOutput) String Uses

func (s DescribeHubOutput) String() string

String returns the string representation

type DescribeProductsInput Uses

type DescribeProductsInput struct {

    // The maximum number of results to return.
    MaxResults *int64 `location:"querystring" locationName:"MaxResults" min:"1" type:"integer"`

    // The token that is required for pagination.
    NextToken *string `location:"querystring" locationName:"NextToken" type:"string"`
    // contains filtered or unexported fields
}

func (DescribeProductsInput) GoString Uses

func (s DescribeProductsInput) GoString() string

GoString returns the string representation

func (*DescribeProductsInput) SetMaxResults Uses

func (s *DescribeProductsInput) SetMaxResults(v int64) *DescribeProductsInput

SetMaxResults sets the MaxResults field's value.

func (*DescribeProductsInput) SetNextToken Uses

func (s *DescribeProductsInput) SetNextToken(v string) *DescribeProductsInput

SetNextToken sets the NextToken field's value.

func (DescribeProductsInput) String Uses

func (s DescribeProductsInput) String() string

String returns the string representation

func (*DescribeProductsInput) Validate Uses

func (s *DescribeProductsInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type DescribeProductsOutput Uses

type DescribeProductsOutput struct {

    // The token that is required for pagination.
    NextToken *string `type:"string"`

    // A list of products, including details for each product.
    //
    // Products is a required field
    Products []*Product `type:"list" required:"true"`
    // contains filtered or unexported fields
}

func (DescribeProductsOutput) GoString Uses

func (s DescribeProductsOutput) GoString() string

GoString returns the string representation

func (*DescribeProductsOutput) SetNextToken Uses

func (s *DescribeProductsOutput) SetNextToken(v string) *DescribeProductsOutput

SetNextToken sets the NextToken field's value.

func (*DescribeProductsOutput) SetProducts Uses

func (s *DescribeProductsOutput) SetProducts(v []*Product) *DescribeProductsOutput

SetProducts sets the Products field's value.

func (DescribeProductsOutput) String Uses

func (s DescribeProductsOutput) String() string

String returns the string representation

type DisableImportFindingsForProductInput Uses

type DisableImportFindingsForProductInput struct {

    // The ARN of the integrated product to disable the integration for.
    //
    // ProductSubscriptionArn is a required field
    ProductSubscriptionArn *string `location:"uri" locationName:"ProductSubscriptionArn" type:"string" required:"true"`
    // contains filtered or unexported fields
}

func (DisableImportFindingsForProductInput) GoString Uses

func (s DisableImportFindingsForProductInput) GoString() string

GoString returns the string representation

func (*DisableImportFindingsForProductInput) SetProductSubscriptionArn Uses

func (s *DisableImportFindingsForProductInput) SetProductSubscriptionArn(v string) *DisableImportFindingsForProductInput

SetProductSubscriptionArn sets the ProductSubscriptionArn field's value.

func (DisableImportFindingsForProductInput) String Uses

func (s DisableImportFindingsForProductInput) String() string

String returns the string representation

func (*DisableImportFindingsForProductInput) Validate Uses

func (s *DisableImportFindingsForProductInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type DisableImportFindingsForProductOutput Uses

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

func (DisableImportFindingsForProductOutput) GoString Uses

func (s DisableImportFindingsForProductOutput) GoString() string

GoString returns the string representation

func (DisableImportFindingsForProductOutput) String Uses

func (s DisableImportFindingsForProductOutput) String() string

String returns the string representation

type DisableSecurityHubInput Uses

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

func (DisableSecurityHubInput) GoString Uses

func (s DisableSecurityHubInput) GoString() string

GoString returns the string representation

func (DisableSecurityHubInput) String Uses

func (s DisableSecurityHubInput) String() string

String returns the string representation

type DisableSecurityHubOutput Uses

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

func (DisableSecurityHubOutput) GoString Uses

func (s DisableSecurityHubOutput) GoString() string

GoString returns the string representation

func (DisableSecurityHubOutput) String Uses

func (s DisableSecurityHubOutput) String() string

String returns the string representation

type DisassociateFromMasterAccountInput Uses

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

func (DisassociateFromMasterAccountInput) GoString Uses

func (s DisassociateFromMasterAccountInput) GoString() string

GoString returns the string representation

func (DisassociateFromMasterAccountInput) String Uses

func (s DisassociateFromMasterAccountInput) String() string

String returns the string representation

type DisassociateFromMasterAccountOutput Uses

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

func (DisassociateFromMasterAccountOutput) GoString Uses

func (s DisassociateFromMasterAccountOutput) GoString() string

GoString returns the string representation

func (DisassociateFromMasterAccountOutput) String Uses

func (s DisassociateFromMasterAccountOutput) String() string

String returns the string representation

type DisassociateMembersInput Uses

type DisassociateMembersInput struct {

    // The account IDs of the member accounts to disassociate from the master account.
    AccountIds []*string `type:"list"`
    // contains filtered or unexported fields
}

func (DisassociateMembersInput) GoString Uses

func (s DisassociateMembersInput) GoString() string

GoString returns the string representation

func (*DisassociateMembersInput) SetAccountIds Uses

func (s *DisassociateMembersInput) SetAccountIds(v []*string) *DisassociateMembersInput

SetAccountIds sets the AccountIds field's value.

func (DisassociateMembersInput) String Uses

func (s DisassociateMembersInput) String() string

String returns the string representation

type DisassociateMembersOutput Uses

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

func (DisassociateMembersOutput) GoString Uses

func (s DisassociateMembersOutput) GoString() string

GoString returns the string representation

func (DisassociateMembersOutput) String Uses

func (s DisassociateMembersOutput) String() string

String returns the string representation

type EnableImportFindingsForProductInput Uses

type EnableImportFindingsForProductInput struct {

    // The ARN of the product to enable the integration for.
    //
    // ProductArn is a required field
    ProductArn *string `type:"string" required:"true"`
    // contains filtered or unexported fields
}

func (EnableImportFindingsForProductInput) GoString Uses

func (s EnableImportFindingsForProductInput) GoString() string

GoString returns the string representation

func (*EnableImportFindingsForProductInput) SetProductArn Uses

func (s *EnableImportFindingsForProductInput) SetProductArn(v string) *EnableImportFindingsForProductInput

SetProductArn sets the ProductArn field's value.

func (EnableImportFindingsForProductInput) String Uses

func (s EnableImportFindingsForProductInput) String() string

String returns the string representation

func (*EnableImportFindingsForProductInput) Validate Uses

func (s *EnableImportFindingsForProductInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type EnableImportFindingsForProductOutput Uses

type EnableImportFindingsForProductOutput struct {

    // The ARN of your subscription to the product to enable integrations for.
    ProductSubscriptionArn *string `type:"string"`
    // contains filtered or unexported fields
}

func (EnableImportFindingsForProductOutput) GoString Uses

func (s EnableImportFindingsForProductOutput) GoString() string

GoString returns the string representation

func (*EnableImportFindingsForProductOutput) SetProductSubscriptionArn Uses

func (s *EnableImportFindingsForProductOutput) SetProductSubscriptionArn(v string) *EnableImportFindingsForProductOutput

SetProductSubscriptionArn sets the ProductSubscriptionArn field's value.

func (EnableImportFindingsForProductOutput) String Uses

func (s EnableImportFindingsForProductOutput) String() string

String returns the string representation

type EnableSecurityHubInput Uses

type EnableSecurityHubInput struct {

    // The tags to add to the Hub resource when you enable Security Hub.
    Tags map[string]*string `min:"1" type:"map"`
    // contains filtered or unexported fields
}

func (EnableSecurityHubInput) GoString Uses

func (s EnableSecurityHubInput) GoString() string

GoString returns the string representation

func (*EnableSecurityHubInput) SetTags Uses

func (s *EnableSecurityHubInput) SetTags(v map[string]*string) *EnableSecurityHubInput

SetTags sets the Tags field's value.

func (EnableSecurityHubInput) String Uses

func (s EnableSecurityHubInput) String() string

String returns the string representation

func (*EnableSecurityHubInput) Validate Uses

func (s *EnableSecurityHubInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type EnableSecurityHubOutput Uses

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

func (EnableSecurityHubOutput) GoString Uses

func (s EnableSecurityHubOutput) GoString() string

GoString returns the string representation

func (EnableSecurityHubOutput) String Uses

func (s EnableSecurityHubOutput) String() string

String returns the string representation

type GetEnabledStandardsInput Uses

type GetEnabledStandardsInput struct {

    // The maximum number of results to return in the response.
    MaxResults *int64 `min:"1" type:"integer"`

    // Paginates results. On your first call to the GetEnabledStandards operation,
    // set the value of this parameter to NULL. For subsequent calls to the operation,
    // fill nextToken in the request with the value of nextToken from the previous
    // response to continue listing data.
    NextToken *string `type:"string"`

    // A list of the standards subscription ARNs for the standards to retrieve.
    StandardsSubscriptionArns []*string `min:"1" type:"list"`
    // contains filtered or unexported fields
}

func (GetEnabledStandardsInput) GoString Uses

func (s GetEnabledStandardsInput) GoString() string

GoString returns the string representation

func (*GetEnabledStandardsInput) SetMaxResults Uses

func (s *GetEnabledStandardsInput) SetMaxResults(v int64) *GetEnabledStandardsInput

SetMaxResults sets the MaxResults field's value.

func (*GetEnabledStandardsInput) SetNextToken Uses

func (s *GetEnabledStandardsInput) SetNextToken(v string) *GetEnabledStandardsInput

SetNextToken sets the NextToken field's value.

func (*GetEnabledStandardsInput) SetStandardsSubscriptionArns Uses

func (s *GetEnabledStandardsInput) SetStandardsSubscriptionArns(v []*string) *GetEnabledStandardsInput

SetStandardsSubscriptionArns sets the StandardsSubscriptionArns field's value.

func (GetEnabledStandardsInput) String Uses

func (s GetEnabledStandardsInput) String() string

String returns the string representation

func (*GetEnabledStandardsInput) Validate Uses

func (s *GetEnabledStandardsInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type GetEnabledStandardsOutput Uses

type GetEnabledStandardsOutput struct {

    // The token that is required for pagination.
    NextToken *string `type:"string"`

    // A list of StandardsSubscriptions objects that include information about the
    // enabled standards.
    StandardsSubscriptions []*StandardsSubscription `type:"list"`
    // contains filtered or unexported fields
}

func (GetEnabledStandardsOutput) GoString Uses

func (s GetEnabledStandardsOutput) GoString() string

GoString returns the string representation

func (*GetEnabledStandardsOutput) SetNextToken Uses

func (s *GetEnabledStandardsOutput) SetNextToken(v string) *GetEnabledStandardsOutput

SetNextToken sets the NextToken field's value.

func (*GetEnabledStandardsOutput) SetStandardsSubscriptions Uses

func (s *GetEnabledStandardsOutput) SetStandardsSubscriptions(v []*StandardsSubscription) *GetEnabledStandardsOutput

SetStandardsSubscriptions sets the StandardsSubscriptions field's value.

func (GetEnabledStandardsOutput) String Uses

func (s GetEnabledStandardsOutput) String() string

String returns the string representation

type GetFindingsInput Uses

type GetFindingsInput struct {

    // The findings attributes used to define a condition to filter the findings
    // returned.
    Filters *AwsSecurityFindingFilters `type:"structure"`

    // The maximum number of findings to return.
    MaxResults *int64 `min:"1" type:"integer"`

    // Paginates results. On your first call to the GetFindings operation, set the
    // value of this parameter to NULL. For subsequent calls to the operation, fill
    // nextToken in the request with the value of nextToken from the previous response
    // to continue listing data.
    NextToken *string `type:"string"`

    // Findings attributes used to sort the list of findings returned.
    SortCriteria []*SortCriterion `type:"list"`
    // contains filtered or unexported fields
}

func (GetFindingsInput) GoString Uses

func (s GetFindingsInput) GoString() string

GoString returns the string representation

func (*GetFindingsInput) SetFilters Uses

func (s *GetFindingsInput) SetFilters(v *AwsSecurityFindingFilters) *GetFindingsInput

SetFilters sets the Filters field's value.

func (*GetFindingsInput) SetMaxResults Uses

func (s *GetFindingsInput) SetMaxResults(v int64) *GetFindingsInput

SetMaxResults sets the MaxResults field's value.

func (*GetFindingsInput) SetNextToken Uses

func (s *GetFindingsInput) SetNextToken(v string) *GetFindingsInput

SetNextToken sets the NextToken field's value.

func (*GetFindingsInput) SetSortCriteria Uses

func (s *GetFindingsInput) SetSortCriteria(v []*SortCriterion) *GetFindingsInput

SetSortCriteria sets the SortCriteria field's value.

func (GetFindingsInput) String Uses

func (s GetFindingsInput) String() string

String returns the string representation

func (*GetFindingsInput) Validate Uses

func (s *GetFindingsInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type GetFindingsOutput Uses

type GetFindingsOutput struct {

    // The findings that matched the filters specified in the request.
    //
    // Findings is a required field
    Findings []*AwsSecurityFinding `type:"list" required:"true"`

    // The token that is required for pagination.
    NextToken *string `type:"string"`
    // contains filtered or unexported fields
}

func (GetFindingsOutput) GoString Uses

func (s GetFindingsOutput) GoString() string

GoString returns the string representation

func (*GetFindingsOutput) SetFindings Uses

func (s *GetFindingsOutput) SetFindings(v []*AwsSecurityFinding) *GetFindingsOutput

SetFindings sets the Findings field's value.

func (*GetFindingsOutput) SetNextToken Uses

func (s *GetFindingsOutput) SetNextToken(v string) *GetFindingsOutput

SetNextToken sets the NextToken field's value.

func (GetFindingsOutput) String Uses

func (s GetFindingsOutput) String() string

String returns the string representation

type GetInsightResultsInput Uses

type GetInsightResultsInput struct {

    // The ARN of the insight whose results you want to see.
    //
    // InsightArn is a required field
    InsightArn *string `location:"uri" locationName:"InsightArn" type:"string" required:"true"`
    // contains filtered or unexported fields
}

func (GetInsightResultsInput) GoString Uses

func (s GetInsightResultsInput) GoString() string

GoString returns the string representation

func (*GetInsightResultsInput) SetInsightArn Uses

func (s *GetInsightResultsInput) SetInsightArn(v string) *GetInsightResultsInput

SetInsightArn sets the InsightArn field's value.

func (GetInsightResultsInput) String Uses

func (s GetInsightResultsInput) String() string

String returns the string representation

func (*GetInsightResultsInput) Validate Uses

func (s *GetInsightResultsInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type GetInsightResultsOutput Uses

type GetInsightResultsOutput struct {

    // The insight results returned by the operation.
    //
    // InsightResults is a required field
    InsightResults *InsightResults `type:"structure" required:"true"`
    // contains filtered or unexported fields
}

func (GetInsightResultsOutput) GoString Uses

func (s GetInsightResultsOutput) GoString() string

GoString returns the string representation

func (*GetInsightResultsOutput) SetInsightResults Uses

func (s *GetInsightResultsOutput) SetInsightResults(v *InsightResults) *GetInsightResultsOutput

SetInsightResults sets the InsightResults field's value.

func (GetInsightResultsOutput) String Uses

func (s GetInsightResultsOutput) String() string

String returns the string representation

type GetInsightsInput Uses

type GetInsightsInput struct {

    // The ARNs of the insights that you want to describe.
    InsightArns []*string `type:"list"`

    // The maximum number of items that you want in the response.
    MaxResults *int64 `min:"1" type:"integer"`

    // Paginates results. On your first call to the GetInsights operation, set the
    // value of this parameter to NULL. For subsequent calls to the operation, fill
    // nextToken in the request with the value of nextToken from the previous response
    // to continue listing data.
    NextToken *string `type:"string"`
    // contains filtered or unexported fields
}

func (GetInsightsInput) GoString Uses

func (s GetInsightsInput) GoString() string

GoString returns the string representation

func (*GetInsightsInput) SetInsightArns Uses

func (s *GetInsightsInput) SetInsightArns(v []*string) *GetInsightsInput

SetInsightArns sets the InsightArns field's value.

func (*GetInsightsInput) SetMaxResults Uses

func (s *GetInsightsInput) SetMaxResults(v int64) *GetInsightsInput

SetMaxResults sets the MaxResults field's value.

func (*GetInsightsInput) SetNextToken Uses

func (s *GetInsightsInput) SetNextToken(v string) *GetInsightsInput

SetNextToken sets the NextToken field's value.

func (GetInsightsInput) String Uses

func (s GetInsightsInput) String() string

String returns the string representation

func (*GetInsightsInput) Validate Uses

func (s *GetInsightsInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type GetInsightsOutput Uses

type GetInsightsOutput struct {

    // The insights returned by the operation.
    //
    // Insights is a required field
    Insights []*Insight `type:"list" required:"true"`

    // The token that is required for pagination.
    NextToken *string `type:"string"`
    // contains filtered or unexported fields
}

func (GetInsightsOutput) GoString Uses

func (s GetInsightsOutput) GoString() string

GoString returns the string representation

func (*GetInsightsOutput) SetInsights Uses

func (s *GetInsightsOutput) SetInsights(v []*Insight) *GetInsightsOutput

SetInsights sets the Insights field's value.

func (*GetInsightsOutput) SetNextToken Uses

func (s *GetInsightsOutput) SetNextToken(v string) *GetInsightsOutput

SetNextToken sets the NextToken field's value.

func (GetInsightsOutput) String Uses

func (s GetInsightsOutput) String() string

String returns the string representation

type GetInvitationsCountInput Uses

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

func (GetInvitationsCountInput) GoString Uses

func (s GetInvitationsCountInput) GoString() string

GoString returns the string representation

func (GetInvitationsCountInput) String Uses

func (s GetInvitationsCountInput) String() string

String returns the string representation

type GetInvitationsCountOutput Uses

type GetInvitationsCountOutput struct {

    // The number of all membership invitations sent to this Security Hub member
    // account, not including the currently accepted invitation.
    InvitationsCount *int64 `type:"integer"`
    // contains filtered or unexported fields
}

func (GetInvitationsCountOutput) GoString Uses

func (s GetInvitationsCountOutput) GoString() string

GoString returns the string representation

func (*GetInvitationsCountOutput) SetInvitationsCount Uses

func (s *GetInvitationsCountOutput) SetInvitationsCount(v int64) *GetInvitationsCountOutput

SetInvitationsCount sets the InvitationsCount field's value.

func (GetInvitationsCountOutput) String Uses

func (s GetInvitationsCountOutput) String() string

String returns the string representation

type GetMasterAccountInput Uses

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

func (GetMasterAccountInput) GoString Uses

func (s GetMasterAccountInput) GoString() string

GoString returns the string representation

func (GetMasterAccountInput) String Uses

func (s GetMasterAccountInput) String() string

String returns the string representation

type GetMasterAccountOutput Uses

type GetMasterAccountOutput struct {

    // A list of details about the Security Hub master account for the current member
    // account.
    Master *Invitation `type:"structure"`
    // contains filtered or unexported fields
}

func (GetMasterAccountOutput) GoString Uses

func (s GetMasterAccountOutput) GoString() string

GoString returns the string representation

func (*GetMasterAccountOutput) SetMaster Uses

func (s *GetMasterAccountOutput) SetMaster(v *Invitation) *GetMasterAccountOutput

SetMaster sets the Master field's value.

func (GetMasterAccountOutput) String Uses

func (s GetMasterAccountOutput) String() string

String returns the string representation

type GetMembersInput Uses

type GetMembersInput struct {

    // A list of account IDs for the Security Hub member accounts that you want
    // to return the details for.
    //
    // AccountIds is a required field
    AccountIds []*string `type:"list" required:"true"`
    // contains filtered or unexported fields
}

func (GetMembersInput) GoString Uses

func (s GetMembersInput) GoString() string

GoString returns the string representation

func (*GetMembersInput) SetAccountIds Uses

func (s *GetMembersInput) SetAccountIds(v []*string) *GetMembersInput

SetAccountIds sets the AccountIds field's value.

func (GetMembersInput) String Uses

func (s GetMembersInput) String() string

String returns the string representation

func (*GetMembersInput) Validate Uses

func (s *GetMembersInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type GetMembersOutput Uses

type GetMembersOutput struct {

    // A list of details about the Security Hub member accounts.
    Members []*Member `type:"list"`

    // A list of account ID and email address pairs of the AWS accounts that couldn't
    // be processed.
    UnprocessedAccounts []*Result `type:"list"`
    // contains filtered or unexported fields
}

func (GetMembersOutput) GoString Uses

func (s GetMembersOutput) GoString() string

GoString returns the string representation

func (*GetMembersOutput) SetMembers Uses

func (s *GetMembersOutput) SetMembers(v []*Member) *GetMembersOutput

SetMembers sets the Members field's value.

func (*GetMembersOutput) SetUnprocessedAccounts Uses

func (s *GetMembersOutput) SetUnprocessedAccounts(v []*Result) *GetMembersOutput

SetUnprocessedAccounts sets the UnprocessedAccounts field's value.

func (GetMembersOutput) String Uses

func (s GetMembersOutput) String() string

String returns the string representation

type ImportFindingsError Uses

type ImportFindingsError struct {

    // The code of the error made during the BatchImportFindings operation.
    //
    // ErrorCode is a required field
    ErrorCode *string `type:"string" required:"true"`

    // The message of the error made during the BatchImportFindings operation.
    //
    // ErrorMessage is a required field
    ErrorMessage *string `type:"string" required:"true"`

    // The ID of the error made during the BatchImportFindings operation.
    //
    // Id is a required field
    Id  *string `type:"string" required:"true"`
    // contains filtered or unexported fields
}

Includes details of the list of the findings that can't be imported.

func (ImportFindingsError) GoString Uses

func (s ImportFindingsError) GoString() string

GoString returns the string representation

func (*ImportFindingsError) SetErrorCode Uses

func (s *ImportFindingsError) SetErrorCode(v string) *ImportFindingsError

SetErrorCode sets the ErrorCode field's value.

func (*ImportFindingsError) SetErrorMessage Uses

func (s *ImportFindingsError) SetErrorMessage(v string) *ImportFindingsError

SetErrorMessage sets the ErrorMessage field's value.

func (*ImportFindingsError) SetId Uses

func (s *ImportFindingsError) SetId(v string) *ImportFindingsError

SetId sets the Id field's value.

func (ImportFindingsError) String Uses

func (s ImportFindingsError) String() string

String returns the string representation

type Insight Uses

type Insight struct {

    // One or more attributes used to filter the findings included in the insight.
    // Only findings that match the criteria defined in the filters are included
    // in the insight.
    //
    // Filters is a required field
    Filters *AwsSecurityFindingFilters `type:"structure" required:"true"`

    // The attribute that the insight's findings are grouped by. This attribute
    // is used as a findings aggregator for the purposes of viewing and managing
    // multiple related findings under a single operand.
    //
    // GroupByAttribute is a required field
    GroupByAttribute *string `type:"string" required:"true"`

    // The ARN of a Security Hub insight.
    //
    // InsightArn is a required field
    InsightArn *string `type:"string" required:"true"`

    // The name of a Security Hub insight.
    //
    // Name is a required field
    Name *string `type:"string" required:"true"`
    // contains filtered or unexported fields
}

Contains information about a Security Hub insight.

func (Insight) GoString Uses

func (s Insight) GoString() string

GoString returns the string representation

func (*Insight) SetFilters Uses

func (s *Insight) SetFilters(v *AwsSecurityFindingFilters) *Insight

SetFilters sets the Filters field's value.

func (*Insight) SetGroupByAttribute Uses

func (s *Insight) SetGroupByAttribute(v string) *Insight

SetGroupByAttribute sets the GroupByAttribute field's value.

func (*Insight) SetInsightArn Uses

func (s *Insight) SetInsightArn(v string) *Insight

SetInsightArn sets the InsightArn field's value.

func (*Insight) SetName Uses

func (s *Insight) SetName(v string) *Insight

SetName sets the Name field's value.

func (Insight) String Uses

func (s Insight) String() string

String returns the string representation

type InsightResultValue Uses

type InsightResultValue struct {

    // The number of findings returned for each GroupByAttributeValue.
    //
    // Count is a required field
    Count *int64 `type:"integer" required:"true"`

    // The value of the attribute that the findings are grouped by for the insight
    // whose results are returned by the GetInsightResults operation.
    //
    // GroupByAttributeValue is a required field
    GroupByAttributeValue *string `type:"string" required:"true"`
    // contains filtered or unexported fields
}

The insight result values returned by the GetInsightResults operation.

func (InsightResultValue) GoString Uses

func (s InsightResultValue) GoString() string

GoString returns the string representation

func (*InsightResultValue) SetCount Uses

func (s *InsightResultValue) SetCount(v int64) *InsightResultValue

SetCount sets the Count field's value.

func (*InsightResultValue) SetGroupByAttributeValue Uses

func (s *InsightResultValue) SetGroupByAttributeValue(v string) *InsightResultValue

SetGroupByAttributeValue sets the GroupByAttributeValue field's value.

func (InsightResultValue) String Uses

func (s InsightResultValue) String() string

String returns the string representation

type InsightResults Uses

type InsightResults struct {

    // The attribute that the findings are grouped by for the insight whose results
    // are returned by the GetInsightResults operation.
    //
    // GroupByAttribute is a required field
    GroupByAttribute *string `type:"string" required:"true"`

    // The ARN of the insight whose results are returned by the GetInsightResults
    // operation.
    //
    // InsightArn is a required field
    InsightArn *string `type:"string" required:"true"`

    // The list of insight result values returned by the GetInsightResults operation.
    //
    // ResultValues is a required field
    ResultValues []*InsightResultValue `type:"list" required:"true"`
    // contains filtered or unexported fields
}

The insight results returned by the GetInsightResults operation.

func (InsightResults) GoString Uses

func (s InsightResults) GoString() string

GoString returns the string representation

func (*InsightResults) SetGroupByAttribute Uses

func (s *InsightResults) SetGroupByAttribute(v string) *InsightResults

SetGroupByAttribute sets the GroupByAttribute field's value.

func (*InsightResults) SetInsightArn Uses

func (s *InsightResults) SetInsightArn(v string) *InsightResults

SetInsightArn sets the InsightArn field's value.

func (*InsightResults) SetResultValues Uses

func (s *InsightResults) SetResultValues(v []*InsightResultValue) *InsightResults

SetResultValues sets the ResultValues field's value.

func (InsightResults) String Uses

func (s InsightResults) String() string

String returns the string representation

type Invitation Uses

type Invitation struct {

    // The account ID of the Security Hub master account that the invitation was
    // sent from.
    AccountId *string `type:"string"`

    // The ID of the invitation sent to the member account.
    InvitationId *string `type:"string"`

    // The timestamp of when the invitation was sent.
    InvitedAt *time.Time `type:"timestamp" timestampFormat:"iso8601"`

    // The current status of the association between member and master accounts.
    MemberStatus *string `type:"string"`
    // contains filtered or unexported fields
}

Details about an invitation.

func (Invitation) GoString Uses

func (s Invitation) GoString() string

GoString returns the string representation

func (*Invitation) SetAccountId Uses

func (s *Invitation) SetAccountId(v string) *Invitation

SetAccountId sets the AccountId field's value.

func (*Invitation) SetInvitationId Uses

func (s *Invitation) SetInvitationId(v string) *Invitation

SetInvitationId sets the InvitationId field's value.

func (*Invitation) SetInvitedAt Uses

func (s *Invitation) SetInvitedAt(v time.Time) *Invitation

SetInvitedAt sets the InvitedAt field's value.

func (*Invitation) SetMemberStatus Uses

func (s *Invitation) SetMemberStatus(v string) *Invitation

SetMemberStatus sets the MemberStatus field's value.

func (Invitation) String Uses

func (s Invitation) String() string

String returns the string representation

type InviteMembersInput Uses

type InviteMembersInput struct {

    // A list of IDs of the AWS accounts that you want to invite to Security Hub
    // as members.
    AccountIds []*string `type:"list"`
    // contains filtered or unexported fields
}

func (InviteMembersInput) GoString Uses

func (s InviteMembersInput) GoString() string

GoString returns the string representation

func (*InviteMembersInput) SetAccountIds Uses

func (s *InviteMembersInput) SetAccountIds(v []*string) *InviteMembersInput

SetAccountIds sets the AccountIds field's value.

func (InviteMembersInput) String Uses

func (s InviteMembersInput) String() string

String returns the string representation

type InviteMembersOutput Uses

type InviteMembersOutput struct {

    // A list of account ID and email address pairs of the AWS accounts that couldn't
    // be processed.
    UnprocessedAccounts []*Result `type:"list"`
    // contains filtered or unexported fields
}

func (InviteMembersOutput) GoString Uses

func (s InviteMembersOutput) GoString() string

GoString returns the string representation

func (*InviteMembersOutput) SetUnprocessedAccounts Uses

func (s *InviteMembersOutput) SetUnprocessedAccounts(v []*Result) *InviteMembersOutput

SetUnprocessedAccounts sets the UnprocessedAccounts field's value.

func (InviteMembersOutput) String Uses

func (s InviteMembersOutput) String() string

String returns the string representation

type IpFilter Uses

type IpFilter struct {

    // A finding's CIDR value.
    Cidr *string `type:"string"`
    // contains filtered or unexported fields
}

The IP filter for querying findings.

func (IpFilter) GoString Uses

func (s IpFilter) GoString() string

GoString returns the string representation

func (*IpFilter) SetCidr Uses

func (s *IpFilter) SetCidr(v string) *IpFilter

SetCidr sets the Cidr field's value.

func (IpFilter) String Uses

func (s IpFilter) String() string

String returns the string representation

type KeywordFilter Uses

type KeywordFilter struct {

    // A value for the keyword.
    Value *string `type:"string"`
    // contains filtered or unexported fields
}

A keyword filter for querying findings.

func (KeywordFilter) GoString Uses

func (s KeywordFilter) GoString() string

GoString returns the string representation

func (*KeywordFilter) SetValue Uses

func (s *KeywordFilter) SetValue(v string) *KeywordFilter

SetValue sets the Value field's value.

func (KeywordFilter) String Uses

func (s KeywordFilter) String() string

String returns the string representation

type ListEnabledProductsForImportInput Uses

type ListEnabledProductsForImportInput struct {

    // The maximum number of items that you want in the response.
    MaxResults *int64 `location:"querystring" locationName:"MaxResults" min:"1" type:"integer"`

    // Paginates results. On your first call to the ListEnabledProductsForImport
    // operation, set the value of this parameter to NULL. For subsequent calls
    // to the operation, fill nextToken in the request with the value of NextToken
    // from the previous response to continue listing data.
    NextToken *string `location:"querystring" locationName:"NextToken" type:"string"`
    // contains filtered or unexported fields
}

func (ListEnabledProductsForImportInput) GoString Uses

func (s ListEnabledProductsForImportInput) GoString() string

GoString returns the string representation

func (*ListEnabledProductsForImportInput) SetMaxResults Uses

func (s *ListEnabledProductsForImportInput) SetMaxResults(v int64) *ListEnabledProductsForImportInput

SetMaxResults sets the MaxResults field's value.

func (*ListEnabledProductsForImportInput) SetNextToken Uses

func (s *ListEnabledProductsForImportInput) SetNextToken(v string) *ListEnabledProductsForImportInput

SetNextToken sets the NextToken field's value.

func (ListEnabledProductsForImportInput) String Uses

func (s ListEnabledProductsForImportInput) String() string

String returns the string representation

func (*ListEnabledProductsForImportInput) Validate Uses

func (s *ListEnabledProductsForImportInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type ListEnabledProductsForImportOutput Uses

type ListEnabledProductsForImportOutput struct {

    // The token that is required for pagination.
    NextToken *string `type:"string"`

    // A list of ARNs for the resources that represent your subscriptions to products.
    ProductSubscriptions []*string `type:"list"`
    // contains filtered or unexported fields
}

func (ListEnabledProductsForImportOutput) GoString Uses

func (s ListEnabledProductsForImportOutput) GoString() string

GoString returns the string representation

func (*ListEnabledProductsForImportOutput) SetNextToken Uses

func (s *ListEnabledProductsForImportOutput) SetNextToken(v string) *ListEnabledProductsForImportOutput

SetNextToken sets the NextToken field's value.

func (*ListEnabledProductsForImportOutput) SetProductSubscriptions Uses

func (s *ListEnabledProductsForImportOutput) SetProductSubscriptions(v []*string) *ListEnabledProductsForImportOutput

SetProductSubscriptions sets the ProductSubscriptions field's value.

func (ListEnabledProductsForImportOutput) String Uses

func (s ListEnabledProductsForImportOutput) String() string

String returns the string representation

type ListInvitationsInput Uses

type ListInvitationsInput struct {

    // The maximum number of items that you want in the response.
    MaxResults *int64 `location:"querystring" locationName:"MaxResults" min:"1" type:"integer"`

    // Paginates results. On your first call to the ListInvitations operation, set
    // the value of this parameter to NULL. For subsequent calls to the operation,
    // fill nextToken in the request with the value of NextToken from the previous
    // response to continue listing data.
    NextToken *string `location:"querystring" locationName:"NextToken" type:"string"`
    // contains filtered or unexported fields
}

func (ListInvitationsInput) GoString Uses

func (s ListInvitationsInput) GoString() string

GoString returns the string representation

func (*ListInvitationsInput) SetMaxResults Uses

func (s *ListInvitationsInput) SetMaxResults(v int64) *ListInvitationsInput

SetMaxResults sets the MaxResults field's value.

func (*ListInvitationsInput) SetNextToken Uses

func (s *ListInvitationsInput) SetNextToken(v string) *ListInvitationsInput

SetNextToken sets the NextToken field's value.

func (ListInvitationsInput) String Uses

func (s ListInvitationsInput) String() string

String returns the string representation

func (*ListInvitationsInput) Validate Uses

func (s *ListInvitationsInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type ListInvitationsOutput Uses

type ListInvitationsOutput struct {

    // The details of the invitations returned by the operation.
    Invitations []*Invitation `type:"list"`

    // The token that is required for pagination.
    NextToken *string `type:"string"`
    // contains filtered or unexported fields
}

func (ListInvitationsOutput) GoString Uses

func (s ListInvitationsOutput) GoString() string

GoString returns the string representation

func (*ListInvitationsOutput) SetInvitations Uses

func (s *ListInvitationsOutput) SetInvitations(v []*Invitation) *ListInvitationsOutput

SetInvitations sets the Invitations field's value.

func (*ListInvitationsOutput) SetNextToken Uses

func (s *ListInvitationsOutput) SetNextToken(v string) *ListInvitationsOutput

SetNextToken sets the NextToken field's value.

func (ListInvitationsOutput) String Uses

func (s ListInvitationsOutput) String() string

String returns the string representation

type ListMembersInput Uses

type ListMembersInput struct {

    // The maximum number of items that you want in the response.
    MaxResults *int64 `location:"querystring" locationName:"MaxResults" min:"1" type:"integer"`

    // Paginates results. Set the value of this parameter to NULL on your first
    // call to the ListMembers operation. For subsequent calls to the operation,
    // fill nextToken in the request with the value of nextToken from the previous
    // response to continue listing data.
    NextToken *string `location:"querystring" locationName:"NextToken" type:"string"`

    // Specifies which member accounts the response includes based on their relationship
    // status with the master account. The default value is TRUE. If onlyAssociated
    // is set to TRUE, the response includes member accounts whose relationship
    // status with the master is set to ENABLED or DISABLED. If onlyAssociated is
    // set to FALSE, the response includes all existing member accounts.
    OnlyAssociated *bool `location:"querystring" locationName:"OnlyAssociated" type:"boolean"`
    // contains filtered or unexported fields
}

func (ListMembersInput) GoString Uses

func (s ListMembersInput) GoString() string

GoString returns the string representation

func (*ListMembersInput) SetMaxResults Uses

func (s *ListMembersInput) SetMaxResults(v int64) *ListMembersInput

SetMaxResults sets the MaxResults field's value.

func (*ListMembersInput) SetNextToken Uses

func (s *ListMembersInput) SetNextToken(v string) *ListMembersInput

SetNextToken sets the NextToken field's value.

func (*ListMembersInput) SetOnlyAssociated Uses

func (s *ListMembersInput) SetOnlyAssociated(v bool) *ListMembersInput

SetOnlyAssociated sets the OnlyAssociated field's value.

func (ListMembersInput) String Uses

func (s ListMembersInput) String() string

String returns the string representation

func (*ListMembersInput) Validate Uses

func (s *ListMembersInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type ListMembersOutput Uses

type ListMembersOutput struct {

    // Member details returned by the operation.
    Members []*Member `type:"list"`

    // The token that is required for pagination.
    NextToken *string `type:"string"`
    // contains filtered or unexported fields
}

func (ListMembersOutput) GoString Uses

func (s ListMembersOutput) GoString() string

GoString returns the string representation

func (*ListMembersOutput) SetMembers Uses

func (s *ListMembersOutput) SetMembers(v []*Member) *ListMembersOutput

SetMembers sets the Members field's value.

func (*ListMembersOutput) SetNextToken Uses

func (s *ListMembersOutput) SetNextToken(v string) *ListMembersOutput

SetNextToken sets the NextToken field's value.

func (ListMembersOutput) String Uses

func (s ListMembersOutput) String() string

String returns the string representation

type ListTagsForResourceInput Uses

type ListTagsForResourceInput struct {

    // The ARN of the resource to retrieve tags for.
    //
    // ResourceArn is a required field
    ResourceArn *string `location:"uri" locationName:"ResourceArn" type:"string" required:"true"`
    // contains filtered or unexported fields
}

func (ListTagsForResourceInput) GoString Uses

func (s ListTagsForResourceInput) GoString() string

GoString returns the string representation

func (*ListTagsForResourceInput) SetResourceArn Uses

func (s *ListTagsForResourceInput) SetResourceArn(v string) *ListTagsForResourceInput

SetResourceArn sets the ResourceArn field's value.

func (ListTagsForResourceInput) String Uses

func (s ListTagsForResourceInput) String() string

String returns the string representation

func (*ListTagsForResourceInput) Validate Uses

func (s *ListTagsForResourceInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type ListTagsForResourceOutput Uses

type ListTagsForResourceOutput struct {

    // The tags associated with a resource.
    Tags map[string]*string `min:"1" type:"map"`
    // contains filtered or unexported fields
}

func (ListTagsForResourceOutput) GoString Uses

func (s ListTagsForResourceOutput) GoString() string

GoString returns the string representation

func (*ListTagsForResourceOutput) SetTags Uses

func (s *ListTagsForResourceOutput) SetTags(v map[string]*string) *ListTagsForResourceOutput

SetTags sets the Tags field's value.

func (ListTagsForResourceOutput) String Uses

func (s ListTagsForResourceOutput) String() string

String returns the string representation

type Malware Uses

type Malware struct {

    // The name of the malware that was observed.
    //
    // Name is a required field
    Name *string `type:"string" required:"true"`

    // The file system path of the malware that was observed.
    Path *string `type:"string"`

    // The state of the malware that was observed.
    State *string `type:"string" enum:"MalwareState"`

    // The type of the malware that was observed.
    Type *string `type:"string" enum:"MalwareType"`
    // contains filtered or unexported fields
}

A list of malware related to a finding.

func (Malware) GoString Uses

func (s Malware) GoString() string

GoString returns the string representation

func (*Malware) SetName Uses

func (s *Malware) SetName(v string) *Malware

SetName sets the Name field's value.

func (*Malware) SetPath Uses

func (s *Malware) SetPath(v string) *Malware

SetPath sets the Path field's value.

func (*Malware) SetState Uses

func (s *Malware) SetState(v string) *Malware

SetState sets the State field's value.

func (*Malware) SetType Uses

func (s *Malware) SetType(v string) *Malware

SetType sets the Type field's value.

func (Malware) String Uses

func (s Malware) String() string

String returns the string representation

func (*Malware) Validate Uses

func (s *Malware) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type MapFilter Uses

type MapFilter struct {

    // The condition to apply to a key value when querying for findings with a map
    // filter.
    Comparison *string `type:"string" enum:"MapFilterComparison"`

    // The key of the map filter.
    Key *string `type:"string"`

    // The value for the key in the map filter.
    Value *string `type:"string"`
    // contains filtered or unexported fields
}

The map filter for querying findings.

func (MapFilter) GoString Uses

func (s MapFilter) GoString() string

GoString returns the string representation

func (*MapFilter) SetComparison Uses

func (s *MapFilter) SetComparison(v string) *MapFilter

SetComparison sets the Comparison field's value.

func (*MapFilter) SetKey Uses

func (s *MapFilter) SetKey(v string) *MapFilter

SetKey sets the Key field's value.

func (*MapFilter) SetValue Uses

func (s *MapFilter) SetValue(v string) *MapFilter

SetValue sets the Value field's value.

func (MapFilter) String Uses

func (s MapFilter) String() string

String returns the string representation

type Member Uses

type Member struct {

    // The AWS account ID of the member account.
    AccountId *string `type:"string"`

    // The email address of the member account.
    Email *string `type:"string"`

    // A timestamp for the date and time when the invitation was sent to the member
    // account.
    InvitedAt *time.Time `type:"timestamp" timestampFormat:"iso8601"`

    // The AWS account ID of the Security Hub master account associated with this
    // member account.
    MasterId *string `type:"string"`

    // The status of the relationship between the member account and its master
    // account.
    MemberStatus *string `type:"string"`

    // The timestamp for the date and time when the member account was updated.
    UpdatedAt *time.Time `type:"timestamp" timestampFormat:"iso8601"`
    // contains filtered or unexported fields
}

The details about a member account.

func (Member) GoString Uses

func (s Member) GoString() string

GoString returns the string representation

func (*Member) SetAccountId Uses

func (s *Member) SetAccountId(v string) *Member

SetAccountId sets the AccountId field's value.

func (*Member) SetEmail Uses

func (s *Member) SetEmail(v string) *Member

SetEmail sets the Email field's value.

func (*Member) SetInvitedAt Uses

func (s *Member) SetInvitedAt(v time.Time) *Member

SetInvitedAt sets the InvitedAt field's value.

func (*Member) SetMasterId Uses

func (s *Member) SetMasterId(v string) *Member

SetMasterId sets the MasterId field's value.

func (*Member) SetMemberStatus Uses

func (s *Member) SetMemberStatus(v string) *Member

SetMemberStatus sets the MemberStatus field's value.

func (*Member) SetUpdatedAt Uses

func (s *Member) SetUpdatedAt(v time.Time) *Member

SetUpdatedAt sets the UpdatedAt field's value.

func (Member) String Uses

func (s Member) String() string

String returns the string representation

type Network Uses

type Network struct {

    // The destination domain of network-related information about a finding.
    DestinationDomain *string `type:"string"`

    // The destination IPv4 address of network-related information about a finding.
    DestinationIpV4 *string `type:"string"`

    // The destination IPv6 address of network-related information about a finding.
    DestinationIpV6 *string `type:"string"`

    // The destination port of network-related information about a finding.
    DestinationPort *int64 `type:"integer"`

    // The direction of network traffic associated with a finding.
    Direction *string `type:"string" enum:"NetworkDirection"`

    // The protocol of network-related information about a finding.
    Protocol *string `type:"string"`

    // The source domain of network-related information about a finding.
    SourceDomain *string `type:"string"`

    // The source IPv4 address of network-related information about a finding.
    SourceIpV4 *string `type:"string"`

    // The source IPv6 address of network-related information about a finding.
    SourceIpV6 *string `type:"string"`

    // The source media access control (MAC) address of network-related information
    // about a finding.
    SourceMac *string `type:"string"`

    // The source port of network-related information about a finding.
    SourcePort *int64 `type:"integer"`
    // contains filtered or unexported fields
}

The details of network-related information about a finding.

func (Network) GoString Uses

func (s Network) GoString() string

GoString returns the string representation

func (*Network) SetDestinationDomain Uses

func (s *Network) SetDestinationDomain(v string) *Network

SetDestinationDomain sets the DestinationDomain field's value.

func (*Network) SetDestinationIpV4 Uses

func (s *Network) SetDestinationIpV4(v string) *Network

SetDestinationIpV4 sets the DestinationIpV4 field's value.

func (*Network) SetDestinationIpV6 Uses

func (s *Network) SetDestinationIpV6(v string) *Network

SetDestinationIpV6 sets the DestinationIpV6 field's value.

func (*Network) SetDestinationPort Uses

func (s *Network) SetDestinationPort(v int64) *Network

SetDestinationPort sets the DestinationPort field's value.

func (*Network) SetDirection Uses

func (s *Network) SetDirection(v string) *Network

SetDirection sets the Direction field's value.

func (*Network) SetProtocol Uses

func (s *Network) SetProtocol(v string) *Network

SetProtocol sets the Protocol field's value.

func (*Network) SetSourceDomain Uses

func (s *Network) SetSourceDomain(v string) *Network

SetSourceDomain sets the SourceDomain field's value.

func (*Network) SetSourceIpV4 Uses

func (s *Network) SetSourceIpV4(v string) *Network

SetSourceIpV4 sets the SourceIpV4 field's value.

func (*Network) SetSourceIpV6 Uses

func (s *Network) SetSourceIpV6(v string) *Network

SetSourceIpV6 sets the SourceIpV6 field's value.

func (*Network) SetSourceMac Uses

func (s *Network) SetSourceMac(v string) *Network

SetSourceMac sets the SourceMac field's value.

func (*Network) SetSourcePort Uses

func (s *Network) SetSourcePort(v int64) *Network

SetSourcePort sets the SourcePort field's value.

func (Network) String Uses

func (s Network) String() string

String returns the string representation

type Note Uses

type Note struct {

    // The text of a note.
    //
    // Text is a required field
    Text *string `type:"string" required:"true"`

    // The timestamp of when the note was updated.
    //
    // UpdatedAt is a required field
    UpdatedAt *string `type:"string" required:"true"`

    // The principal that created a note.
    //
    // UpdatedBy is a required field
    UpdatedBy *string `type:"string" required:"true"`
    // contains filtered or unexported fields
}

A user-defined note added to a finding.

func (Note) GoString Uses

func (s Note) GoString() string

GoString returns the string representation

func (*Note) SetText Uses

func (s *Note) SetText(v string) *Note

SetText sets the Text field's value.

func (*Note) SetUpdatedAt Uses

func (s *Note) SetUpdatedAt(v string) *Note

SetUpdatedAt sets the UpdatedAt field's value.

func (*Note) SetUpdatedBy Uses

func (s *Note) SetUpdatedBy(v string) *Note

SetUpdatedBy sets the UpdatedBy field's value.

func (Note) String Uses

func (s Note) String() string

String returns the string representation

func (*Note) Validate Uses

func (s *Note) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type NoteUpdate Uses

type NoteUpdate struct {

    // The updated note text.
    //
    // Text is a required field
    Text *string `type:"string" required:"true"`

    // The principal that updated the note.
    //
    // UpdatedBy is a required field
    UpdatedBy *string `type:"string" required:"true"`
    // contains filtered or unexported fields
}

The updated note.

func (NoteUpdate) GoString Uses

func (s NoteUpdate) GoString() string

GoString returns the string representation

func (*NoteUpdate) SetText Uses

func (s *NoteUpdate) SetText(v string) *NoteUpdate

SetText sets the Text field's value.

func (*NoteUpdate) SetUpdatedBy Uses

func (s *NoteUpdate) SetUpdatedBy(v string) *NoteUpdate

SetUpdatedBy sets the UpdatedBy field's value.

func (NoteUpdate) String Uses

func (s NoteUpdate) String() string

String returns the string representation

func (*NoteUpdate) Validate Uses

func (s *NoteUpdate) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type NumberFilter Uses

type NumberFilter struct {

    // The equal-to condition to be applied to a single field when querying for
    // findings.
    Eq  *float64 `type:"double"`

    // The greater-than-equal condition to be applied to a single field when querying
    // for findings.
    Gte *float64 `type:"double"`

    // The less-than-equal condition to be applied to a single field when querying
    // for findings.
    Lte *float64 `type:"double"`
    // contains filtered or unexported fields
}

A number filter for querying findings.

func (NumberFilter) GoString Uses

func (s NumberFilter) GoString() string

GoString returns the string representation

func (*NumberFilter) SetEq Uses

func (s *NumberFilter) SetEq(v float64) *NumberFilter

SetEq sets the Eq field's value.

func (*NumberFilter) SetGte Uses

func (s *NumberFilter) SetGte(v float64) *NumberFilter

SetGte sets the Gte field's value.

func (*NumberFilter) SetLte Uses

func (s *NumberFilter) SetLte(v float64) *NumberFilter

SetLte sets the Lte field's value.

func (NumberFilter) String Uses

func (s NumberFilter) String() string

String returns the string representation

type ProcessDetails Uses

type ProcessDetails struct {

    // The date/time that the process was launched.
    LaunchedAt *string `type:"string"`

    // The name of the process.
    Name *string `type:"string"`

    // The parent process ID.
    ParentPid *int64 `type:"integer"`

    // The path to the process executable.
    Path *string `type:"string"`

    // The process ID.
    Pid *int64 `type:"integer"`

    // The date and time when the process was terminated.
    TerminatedAt *string `type:"string"`
    // contains filtered or unexported fields
}

The details of process-related information about a finding.

func (ProcessDetails) GoString Uses

func (s ProcessDetails) GoString() string

GoString returns the string representation

func (*ProcessDetails) SetLaunchedAt Uses

func (s *ProcessDetails) SetLaunchedAt(v string) *ProcessDetails

SetLaunchedAt sets the LaunchedAt field's value.

func (*ProcessDetails) SetName Uses

func (s *ProcessDetails) SetName(v string) *ProcessDetails

SetName sets the Name field's value.

func (*ProcessDetails) SetParentPid Uses

func (s *ProcessDetails) SetParentPid(v int64) *ProcessDetails

SetParentPid sets the ParentPid field's value.

func (*ProcessDetails) SetPath Uses

func (s *ProcessDetails) SetPath(v string) *ProcessDetails

SetPath sets the Path field's value.

func (*ProcessDetails) SetPid Uses

func (s *ProcessDetails) SetPid(v int64) *ProcessDetails

SetPid sets the Pid field's value.

func (*ProcessDetails) SetTerminatedAt Uses

func (s *ProcessDetails) SetTerminatedAt(v string) *ProcessDetails

SetTerminatedAt sets the TerminatedAt field's value.

func (ProcessDetails) String Uses

func (s ProcessDetails) String() string

String returns the string representation

type Product Uses

type Product struct {

    // The URL used to activate the product.
    ActivationUrl *string `type:"string"`

    // The categories assigned to the product.
    Categories []*string `type:"list"`

    // The name of the company that provides the product.
    CompanyName *string `type:"string"`

    // A description of the product.
    Description *string `type:"string"`

    // The URL for the page that contains more information about the product.
    MarketplaceUrl *string `type:"string"`

    // The ARN assigned to the product.
    //
    // ProductArn is a required field
    ProductArn *string `type:"string" required:"true"`

    // The name of the product.
    ProductName *string `type:"string"`

    // The resource policy associated with the product.
    ProductSubscriptionResourcePolicy *string `type:"string"`
    // contains filtered or unexported fields
}

Contains details about a product.

func (Product) GoString Uses

func (s Product) GoString() string

GoString returns the string representation

func (*Product) SetActivationUrl Uses

func (s *Product) SetActivationUrl(v string) *Product

SetActivationUrl sets the ActivationUrl field's value.

func (*Product) SetCategories Uses

func (s *Product) SetCategories(v []*string) *Product

SetCategories sets the Categories field's value.

func (*Product) SetCompanyName Uses

func (s *Product) SetCompanyName(v string) *Product

SetCompanyName sets the CompanyName field's value.

func (*Product) SetDescription Uses

func (s *Product) SetDescription(v string) *Product

SetDescription sets the Description field's value.

func (*Product) SetMarketplaceUrl Uses

func (s *Product) SetMarketplaceUrl(v string) *Product

SetMarketplaceUrl sets the MarketplaceUrl field's value.

func (*Product) SetProductArn Uses

func (s *Product) SetProductArn(v string) *Product

SetProductArn sets the ProductArn field's value.

func (*Product) SetProductName Uses

func (s *Product) SetProductName(v string) *Product

SetProductName sets the ProductName field's value.

func (*Product) SetProductSubscriptionResourcePolicy Uses

func (s *Product) SetProductSubscriptionResourcePolicy(v string) *Product

SetProductSubscriptionResourcePolicy sets the ProductSubscriptionResourcePolicy field's value.

func (Product) String Uses

func (s Product) String() string

String returns the string representation

type Recommendation Uses

type Recommendation struct {

    // Describes the recommended steps to take to remediate an issue identified
    // in a finding.
    Text *string `type:"string"`

    // A URL to a page or site that contains information about how to remediate
    // a finding.
    Url *string `type:"string"`
    // contains filtered or unexported fields
}

A recommendation on how to remediate the issue identified in a finding.

func (Recommendation) GoString Uses

func (s Recommendation) GoString() string

GoString returns the string representation

func (*Recommendation) SetText Uses

func (s *Recommendation) SetText(v string) *Recommendation

SetText sets the Text field's value.

func (*Recommendation) SetUrl Uses

func (s *Recommendation) SetUrl(v string) *Recommendation

SetUrl sets the Url field's value.

func (Recommendation) String Uses

func (s Recommendation) String() string

String returns the string representation

type RelatedFinding Uses

type RelatedFinding struct {

    // The product-generated identifier for a related finding.
    //
    // Id is a required field
    Id  *string `type:"string" required:"true"`

    // The ARN of the product that generated a related finding.
    //
    // ProductArn is a required field
    ProductArn *string `type:"string" required:"true"`
    // contains filtered or unexported fields
}

Details about a related finding.

func (RelatedFinding) GoString Uses

func (s RelatedFinding) GoString() string

GoString returns the string representation

func (*RelatedFinding) SetId Uses

func (s *RelatedFinding) SetId(v string) *RelatedFinding

SetId sets the Id field's value.

func (*RelatedFinding) SetProductArn Uses

func (s *RelatedFinding) SetProductArn(v string) *RelatedFinding

SetProductArn sets the ProductArn field's value.

func (RelatedFinding) String Uses

func (s RelatedFinding) String() string

String returns the string representation

func (*RelatedFinding) Validate Uses

func (s *RelatedFinding) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type Remediation Uses

type Remediation struct {

    // A recommendation on the steps to take to remediate the issue identified by
    // a finding.
    Recommendation *Recommendation `type:"structure"`
    // contains filtered or unexported fields
}

Details about the remediation steps for a finding.

func (Remediation) GoString Uses

func (s Remediation) GoString() string

GoString returns the string representation

func (*Remediation) SetRecommendation Uses

func (s *Remediation) SetRecommendation(v *Recommendation) *Remediation

SetRecommendation sets the Recommendation field's value.

func (Remediation) String Uses

func (s Remediation) String() string

String returns the string representation

type Resource Uses

type Resource struct {

    // Additional details about the resource related to a finding.
    Details *ResourceDetails `type:"structure"`

    // The canonical identifier for the given resource type.
    //
    // Id is a required field
    Id  *string `type:"string" required:"true"`

    // The canonical AWS partition name that the Region is assigned to.
    Partition *string `type:"string" enum:"Partition"`

    // The canonical AWS external Region name where this resource is located.
    Region *string `type:"string"`

    // A list of AWS tags associated with a resource at the time the finding was
    // processed.
    Tags map[string]*string `type:"map"`

    // The type of the resource that details are provided for.
    //
    // Type is a required field
    Type *string `type:"string" required:"true"`
    // contains filtered or unexported fields
}

A resource related to a finding.

func (Resource) GoString Uses

func (s Resource) GoString() string

GoString returns the string representation

func (*Resource) SetDetails Uses

func (s *Resource) SetDetails(v *ResourceDetails) *Resource

SetDetails sets the Details field's value.

func (*Resource) SetId Uses

func (s *Resource) SetId(v string) *Resource

SetId sets the Id field's value.

func (*Resource) SetPartition Uses

func (s *Resource) SetPartition(v string) *Resource

SetPartition sets the Partition field's value.

func (*Resource) SetRegion Uses

func (s *Resource) SetRegion(v string) *Resource

SetRegion sets the Region field's value.

func (*Resource) SetTags Uses

func (s *Resource) SetTags(v map[string]*string) *Resource

SetTags sets the Tags field's value.

func (*Resource) SetType Uses

func (s *Resource) SetType(v string) *Resource

SetType sets the Type field's value.

func (Resource) String Uses

func (s Resource) String() string

String returns the string representation

func (*Resource) Validate Uses

func (s *Resource) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type ResourceDetails Uses

type ResourceDetails struct {

    // Details about an Amazon EC2 instance related to a finding.
    AwsEc2Instance *AwsEc2InstanceDetails `type:"structure"`

    // Details about an IAM access key related to a finding.
    AwsIamAccessKey *AwsIamAccessKeyDetails `type:"structure"`

    // Details about an Amazon S3 Bucket related to a finding.
    AwsS3Bucket *AwsS3BucketDetails `type:"structure"`

    // Details about a container resource related to a finding.
    Container *ContainerDetails `type:"structure"`

    // Details about a resource that doesn't have a specific type defined.
    Other map[string]*string `type:"map"`
    // contains filtered or unexported fields
}

Additional details about a resource related to a finding.

func (ResourceDetails) GoString Uses

func (s ResourceDetails) GoString() string

GoString returns the string representation

func (*ResourceDetails) SetAwsEc2Instance Uses

func (s *ResourceDetails) SetAwsEc2Instance(v *AwsEc2InstanceDetails) *ResourceDetails

SetAwsEc2Instance sets the AwsEc2Instance field's value.

func (*ResourceDetails) SetAwsIamAccessKey Uses

func (s *ResourceDetails) SetAwsIamAccessKey(v *AwsIamAccessKeyDetails) *ResourceDetails

SetAwsIamAccessKey sets the AwsIamAccessKey field's value.

func (*ResourceDetails) SetAwsS3Bucket Uses

func (s *ResourceDetails) SetAwsS3Bucket(v *AwsS3BucketDetails) *ResourceDetails

SetAwsS3Bucket sets the AwsS3Bucket field's value.

func (*ResourceDetails) SetContainer Uses

func (s *ResourceDetails) SetContainer(v *ContainerDetails) *ResourceDetails

SetContainer sets the Container field's value.

func (*ResourceDetails) SetOther Uses

func (s *ResourceDetails) SetOther(v map[string]*string) *ResourceDetails

SetOther sets the Other field's value.

func (ResourceDetails) String Uses

func (s ResourceDetails) String() string

String returns the string representation

type Result Uses

type Result struct {

    // An AWS account ID of the account that wasn't be processed.
    AccountId *string `type:"string"`

    // The reason that the account wasn't be processed.
    ProcessingResult *string `type:"string"`
    // contains filtered or unexported fields
}

Details about the account that wasn't processed.

func (Result) GoString Uses

func (s Result) GoString() string

GoString returns the string representation

func (*Result) SetAccountId Uses

func (s *Result) SetAccountId(v string) *Result

SetAccountId sets the AccountId field's value.

func (*Result) SetProcessingResult Uses

func (s *Result) SetProcessingResult(v string) *Result

SetProcessingResult sets the ProcessingResult field's value.

func (Result) String Uses

func (s Result) String() string

String returns the string representation

type SecurityHub Uses

type SecurityHub struct {
    *client.Client
}

SecurityHub provides the API operation methods for making requests to AWS SecurityHub. See this package's package overview docs for details on the service.

SecurityHub methods are safe to use concurrently. It is not safe to modify mutate any of the struct's properties though.

func New Uses

func New(p client.ConfigProvider, cfgs ...*aws.Config) *SecurityHub

New creates a new instance of the SecurityHub client with a session. If additional configuration is needed for the client instance use the optional aws.Config parameter to add your extra config.

Example:

// Create a SecurityHub client from just a session.
svc := securityhub.New(mySession)

// Create a SecurityHub client with additional configuration
svc := securityhub.New(mySession, aws.NewConfig().WithRegion("us-west-2"))

func (*SecurityHub) AcceptInvitation Uses

func (c *SecurityHub) AcceptInvitation(input *AcceptInvitationInput) (*AcceptInvitationOutput, error)

AcceptInvitation API operation for AWS SecurityHub.

Accepts the invitation to be a member account and be monitored by the Security Hub master account that the invitation was sent from. When the member account accepts the invitation, permission is granted to the master account to view findings generated in the member account.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS SecurityHub's API operation AcceptInvitation for usage and error information.

Returned Error Codes:

* ErrCodeInternalException "InternalException"
Internal server error.

* ErrCodeInvalidInputException "InvalidInputException"
The request was rejected because you supplied an invalid or out-of-range
value for an input parameter.

* ErrCodeLimitExceededException "LimitExceededException"
The request was rejected because it attempted to create resources beyond
the current AWS account limits. The error code describes the limit exceeded.

* ErrCodeResourceNotFoundException "ResourceNotFoundException"
The request was rejected because we can't find the specified resource.

* ErrCodeInvalidAccessException "InvalidAccessException"
AWS Security Hub isn't enabled for the account used to make this request.

See also, https://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/AcceptInvitation

func (*SecurityHub) AcceptInvitationRequest Uses

func (c *SecurityHub) AcceptInvitationRequest(input *AcceptInvitationInput) (req *request.Request, output *AcceptInvitationOutput)

AcceptInvitationRequest generates a "aws/request.Request" representing the client's request for the AcceptInvitation operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See AcceptInvitation for more information on using the AcceptInvitation API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the AcceptInvitationRequest method.
req, resp := client.AcceptInvitationRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/AcceptInvitation

func (*SecurityHub) AcceptInvitationWithContext Uses

func (c *SecurityHub) AcceptInvitationWithContext(ctx aws.Context, input *AcceptInvitationInput, opts ...request.Option) (*AcceptInvitationOutput, error)

AcceptInvitationWithContext is the same as AcceptInvitation with the addition of the ability to pass a context and additional request options.

See AcceptInvitation for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*SecurityHub) BatchDisableStandards Uses

func (c *SecurityHub) BatchDisableStandards(input *BatchDisableStandardsInput) (*BatchDisableStandardsOutput, error)

BatchDisableStandards API operation for AWS SecurityHub.

Disables the standards specified by the provided StandardsSubscriptionArns. For more information, see Standards Supported in AWS Security Hub (https://docs.aws.amazon.com/securityhub/latest/userguide/securityhub-standards.html).

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS SecurityHub's API operation BatchDisableStandards for usage and error information.

Returned Error Codes:

* ErrCodeInternalException "InternalException"
Internal server error.

* ErrCodeInvalidInputException "InvalidInputException"
The request was rejected because you supplied an invalid or out-of-range
value for an input parameter.

* ErrCodeInvalidAccessException "InvalidAccessException"
AWS Security Hub isn't enabled for the account used to make this request.

* ErrCodeLimitExceededException "LimitExceededException"
The request was rejected because it attempted to create resources beyond
the current AWS account limits. The error code describes the limit exceeded.

See also, https://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/BatchDisableStandards

func (*SecurityHub) BatchDisableStandardsRequest Uses

func (c *SecurityHub) BatchDisableStandardsRequest(input *BatchDisableStandardsInput) (req *request.Request, output *BatchDisableStandardsOutput)

BatchDisableStandardsRequest generates a "aws/request.Request" representing the client's request for the BatchDisableStandards operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See BatchDisableStandards for more information on using the BatchDisableStandards API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the BatchDisableStandardsRequest method.
req, resp := client.BatchDisableStandardsRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/BatchDisableStandards

func (*SecurityHub) BatchDisableStandardsWithContext Uses

func (c *SecurityHub) BatchDisableStandardsWithContext(ctx aws.Context, input *BatchDisableStandardsInput, opts ...request.Option) (*BatchDisableStandardsOutput, error)

BatchDisableStandardsWithContext is the same as BatchDisableStandards with the addition of the ability to pass a context and additional request options.

See BatchDisableStandards for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*SecurityHub) BatchEnableStandards Uses

func (c *SecurityHub) BatchEnableStandards(input *BatchEnableStandardsInput) (*BatchEnableStandardsOutput, error)

BatchEnableStandards API operation for AWS SecurityHub.

Enables the standards specified by the provided standardsArn. In this release, only CIS AWS Foundations standards are supported. For more information, see Standards Supported in AWS Security Hub (https://docs.aws.amazon.com/securityhub/latest/userguide/securityhub-standards.html).

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS SecurityHub's API operation BatchEnableStandards for usage and error information.

Returned Error Codes:

* ErrCodeInternalException "InternalException"
Internal server error.

* ErrCodeInvalidInputException "InvalidInputException"
The request was rejected because you supplied an invalid or out-of-range
value for an input parameter.

* ErrCodeInvalidAccessException "InvalidAccessException"
AWS Security Hub isn't enabled for the account used to make this request.

* ErrCodeLimitExceededException "LimitExceededException"
The request was rejected because it attempted to create resources beyond
the current AWS account limits. The error code describes the limit exceeded.

See also, https://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/BatchEnableStandards

func (*SecurityHub) BatchEnableStandardsRequest Uses

func (c *SecurityHub) BatchEnableStandardsRequest(input *BatchEnableStandardsInput) (req *request.Request, output *BatchEnableStandardsOutput)

BatchEnableStandardsRequest generates a "aws/request.Request" representing the client's request for the BatchEnableStandards operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See BatchEnableStandards for more information on using the BatchEnableStandards API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the BatchEnableStandardsRequest method.
req, resp := client.BatchEnableStandardsRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/BatchEnableStandards

func (*SecurityHub) BatchEnableStandardsWithContext Uses

func (c *SecurityHub) BatchEnableStandardsWithContext(ctx aws.Context, input *BatchEnableStandardsInput, opts ...request.Option) (*BatchEnableStandardsOutput, error)

BatchEnableStandardsWithContext is the same as BatchEnableStandards with the addition of the ability to pass a context and additional request options.

See BatchEnableStandards for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*SecurityHub) BatchImportFindings Uses

func (c *SecurityHub) BatchImportFindings(input *BatchImportFindingsInput) (*BatchImportFindingsOutput, error)

BatchImportFindings API operation for AWS SecurityHub.

Imports security findings generated from an integrated third-party product into Security Hub. This action is requested by the integrated product to import its findings into Security Hub. The maximum allowed size for a finding is 240 Kb. An error is returned for any finding larger than 240 Kb.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS SecurityHub's API operation BatchImportFindings for usage and error information.

Returned Error Codes:

* ErrCodeInternalException "InternalException"
Internal server error.

* ErrCodeInvalidInputException "InvalidInputException"
The request was rejected because you supplied an invalid or out-of-range
value for an input parameter.

* ErrCodeLimitExceededException "LimitExceededException"
The request was rejected because it attempted to create resources beyond
the current AWS account limits. The error code describes the limit exceeded.

* ErrCodeInvalidAccessException "InvalidAccessException"
AWS Security Hub isn't enabled for the account used to make this request.

See also, https://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/BatchImportFindings

func (*SecurityHub) BatchImportFindingsRequest Uses

func (c *SecurityHub) BatchImportFindingsRequest(input *BatchImportFindingsInput) (req *request.Request, output *BatchImportFindingsOutput)

BatchImportFindingsRequest generates a "aws/request.Request" representing the client's request for the BatchImportFindings operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See BatchImportFindings for more information on using the BatchImportFindings API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the BatchImportFindingsRequest method.
req, resp := client.BatchImportFindingsRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/BatchImportFindings

func (*SecurityHub) BatchImportFindingsWithContext Uses

func (c *SecurityHub) BatchImportFindingsWithContext(ctx aws.Context, input *BatchImportFindingsInput, opts ...request.Option) (*BatchImportFindingsOutput, error)

BatchImportFindingsWithContext is the same as BatchImportFindings with the addition of the ability to pass a context and additional request options.

See BatchImportFindings for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*SecurityHub) CreateActionTarget Uses

func (c *SecurityHub) CreateActionTarget(input *CreateActionTargetInput) (*CreateActionTargetOutput, error)

CreateActionTarget API operation for AWS SecurityHub.

Creates a custom action target in Security Hub. You can use custom actions on findings and insights in Security Hub to trigger target actions in Amazon CloudWatch Events.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS SecurityHub's API operation CreateActionTarget for usage and error information.

Returned Error Codes:

* ErrCodeInternalException "InternalException"
Internal server error.

* ErrCodeInvalidInputException "InvalidInputException"
The request was rejected because you supplied an invalid or out-of-range
value for an input parameter.

* ErrCodeInvalidAccessException "InvalidAccessException"
AWS Security Hub isn't enabled for the account used to make this request.

* ErrCodeLimitExceededException "LimitExceededException"
The request was rejected because it attempted to create resources beyond
the current AWS account limits. The error code describes the limit exceeded.

* ErrCodeResourceConflictException "ResourceConflictException"
The resource specified in the request conflicts with an existing resource.

See also, https://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/CreateActionTarget

func (*SecurityHub) CreateActionTargetRequest Uses

func (c *SecurityHub) CreateActionTargetRequest(input *CreateActionTargetInput) (req *request.Request, output *CreateActionTargetOutput)

CreateActionTargetRequest generates a "aws/request.Request" representing the client's request for the CreateActionTarget operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See CreateActionTarget for more information on using the CreateActionTarget API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the CreateActionTargetRequest method.
req, resp := client.CreateActionTargetRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/CreateActionTarget

func (*SecurityHub) CreateActionTargetWithContext Uses

func (c *SecurityHub) CreateActionTargetWithContext(ctx aws.Context, input *CreateActionTargetInput, opts ...request.Option) (*CreateActionTargetOutput, error)

CreateActionTargetWithContext is the same as CreateActionTarget with the addition of the ability to pass a context and additional request options.

See CreateActionTarget for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*SecurityHub) CreateInsight Uses

func (c *SecurityHub) CreateInsight(input *CreateInsightInput) (*CreateInsightOutput, error)

CreateInsight API operation for AWS SecurityHub.

Creates a custom insight in Security Hub. An insight is a consolidation of findings that relate to a security issue that requires attention or remediation. Use the GroupByAttribute to group the related findings in the insight.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS SecurityHub's API operation CreateInsight for usage and error information.

Returned Error Codes:

* ErrCodeInternalException "InternalException"
Internal server error.

* ErrCodeInvalidInputException "InvalidInputException"
The request was rejected because you supplied an invalid or out-of-range
value for an input parameter.

* ErrCodeLimitExceededException "LimitExceededException"
The request was rejected because it attempted to create resources beyond
the current AWS account limits. The error code describes the limit exceeded.

* ErrCodeInvalidAccessException "InvalidAccessException"
AWS Security Hub isn't enabled for the account used to make this request.

* ErrCodeResourceConflictException "ResourceConflictException"
The resource specified in the request conflicts with an existing resource.

See also, https://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/CreateInsight

func (*SecurityHub) CreateInsightRequest Uses

func (c *SecurityHub) CreateInsightRequest(input *CreateInsightInput) (req *request.Request, output *CreateInsightOutput)

CreateInsightRequest generates a "aws/request.Request" representing the client's request for the CreateInsight operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See CreateInsight for more information on using the CreateInsight API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the CreateInsightRequest method.
req, resp := client.CreateInsightRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/CreateInsight

func (*SecurityHub) CreateInsightWithContext Uses

func (c *SecurityHub) CreateInsightWithContext(ctx aws.Context, input *CreateInsightInput, opts ...request.Option) (*CreateInsightOutput, error)

CreateInsightWithContext is the same as CreateInsight with the addition of the ability to pass a context and additional request options.

See CreateInsight for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*SecurityHub) CreateMembers Uses

func (c *SecurityHub) CreateMembers(input *CreateMembersInput) (*CreateMembersOutput, error)

CreateMembers API operation for AWS SecurityHub.

Creates a member association in Security Hub between the specified accounts and the account used to make the request, which is the master account. To successfully create a member, you must use this action from an account that already has Security Hub enabled. You can use the EnableSecurityHub to enable Security Hub.

After you use CreateMembers to create member account associations in Security Hub, you need to use the InviteMembers action, which invites the accounts to enable Security Hub and become member accounts in Security Hub. If the invitation is accepted by the account owner, the account becomes a member account in Security Hub, and a permission policy is added that permits the master account to view the findings generated in the member account. When Security Hub is enabled in the invited account, findings start being sent to both the member and master accounts.

You can remove the association between the master and member accounts by using the DisassociateFromMasterAccount or DisassociateMembers operation.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS SecurityHub's API operation CreateMembers for usage and error information.

Returned Error Codes:

* ErrCodeInternalException "InternalException"
Internal server error.

* ErrCodeInvalidInputException "InvalidInputException"
The request was rejected because you supplied an invalid or out-of-range
value for an input parameter.

* ErrCodeLimitExceededException "LimitExceededException"
The request was rejected because it attempted to create resources beyond
the current AWS account limits. The error code describes the limit exceeded.

* ErrCodeInvalidAccessException "InvalidAccessException"
AWS Security Hub isn't enabled for the account used to make this request.

* ErrCodeResourceConflictException "ResourceConflictException"
The resource specified in the request conflicts with an existing resource.

See also, https://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/CreateMembers

func (*SecurityHub) CreateMembersRequest Uses

func (c *SecurityHub) CreateMembersRequest(input *CreateMembersInput) (req *request.Request, output *CreateMembersOutput)

CreateMembersRequest generates a "aws/request.Request" representing the client's request for the CreateMembers operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See CreateMembers for more information on using the CreateMembers API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the CreateMembersRequest method.
req, resp := client.CreateMembersRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/CreateMembers

func (*SecurityHub) CreateMembersWithContext Uses

func (c *SecurityHub) CreateMembersWithContext(ctx aws.Context, input *CreateMembersInput, opts ...request.Option) (*CreateMembersOutput, error)

CreateMembersWithContext is the same as CreateMembers with the addition of the ability to pass a context and additional request options.

See CreateMembers for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*SecurityHub) DeclineInvitations Uses

func (c *SecurityHub) DeclineInvitations(input *DeclineInvitationsInput) (*DeclineInvitationsOutput, error)

DeclineInvitations API operation for AWS SecurityHub.

Declines invitations to become a member account.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS SecurityHub's API operation DeclineInvitations for usage and error information.

Returned Error Codes:

* ErrCodeInternalException "InternalException"
Internal server error.

* ErrCodeInvalidInputException "InvalidInputException"
The request was rejected because you supplied an invalid or out-of-range
value for an input parameter.

* ErrCodeInvalidAccessException "InvalidAccessException"
AWS Security Hub isn't enabled for the account used to make this request.

* ErrCodeResourceNotFoundException "ResourceNotFoundException"
The request was rejected because we can't find the specified resource.

See also, https://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/DeclineInvitations

func (*SecurityHub) DeclineInvitationsRequest Uses

func (c *SecurityHub) DeclineInvitationsRequest(input *DeclineInvitationsInput) (req *request.Request, output *DeclineInvitationsOutput)

DeclineInvitationsRequest generates a "aws/request.Request" representing the client's request for the DeclineInvitations operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DeclineInvitations for more information on using the DeclineInvitations API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DeclineInvitationsRequest method.
req, resp := client.DeclineInvitationsRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/DeclineInvitations

func (*SecurityHub) DeclineInvitationsWithContext Uses

func (c *SecurityHub) DeclineInvitationsWithContext(ctx aws.Context, input *DeclineInvitationsInput, opts ...request.Option) (*DeclineInvitationsOutput, error)

DeclineInvitationsWithContext is the same as DeclineInvitations with the addition of the ability to pass a context and additional request options.

See DeclineInvitations for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*SecurityHub) DeleteActionTarget Uses

func (c *SecurityHub) DeleteActionTarget(input *DeleteActionTargetInput) (*DeleteActionTargetOutput, error)

DeleteActionTarget API operation for AWS SecurityHub.

Deletes a custom action target from Security Hub. Deleting a custom action target doesn't affect any findings or insights that were already sent to Amazon CloudWatch Events using the custom action.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS SecurityHub's API operation DeleteActionTarget for usage and error information.

Returned Error Codes:

* ErrCodeInternalException "InternalException"
Internal server error.

* ErrCodeInvalidInputException "InvalidInputException"
The request was rejected because you supplied an invalid or out-of-range
value for an input parameter.

* ErrCodeInvalidAccessException "InvalidAccessException"
AWS Security Hub isn't enabled for the account used to make this request.

* ErrCodeResourceNotFoundException "ResourceNotFoundException"
The request was rejected because we can't find the specified resource.

See also, https://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/DeleteActionTarget

func (*SecurityHub) DeleteActionTargetRequest Uses

func (c *SecurityHub) DeleteActionTargetRequest(input *DeleteActionTargetInput) (req *request.Request, output *DeleteActionTargetOutput)

DeleteActionTargetRequest generates a "aws/request.Request" representing the client's request for the DeleteActionTarget operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DeleteActionTarget for more information on using the DeleteActionTarget API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DeleteActionTargetRequest method.
req, resp := client.DeleteActionTargetRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/DeleteActionTarget

func (*SecurityHub) DeleteActionTargetWithContext Uses

func (c *SecurityHub) DeleteActionTargetWithContext(ctx aws.Context, input *DeleteActionTargetInput, opts ...request.Option) (*DeleteActionTargetOutput, error)

DeleteActionTargetWithContext is the same as DeleteActionTarget with the addition of the ability to pass a context and additional request options.

See DeleteActionTarget for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*SecurityHub) DeleteInsight Uses

func (c *SecurityHub) DeleteInsight(input *DeleteInsightInput) (*DeleteInsightOutput, error)

DeleteInsight API operation for AWS SecurityHub.

Deletes the insight specified by the InsightArn.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS SecurityHub's API operation DeleteInsight for usage and error information.

Returned Error Codes:

* ErrCodeInternalException "InternalException"
Internal server error.

* ErrCodeInvalidInputException "InvalidInputException"
The request was rejected because you supplied an invalid or out-of-range
value for an input parameter.

* ErrCodeInvalidAccessException "InvalidAccessException"
AWS Security Hub isn't enabled for the account used to make this request.

* ErrCodeLimitExceededException "LimitExceededException"
The request was rejected because it attempted to create resources beyond
the current AWS account limits. The error code describes the limit exceeded.

* ErrCodeResourceNotFoundException "ResourceNotFoundException"
The request was rejected because we can't find the specified resource.

See also, https://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/DeleteInsight

func (*SecurityHub) DeleteInsightRequest Uses

func (c *SecurityHub) DeleteInsightRequest(input *DeleteInsightInput) (req *request.Request, output *DeleteInsightOutput)

DeleteInsightRequest generates a "aws/request.Request" representing the client's request for the DeleteInsight operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DeleteInsight for more information on using the DeleteInsight API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DeleteInsightRequest method.
req, resp := client.DeleteInsightRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/DeleteInsight

func (*SecurityHub) DeleteInsightWithContext Uses

func (c *SecurityHub) DeleteInsightWithContext(ctx aws.Context, input *DeleteInsightInput, opts ...request.Option) (*DeleteInsightOutput, error)

DeleteInsightWithContext is the same as DeleteInsight with the addition of the ability to pass a context and additional request options.

See DeleteInsight for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*SecurityHub) DeleteInvitations Uses

func (c *SecurityHub) DeleteInvitations(input *DeleteInvitationsInput) (*DeleteInvitationsOutput, error)

DeleteInvitations API operation for AWS SecurityHub.

Deletes invitations received by the AWS account to become a member account.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS SecurityHub's API operation DeleteInvitations for usage and error information.

Returned Error Codes:

* ErrCodeInternalException "InternalException"
Internal server error.

* ErrCodeInvalidInputException "InvalidInputException"
The request was rejected because you supplied an invalid or out-of-range
value for an input parameter.

* ErrCodeLimitExceededException "LimitExceededException"
The request was rejected because it attempted to create resources beyond
the current AWS account limits. The error code describes the limit exceeded.

* ErrCodeResourceNotFoundException "ResourceNotFoundException"
The request was rejected because we can't find the specified resource.

* ErrCodeInvalidAccessException "InvalidAccessException"
AWS Security Hub isn't enabled for the account used to make this request.

See also, https://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/DeleteInvitations

func (*SecurityHub) DeleteInvitationsRequest Uses

func (c *SecurityHub) DeleteInvitationsRequest(input *DeleteInvitationsInput) (req *request.Request, output *DeleteInvitationsOutput)

DeleteInvitationsRequest generates a "aws/request.Request" representing the client's request for the DeleteInvitations operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DeleteInvitations for more information on using the DeleteInvitations API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DeleteInvitationsRequest method.
req, resp := client.DeleteInvitationsRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/DeleteInvitations

func (*SecurityHub) DeleteInvitationsWithContext Uses

func (c *SecurityHub) DeleteInvitationsWithContext(ctx aws.Context, input *DeleteInvitationsInput, opts ...request.Option) (*DeleteInvitationsOutput, error)

DeleteInvitationsWithContext is the same as DeleteInvitations with the addition of the ability to pass a context and additional request options.

See DeleteInvitations for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*SecurityHub) DeleteMembers Uses

func (c *SecurityHub) DeleteMembers(input *DeleteMembersInput) (*DeleteMembersOutput, error)

DeleteMembers API operation for AWS SecurityHub.

Deletes the specified member accounts from Security Hub.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS SecurityHub's API operation DeleteMembers for usage and error information.

Returned Error Codes:

* ErrCodeInternalException "InternalException"
Internal server error.

* ErrCodeInvalidInputException "InvalidInputException"
The request was rejected because you supplied an invalid or out-of-range
value for an input parameter.

* ErrCodeInvalidAccessException "InvalidAccessException"
AWS Security Hub isn't enabled for the account used to make this request.

* ErrCodeLimitExceededException "LimitExceededException"
The request was rejected because it attempted to create resources beyond
the current AWS account limits. The error code describes the limit exceeded.

* ErrCodeResourceNotFoundException "ResourceNotFoundException"
The request was rejected because we can't find the specified resource.

See also, https://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/DeleteMembers

func (*SecurityHub) DeleteMembersRequest Uses

func (c *SecurityHub) DeleteMembersRequest(input *DeleteMembersInput) (req *request.Request, output *DeleteMembersOutput)

DeleteMembersRequest generates a "aws/request.Request" representing the client's request for the DeleteMembers operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DeleteMembers for more information on using the DeleteMembers API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DeleteMembersRequest method.
req, resp := client.DeleteMembersRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/DeleteMembers

func (*SecurityHub) DeleteMembersWithContext Uses

func (c *SecurityHub) DeleteMembersWithContext(ctx aws.Context, input *DeleteMembersInput, opts ...request.Option) (*DeleteMembersOutput, error)

DeleteMembersWithContext is the same as DeleteMembers with the addition of the ability to pass a context and additional request options.

See DeleteMembers for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*SecurityHub) DescribeActionTargets Uses

func (c *SecurityHub) DescribeActionTargets(input *DescribeActionTargetsInput) (*DescribeActionTargetsOutput, error)

DescribeActionTargets API operation for AWS SecurityHub.

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

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS SecurityHub's API operation DescribeActionTargets for usage and error information.

Returned Error Codes:

* ErrCodeInternalException "InternalException"
Internal server error.

* ErrCodeInvalidInputException "InvalidInputException"
The request was rejected because you supplied an invalid or out-of-range
value for an input parameter.

* ErrCodeInvalidAccessException "InvalidAccessException"
AWS Security Hub isn't enabled for the account used to make this request.

* ErrCodeResourceNotFoundException "ResourceNotFoundException"
The request was rejected because we can't find the specified resource.

See also, https://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/DescribeActionTargets

func (*SecurityHub) DescribeActionTargetsPages Uses

func (c *SecurityHub) DescribeActionTargetsPages(input *DescribeActionTargetsInput, fn func(*DescribeActionTargetsOutput, bool) bool) error

DescribeActionTargetsPages iterates over the pages of a DescribeActionTargets operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.

See DescribeActionTargets method for more information on how to use this operation.

Note: This operation can generate multiple requests to a service.

// Example iterating over at most 3 pages of a DescribeActionTargets operation.
pageNum := 0
err := client.DescribeActionTargetsPages(params,
    func(page *securityhub.DescribeActionTargetsOutput, lastPage bool) bool {
        pageNum++
        fmt.Println(page)
        return pageNum <= 3
    })

func (*SecurityHub) DescribeActionTargetsPagesWithContext Uses

func (c *SecurityHub) DescribeActionTargetsPagesWithContext(ctx aws.Context, input *DescribeActionTargetsInput, fn func(*DescribeActionTargetsOutput, bool) bool, opts ...request.Option) error

DescribeActionTargetsPagesWithContext same as DescribeActionTargetsPages except it takes a Context and allows setting request options on the pages.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*SecurityHub) DescribeActionTargetsRequest Uses

func (c *SecurityHub) DescribeActionTargetsRequest(input *DescribeActionTargetsInput) (req *request.Request, output *DescribeActionTargetsOutput)

DescribeActionTargetsRequest generates a "aws/request.Request" representing the client's request for the DescribeActionTargets operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DescribeActionTargets for more information on using the DescribeActionTargets API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DescribeActionTargetsRequest method.
req, resp := client.DescribeActionTargetsRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/DescribeActionTargets

func (*SecurityHub) DescribeActionTargetsWithContext Uses

func (c *SecurityHub) DescribeActionTargetsWithContext(ctx aws.Context, input *DescribeActionTargetsInput, opts ...request.Option) (*DescribeActionTargetsOutput, error)

DescribeActionTargetsWithContext is the same as DescribeActionTargets with the addition of the ability to pass a context and additional request options.

See DescribeActionTargets for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*SecurityHub) DescribeHub Uses

func (c *SecurityHub) DescribeHub(input *DescribeHubInput) (*DescribeHubOutput, error)

DescribeHub API operation for AWS SecurityHub.

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

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS SecurityHub's API operation DescribeHub for usage and error information.

Returned Error Codes:

* ErrCodeInternalException "InternalException"
Internal server error.

* ErrCodeLimitExceededException "LimitExceededException"
The request was rejected because it attempted to create resources beyond
the current AWS account limits. The error code describes the limit exceeded.

* ErrCodeInvalidAccessException "InvalidAccessException"
AWS Security Hub isn't enabled for the account used to make this request.

* ErrCodeInvalidInputException "InvalidInputException"
The request was rejected because you supplied an invalid or out-of-range
value for an input parameter.

* ErrCodeResourceNotFoundException "ResourceNotFoundException"
The request was rejected because we can't find the specified resource.

See also, https://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/DescribeHub

func (*SecurityHub) DescribeHubRequest Uses

func (c *SecurityHub) DescribeHubRequest(input *DescribeHubInput) (req *request.Request, output *DescribeHubOutput)

DescribeHubRequest generates a "aws/request.Request" representing the client's request for the DescribeHub operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DescribeHub for more information on using the DescribeHub API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DescribeHubRequest method.
req, resp := client.DescribeHubRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/DescribeHub

func (*SecurityHub) DescribeHubWithContext Uses

func (c *SecurityHub) DescribeHubWithContext(ctx aws.Context, input *DescribeHubInput, opts ...request.Option) (*DescribeHubOutput, error)

DescribeHubWithContext is the same as DescribeHub with the addition of the ability to pass a context and additional request options.

See DescribeHub for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*SecurityHub) DescribeProducts Uses

func (c *SecurityHub) DescribeProducts(input *DescribeProductsInput) (*DescribeProductsOutput, error)

DescribeProducts API operation for AWS SecurityHub.

Returns information about the products available that you can subscribe to and integrate with Security Hub to consolidate findings.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS SecurityHub's API operation DescribeProducts for usage and error information.

Returned Error Codes:

* ErrCodeInternalException "InternalException"
Internal server error.

* ErrCodeLimitExceededException "LimitExceededException"
The request was rejected because it attempted to create resources beyond
the current AWS account limits. The error code describes the limit exceeded.

* ErrCodeInvalidAccessException "InvalidAccessException"
AWS Security Hub isn't enabled for the account used to make this request.

* ErrCodeInvalidInputException "InvalidInputException"
The request was rejected because you supplied an invalid or out-of-range
value for an input parameter.

See also, https://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/DescribeProducts

func (*SecurityHub) DescribeProductsPages Uses

func (c *SecurityHub) DescribeProductsPages(input *DescribeProductsInput, fn func(*DescribeProductsOutput, bool) bool) error

DescribeProductsPages iterates over the pages of a DescribeProducts operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.

See DescribeProducts method for more information on how to use this operation.

Note: This operation can generate multiple requests to a service.

// Example iterating over at most 3 pages of a DescribeProducts operation.
pageNum := 0
err := client.DescribeProductsPages(params,
    func(page *securityhub.DescribeProductsOutput, lastPage bool) bool {
        pageNum++
        fmt.Println(page)
        return pageNum <= 3
    })

func (*SecurityHub) DescribeProductsPagesWithContext Uses

func (c *SecurityHub) DescribeProductsPagesWithContext(ctx aws.Context, input *DescribeProductsInput, fn func(*DescribeProductsOutput, bool) bool, opts ...request.Option) error

DescribeProductsPagesWithContext same as DescribeProductsPages except it takes a Context and allows setting request options on the pages.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*SecurityHub) DescribeProductsRequest Uses

func (c *SecurityHub) DescribeProductsRequest(input *DescribeProductsInput) (req *request.Request, output *DescribeProductsOutput)

DescribeProductsRequest generates a "aws/request.Request" representing the client's request for the DescribeProducts operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DescribeProducts for more information on using the DescribeProducts API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DescribeProductsRequest method.
req, resp := client.DescribeProductsRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/DescribeProducts

func (*SecurityHub) DescribeProductsWithContext Uses

func (c *SecurityHub) DescribeProductsWithContext(ctx aws.Context, input *DescribeProductsInput, opts ...request.Option) (*DescribeProductsOutput, error)

DescribeProductsWithContext is the same as DescribeProducts with the addition of the ability to pass a context and additional request options.

See DescribeProducts for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*SecurityHub) DisableImportFindingsForProduct Uses

func (c *SecurityHub) DisableImportFindingsForProduct(input *DisableImportFindingsForProductInput) (*DisableImportFindingsForProductOutput, error)

DisableImportFindingsForProduct API operation for AWS SecurityHub.

Disables the integration of the specified product with Security Hub. Findings from that product are no longer sent to Security Hub after the integration is disabled.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS SecurityHub's API operation DisableImportFindingsForProduct for usage and error information.

Returned Error Codes:

* ErrCodeInternalException "InternalException"
Internal server error.

* ErrCodeInvalidInputException "InvalidInputException"
The request was rejected because you supplied an invalid or out-of-range
value for an input parameter.

* ErrCodeResourceNotFoundException "ResourceNotFoundException"
The request was rejected because we can't find the specified resource.

* ErrCodeInvalidAccessException "InvalidAccessException"
AWS Security Hub isn't enabled for the account used to make this request.

* ErrCodeLimitExceededException "LimitExceededException"
The request was rejected because it attempted to create resources beyond
the current AWS account limits. The error code describes the limit exceeded.

See also, https://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/DisableImportFindingsForProduct

func (*SecurityHub) DisableImportFindingsForProductRequest Uses

func (c *SecurityHub) DisableImportFindingsForProductRequest(input *DisableImportFindingsForProductInput) (req *request.Request, output *DisableImportFindingsForProductOutput)

DisableImportFindingsForProductRequest generates a "aws/request.Request" representing the client's request for the DisableImportFindingsForProduct operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DisableImportFindingsForProduct for more information on using the DisableImportFindingsForProduct API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DisableImportFindingsForProductRequest method.
req, resp := client.DisableImportFindingsForProductRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/DisableImportFindingsForProduct

func (*SecurityHub) DisableImportFindingsForProductWithContext Uses

func (c *SecurityHub) DisableImportFindingsForProductWithContext(ctx aws.Context, input *DisableImportFindingsForProductInput, opts ...request.Option) (*DisableImportFindingsForProductOutput, error)

DisableImportFindingsForProductWithContext is the same as DisableImportFindingsForProduct with the addition of the ability to pass a context and additional request options.

See DisableImportFindingsForProduct for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*SecurityHub) DisableSecurityHub Uses

func (c *SecurityHub) DisableSecurityHub(input *DisableSecurityHubInput) (*DisableSecurityHubOutput, error)

DisableSecurityHub API operation for AWS SecurityHub.

Disables Security Hub in your account only in the current Region. To disable Security Hub in all Regions, you must submit one request per Region where you have enabled Security Hub. When you disable Security Hub for a master account, it doesn't disable Security Hub for any associated member accounts.

When you disable Security Hub, your existing findings and insights and any Security Hub configuration settings are deleted after 90 days and can't be recovered. Any standards that were enabled are disabled, and your master and member account associations are removed. If you want to save your existing findings, you must export them before you disable Security Hub.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS SecurityHub's API operation DisableSecurityHub for usage and error information.

Returned Error Codes:

* ErrCodeInternalException "InternalException"
Internal server error.

* ErrCodeLimitExceededException "LimitExceededException"
The request was rejected because it attempted to create resources beyond
the current AWS account limits. The error code describes the limit exceeded.

* ErrCodeInvalidAccessException "InvalidAccessException"
AWS Security Hub isn't enabled for the account used to make this request.

* ErrCodeResourceNotFoundException "ResourceNotFoundException"
The request was rejected because we can't find the specified resource.

See also, https://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/DisableSecurityHub

func (*SecurityHub) DisableSecurityHubRequest Uses

func (c *SecurityHub) DisableSecurityHubRequest(input *DisableSecurityHubInput) (req *request.Request, output *DisableSecurityHubOutput)

DisableSecurityHubRequest generates a "aws/request.Request" representing the client's request for the DisableSecurityHub operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DisableSecurityHub for more information on using the DisableSecurityHub API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DisableSecurityHubRequest method.
req, resp := client.DisableSecurityHubRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/DisableSecurityHub

func (*SecurityHub) DisableSecurityHubWithContext Uses

func (c *SecurityHub) DisableSecurityHubWithContext(ctx aws.Context, input *DisableSecurityHubInput, opts ...request.Option) (*DisableSecurityHubOutput, error)

DisableSecurityHubWithContext is the same as DisableSecurityHub with the addition of the ability to pass a context and additional request options.

See DisableSecurityHub for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*SecurityHub) DisassociateFromMasterAccount Uses

func (c *SecurityHub) DisassociateFromMasterAccount(input *DisassociateFromMasterAccountInput) (*DisassociateFromMasterAccountOutput, error)

DisassociateFromMasterAccount API operation for AWS SecurityHub.

Disassociates the current Security Hub member account from the associated master account.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS SecurityHub's API operation DisassociateFromMasterAccount for usage and error information.

Returned Error Codes:

* ErrCodeInternalException "InternalException"
Internal server error.

* ErrCodeInvalidInputException "InvalidInputException"
The request was rejected because you supplied an invalid or out-of-range
value for an input parameter.

* ErrCodeInvalidAccessException "InvalidAccessException"
AWS Security Hub isn't enabled for the account used to make this request.

* ErrCodeLimitExceededException "LimitExceededException"
The request was rejected because it attempted to create resources beyond
the current AWS account limits. The error code describes the limit exceeded.

* ErrCodeResourceNotFoundException "ResourceNotFoundException"
The request was rejected because we can't find the specified resource.

See also, https://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/DisassociateFromMasterAccount

func (*SecurityHub) DisassociateFromMasterAccountRequest Uses

func (c *SecurityHub) DisassociateFromMasterAccountRequest(input *DisassociateFromMasterAccountInput) (req *request.Request, output *DisassociateFromMasterAccountOutput)

DisassociateFromMasterAccountRequest generates a "aws/request.Request" representing the client's request for the DisassociateFromMasterAccount operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DisassociateFromMasterAccount for more information on using the DisassociateFromMasterAccount API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DisassociateFromMasterAccountRequest method.
req, resp := client.DisassociateFromMasterAccountRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/DisassociateFromMasterAccount

func (*SecurityHub) DisassociateFromMasterAccountWithContext Uses

func (c *SecurityHub) DisassociateFromMasterAccountWithContext(ctx aws.Context, input *DisassociateFromMasterAccountInput, opts ...request.Option) (*DisassociateFromMasterAccountOutput, error)

DisassociateFromMasterAccountWithContext is the same as DisassociateFromMasterAccount with the addition of the ability to pass a context and additional request options.

See DisassociateFromMasterAccount for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*SecurityHub) DisassociateMembers Uses

func (c *SecurityHub) DisassociateMembers(input *DisassociateMembersInput) (*DisassociateMembersOutput, error)

DisassociateMembers API operation for AWS SecurityHub.

Disassociates the specified member accounts from the associated master account.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS SecurityHub's API operation DisassociateMembers for usage and error information.

Returned Error Codes:

* ErrCodeInternalException "InternalException"
Internal server error.

* ErrCodeInvalidInputException "InvalidInputException"
The request was rejected because you supplied an invalid or out-of-range
value for an input parameter.

* ErrCodeInvalidAccessException "InvalidAccessException"
AWS Security Hub isn't enabled for the account used to make this request.

* ErrCodeLimitExceededException "LimitExceededException"
The request was rejected because it attempted to create resources beyond
the current AWS account limits. The error code describes the limit exceeded.

* ErrCodeResourceNotFoundException "ResourceNotFoundException"
The request was rejected because we can't find the specified resource.

See also, https://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/DisassociateMembers

func (*SecurityHub) DisassociateMembersRequest Uses

func (c *SecurityHub) DisassociateMembersRequest(input *DisassociateMembersInput) (req *request.Request, output *DisassociateMembersOutput)

DisassociateMembersRequest generates a "aws/request.Request" representing the client's request for the DisassociateMembers operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DisassociateMembers for more information on using the DisassociateMembers API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DisassociateMembersRequest method.
req, resp := client.DisassociateMembersRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/DisassociateMembers

func (*SecurityHub) DisassociateMembersWithContext Uses

func (c *SecurityHub) DisassociateMembersWithContext(ctx aws.Context, input *DisassociateMembersInput, opts ...request.Option) (*DisassociateMembersOutput, error)

DisassociateMembersWithContext is the same as DisassociateMembers with the addition of the ability to pass a context and additional request options.

See DisassociateMembers for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*SecurityHub) EnableImportFindingsForProduct Uses

func (c *SecurityHub) EnableImportFindingsForProduct(input *EnableImportFindingsForProductInput) (*EnableImportFindingsForProductOutput, error)

EnableImportFindingsForProduct API operation for AWS SecurityHub.

Enables the integration of a partner product with Security Hub. Integrated products send findings to Security Hub. When you enable a product integration, a permission policy that grants permission for the product to send findings to Security Hub is applied.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS SecurityHub's API operation EnableImportFindingsForProduct for usage and error information.

Returned Error Codes:

* ErrCodeInternalException "InternalException"
Internal server error.

* ErrCodeInvalidInputException "InvalidInputException"
The request was rejected because you supplied an invalid or out-of-range
value for an input parameter.

* ErrCodeInvalidAccessException "InvalidAccessException"
AWS Security Hub isn't enabled for the account used to make this request.

* ErrCodeResourceConflictException "ResourceConflictException"
The resource specified in the request conflicts with an existing resource.

* ErrCodeLimitExceededException "LimitExceededException"
The request was rejected because it attempted to create resources beyond
the current AWS account limits. The error code describes the limit exceeded.

See also, https://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/EnableImportFindingsForProduct

func (*SecurityHub) EnableImportFindingsForProductRequest Uses

func (c *SecurityHub) EnableImportFindingsForProductRequest(input *EnableImportFindingsForProductInput) (req *request.Request, output *EnableImportFindingsForProductOutput)

EnableImportFindingsForProductRequest generates a "aws/request.Request" representing the client's request for the EnableImportFindingsForProduct operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See EnableImportFindingsForProduct for more information on using the EnableImportFindingsForProduct API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the EnableImportFindingsForProductRequest method.
req, resp := client.EnableImportFindingsForProductRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/EnableImportFindingsForProduct

func (*SecurityHub) EnableImportFindingsForProductWithContext Uses

func (c *SecurityHub) EnableImportFindingsForProductWithContext(ctx aws.Context, input *EnableImportFindingsForProductInput, opts ...request.Option) (*EnableImportFindingsForProductOutput, error)

EnableImportFindingsForProductWithContext is the same as EnableImportFindingsForProduct with the addition of the ability to pass a context and additional request options.

See EnableImportFindingsForProduct for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*SecurityHub) EnableSecurityHub Uses

func (c *SecurityHub) EnableSecurityHub(input *EnableSecurityHubInput) (*EnableSecurityHubOutput, error)

EnableSecurityHub API operation for AWS SecurityHub.

Enables Security Hub for your account in the current Region or the Region you specify in the request. When you enable Security Hub, you grant to Security Hub the permissions necessary to gather findings from AWS Config, Amazon GuardDuty, Amazon Inspector, and Amazon Macie. To learn more, see Setting Up AWS Security Hub (https://docs.aws.amazon.com/securityhub/latest/userguide/securityhub-settingup.html).

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS SecurityHub's API operation EnableSecurityHub for usage and error information.

Returned Error Codes:

* ErrCodeInternalException "InternalException"
Internal server error.

* ErrCodeLimitExceededException "LimitExceededException"
The request was rejected because it attempted to create resources beyond
the current AWS account limits. The error code describes the limit exceeded.

* ErrCodeInvalidAccessException "InvalidAccessException"
AWS Security Hub isn't enabled for the account used to make this request.

* ErrCodeResourceConflictException "ResourceConflictException"
The resource specified in the request conflicts with an existing resource.

* ErrCodeAccessDeniedException "AccessDeniedException"
You don't have permission to perform the action specified in the request.

See also, https://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/EnableSecurityHub

func (*SecurityHub) EnableSecurityHubRequest Uses

func (c *SecurityHub) EnableSecurityHubRequest(input *EnableSecurityHubInput) (req *request.Request, output *EnableSecurityHubOutput)

EnableSecurityHubRequest generates a "aws/request.Request" representing the client's request for the EnableSecurityHub operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See EnableSecurityHub for more information on using the EnableSecurityHub API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the EnableSecurityHubRequest method.
req, resp := client.EnableSecurityHubRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/EnableSecurityHub

func (*SecurityHub) EnableSecurityHubWithContext Uses

func (c *SecurityHub) EnableSecurityHubWithContext(ctx aws.Context, input *EnableSecurityHubInput, opts ...request.Option) (*EnableSecurityHubOutput, error)

EnableSecurityHubWithContext is the same as EnableSecurityHub with the addition of the ability to pass a context and additional request options.

See EnableSecurityHub for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*SecurityHub) GetEnabledStandards Uses

func (c *SecurityHub) GetEnabledStandards(input *GetEnabledStandardsInput) (*GetEnabledStandardsOutput, error)

GetEnabledStandards API operation for AWS SecurityHub.

Returns a list of the standards that are currently enabled.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS SecurityHub's API operation GetEnabledStandards for usage and error information.

Returned Error Codes:

* ErrCodeInternalException "InternalException"
Internal server error.

* ErrCodeInvalidInputException "InvalidInputException"
The request was rejected because you supplied an invalid or out-of-range
value for an input parameter.

* ErrCodeInvalidAccessException "InvalidAccessException"
AWS Security Hub isn't enabled for the account used to make this request.

* ErrCodeLimitExceededException "LimitExceededException"
The request was rejected because it attempted to create resources beyond
the current AWS account limits. The error code describes the limit exceeded.

See also, https://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/GetEnabledStandards

func (*SecurityHub) GetEnabledStandardsRequest Uses

func (c *SecurityHub) GetEnabledStandardsRequest(input *GetEnabledStandardsInput) (req *request.Request, output *GetEnabledStandardsOutput)

GetEnabledStandardsRequest generates a "aws/request.Request" representing the client's request for the GetEnabledStandards operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See GetEnabledStandards for more information on using the GetEnabledStandards API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the GetEnabledStandardsRequest method.
req, resp := client.GetEnabledStandardsRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/GetEnabledStandards

func (*SecurityHub) GetEnabledStandardsWithContext Uses

func (c *SecurityHub) GetEnabledStandardsWithContext(ctx aws.Context, input *GetEnabledStandardsInput, opts ...request.Option) (*GetEnabledStandardsOutput, error)

GetEnabledStandardsWithContext is the same as GetEnabledStandards with the addition of the ability to pass a context and additional request options.

See GetEnabledStandards for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*SecurityHub) GetFindings Uses

func (c *SecurityHub) GetFindings(input *GetFindingsInput) (*GetFindingsOutput, error)

GetFindings API operation for AWS SecurityHub.

Returns a list of findings that match the specified criteria.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS SecurityHub's API operation GetFindings for usage and error information.

Returned Error Codes:

* ErrCodeInternalException "InternalException"
Internal server error.

* ErrCodeInvalidInputException "InvalidInputException"
The request was rejected because you supplied an invalid or out-of-range
value for an input parameter.

* ErrCodeInvalidAccessException "InvalidAccessException"
AWS Security Hub isn't enabled for the account used to make this request.

* ErrCodeLimitExceededException "LimitExceededException"
The request was rejected because it attempted to create resources beyond
the current AWS account limits. The error code describes the limit exceeded.

See also, https://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/GetFindings

func (*SecurityHub) GetFindingsPages Uses

func (c *SecurityHub) GetFindingsPages(input *GetFindingsInput, fn func(*GetFindingsOutput, bool) bool) error

GetFindingsPages iterates over the pages of a GetFindings operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.

See GetFindings method for more information on how to use this operation.

Note: This operation can generate multiple requests to a service.

// Example iterating over at most 3 pages of a GetFindings operation.
pageNum := 0
err := client.GetFindingsPages(params,
    func(page *securityhub.GetFindingsOutput, lastPage bool) bool {
        pageNum++
        fmt.Println(page)
        return pageNum <= 3
    })

func (*SecurityHub) GetFindingsPagesWithContext Uses

func (c *SecurityHub) GetFindingsPagesWithContext(ctx aws.Context, input *GetFindingsInput, fn func(*GetFindingsOutput, bool) bool, opts ...request.Option) error

GetFindingsPagesWithContext same as GetFindingsPages except it takes a Context and allows setting request options on the pages.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*SecurityHub) GetFindingsRequest Uses

func (c *SecurityHub) GetFindingsRequest(input *GetFindingsInput) (req *request.Request, output *GetFindingsOutput)

GetFindingsRequest generates a "aws/request.Request" representing the client's request for the GetFindings operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See GetFindings for more information on using the GetFindings API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the GetFindingsRequest method.
req, resp := client.GetFindingsRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/GetFindings

func (*SecurityHub) GetFindingsWithContext Uses

func (c *SecurityHub) GetFindingsWithContext(ctx aws.Context, input *GetFindingsInput, opts ...request.Option) (*GetFindingsOutput, error)

GetFindingsWithContext is the same as GetFindings with the addition of the ability to pass a context and additional request options.

See GetFindings for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*SecurityHub) GetInsightResults Uses

func (c *SecurityHub) GetInsightResults(input *GetInsightResultsInput) (*GetInsightResultsOutput, error)

GetInsightResults API operation for AWS SecurityHub.

Lists the results of the Security Hub insight that the insight ARN specifies.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS SecurityHub's API operation GetInsightResults for usage and error information.

Returned Error Codes:

* ErrCodeInternalException "InternalException"
Internal server error.

* ErrCodeInvalidInputException "InvalidInputException"
The request was rejected because you supplied an invalid or out-of-range
value for an input parameter.

* ErrCodeInvalidAccessException "InvalidAccessException"
AWS Security Hub isn't enabled for the account used to make this request.

* ErrCodeLimitExceededException "LimitExceededException"
The request was rejected because it attempted to create resources beyond
the current AWS account limits. The error code describes the limit exceeded.

* ErrCodeResourceNotFoundException "ResourceNotFoundException"
The request was rejected because we can't find the specified resource.

See also, https://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/GetInsightResults

func (*SecurityHub) GetInsightResultsRequest Uses

func (c *SecurityHub) GetInsightResultsRequest(input *GetInsightResultsInput) (req *request.Request, output *GetInsightResultsOutput)

GetInsightResultsRequest generates a "aws/request.Request" representing the client's request for the GetInsightResults operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See GetInsightResults for more information on using the GetInsightResults API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the GetInsightResultsRequest method.
req, resp := client.GetInsightResultsRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/GetInsightResults

func (*SecurityHub) GetInsightResultsWithContext Uses

func (c *SecurityHub) GetInsightResultsWithContext(ctx aws.Context, input *GetInsightResultsInput, opts ...request.Option) (*GetInsightResultsOutput, error)

GetInsightResultsWithContext is the same as GetInsightResults with the addition of the ability to pass a context and additional request options.

See GetInsightResults for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*SecurityHub) GetInsights Uses

func (c *SecurityHub) GetInsights(input *GetInsightsInput) (*GetInsightsOutput, error)

GetInsights API operation for AWS SecurityHub.

Lists and describes insights that insight ARNs specify.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS SecurityHub's API operation GetInsights for usage and error information.

Returned Error Codes:

* ErrCodeInternalException "InternalException"
Internal server error.

* ErrCodeInvalidInputException "InvalidInputException"
The request was rejected because you supplied an invalid or out-of-range
value for an input parameter.

* ErrCodeInvalidAccessException "InvalidAccessException"
AWS Security Hub isn't enabled for the account used to make this request.

* ErrCodeLimitExceededException "LimitExceededException"
The request was rejected because it attempted to create resources beyond
the current AWS account limits. The error code describes the limit exceeded.

* ErrCodeResourceNotFoundException "ResourceNotFoundException"
The request was rejected because we can't find the specified resource.

See also, https://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/GetInsights

func (*SecurityHub) GetInsightsPages Uses

func (c *SecurityHub) GetInsightsPages(input *GetInsightsInput, fn func(*GetInsightsOutput, bool) bool) error

GetInsightsPages iterates over the pages of a GetInsights operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.

See GetInsights method for more information on how to use this operation.

Note: This operation can generate multiple requests to a service.

// Example iterating over at most 3 pages of a GetInsights operation.
pageNum := 0
err := client.GetInsightsPages(params,
    func(page *securityhub.GetInsightsOutput, lastPage bool) bool {
        pageNum++
        fmt.Println(page)
        return pageNum <= 3
    })

func (*SecurityHub) GetInsightsPagesWithContext Uses

func (c *SecurityHub) GetInsightsPagesWithContext(ctx aws.Context, input *GetInsightsInput, fn func(*GetInsightsOutput, bool) bool, opts ...request.Option) error

GetInsightsPagesWithContext same as GetInsightsPages except it takes a Context and allows setting request options on the pages.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*SecurityHub) GetInsightsRequest Uses

func (c *SecurityHub) GetInsightsRequest(input *GetInsightsInput) (req *request.Request, output *GetInsightsOutput)

GetInsightsRequest generates a "aws/request.Request" representing the client's request for the GetInsights operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See GetInsights for more information on using the GetInsights API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the GetInsightsRequest method.
req, resp := client.GetInsightsRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/GetInsights

func (*SecurityHub) GetInsightsWithContext Uses

func (c *SecurityHub) GetInsightsWithContext(ctx aws.Context, input *GetInsightsInput, opts ...request.Option) (*GetInsightsOutput, error)

GetInsightsWithContext is the same as GetInsights with the addition of the ability to pass a context and additional request options.

See GetInsights for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*SecurityHub) GetInvitationsCount Uses

func (c *SecurityHub) GetInvitationsCount(input *GetInvitationsCountInput) (*GetInvitationsCountOutput, error)

GetInvitationsCount API operation for AWS SecurityHub.

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

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS SecurityHub's API operation GetInvitationsCount for usage and error information.

Returned Error Codes:

* ErrCodeInternalException "InternalException"
Internal server error.

* ErrCodeInvalidInputException "InvalidInputException"
The request was rejected because you supplied an invalid or out-of-range
value for an input parameter.

* ErrCodeInvalidAccessException "InvalidAccessException"
AWS Security Hub isn't enabled for the account used to make this request.

* ErrCodeLimitExceededException "LimitExceededException"
The request was rejected because it attempted to create resources beyond
the current AWS account limits. The error code describes the limit exceeded.

See also, https://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/GetInvitationsCount

func (*SecurityHub) GetInvitationsCountRequest Uses

func (c *SecurityHub) GetInvitationsCountRequest(input *GetInvitationsCountInput) (req *request.Request, output *GetInvitationsCountOutput)

GetInvitationsCountRequest generates a "aws/request.Request" representing the client's request for the GetInvitationsCount operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See GetInvitationsCount for more information on using the GetInvitationsCount API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the GetInvitationsCountRequest method.
req, resp := client.GetInvitationsCountRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/GetInvitationsCount

func (*SecurityHub) GetInvitationsCountWithContext Uses

func (c *SecurityHub) GetInvitationsCountWithContext(ctx aws.Context, input *GetInvitationsCountInput, opts ...request.Option) (*GetInvitationsCountOutput, error)

GetInvitationsCountWithContext is the same as GetInvitationsCount with the addition of the ability to pass a context and additional request options.

See GetInvitationsCount for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*SecurityHub) GetMasterAccount Uses

func (c *SecurityHub) GetMasterAccount(input *GetMasterAccountInput) (*GetMasterAccountOutput, error)

GetMasterAccount API operation for AWS SecurityHub.

Provides the details for the Security Hub master account to the current member account.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS SecurityHub's API operation GetMasterAccount for usage and error information.

Returned Error Codes:

* ErrCodeInternalException "InternalException"
Internal server error.

* ErrCodeInvalidInputException "InvalidInputException"
The request was rejected because you supplied an invalid or out-of-range
value for an input parameter.

* ErrCodeInvalidAccessException "InvalidAccessException"
AWS Security Hub isn't enabled for the account used to make this request.

* ErrCodeLimitExceededException "LimitExceededException"
The request was rejected because it attempted to create resources beyond
the current AWS account limits. The error code describes the limit exceeded.

* ErrCodeResourceNotFoundException "ResourceNotFoundException"
The request was rejected because we can't find the specified resource.

See also, https://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/GetMasterAccount

func (*SecurityHub) GetMasterAccountRequest Uses

func (c *SecurityHub) GetMasterAccountRequest(input *GetMasterAccountInput) (req *request.Request, output *GetMasterAccountOutput)

GetMasterAccountRequest generates a "aws/request.Request" representing the client's request for the GetMasterAccount operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See GetMasterAccount for more information on using the GetMasterAccount API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the GetMasterAccountRequest method.
req, resp := client.GetMasterAccountRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/GetMasterAccount

func (*SecurityHub) GetMasterAccountWithContext Uses

func (c *SecurityHub) GetMasterAccountWithContext(ctx aws.Context, input *GetMasterAccountInput, opts ...request.Option) (*GetMasterAccountOutput, error)

GetMasterAccountWithContext is the same as GetMasterAccount with the addition of the ability to pass a context and additional request options.

See GetMasterAccount for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*SecurityHub) GetMembers Uses

func (c *SecurityHub) GetMembers(input *GetMembersInput) (*GetMembersOutput, error)

GetMembers API operation for AWS SecurityHub.

Returns the details on the Security Hub member accounts that the account IDs specify.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS SecurityHub's API operation GetMembers for usage and error information.

Returned Error Codes:

* ErrCodeInternalException "InternalException"
Internal server error.

* ErrCodeInvalidInputException "InvalidInputException"
The request was rejected because you supplied an invalid or out-of-range
value for an input parameter.

* ErrCodeInvalidAccessException "InvalidAccessException"
AWS Security Hub isn't enabled for the account used to make this request.

* ErrCodeLimitExceededException "LimitExceededException"
The request was rejected because it attempted to create resources beyond
the current AWS account limits. The error code describes the limit exceeded.

* ErrCodeResourceNotFoundException "ResourceNotFoundException"
The request was rejected because we can't find the specified resource.

See also, https://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/GetMembers

func (*SecurityHub) GetMembersRequest Uses

func (c *SecurityHub) GetMembersRequest(input *GetMembersInput) (req *request.Request, output *GetMembersOutput)

GetMembersRequest generates a "aws/request.Request" representing the client's request for the GetMembers operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See GetMembers for more information on using the GetMembers API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the GetMembersRequest method.
req, resp := client.GetMembersRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/GetMembers

func (*SecurityHub) GetMembersWithContext Uses

func (c *SecurityHub) GetMembersWithContext(ctx aws.Context, input *GetMembersInput, opts ...request.Option) (*GetMembersOutput, error)

GetMembersWithContext is the same as GetMembers with the addition of the ability to pass a context and additional request options.

See GetMembers for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*SecurityHub) InviteMembers Uses

func (c *SecurityHub) InviteMembers(input *InviteMembersInput) (*InviteMembersOutput, error)

InviteMembers API operation for AWS SecurityHub.

Invites other AWS accounts to become member accounts for the Security Hub master account that the invitation is sent from. Before you can use this action to invite a member, you must first create the member account in Security Hub by using the CreateMembers action. When the account owner accepts the invitation to become a member account and enables Security Hub, the master account can view the findings generated from member account.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS SecurityHub's API operation InviteMembers for usage and error information.

Returned Error Codes:

* ErrCodeInternalException "InternalException"
Internal server error.

* ErrCodeInvalidInputException "InvalidInputException"
The request was rejected because you supplied an invalid or out-of-range
value for an input parameter.

* ErrCodeInvalidAccessException "InvalidAccessException"
AWS Security Hub isn't enabled for the account used to make this request.

* ErrCodeLimitExceededException "LimitExceededException"
The request was rejected because it attempted to create resources beyond
the current AWS account limits. The error code describes the limit exceeded.

* ErrCodeResourceNotFoundException "ResourceNotFoundException"
The request was rejected because we can't find the specified resource.

See also, https://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/InviteMembers

func (*SecurityHub) InviteMembersRequest Uses

func (c *SecurityHub) InviteMembersRequest(input *InviteMembersInput) (req *request.Request, output *InviteMembersOutput)

InviteMembersRequest generates a "aws/request.Request" representing the client's request for the InviteMembers operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See InviteMembers for more information on using the InviteMembers API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the InviteMembersRequest method.
req, resp := client.InviteMembersRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/InviteMembers

func (*SecurityHub) InviteMembersWithContext Uses

func (c *SecurityHub) InviteMembersWithContext(ctx aws.Context, input *InviteMembersInput, opts ...request.Option) (*InviteMembersOutput, error)

InviteMembersWithContext is the same as InviteMembers with the addition of the ability to pass a context and additional request options.

See InviteMembers for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*SecurityHub) ListEnabledProductsForImport Uses

func (c *SecurityHub) ListEnabledProductsForImport(input *ListEnabledProductsForImportInput) (*ListEnabledProductsForImportOutput, error)

ListEnabledProductsForImport API operation for AWS SecurityHub.

Lists all findings-generating solutions (products) whose findings you have subscribed to receive in Security Hub.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS SecurityHub's API operation ListEnabledProductsForImport for usage and error information.

Returned Error Codes:

* ErrCodeInternalException "InternalException"
Internal server error.

* ErrCodeLimitExceededException "LimitExceededException"
The request was rejected because it attempted to create resources beyond
the current AWS account limits. The error code describes the limit exceeded.

* ErrCodeInvalidAccessException "InvalidAccessException"
AWS Security Hub isn't enabled for the account used to make this request.

See also, https://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/ListEnabledProductsForImport

func (*SecurityHub) ListEnabledProductsForImportPages Uses

func (c *SecurityHub) ListEnabledProductsForImportPages(input *ListEnabledProductsForImportInput, fn func(*ListEnabledProductsForImportOutput, bool) bool) error

ListEnabledProductsForImportPages iterates over the pages of a ListEnabledProductsForImport operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.

See ListEnabledProductsForImport method for more information on how to use this operation.

Note: This operation can generate multiple requests to a service.

// Example iterating over at most 3 pages of a ListEnabledProductsForImport operation.
pageNum := 0
err := client.ListEnabledProductsForImportPages(params,
    func(page *securityhub.ListEnabledProductsForImportOutput, lastPage bool) bool {
        pageNum++
        fmt.Println(page)
        return pageNum <= 3
    })

func (*SecurityHub) ListEnabledProductsForImportPagesWithContext Uses

func (c *SecurityHub) ListEnabledProductsForImportPagesWithContext(ctx aws.Context, input *ListEnabledProductsForImportInput, fn func(*ListEnabledProductsForImportOutput, bool) bool, opts ...request.Option) error

ListEnabledProductsForImportPagesWithContext same as ListEnabledProductsForImportPages except it takes a Context and allows setting request options on the pages.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*SecurityHub) ListEnabledProductsForImportRequest Uses

func (c *SecurityHub) ListEnabledProductsForImportRequest(input *ListEnabledProductsForImportInput) (req *request.Request, output *ListEnabledProductsForImportOutput)

ListEnabledProductsForImportRequest generates a "aws/request.Request" representing the client's request for the ListEnabledProductsForImport operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See ListEnabledProductsForImport for more information on using the ListEnabledProductsForImport API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the ListEnabledProductsForImportRequest method.
req, resp := client.ListEnabledProductsForImportRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/ListEnabledProductsForImport

func (*SecurityHub) ListEnabledProductsForImportWithContext Uses

func (c *SecurityHub) ListEnabledProductsForImportWithContext(ctx aws.Context, input *ListEnabledProductsForImportInput, opts ...request.Option) (*ListEnabledProductsForImportOutput, error)

ListEnabledProductsForImportWithContext is the same as ListEnabledProductsForImport with the addition of the ability to pass a context and additional request options.

See ListEnabledProductsForImport for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*SecurityHub) ListInvitations Uses

func (c *SecurityHub) ListInvitations(input *ListInvitationsInput) (*ListInvitationsOutput, error)

ListInvitations API operation for AWS SecurityHub.

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

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS SecurityHub's API operation ListInvitations for usage and error information.

Returned Error Codes:

* ErrCodeInternalException "InternalException"
Internal server error.

* ErrCodeInvalidInputException "InvalidInputException"
The request was rejected because you supplied an invalid or out-of-range
value for an input parameter.

* ErrCodeInvalidAccessException "InvalidAccessException"
AWS Security Hub isn't enabled for the account used to make this request.

* ErrCodeLimitExceededException "LimitExceededException"
The request was rejected because it attempted to create resources beyond
the current AWS account limits. The error code describes the limit exceeded.

See also, https://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/ListInvitations

func (*SecurityHub) ListInvitationsRequest Uses

func (c *SecurityHub) ListInvitationsRequest(input *ListInvitationsInput) (req *request.Request, output *ListInvitationsOutput)

ListInvitationsRequest generates a "aws/request.Request" representing the client's request for the ListInvitations operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See ListInvitations for more information on using the ListInvitations API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the ListInvitationsRequest method.
req, resp := client.ListInvitationsRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/ListInvitations

func (*SecurityHub) ListInvitationsWithContext Uses

func (c *SecurityHub) ListInvitationsWithContext(ctx aws.Context, input *ListInvitationsInput, opts ...request.Option) (*ListInvitationsOutput, error)

ListInvitationsWithContext is the same as ListInvitations with the addition of the ability to pass a context and additional request options.

See ListInvitations for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*SecurityHub) ListMembers Uses

func (c *SecurityHub) ListMembers(input *ListMembersInput) (*ListMembersOutput, error)

ListMembers API operation for AWS SecurityHub.

Lists details about all member accounts for the current Security Hub master account.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS SecurityHub's API operation ListMembers for usage and error information.

Returned Error Codes:

* ErrCodeInternalException "InternalException"
Internal server error.

* ErrCodeInvalidInputException "InvalidInputException"
The request was rejected because you supplied an invalid or out-of-range
value for an input parameter.

* ErrCodeInvalidAccessException "InvalidAccessException"
AWS Security Hub isn't enabled for the account used to make this request.

* ErrCodeLimitExceededException "LimitExceededException"
The request was rejected because it attempted to create resources beyond
the current AWS account limits. The error code describes the limit exceeded.

See also, https://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/ListMembers

func (*SecurityHub) ListMembersRequest Uses

func (c *SecurityHub) ListMembersRequest(input *ListMembersInput) (req *request.Request, output *ListMembersOutput)

ListMembersRequest generates a "aws/request.Request" representing the client's request for the ListMembers operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See ListMembers for more information on using the ListMembers API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the ListMembersRequest method.
req, resp := client.ListMembersRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/ListMembers

func (*SecurityHub) ListMembersWithContext Uses

func (c *