securityhub

package
v0.11.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 23, 2019 License: Apache-2.0 Imports: 8 Imported by: 29

Documentation

Overview

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 use 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 for more information on creating client for this service. https://docs.aws.amazon.com/sdk-for-go/api/service/securityhub/#New

Index

Constants

View Source
const (
	ServiceName = "AWS SecurityHub" // Service's name
	ServiceID   = "SecurityHub"     // Service's identifier
	EndpointsID = "securityhub"     // Service's Endpoint identifier
)
View Source
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"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type AcceptInvitationInput

type AcceptInvitationInput struct {

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

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

Please also see https://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/AcceptInvitationRequest

func (AcceptInvitationInput) MarshalFields

func (s AcceptInvitationInput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (AcceptInvitationInput) String

func (s AcceptInvitationInput) String() string

String returns the string representation

type AcceptInvitationOutput

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

Please also see https://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/AcceptInvitationResponse

func (AcceptInvitationOutput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (AcceptInvitationOutput) String

func (s AcceptInvitationOutput) String() string

String returns the string representation

type AcceptInvitationRequest

type AcceptInvitationRequest struct {
	*aws.Request
	Input *AcceptInvitationInput
	Copy  func(*AcceptInvitationInput) AcceptInvitationRequest
}

AcceptInvitationRequest is the request type for the AcceptInvitation API operation.

func (AcceptInvitationRequest) Send

Send marshals and sends the AcceptInvitation API request.

type AcceptInvitationResponse added in v0.9.0

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

AcceptInvitationResponse is the response type for the AcceptInvitation API operation.

func (*AcceptInvitationResponse) SDKResponseMetdata added in v0.9.0

func (r *AcceptInvitationResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the AcceptInvitation request.

type AccountDetails

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. Please also see https://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/AccountDetails

func (AccountDetails) MarshalFields

func (s AccountDetails) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (AccountDetails) String

func (s AccountDetails) String() string

String returns the string representation

type ActionTarget added in v0.10.0

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. Please also see https://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/ActionTarget

func (ActionTarget) MarshalFields added in v0.10.0

func (s ActionTarget) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (ActionTarget) String added in v0.10.0

func (s ActionTarget) String() string

String returns the string representation

type AwsEc2InstanceDetails

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. Please also see https://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/AwsEc2InstanceDetails

func (AwsEc2InstanceDetails) MarshalFields

func (s AwsEc2InstanceDetails) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (AwsEc2InstanceDetails) String

func (s AwsEc2InstanceDetails) String() string

String returns the string representation

type AwsIamAccessKeyDetails

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 AwsIamAccessKeyStatus `type:"string" enum:"true"`

	// 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. Please also see https://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/AwsIamAccessKeyDetails

func (AwsIamAccessKeyDetails) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (AwsIamAccessKeyDetails) String

func (s AwsIamAccessKeyDetails) String() string

String returns the string representation

type AwsIamAccessKeyStatus

type AwsIamAccessKeyStatus string
const (
	AwsIamAccessKeyStatusActive   AwsIamAccessKeyStatus = "Active"
	AwsIamAccessKeyStatusInactive AwsIamAccessKeyStatus = "Inactive"
)

Enum values for AwsIamAccessKeyStatus

func (AwsIamAccessKeyStatus) MarshalValue

func (enum AwsIamAccessKeyStatus) MarshalValue() (string, error)

func (AwsIamAccessKeyStatus) MarshalValueBuf

func (enum AwsIamAccessKeyStatus) MarshalValueBuf(b []byte) ([]byte, error)

type AwsS3BucketDetails

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. Please also see https://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/AwsS3BucketDetails

func (AwsS3BucketDetails) MarshalFields

func (s AwsS3BucketDetails) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (AwsS3BucketDetails) String

func (s AwsS3BucketDetails) String() string

String returns the string representation

type AwsSecurityFinding

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 RecordState `type:"string" enum:"true"`

	// 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 VerificationState `type:"string" enum:"true"`

	// The workflow state of a finding.
	WorkflowState WorkflowState `type:"string" enum:"true"`
	// 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. Please also see https://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/AwsSecurityFinding

func (AwsSecurityFinding) MarshalFields

func (s AwsSecurityFinding) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (AwsSecurityFinding) String

func (s AwsSecurityFinding) String() string

String returns the string representation

func (*AwsSecurityFinding) Validate

func (s *AwsSecurityFinding) Validate() error

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

type AwsSecurityFindingFilters

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. Please also see https://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/AwsSecurityFindingFilters

func (AwsSecurityFindingFilters) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (AwsSecurityFindingFilters) String

func (s AwsSecurityFindingFilters) String() string

String returns the string representation

type BatchDisableStandardsInput

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
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/BatchDisableStandardsRequest

func (BatchDisableStandardsInput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (BatchDisableStandardsInput) String

String returns the string representation

func (*BatchDisableStandardsInput) Validate

func (s *BatchDisableStandardsInput) Validate() error

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

type BatchDisableStandardsOutput

type BatchDisableStandardsOutput struct {

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

Please also see https://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/BatchDisableStandardsResponse

func (BatchDisableStandardsOutput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (BatchDisableStandardsOutput) String

String returns the string representation

type BatchDisableStandardsRequest

type BatchDisableStandardsRequest struct {
	*aws.Request
	Input *BatchDisableStandardsInput
	Copy  func(*BatchDisableStandardsInput) BatchDisableStandardsRequest
}

BatchDisableStandardsRequest is the request type for the BatchDisableStandards API operation.

func (BatchDisableStandardsRequest) Send

Send marshals and sends the BatchDisableStandards API request.

type BatchDisableStandardsResponse added in v0.9.0

type BatchDisableStandardsResponse struct {
	*BatchDisableStandardsOutput
	// contains filtered or unexported fields
}

BatchDisableStandardsResponse is the response type for the BatchDisableStandards API operation.

func (*BatchDisableStandardsResponse) SDKResponseMetdata added in v0.9.0

func (r *BatchDisableStandardsResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the BatchDisableStandards request.

type BatchEnableStandardsInput

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
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/BatchEnableStandardsRequest

func (BatchEnableStandardsInput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (BatchEnableStandardsInput) String

func (s BatchEnableStandardsInput) String() string

String returns the string representation

func (*BatchEnableStandardsInput) Validate

func (s *BatchEnableStandardsInput) Validate() error

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

type BatchEnableStandardsOutput

type BatchEnableStandardsOutput struct {

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

Please also see https://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/BatchEnableStandardsResponse

func (BatchEnableStandardsOutput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (BatchEnableStandardsOutput) String

String returns the string representation

type BatchEnableStandardsRequest

type BatchEnableStandardsRequest struct {
	*aws.Request
	Input *BatchEnableStandardsInput
	Copy  func(*BatchEnableStandardsInput) BatchEnableStandardsRequest
}

BatchEnableStandardsRequest is the request type for the BatchEnableStandards API operation.

func (BatchEnableStandardsRequest) Send

Send marshals and sends the BatchEnableStandards API request.

type BatchEnableStandardsResponse added in v0.9.0

type BatchEnableStandardsResponse struct {
	*BatchEnableStandardsOutput
	// contains filtered or unexported fields
}

BatchEnableStandardsResponse is the response type for the BatchEnableStandards API operation.

func (*BatchEnableStandardsResponse) SDKResponseMetdata added in v0.9.0

func (r *BatchEnableStandardsResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the BatchEnableStandards request.

type BatchImportFindingsInput

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
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/BatchImportFindingsRequest

func (BatchImportFindingsInput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (BatchImportFindingsInput) String

func (s BatchImportFindingsInput) String() string

String returns the string representation

func (*BatchImportFindingsInput) Validate

func (s *BatchImportFindingsInput) Validate() error

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

type BatchImportFindingsOutput

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
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/BatchImportFindingsResponse

func (BatchImportFindingsOutput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (BatchImportFindingsOutput) String

func (s BatchImportFindingsOutput) String() string

String returns the string representation

type BatchImportFindingsRequest

type BatchImportFindingsRequest struct {
	*aws.Request
	Input *BatchImportFindingsInput
	Copy  func(*BatchImportFindingsInput) BatchImportFindingsRequest
}

BatchImportFindingsRequest is the request type for the BatchImportFindings API operation.

func (BatchImportFindingsRequest) Send

Send marshals and sends the BatchImportFindings API request.

type BatchImportFindingsResponse added in v0.9.0

type BatchImportFindingsResponse struct {
	*BatchImportFindingsOutput
	// contains filtered or unexported fields
}

BatchImportFindingsResponse is the response type for the BatchImportFindings API operation.

func (*BatchImportFindingsResponse) SDKResponseMetdata added in v0.9.0

func (r *BatchImportFindingsResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the BatchImportFindings request.

type Client added in v0.9.0

type Client struct {
	*aws.Client
}

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

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

func New

func New(config aws.Config) *Client

New creates a new instance of the client from the provided Config.

Example:

// Create a client from just a config.
svc := securityhub.New(myConfig)

func (*Client) AcceptInvitationRequest added in v0.9.0

func (c *Client) AcceptInvitationRequest(input *AcceptInvitationInput) AcceptInvitationRequest

AcceptInvitationRequest returns a request value for making 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.

// Example sending a request using AcceptInvitationRequest.
req := client.AcceptInvitationRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

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

func (*Client) BatchDisableStandardsRequest added in v0.9.0

func (c *Client) BatchDisableStandardsRequest(input *BatchDisableStandardsInput) BatchDisableStandardsRequest

BatchDisableStandardsRequest returns a request value for making 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).

// Example sending a request using BatchDisableStandardsRequest.
req := client.BatchDisableStandardsRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

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

func (*Client) BatchEnableStandardsRequest added in v0.9.0

func (c *Client) BatchEnableStandardsRequest(input *BatchEnableStandardsInput) BatchEnableStandardsRequest

BatchEnableStandardsRequest returns a request value for making 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).

// Example sending a request using BatchEnableStandardsRequest.
req := client.BatchEnableStandardsRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

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

func (*Client) BatchImportFindingsRequest added in v0.9.0

func (c *Client) BatchImportFindingsRequest(input *BatchImportFindingsInput) BatchImportFindingsRequest

BatchImportFindingsRequest returns a request value for making 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.

// Example sending a request using BatchImportFindingsRequest.
req := client.BatchImportFindingsRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/BatchImportFindings

func (*Client) CreateActionTargetRequest added in v0.10.0

func (c *Client) CreateActionTargetRequest(input *CreateActionTargetInput) CreateActionTargetRequest

CreateActionTargetRequest returns a request value for making 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.

// Example sending a request using CreateActionTargetRequest.
req := client.CreateActionTargetRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/CreateActionTarget

func (*Client) CreateInsightRequest added in v0.9.0

func (c *Client) CreateInsightRequest(input *CreateInsightInput) CreateInsightRequest

CreateInsightRequest returns a request value for making 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.

// Example sending a request using CreateInsightRequest.
req := client.CreateInsightRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/CreateInsight

func (*Client) CreateMembersRequest added in v0.9.0

func (c *Client) CreateMembersRequest(input *CreateMembersInput) CreateMembersRequest

CreateMembersRequest returns a request value for making 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.

// Example sending a request using CreateMembersRequest.
req := client.CreateMembersRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/CreateMembers

func (*Client) DeclineInvitationsRequest added in v0.9.0

func (c *Client) DeclineInvitationsRequest(input *DeclineInvitationsInput) DeclineInvitationsRequest

DeclineInvitationsRequest returns a request value for making API operation for AWS SecurityHub.

Declines invitations to become a member account.

// Example sending a request using DeclineInvitationsRequest.
req := client.DeclineInvitationsRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/DeclineInvitations

func (*Client) DeleteActionTargetRequest added in v0.10.0

func (c *Client) DeleteActionTargetRequest(input *DeleteActionTargetInput) DeleteActionTargetRequest

DeleteActionTargetRequest returns a request value for making 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.

// Example sending a request using DeleteActionTargetRequest.
req := client.DeleteActionTargetRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/DeleteActionTarget

func (*Client) DeleteInsightRequest added in v0.9.0

func (c *Client) DeleteInsightRequest(input *DeleteInsightInput) DeleteInsightRequest

DeleteInsightRequest returns a request value for making API operation for AWS SecurityHub.

Deletes the insight specified by the InsightArn.

// Example sending a request using DeleteInsightRequest.
req := client.DeleteInsightRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/DeleteInsight

func (*Client) DeleteInvitationsRequest added in v0.9.0

func (c *Client) DeleteInvitationsRequest(input *DeleteInvitationsInput) DeleteInvitationsRequest

DeleteInvitationsRequest returns a request value for making API operation for AWS SecurityHub.

Deletes invitations received by the AWS account to become a member account.

// Example sending a request using DeleteInvitationsRequest.
req := client.DeleteInvitationsRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/DeleteInvitations

func (*Client) DeleteMembersRequest added in v0.9.0

func (c *Client) DeleteMembersRequest(input *DeleteMembersInput) DeleteMembersRequest

DeleteMembersRequest returns a request value for making API operation for AWS SecurityHub.

Deletes the specified member accounts from Security Hub.

// Example sending a request using DeleteMembersRequest.
req := client.DeleteMembersRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/DeleteMembers

func (*Client) DescribeActionTargetsRequest added in v0.10.0

func (c *Client) DescribeActionTargetsRequest(input *DescribeActionTargetsInput) DescribeActionTargetsRequest

DescribeActionTargetsRequest returns a request value for making API operation for AWS SecurityHub.

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

// Example sending a request using DescribeActionTargetsRequest.
req := client.DescribeActionTargetsRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/DescribeActionTargets

func (*Client) DescribeHubRequest added in v0.10.0

func (c *Client) DescribeHubRequest(input *DescribeHubInput) DescribeHubRequest

DescribeHubRequest returns a request value for making 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.

// Example sending a request using DescribeHubRequest.
req := client.DescribeHubRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/DescribeHub

func (*Client) DescribeProductsRequest added in v0.10.0

func (c *Client) DescribeProductsRequest(input *DescribeProductsInput) DescribeProductsRequest

DescribeProductsRequest returns a request value for making API operation for AWS SecurityHub.

Returns information about the products available that you can subscribe to and integrate with Security Hub to consolidate findings.

// Example sending a request using DescribeProductsRequest.
req := client.DescribeProductsRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/DescribeProducts

func (*Client) DisableImportFindingsForProductRequest added in v0.9.0

func (c *Client) DisableImportFindingsForProductRequest(input *DisableImportFindingsForProductInput) DisableImportFindingsForProductRequest

DisableImportFindingsForProductRequest returns a request value for making 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.

// Example sending a request using DisableImportFindingsForProductRequest.
req := client.DisableImportFindingsForProductRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/DisableImportFindingsForProduct

func (*Client) DisableSecurityHubRequest added in v0.9.0

func (c *Client) DisableSecurityHubRequest(input *DisableSecurityHubInput) DisableSecurityHubRequest

DisableSecurityHubRequest returns a request value for making 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.

// Example sending a request using DisableSecurityHubRequest.
req := client.DisableSecurityHubRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/DisableSecurityHub

func (*Client) DisassociateFromMasterAccountRequest added in v0.9.0

func (c *Client) DisassociateFromMasterAccountRequest(input *DisassociateFromMasterAccountInput) DisassociateFromMasterAccountRequest

DisassociateFromMasterAccountRequest returns a request value for making API operation for AWS SecurityHub.

Disassociates the current Security Hub member account from the associated master account.

// Example sending a request using DisassociateFromMasterAccountRequest.
req := client.DisassociateFromMasterAccountRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/DisassociateFromMasterAccount

func (*Client) DisassociateMembersRequest added in v0.9.0

func (c *Client) DisassociateMembersRequest(input *DisassociateMembersInput) DisassociateMembersRequest

DisassociateMembersRequest returns a request value for making API operation for AWS SecurityHub.

Disassociates the specified member accounts from the associated master account.

// Example sending a request using DisassociateMembersRequest.
req := client.DisassociateMembersRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/DisassociateMembers

func (*Client) EnableImportFindingsForProductRequest added in v0.9.0

func (c *Client) EnableImportFindingsForProductRequest(input *EnableImportFindingsForProductInput) EnableImportFindingsForProductRequest

EnableImportFindingsForProductRequest returns a request value for making 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.

// Example sending a request using EnableImportFindingsForProductRequest.
req := client.EnableImportFindingsForProductRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/EnableImportFindingsForProduct

func (*Client) EnableSecurityHubRequest added in v0.9.0

func (c *Client) EnableSecurityHubRequest(input *EnableSecurityHubInput) EnableSecurityHubRequest

EnableSecurityHubRequest returns a request value for making 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).

// Example sending a request using EnableSecurityHubRequest.
req := client.EnableSecurityHubRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/EnableSecurityHub

func (*Client) GetEnabledStandardsRequest added in v0.9.0

func (c *Client) GetEnabledStandardsRequest(input *GetEnabledStandardsInput) GetEnabledStandardsRequest

GetEnabledStandardsRequest returns a request value for making API operation for AWS SecurityHub.

Returns a list of the standards that are currently enabled.

// Example sending a request using GetEnabledStandardsRequest.
req := client.GetEnabledStandardsRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/GetEnabledStandards

func (*Client) GetFindingsRequest added in v0.9.0

func (c *Client) GetFindingsRequest(input *GetFindingsInput) GetFindingsRequest

GetFindingsRequest returns a request value for making API operation for AWS SecurityHub.

Returns a list of findings that match the specified criteria.

// Example sending a request using GetFindingsRequest.
req := client.GetFindingsRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/GetFindings

func (*Client) GetInsightResultsRequest added in v0.9.0

func (c *Client) GetInsightResultsRequest(input *GetInsightResultsInput) GetInsightResultsRequest

GetInsightResultsRequest returns a request value for making API operation for AWS SecurityHub.

Lists the results of the Security Hub insight that the insight ARN specifies.

// Example sending a request using GetInsightResultsRequest.
req := client.GetInsightResultsRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/GetInsightResults

func (*Client) GetInsightsRequest added in v0.9.0

func (c *Client) GetInsightsRequest(input *GetInsightsInput) GetInsightsRequest

GetInsightsRequest returns a request value for making API operation for AWS SecurityHub.

Lists and describes insights that insight ARNs specify.

// Example sending a request using GetInsightsRequest.
req := client.GetInsightsRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/GetInsights

func (*Client) GetInvitationsCountRequest added in v0.9.0

func (c *Client) GetInvitationsCountRequest(input *GetInvitationsCountInput) GetInvitationsCountRequest

GetInvitationsCountRequest returns a request value for making 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.

// Example sending a request using GetInvitationsCountRequest.
req := client.GetInvitationsCountRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/GetInvitationsCount

func (*Client) GetMasterAccountRequest added in v0.9.0

func (c *Client) GetMasterAccountRequest(input *GetMasterAccountInput) GetMasterAccountRequest

GetMasterAccountRequest returns a request value for making API operation for AWS SecurityHub.

Provides the details for the Security Hub master account to the current member account.

// Example sending a request using GetMasterAccountRequest.
req := client.GetMasterAccountRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/GetMasterAccount

func (*Client) GetMembersRequest added in v0.9.0

func (c *Client) GetMembersRequest(input *GetMembersInput) GetMembersRequest

GetMembersRequest returns a request value for making API operation for AWS SecurityHub.

Returns the details on the Security Hub member accounts that the account IDs specify.

// Example sending a request using GetMembersRequest.
req := client.GetMembersRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/GetMembers

func (*Client) InviteMembersRequest added in v0.9.0

func (c *Client) InviteMembersRequest(input *InviteMembersInput) InviteMembersRequest

InviteMembersRequest returns a request value for making 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.

// Example sending a request using InviteMembersRequest.
req := client.InviteMembersRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/InviteMembers

func (*Client) ListEnabledProductsForImportRequest added in v0.9.0

func (c *Client) ListEnabledProductsForImportRequest(input *ListEnabledProductsForImportInput) ListEnabledProductsForImportRequest

ListEnabledProductsForImportRequest returns a request value for making API operation for AWS SecurityHub.

Lists all findings-generating solutions (products) whose findings you have subscribed to receive in Security Hub.

// Example sending a request using ListEnabledProductsForImportRequest.
req := client.ListEnabledProductsForImportRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/ListEnabledProductsForImport

func (*Client) ListInvitationsRequest added in v0.9.0

func (c *Client) ListInvitationsRequest(input *ListInvitationsInput) ListInvitationsRequest

ListInvitationsRequest returns a request value for making API operation for AWS SecurityHub.

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

// Example sending a request using ListInvitationsRequest.
req := client.ListInvitationsRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/ListInvitations

func (*Client) ListMembersRequest added in v0.9.0

func (c *Client) ListMembersRequest(input *ListMembersInput) ListMembersRequest

ListMembersRequest returns a request value for making API operation for AWS SecurityHub.

Lists details about all member accounts for the current Security Hub master account.

// Example sending a request using ListMembersRequest.
req := client.ListMembersRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/ListMembers

func (*Client) ListTagsForResourceRequest added in v0.10.0

func (c *Client) ListTagsForResourceRequest(input *ListTagsForResourceInput) ListTagsForResourceRequest

ListTagsForResourceRequest returns a request value for making API operation for AWS SecurityHub.

Returns a list of tags associated with a resource.

// Example sending a request using ListTagsForResourceRequest.
req := client.ListTagsForResourceRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/ListTagsForResource

func (*Client) TagResourceRequest added in v0.10.0

func (c *Client) TagResourceRequest(input *TagResourceInput) TagResourceRequest

TagResourceRequest returns a request value for making API operation for AWS SecurityHub.

Adds one or more tags to a resource.

// Example sending a request using TagResourceRequest.
req := client.TagResourceRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/TagResource

func (*Client) UntagResourceRequest added in v0.10.0

func (c *Client) UntagResourceRequest(input *UntagResourceInput) UntagResourceRequest

UntagResourceRequest returns a request value for making API operation for AWS SecurityHub.

Removes one or more tags from a resource.

// Example sending a request using UntagResourceRequest.
req := client.UntagResourceRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/UntagResource

func (*Client) UpdateActionTargetRequest added in v0.10.0

func (c *Client) UpdateActionTargetRequest(input *UpdateActionTargetInput) UpdateActionTargetRequest

UpdateActionTargetRequest returns a request value for making API operation for AWS SecurityHub.

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

// Example sending a request using UpdateActionTargetRequest.
req := client.UpdateActionTargetRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/UpdateActionTarget

func (*Client) UpdateFindingsRequest added in v0.9.0

func (c *Client) UpdateFindingsRequest(input *UpdateFindingsInput) UpdateFindingsRequest

UpdateFindingsRequest returns a request value for making API operation for AWS SecurityHub.

Updates the Note and RecordState of the Security Hub-aggregated findings that the filter attributes specify. Any member account that can view the finding also sees the update to the finding.

// Example sending a request using UpdateFindingsRequest.
req := client.UpdateFindingsRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/UpdateFindings

func (*Client) UpdateInsightRequest added in v0.9.0

func (c *Client) UpdateInsightRequest(input *UpdateInsightInput) UpdateInsightRequest

UpdateInsightRequest returns a request value for making API operation for AWS SecurityHub.

Updates the Security Hub insight that the insight ARN specifies.

// Example sending a request using UpdateInsightRequest.
req := client.UpdateInsightRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/UpdateInsight

type Compliance

type Compliance struct {

	// The result of a compliance check.
	Status ComplianceStatus `type:"string" enum:"true"`
	// 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. Please also see https://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/Compliance

func (Compliance) MarshalFields

func (s Compliance) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (Compliance) String

func (s Compliance) String() string

String returns the string representation

type ComplianceStatus

type ComplianceStatus string
const (
	ComplianceStatusPassed       ComplianceStatus = "PASSED"
	ComplianceStatusWarning      ComplianceStatus = "WARNING"
	ComplianceStatusFailed       ComplianceStatus = "FAILED"
	ComplianceStatusNotAvailable ComplianceStatus = "NOT_AVAILABLE"
)

Enum values for ComplianceStatus

func (ComplianceStatus) MarshalValue

func (enum ComplianceStatus) MarshalValue() (string, error)

func (ComplianceStatus) MarshalValueBuf

func (enum ComplianceStatus) MarshalValueBuf(b []byte) ([]byte, error)

type ContainerDetails

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. Please also see https://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/ContainerDetails

func (ContainerDetails) MarshalFields

func (s ContainerDetails) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (ContainerDetails) String

func (s ContainerDetails) String() string

String returns the string representation

type CreateActionTargetInput added in v0.10.0

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
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/CreateActionTargetRequest

func (CreateActionTargetInput) MarshalFields added in v0.10.0

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (CreateActionTargetInput) String added in v0.10.0

func (s CreateActionTargetInput) String() string

String returns the string representation

func (*CreateActionTargetInput) Validate added in v0.10.0

func (s *CreateActionTargetInput) Validate() error

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

type CreateActionTargetOutput added in v0.10.0

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
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/CreateActionTargetResponse

func (CreateActionTargetOutput) MarshalFields added in v0.10.0

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (CreateActionTargetOutput) String added in v0.10.0

func (s CreateActionTargetOutput) String() string

String returns the string representation

type CreateActionTargetRequest added in v0.10.0

type CreateActionTargetRequest struct {
	*aws.Request
	Input *CreateActionTargetInput
	Copy  func(*CreateActionTargetInput) CreateActionTargetRequest
}

CreateActionTargetRequest is the request type for the CreateActionTarget API operation.

func (CreateActionTargetRequest) Send added in v0.10.0

Send marshals and sends the CreateActionTarget API request.

type CreateActionTargetResponse added in v0.10.0

type CreateActionTargetResponse struct {
	*CreateActionTargetOutput
	// contains filtered or unexported fields
}

CreateActionTargetResponse is the response type for the CreateActionTarget API operation.

func (*CreateActionTargetResponse) SDKResponseMetdata added in v0.10.0

func (r *CreateActionTargetResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the CreateActionTarget request.

type CreateInsightInput

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
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/CreateInsightRequest

func (CreateInsightInput) MarshalFields

func (s CreateInsightInput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (CreateInsightInput) String

func (s CreateInsightInput) String() string

String returns the string representation

func (*CreateInsightInput) Validate

func (s *CreateInsightInput) Validate() error

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

type CreateInsightOutput

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
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/CreateInsightResponse

func (CreateInsightOutput) MarshalFields

func (s CreateInsightOutput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (CreateInsightOutput) String

func (s CreateInsightOutput) String() string

String returns the string representation

type CreateInsightRequest

type CreateInsightRequest struct {
	*aws.Request
	Input *CreateInsightInput
	Copy  func(*CreateInsightInput) CreateInsightRequest
}

CreateInsightRequest is the request type for the CreateInsight API operation.

func (CreateInsightRequest) Send

Send marshals and sends the CreateInsight API request.

type CreateInsightResponse added in v0.9.0

type CreateInsightResponse struct {
	*CreateInsightOutput
	// contains filtered or unexported fields
}

CreateInsightResponse is the response type for the CreateInsight API operation.

func (*CreateInsightResponse) SDKResponseMetdata added in v0.9.0

func (r *CreateInsightResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the CreateInsight request.

type CreateMembersInput

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
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/CreateMembersRequest

func (CreateMembersInput) MarshalFields

func (s CreateMembersInput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (CreateMembersInput) String

func (s CreateMembersInput) String() string

String returns the string representation

type CreateMembersOutput

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
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/CreateMembersResponse

func (CreateMembersOutput) MarshalFields

func (s CreateMembersOutput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (CreateMembersOutput) String

func (s CreateMembersOutput) String() string

String returns the string representation

type CreateMembersRequest

type CreateMembersRequest struct {
	*aws.Request
	Input *CreateMembersInput
	Copy  func(*CreateMembersInput) CreateMembersRequest
}

CreateMembersRequest is the request type for the CreateMembers API operation.

func (CreateMembersRequest) Send

Send marshals and sends the CreateMembers API request.

type CreateMembersResponse added in v0.9.0

type CreateMembersResponse struct {
	*CreateMembersOutput
	// contains filtered or unexported fields
}

CreateMembersResponse is the response type for the CreateMembers API operation.

func (*CreateMembersResponse) SDKResponseMetdata added in v0.9.0

func (r *CreateMembersResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the CreateMembers request.

type DateFilter

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. Please also see https://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/DateFilter

func (DateFilter) MarshalFields

func (s DateFilter) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (DateFilter) String

func (s DateFilter) String() string

String returns the string representation

type DateRange

type DateRange struct {

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

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

A date range for the date filter. Please also see https://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/DateRange

func (DateRange) MarshalFields

func (s DateRange) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (DateRange) String

func (s DateRange) String() string

String returns the string representation

type DateRangeUnit

type DateRangeUnit string
const (
	DateRangeUnitDays DateRangeUnit = "DAYS"
)

Enum values for DateRangeUnit

func (DateRangeUnit) MarshalValue

func (enum DateRangeUnit) MarshalValue() (string, error)

func (DateRangeUnit) MarshalValueBuf

func (enum DateRangeUnit) MarshalValueBuf(b []byte) ([]byte, error)

type DeclineInvitationsInput

type DeclineInvitationsInput struct {

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

Please also see https://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/DeclineInvitationsRequest

func (DeclineInvitationsInput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (DeclineInvitationsInput) String

func (s DeclineInvitationsInput) String() string

String returns the string representation

type DeclineInvitationsOutput

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
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/DeclineInvitationsResponse

func (DeclineInvitationsOutput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (DeclineInvitationsOutput) String

func (s DeclineInvitationsOutput) String() string

String returns the string representation

type DeclineInvitationsRequest

type DeclineInvitationsRequest struct {
	*aws.Request
	Input *DeclineInvitationsInput
	Copy  func(*DeclineInvitationsInput) DeclineInvitationsRequest
}

DeclineInvitationsRequest is the request type for the DeclineInvitations API operation.

func (DeclineInvitationsRequest) Send

Send marshals and sends the DeclineInvitations API request.

type DeclineInvitationsResponse added in v0.9.0

type DeclineInvitationsResponse struct {
	*DeclineInvitationsOutput
	// contains filtered or unexported fields
}

DeclineInvitationsResponse is the response type for the DeclineInvitations API operation.

func (*DeclineInvitationsResponse) SDKResponseMetdata added in v0.9.0

func (r *DeclineInvitationsResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the DeclineInvitations request.

type DeleteActionTargetInput added in v0.10.0

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
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/DeleteActionTargetRequest

func (DeleteActionTargetInput) MarshalFields added in v0.10.0

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (DeleteActionTargetInput) String added in v0.10.0

func (s DeleteActionTargetInput) String() string

String returns the string representation

func (*DeleteActionTargetInput) Validate added in v0.10.0

func (s *DeleteActionTargetInput) Validate() error

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

type DeleteActionTargetOutput added in v0.10.0

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
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/DeleteActionTargetResponse

func (DeleteActionTargetOutput) MarshalFields added in v0.10.0

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (DeleteActionTargetOutput) String added in v0.10.0

func (s DeleteActionTargetOutput) String() string

String returns the string representation

type DeleteActionTargetRequest added in v0.10.0

type DeleteActionTargetRequest struct {
	*aws.Request
	Input *DeleteActionTargetInput
	Copy  func(*DeleteActionTargetInput) DeleteActionTargetRequest
}

DeleteActionTargetRequest is the request type for the DeleteActionTarget API operation.

func (DeleteActionTargetRequest) Send added in v0.10.0

Send marshals and sends the DeleteActionTarget API request.

type DeleteActionTargetResponse added in v0.10.0

type DeleteActionTargetResponse struct {
	*DeleteActionTargetOutput
	// contains filtered or unexported fields
}

DeleteActionTargetResponse is the response type for the DeleteActionTarget API operation.

func (*DeleteActionTargetResponse) SDKResponseMetdata added in v0.10.0

func (r *DeleteActionTargetResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the DeleteActionTarget request.

type DeleteInsightInput

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
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/DeleteInsightRequest

func (DeleteInsightInput) MarshalFields

func (s DeleteInsightInput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (DeleteInsightInput) String

func (s DeleteInsightInput) String() string

String returns the string representation

func (*DeleteInsightInput) Validate

func (s *DeleteInsightInput) Validate() error

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

type DeleteInsightOutput

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
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/DeleteInsightResponse

func (DeleteInsightOutput) MarshalFields

func (s DeleteInsightOutput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (DeleteInsightOutput) String

func (s DeleteInsightOutput) String() string

String returns the string representation

type DeleteInsightRequest

type DeleteInsightRequest struct {
	*aws.Request
	Input *DeleteInsightInput
	Copy  func(*DeleteInsightInput) DeleteInsightRequest
}

DeleteInsightRequest is the request type for the DeleteInsight API operation.

func (DeleteInsightRequest) Send

Send marshals and sends the DeleteInsight API request.

type DeleteInsightResponse added in v0.9.0

type DeleteInsightResponse struct {
	*DeleteInsightOutput
	// contains filtered or unexported fields
}

DeleteInsightResponse is the response type for the DeleteInsight API operation.

func (*DeleteInsightResponse) SDKResponseMetdata added in v0.9.0

func (r *DeleteInsightResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the DeleteInsight request.

type DeleteInvitationsInput

type DeleteInvitationsInput struct {

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

Please also see https://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/DeleteInvitationsRequest

func (DeleteInvitationsInput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (DeleteInvitationsInput) String

func (s DeleteInvitationsInput) String() string

String returns the string representation

type DeleteInvitationsOutput

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
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/DeleteInvitationsResponse

func (DeleteInvitationsOutput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (DeleteInvitationsOutput) String

func (s DeleteInvitationsOutput) String() string

String returns the string representation

type DeleteInvitationsRequest

type DeleteInvitationsRequest struct {
	*aws.Request
	Input *DeleteInvitationsInput
	Copy  func(*DeleteInvitationsInput) DeleteInvitationsRequest
}

DeleteInvitationsRequest is the request type for the DeleteInvitations API operation.

func (DeleteInvitationsRequest) Send

Send marshals and sends the DeleteInvitations API request.

type DeleteInvitationsResponse added in v0.9.0

type DeleteInvitationsResponse struct {
	*DeleteInvitationsOutput
	// contains filtered or unexported fields
}

DeleteInvitationsResponse is the response type for the DeleteInvitations API operation.

func (*DeleteInvitationsResponse) SDKResponseMetdata added in v0.9.0

func (r *DeleteInvitationsResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the DeleteInvitations request.

type DeleteMembersInput

type DeleteMembersInput struct {

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

Please also see https://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/DeleteMembersRequest

func (DeleteMembersInput) MarshalFields

func (s DeleteMembersInput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (DeleteMembersInput) String

func (s DeleteMembersInput) String() string

String returns the string representation

type DeleteMembersOutput

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
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/DeleteMembersResponse

func (DeleteMembersOutput) MarshalFields

func (s DeleteMembersOutput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (DeleteMembersOutput) String

func (s DeleteMembersOutput) String() string

String returns the string representation

type DeleteMembersRequest

type DeleteMembersRequest struct {
	*aws.Request
	Input *DeleteMembersInput
	Copy  func(*DeleteMembersInput) DeleteMembersRequest
}

DeleteMembersRequest is the request type for the DeleteMembers API operation.

func (DeleteMembersRequest) Send

Send marshals and sends the DeleteMembers API request.

type DeleteMembersResponse added in v0.9.0

type DeleteMembersResponse struct {
	*DeleteMembersOutput
	// contains filtered or unexported fields
}

DeleteMembersResponse is the response type for the DeleteMembers API operation.

func (*DeleteMembersResponse) SDKResponseMetdata added in v0.9.0

func (r *DeleteMembersResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the DeleteMembers request.

type DescribeActionTargetsInput added in v0.10.0

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
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/DescribeActionTargetsRequest

func (DescribeActionTargetsInput) MarshalFields added in v0.10.0

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (DescribeActionTargetsInput) String added in v0.10.0

String returns the string representation

func (*DescribeActionTargetsInput) Validate added in v0.10.0

func (s *DescribeActionTargetsInput) Validate() error

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

type DescribeActionTargetsOutput added in v0.10.0

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
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/DescribeActionTargetsResponse

func (DescribeActionTargetsOutput) MarshalFields added in v0.10.0

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (DescribeActionTargetsOutput) String added in v0.10.0

String returns the string representation

type DescribeActionTargetsPaginator added in v0.10.0

type DescribeActionTargetsPaginator struct {
	aws.Pager
}

DescribeActionTargetsPaginator is used to paginate the request. This can be done by calling Next and CurrentPage.

func NewDescribeActionTargetsPaginator added in v0.10.0

func NewDescribeActionTargetsPaginator(req DescribeActionTargetsRequest) DescribeActionTargetsPaginator

NewDescribeActionTargetsRequestPaginator returns a paginator for DescribeActionTargets. Use Next method to get the next page, and CurrentPage to get the current response page from the paginator. Next will return false, if there are no more pages, or an error was encountered.

Note: This operation can generate multiple requests to a service.

// Example iterating over pages.
req := client.DescribeActionTargetsRequest(input)
p := securityhub.NewDescribeActionTargetsRequestPaginator(req)

for p.Next(context.TODO()) {
    page := p.CurrentPage()
}

if err := p.Err(); err != nil {
    return err
}

func (*DescribeActionTargetsPaginator) CurrentPage added in v0.10.0

type DescribeActionTargetsRequest added in v0.10.0

type DescribeActionTargetsRequest struct {
	*aws.Request
	Input *DescribeActionTargetsInput
	Copy  func(*DescribeActionTargetsInput) DescribeActionTargetsRequest
}

DescribeActionTargetsRequest is the request type for the DescribeActionTargets API operation.

func (DescribeActionTargetsRequest) Send added in v0.10.0

Send marshals and sends the DescribeActionTargets API request.

type DescribeActionTargetsResponse added in v0.10.0

type DescribeActionTargetsResponse struct {
	*DescribeActionTargetsOutput
	// contains filtered or unexported fields
}

DescribeActionTargetsResponse is the response type for the DescribeActionTargets API operation.

func (*DescribeActionTargetsResponse) SDKResponseMetdata added in v0.10.0

func (r *DescribeActionTargetsResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the DescribeActionTargets request.

type DescribeHubInput added in v0.10.0

type DescribeHubInput struct {

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

Please also see https://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/DescribeHubRequest

func (DescribeHubInput) MarshalFields added in v0.10.0

func (s DescribeHubInput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (DescribeHubInput) String added in v0.10.0

func (s DescribeHubInput) String() string

String returns the string representation

type DescribeHubOutput added in v0.10.0

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
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/DescribeHubResponse

func (DescribeHubOutput) MarshalFields added in v0.10.0

func (s DescribeHubOutput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (DescribeHubOutput) String added in v0.10.0

func (s DescribeHubOutput) String() string

String returns the string representation

type DescribeHubRequest added in v0.10.0

type DescribeHubRequest struct {
	*aws.Request
	Input *DescribeHubInput
	Copy  func(*DescribeHubInput) DescribeHubRequest
}

DescribeHubRequest is the request type for the DescribeHub API operation.

func (DescribeHubRequest) Send added in v0.10.0

Send marshals and sends the DescribeHub API request.

type DescribeHubResponse added in v0.10.0

type DescribeHubResponse struct {
	*DescribeHubOutput
	// contains filtered or unexported fields
}

DescribeHubResponse is the response type for the DescribeHub API operation.

func (*DescribeHubResponse) SDKResponseMetdata added in v0.10.0

func (r *DescribeHubResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the DescribeHub request.

type DescribeProductsInput added in v0.10.0

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
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/DescribeProductsRequest

func (DescribeProductsInput) MarshalFields added in v0.10.0

func (s DescribeProductsInput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (DescribeProductsInput) String added in v0.10.0

func (s DescribeProductsInput) String() string

String returns the string representation

func (*DescribeProductsInput) Validate added in v0.10.0

func (s *DescribeProductsInput) Validate() error

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

type DescribeProductsOutput added in v0.10.0

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
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/DescribeProductsResponse

func (DescribeProductsOutput) MarshalFields added in v0.10.0

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (DescribeProductsOutput) String added in v0.10.0

func (s DescribeProductsOutput) String() string

String returns the string representation

type DescribeProductsPaginator added in v0.10.0

type DescribeProductsPaginator struct {
	aws.Pager
}

DescribeProductsPaginator is used to paginate the request. This can be done by calling Next and CurrentPage.

func NewDescribeProductsPaginator added in v0.10.0

func NewDescribeProductsPaginator(req DescribeProductsRequest) DescribeProductsPaginator

NewDescribeProductsRequestPaginator returns a paginator for DescribeProducts. Use Next method to get the next page, and CurrentPage to get the current response page from the paginator. Next will return false, if there are no more pages, or an error was encountered.

Note: This operation can generate multiple requests to a service.

// Example iterating over pages.
req := client.DescribeProductsRequest(input)
p := securityhub.NewDescribeProductsRequestPaginator(req)

for p.Next(context.TODO()) {
    page := p.CurrentPage()
}

if err := p.Err(); err != nil {
    return err
}

func (*DescribeProductsPaginator) CurrentPage added in v0.10.0

type DescribeProductsRequest added in v0.10.0

type DescribeProductsRequest struct {
	*aws.Request
	Input *DescribeProductsInput
	Copy  func(*DescribeProductsInput) DescribeProductsRequest
}

DescribeProductsRequest is the request type for the DescribeProducts API operation.

func (DescribeProductsRequest) Send added in v0.10.0

Send marshals and sends the DescribeProducts API request.

type DescribeProductsResponse added in v0.10.0

type DescribeProductsResponse struct {
	*DescribeProductsOutput
	// contains filtered or unexported fields
}

DescribeProductsResponse is the response type for the DescribeProducts API operation.

func (*DescribeProductsResponse) SDKResponseMetdata added in v0.10.0

func (r *DescribeProductsResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the DescribeProducts request.

type DisableImportFindingsForProductInput

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
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/DisableImportFindingsForProductRequest

func (DisableImportFindingsForProductInput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (DisableImportFindingsForProductInput) String

String returns the string representation

func (*DisableImportFindingsForProductInput) Validate

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

type DisableImportFindingsForProductOutput

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

Please also see https://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/DisableImportFindingsForProductResponse

func (DisableImportFindingsForProductOutput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (DisableImportFindingsForProductOutput) String

String returns the string representation

type DisableImportFindingsForProductRequest

type DisableImportFindingsForProductRequest struct {
	*aws.Request
	Input *DisableImportFindingsForProductInput
	Copy  func(*DisableImportFindingsForProductInput) DisableImportFindingsForProductRequest
}

DisableImportFindingsForProductRequest is the request type for the DisableImportFindingsForProduct API operation.

func (DisableImportFindingsForProductRequest) Send

Send marshals and sends the DisableImportFindingsForProduct API request.

type DisableImportFindingsForProductResponse added in v0.9.0

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

DisableImportFindingsForProductResponse is the response type for the DisableImportFindingsForProduct API operation.

func (*DisableImportFindingsForProductResponse) SDKResponseMetdata added in v0.9.0

func (r *DisableImportFindingsForProductResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the DisableImportFindingsForProduct request.

type DisableSecurityHubInput

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

Please also see https://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/DisableSecurityHubRequest

func (DisableSecurityHubInput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (DisableSecurityHubInput) String

func (s DisableSecurityHubInput) String() string

String returns the string representation

type DisableSecurityHubOutput

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

Please also see https://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/DisableSecurityHubResponse

func (DisableSecurityHubOutput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (DisableSecurityHubOutput) String

func (s DisableSecurityHubOutput) String() string

String returns the string representation

type DisableSecurityHubRequest

type DisableSecurityHubRequest struct {
	*aws.Request
	Input *DisableSecurityHubInput
	Copy  func(*DisableSecurityHubInput) DisableSecurityHubRequest
}

DisableSecurityHubRequest is the request type for the DisableSecurityHub API operation.

func (DisableSecurityHubRequest) Send

Send marshals and sends the DisableSecurityHub API request.

type DisableSecurityHubResponse added in v0.9.0

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

DisableSecurityHubResponse is the response type for the DisableSecurityHub API operation.

func (*DisableSecurityHubResponse) SDKResponseMetdata added in v0.9.0

func (r *DisableSecurityHubResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the DisableSecurityHub request.

type DisassociateFromMasterAccountInput

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

Please also see https://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/DisassociateFromMasterAccountRequest

func (DisassociateFromMasterAccountInput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (DisassociateFromMasterAccountInput) String

String returns the string representation

type DisassociateFromMasterAccountOutput

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

Please also see https://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/DisassociateFromMasterAccountResponse

func (DisassociateFromMasterAccountOutput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (DisassociateFromMasterAccountOutput) String

String returns the string representation

type DisassociateFromMasterAccountRequest

type DisassociateFromMasterAccountRequest struct {
	*aws.Request
	Input *DisassociateFromMasterAccountInput
	Copy  func(*DisassociateFromMasterAccountInput) DisassociateFromMasterAccountRequest
}

DisassociateFromMasterAccountRequest is the request type for the DisassociateFromMasterAccount API operation.

func (DisassociateFromMasterAccountRequest) Send

Send marshals and sends the DisassociateFromMasterAccount API request.

type DisassociateFromMasterAccountResponse added in v0.9.0

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

DisassociateFromMasterAccountResponse is the response type for the DisassociateFromMasterAccount API operation.

func (*DisassociateFromMasterAccountResponse) SDKResponseMetdata added in v0.9.0

func (r *DisassociateFromMasterAccountResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the DisassociateFromMasterAccount request.

type DisassociateMembersInput

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
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/DisassociateMembersRequest

func (DisassociateMembersInput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (DisassociateMembersInput) String

func (s DisassociateMembersInput) String() string

String returns the string representation

type DisassociateMembersOutput

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

Please also see https://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/DisassociateMembersResponse

func (DisassociateMembersOutput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (DisassociateMembersOutput) String

func (s DisassociateMembersOutput) String() string

String returns the string representation

type DisassociateMembersRequest

type DisassociateMembersRequest struct {
	*aws.Request
	Input *DisassociateMembersInput
	Copy  func(*DisassociateMembersInput) DisassociateMembersRequest
}

DisassociateMembersRequest is the request type for the DisassociateMembers API operation.

func (DisassociateMembersRequest) Send

Send marshals and sends the DisassociateMembers API request.

type DisassociateMembersResponse added in v0.9.0

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

DisassociateMembersResponse is the response type for the DisassociateMembers API operation.

func (*DisassociateMembersResponse) SDKResponseMetdata added in v0.9.0

func (r *DisassociateMembersResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the DisassociateMembers request.

type EnableImportFindingsForProductInput

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
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/EnableImportFindingsForProductRequest

func (EnableImportFindingsForProductInput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (EnableImportFindingsForProductInput) String

String returns the string representation

func (*EnableImportFindingsForProductInput) Validate

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

type EnableImportFindingsForProductOutput

type EnableImportFindingsForProductOutput struct {

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

Please also see https://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/EnableImportFindingsForProductResponse

func (EnableImportFindingsForProductOutput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (EnableImportFindingsForProductOutput) String

String returns the string representation

type EnableImportFindingsForProductRequest

type EnableImportFindingsForProductRequest struct {
	*aws.Request
	Input *EnableImportFindingsForProductInput
	Copy  func(*EnableImportFindingsForProductInput) EnableImportFindingsForProductRequest
}

EnableImportFindingsForProductRequest is the request type for the EnableImportFindingsForProduct API operation.

func (EnableImportFindingsForProductRequest) Send

Send marshals and sends the EnableImportFindingsForProduct API request.

type EnableImportFindingsForProductResponse added in v0.9.0

type EnableImportFindingsForProductResponse struct {
	*EnableImportFindingsForProductOutput
	// contains filtered or unexported fields
}

EnableImportFindingsForProductResponse is the response type for the EnableImportFindingsForProduct API operation.

func (*EnableImportFindingsForProductResponse) SDKResponseMetdata added in v0.9.0

func (r *EnableImportFindingsForProductResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the EnableImportFindingsForProduct request.

type EnableSecurityHubInput

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
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/EnableSecurityHubRequest

func (EnableSecurityHubInput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (EnableSecurityHubInput) String

func (s EnableSecurityHubInput) String() string

String returns the string representation

func (*EnableSecurityHubInput) Validate added in v0.10.0

func (s *EnableSecurityHubInput) Validate() error

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

type EnableSecurityHubOutput

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

Please also see https://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/EnableSecurityHubResponse

func (EnableSecurityHubOutput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (EnableSecurityHubOutput) String

func (s EnableSecurityHubOutput) String() string

String returns the string representation

type EnableSecurityHubRequest

type EnableSecurityHubRequest struct {
	*aws.Request
	Input *EnableSecurityHubInput
	Copy  func(*EnableSecurityHubInput) EnableSecurityHubRequest
}

EnableSecurityHubRequest is the request type for the EnableSecurityHub API operation.

func (EnableSecurityHubRequest) Send

Send marshals and sends the EnableSecurityHub API request.

type EnableSecurityHubResponse added in v0.9.0

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

EnableSecurityHubResponse is the response type for the EnableSecurityHub API operation.

func (*EnableSecurityHubResponse) SDKResponseMetdata added in v0.9.0

func (r *EnableSecurityHubResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the EnableSecurityHub request.

type GetEnabledStandardsInput

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
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/GetEnabledStandardsRequest

func (GetEnabledStandardsInput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (GetEnabledStandardsInput) String

func (s GetEnabledStandardsInput) String() string

String returns the string representation

func (*GetEnabledStandardsInput) Validate

func (s *GetEnabledStandardsInput) Validate() error

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

type GetEnabledStandardsOutput

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
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/GetEnabledStandardsResponse

func (GetEnabledStandardsOutput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (GetEnabledStandardsOutput) String

func (s GetEnabledStandardsOutput) String() string

String returns the string representation

type GetEnabledStandardsRequest

type GetEnabledStandardsRequest struct {
	*aws.Request
	Input *GetEnabledStandardsInput
	Copy  func(*GetEnabledStandardsInput) GetEnabledStandardsRequest
}

GetEnabledStandardsRequest is the request type for the GetEnabledStandards API operation.

func (GetEnabledStandardsRequest) Send

Send marshals and sends the GetEnabledStandards API request.

type GetEnabledStandardsResponse added in v0.9.0

type GetEnabledStandardsResponse struct {
	*GetEnabledStandardsOutput
	// contains filtered or unexported fields
}

GetEnabledStandardsResponse is the response type for the GetEnabledStandards API operation.

func (*GetEnabledStandardsResponse) SDKResponseMetdata added in v0.9.0

func (r *GetEnabledStandardsResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the GetEnabledStandards request.

type GetFindingsInput

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
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/GetFindingsRequest

func (GetFindingsInput) MarshalFields

func (s GetFindingsInput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (GetFindingsInput) String

func (s GetFindingsInput) String() string

String returns the string representation

func (*GetFindingsInput) Validate

func (s *GetFindingsInput) Validate() error

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

type GetFindingsOutput

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
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/GetFindingsResponse

func (GetFindingsOutput) MarshalFields

func (s GetFindingsOutput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (GetFindingsOutput) String

func (s GetFindingsOutput) String() string

String returns the string representation

type GetFindingsPaginator added in v0.9.0

type GetFindingsPaginator struct {
	aws.Pager
}

GetFindingsPaginator is used to paginate the request. This can be done by calling Next and CurrentPage.

func NewGetFindingsPaginator added in v0.9.0

func NewGetFindingsPaginator(req GetFindingsRequest) GetFindingsPaginator

NewGetFindingsRequestPaginator returns a paginator for GetFindings. Use Next method to get the next page, and CurrentPage to get the current response page from the paginator. Next will return false, if there are no more pages, or an error was encountered.

Note: This operation can generate multiple requests to a service.

// Example iterating over pages.
req := client.GetFindingsRequest(input)
p := securityhub.NewGetFindingsRequestPaginator(req)

for p.Next(context.TODO()) {
    page := p.CurrentPage()
}

if err := p.Err(); err != nil {
    return err
}

func (*GetFindingsPaginator) CurrentPage added in v0.9.0

func (p *GetFindingsPaginator) CurrentPage() *GetFindingsOutput

type GetFindingsRequest

type GetFindingsRequest struct {
	*aws.Request
	Input *GetFindingsInput
	Copy  func(*GetFindingsInput) GetFindingsRequest
}

GetFindingsRequest is the request type for the GetFindings API operation.

func (GetFindingsRequest) Send

Send marshals and sends the GetFindings API request.

type GetFindingsResponse added in v0.9.0

type GetFindingsResponse struct {
	*GetFindingsOutput
	// contains filtered or unexported fields
}

GetFindingsResponse is the response type for the GetFindings API operation.

func (*GetFindingsResponse) SDKResponseMetdata added in v0.9.0

func (r *GetFindingsResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the GetFindings request.

type GetInsightResultsInput

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
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/GetInsightResultsRequest

func (GetInsightResultsInput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (GetInsightResultsInput) String

func (s GetInsightResultsInput) String() string

String returns the string representation

func (*GetInsightResultsInput) Validate

func (s *GetInsightResultsInput) Validate() error

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

type GetInsightResultsOutput

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
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/GetInsightResultsResponse

func (GetInsightResultsOutput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (GetInsightResultsOutput) String

func (s GetInsightResultsOutput) String() string

String returns the string representation

type GetInsightResultsRequest

type GetInsightResultsRequest struct {
	*aws.Request
	Input *GetInsightResultsInput
	Copy  func(*GetInsightResultsInput) GetInsightResultsRequest
}

GetInsightResultsRequest is the request type for the GetInsightResults API operation.

func (GetInsightResultsRequest) Send

Send marshals and sends the GetInsightResults API request.

type GetInsightResultsResponse added in v0.9.0

type GetInsightResultsResponse struct {
	*GetInsightResultsOutput
	// contains filtered or unexported fields
}

GetInsightResultsResponse is the response type for the GetInsightResults API operation.

func (*GetInsightResultsResponse) SDKResponseMetdata added in v0.9.0

func (r *GetInsightResultsResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the GetInsightResults request.

type GetInsightsInput

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
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/GetInsightsRequest

func (GetInsightsInput) MarshalFields

func (s GetInsightsInput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (GetInsightsInput) String

func (s GetInsightsInput) String() string

String returns the string representation

func (*GetInsightsInput) Validate

func (s *GetInsightsInput) Validate() error

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

type GetInsightsOutput

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
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/GetInsightsResponse

func (GetInsightsOutput) MarshalFields

func (s GetInsightsOutput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (GetInsightsOutput) String

func (s GetInsightsOutput) String() string

String returns the string representation

type GetInsightsPaginator added in v0.9.0

type GetInsightsPaginator struct {
	aws.Pager
}

GetInsightsPaginator is used to paginate the request. This can be done by calling Next and CurrentPage.

func NewGetInsightsPaginator added in v0.9.0

func NewGetInsightsPaginator(req GetInsightsRequest) GetInsightsPaginator

NewGetInsightsRequestPaginator returns a paginator for GetInsights. Use Next method to get the next page, and CurrentPage to get the current response page from the paginator. Next will return false, if there are no more pages, or an error was encountered.

Note: This operation can generate multiple requests to a service.

// Example iterating over pages.
req := client.GetInsightsRequest(input)
p := securityhub.NewGetInsightsRequestPaginator(req)

for p.Next(context.TODO()) {
    page := p.CurrentPage()
}

if err := p.Err(); err != nil {
    return err
}

func (*GetInsightsPaginator) CurrentPage added in v0.9.0

func (p *GetInsightsPaginator) CurrentPage() *GetInsightsOutput

type GetInsightsRequest

type GetInsightsRequest struct {
	*aws.Request
	Input *GetInsightsInput
	Copy  func(*GetInsightsInput) GetInsightsRequest
}

GetInsightsRequest is the request type for the GetInsights API operation.

func (GetInsightsRequest) Send

Send marshals and sends the GetInsights API request.

type GetInsightsResponse added in v0.9.0

type GetInsightsResponse struct {
	*GetInsightsOutput
	// contains filtered or unexported fields
}

GetInsightsResponse is the response type for the GetInsights API operation.

func (*GetInsightsResponse) SDKResponseMetdata added in v0.9.0

func (r *GetInsightsResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the GetInsights request.

type GetInvitationsCountInput

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

Please also see https://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/GetInvitationsCountRequest

func (GetInvitationsCountInput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (GetInvitationsCountInput) String

func (s GetInvitationsCountInput) String() string

String returns the string representation

type GetInvitationsCountOutput

type GetInvitationsCountOutput struct {

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

Please also see https://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/GetInvitationsCountResponse

func (GetInvitationsCountOutput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (GetInvitationsCountOutput) String

func (s GetInvitationsCountOutput) String() string

String returns the string representation

type GetInvitationsCountRequest

type GetInvitationsCountRequest struct {
	*aws.Request
	Input *GetInvitationsCountInput
	Copy  func(*GetInvitationsCountInput) GetInvitationsCountRequest
}

GetInvitationsCountRequest is the request type for the GetInvitationsCount API operation.

func (GetInvitationsCountRequest) Send

Send marshals and sends the GetInvitationsCount API request.

type GetInvitationsCountResponse added in v0.9.0

type GetInvitationsCountResponse struct {
	*GetInvitationsCountOutput
	// contains filtered or unexported fields
}

GetInvitationsCountResponse is the response type for the GetInvitationsCount API operation.

func (*GetInvitationsCountResponse) SDKResponseMetdata added in v0.9.0

func (r *GetInvitationsCountResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the GetInvitationsCount request.

type GetMasterAccountInput

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

Please also see https://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/GetMasterAccountRequest

func (GetMasterAccountInput) MarshalFields

func (s GetMasterAccountInput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (GetMasterAccountInput) String

func (s GetMasterAccountInput) String() string

String returns the string representation

type GetMasterAccountOutput

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
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/GetMasterAccountResponse

func (GetMasterAccountOutput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (GetMasterAccountOutput) String

func (s GetMasterAccountOutput) String() string

String returns the string representation

type GetMasterAccountRequest

type GetMasterAccountRequest struct {
	*aws.Request
	Input *GetMasterAccountInput
	Copy  func(*GetMasterAccountInput) GetMasterAccountRequest
}

GetMasterAccountRequest is the request type for the GetMasterAccount API operation.

func (GetMasterAccountRequest) Send

Send marshals and sends the GetMasterAccount API request.

type GetMasterAccountResponse added in v0.9.0

type GetMasterAccountResponse struct {
	*GetMasterAccountOutput
	// contains filtered or unexported fields
}

GetMasterAccountResponse is the response type for the GetMasterAccount API operation.

func (*GetMasterAccountResponse) SDKResponseMetdata added in v0.9.0

func (r *GetMasterAccountResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the GetMasterAccount request.

type GetMembersInput

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
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/GetMembersRequest

func (GetMembersInput) MarshalFields

func (s GetMembersInput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (GetMembersInput) String

func (s GetMembersInput) String() string

String returns the string representation

func (*GetMembersInput) Validate

func (s *GetMembersInput) Validate() error

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

type GetMembersOutput

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
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/GetMembersResponse

func (GetMembersOutput) MarshalFields

func (s GetMembersOutput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (GetMembersOutput) String

func (s GetMembersOutput) String() string

String returns the string representation

type GetMembersRequest

type GetMembersRequest struct {
	*aws.Request
	Input *GetMembersInput
	Copy  func(*GetMembersInput) GetMembersRequest
}

GetMembersRequest is the request type for the GetMembers API operation.

func (GetMembersRequest) Send

Send marshals and sends the GetMembers API request.

type GetMembersResponse added in v0.9.0

type GetMembersResponse struct {
	*GetMembersOutput
	// contains filtered or unexported fields
}

GetMembersResponse is the response type for the GetMembers API operation.

func (*GetMembersResponse) SDKResponseMetdata added in v0.9.0

func (r *GetMembersResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the GetMembers request.

type ImportFindingsError

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. Please also see https://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/ImportFindingsError

func (ImportFindingsError) MarshalFields

func (s ImportFindingsError) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (ImportFindingsError) String

func (s ImportFindingsError) String() string

String returns the string representation

type Insight

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. Please also see https://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/Insight

func (Insight) MarshalFields

func (s Insight) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (Insight) String

func (s Insight) String() string

String returns the string representation

type InsightResultValue

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. Please also see https://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/InsightResultValue

func (InsightResultValue) MarshalFields

func (s InsightResultValue) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (InsightResultValue) String

func (s InsightResultValue) String() string

String returns the string representation

type InsightResults

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. Please also see https://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/InsightResults

func (InsightResults) MarshalFields

func (s InsightResults) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (InsightResults) String

func (s InsightResults) String() string

String returns the string representation

type Invitation

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. Please also see https://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/Invitation

func (Invitation) MarshalFields

func (s Invitation) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (Invitation) String

func (s Invitation) String() string

String returns the string representation

type InviteMembersInput

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
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/InviteMembersRequest

func (InviteMembersInput) MarshalFields

func (s InviteMembersInput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (InviteMembersInput) String

func (s InviteMembersInput) String() string

String returns the string representation

type InviteMembersOutput

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
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/InviteMembersResponse

func (InviteMembersOutput) MarshalFields

func (s InviteMembersOutput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (InviteMembersOutput) String

func (s InviteMembersOutput) String() string

String returns the string representation

type InviteMembersRequest

type InviteMembersRequest struct {
	*aws.Request
	Input *InviteMembersInput
	Copy  func(*InviteMembersInput) InviteMembersRequest
}

InviteMembersRequest is the request type for the InviteMembers API operation.

func (InviteMembersRequest) Send

Send marshals and sends the InviteMembers API request.

type InviteMembersResponse added in v0.9.0

type InviteMembersResponse struct {
	*InviteMembersOutput
	// contains filtered or unexported fields
}

InviteMembersResponse is the response type for the InviteMembers API operation.

func (*InviteMembersResponse) SDKResponseMetdata added in v0.9.0

func (r *InviteMembersResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the InviteMembers request.

type IpFilter

type IpFilter struct {

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

The IP filter for querying findings. Please also see https://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/IpFilter

func (IpFilter) MarshalFields

func (s IpFilter) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (IpFilter) String

func (s IpFilter) String() string

String returns the string representation

type KeywordFilter

type KeywordFilter struct {

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

A keyword filter for querying findings. Please also see https://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/KeywordFilter

func (KeywordFilter) MarshalFields

func (s KeywordFilter) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (KeywordFilter) String

func (s KeywordFilter) String() string

String returns the string representation

type ListEnabledProductsForImportInput

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
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/ListEnabledProductsForImportRequest

func (ListEnabledProductsForImportInput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (ListEnabledProductsForImportInput) String

String returns the string representation

func (*ListEnabledProductsForImportInput) Validate

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

type ListEnabledProductsForImportOutput

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
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/ListEnabledProductsForImportResponse

func (ListEnabledProductsForImportOutput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (ListEnabledProductsForImportOutput) String

String returns the string representation

type ListEnabledProductsForImportPaginator added in v0.9.0

type ListEnabledProductsForImportPaginator struct {
	aws.Pager
}

ListEnabledProductsForImportPaginator is used to paginate the request. This can be done by calling Next and CurrentPage.

func NewListEnabledProductsForImportPaginator added in v0.9.0

func NewListEnabledProductsForImportPaginator(req ListEnabledProductsForImportRequest) ListEnabledProductsForImportPaginator

NewListEnabledProductsForImportRequestPaginator returns a paginator for ListEnabledProductsForImport. Use Next method to get the next page, and CurrentPage to get the current response page from the paginator. Next will return false, if there are no more pages, or an error was encountered.

Note: This operation can generate multiple requests to a service.

// Example iterating over pages.
req := client.ListEnabledProductsForImportRequest(input)
p := securityhub.NewListEnabledProductsForImportRequestPaginator(req)

for p.Next(context.TODO()) {
    page := p.CurrentPage()
}

if err := p.Err(); err != nil {
    return err
}

func (*ListEnabledProductsForImportPaginator) CurrentPage added in v0.9.0

type ListEnabledProductsForImportRequest

type ListEnabledProductsForImportRequest struct {
	*aws.Request
	Input *ListEnabledProductsForImportInput
	Copy  func(*ListEnabledProductsForImportInput) ListEnabledProductsForImportRequest
}

ListEnabledProductsForImportRequest is the request type for the ListEnabledProductsForImport API operation.

func (ListEnabledProductsForImportRequest) Send

Send marshals and sends the ListEnabledProductsForImport API request.

type ListEnabledProductsForImportResponse added in v0.9.0

type ListEnabledProductsForImportResponse struct {
	*ListEnabledProductsForImportOutput
	// contains filtered or unexported fields
}

ListEnabledProductsForImportResponse is the response type for the ListEnabledProductsForImport API operation.

func (*ListEnabledProductsForImportResponse) SDKResponseMetdata added in v0.9.0

func (r *ListEnabledProductsForImportResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the ListEnabledProductsForImport request.

type ListInvitationsInput

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
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/ListInvitationsRequest

func (ListInvitationsInput) MarshalFields

func (s ListInvitationsInput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (ListInvitationsInput) String

func (s ListInvitationsInput) String() string

String returns the string representation

func (*ListInvitationsInput) Validate

func (s *ListInvitationsInput) Validate() error

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

type ListInvitationsOutput

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
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/ListInvitationsResponse

func (ListInvitationsOutput) MarshalFields

func (s ListInvitationsOutput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (ListInvitationsOutput) String

func (s ListInvitationsOutput) String() string

String returns the string representation

type ListInvitationsRequest

type ListInvitationsRequest struct {
	*aws.Request
	Input *ListInvitationsInput
	Copy  func(*ListInvitationsInput) ListInvitationsRequest
}

ListInvitationsRequest is the request type for the ListInvitations API operation.

func (ListInvitationsRequest) Send

Send marshals and sends the ListInvitations API request.

type ListInvitationsResponse added in v0.9.0

type ListInvitationsResponse struct {
	*ListInvitationsOutput
	// contains filtered or unexported fields
}

ListInvitationsResponse is the response type for the ListInvitations API operation.

func (*ListInvitationsResponse) SDKResponseMetdata added in v0.9.0

func (r *ListInvitationsResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the ListInvitations request.

type ListMembersInput

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
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/ListMembersRequest

func (ListMembersInput) MarshalFields

func (s ListMembersInput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (ListMembersInput) String

func (s ListMembersInput) String() string

String returns the string representation

func (*ListMembersInput) Validate

func (s *ListMembersInput) Validate() error

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

type ListMembersOutput

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
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/ListMembersResponse

func (ListMembersOutput) MarshalFields

func (s ListMembersOutput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (ListMembersOutput) String

func (s ListMembersOutput) String() string

String returns the string representation

type ListMembersRequest

type ListMembersRequest struct {
	*aws.Request
	Input *ListMembersInput
	Copy  func(*ListMembersInput) ListMembersRequest
}

ListMembersRequest is the request type for the ListMembers API operation.

func (ListMembersRequest) Send

Send marshals and sends the ListMembers API request.

type ListMembersResponse added in v0.9.0

type ListMembersResponse struct {
	*ListMembersOutput
	// contains filtered or unexported fields
}

ListMembersResponse is the response type for the ListMembers API operation.

func (*ListMembersResponse) SDKResponseMetdata added in v0.9.0

func (r *ListMembersResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the ListMembers request.

type ListTagsForResourceInput added in v0.10.0

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
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/ListTagsForResourceRequest

func (ListTagsForResourceInput) MarshalFields added in v0.10.0

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (ListTagsForResourceInput) String added in v0.10.0

func (s ListTagsForResourceInput) String() string

String returns the string representation

func (*ListTagsForResourceInput) Validate added in v0.10.0

func (s *ListTagsForResourceInput) Validate() error

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

type ListTagsForResourceOutput added in v0.10.0

type ListTagsForResourceOutput struct {

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

Please also see https://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/ListTagsForResourceResponse

func (ListTagsForResourceOutput) MarshalFields added in v0.10.0

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (ListTagsForResourceOutput) String added in v0.10.0

func (s ListTagsForResourceOutput) String() string

String returns the string representation

type ListTagsForResourceRequest added in v0.10.0

type ListTagsForResourceRequest struct {
	*aws.Request
	Input *ListTagsForResourceInput
	Copy  func(*ListTagsForResourceInput) ListTagsForResourceRequest
}

ListTagsForResourceRequest is the request type for the ListTagsForResource API operation.

func (ListTagsForResourceRequest) Send added in v0.10.0

Send marshals and sends the ListTagsForResource API request.

type ListTagsForResourceResponse added in v0.10.0

type ListTagsForResourceResponse struct {
	*ListTagsForResourceOutput
	// contains filtered or unexported fields
}

ListTagsForResourceResponse is the response type for the ListTagsForResource API operation.

func (*ListTagsForResourceResponse) SDKResponseMetdata added in v0.10.0

func (r *ListTagsForResourceResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the ListTagsForResource request.

type Malware

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 MalwareState `type:"string" enum:"true"`

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

A list of malware related to a finding. Please also see https://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/Malware

func (Malware) MarshalFields

func (s Malware) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (Malware) String

func (s Malware) String() string

String returns the string representation

func (*Malware) Validate

func (s *Malware) Validate() error

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

type MalwareState

type MalwareState string
const (
	MalwareStateObserved      MalwareState = "OBSERVED"
	MalwareStateRemovalFailed MalwareState = "REMOVAL_FAILED"
	MalwareStateRemoved       MalwareState = "REMOVED"
)

Enum values for MalwareState

func (MalwareState) MarshalValue

func (enum MalwareState) MarshalValue() (string, error)

func (MalwareState) MarshalValueBuf

func (enum MalwareState) MarshalValueBuf(b []byte) ([]byte, error)

type MalwareType

type MalwareType string
const (
	MalwareTypeAdware              MalwareType = "ADWARE"
	MalwareTypeBlendedThreat       MalwareType = "BLENDED_THREAT"
	MalwareTypeBotnetAgent         MalwareType = "BOTNET_AGENT"
	MalwareTypeCoinMiner           MalwareType = "COIN_MINER"
	MalwareTypeExploitKit          MalwareType = "EXPLOIT_KIT"
	MalwareTypeKeylogger           MalwareType = "KEYLOGGER"
	MalwareTypeMacro               MalwareType = "MACRO"
	MalwareTypePotentiallyUnwanted MalwareType = "POTENTIALLY_UNWANTED"
	MalwareTypeSpyware             MalwareType = "SPYWARE"
	MalwareTypeRansomware          MalwareType = "RANSOMWARE"
	MalwareTypeRemoteAccess        MalwareType = "REMOTE_ACCESS"
	MalwareTypeRootkit             MalwareType = "ROOTKIT"
	MalwareTypeTrojan              MalwareType = "TROJAN"
	MalwareTypeVirus               MalwareType = "VIRUS"
	MalwareTypeWorm                MalwareType = "WORM"
)

Enum values for MalwareType

func (MalwareType) MarshalValue

func (enum MalwareType) MarshalValue() (string, error)

func (MalwareType) MarshalValueBuf

func (enum MalwareType) MarshalValueBuf(b []byte) ([]byte, error)

type MapFilter

type MapFilter struct {

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

	// 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. Please also see https://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/MapFilter

func (MapFilter) MarshalFields

func (s MapFilter) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (MapFilter) String

func (s MapFilter) String() string

String returns the string representation

type MapFilterComparison

type MapFilterComparison string
const (
	MapFilterComparisonEquals MapFilterComparison = "EQUALS"
)

Enum values for MapFilterComparison

func (MapFilterComparison) MarshalValue

func (enum MapFilterComparison) MarshalValue() (string, error)

func (MapFilterComparison) MarshalValueBuf

func (enum MapFilterComparison) MarshalValueBuf(b []byte) ([]byte, error)

type Member

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. Please also see https://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/Member

func (Member) MarshalFields

func (s Member) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (Member) String

func (s Member) String() string

String returns the string representation

type Network

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 NetworkDirection `type:"string" enum:"true"`

	// 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. Please also see https://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/Network

func (Network) MarshalFields

func (s Network) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (Network) String

func (s Network) String() string

String returns the string representation

type NetworkDirection

type NetworkDirection string
const (
	NetworkDirectionIn  NetworkDirection = "IN"
	NetworkDirectionOut NetworkDirection = "OUT"
)

Enum values for NetworkDirection

func (NetworkDirection) MarshalValue

func (enum NetworkDirection) MarshalValue() (string, error)

func (NetworkDirection) MarshalValueBuf

func (enum NetworkDirection) MarshalValueBuf(b []byte) ([]byte, error)

type Note

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. Please also see https://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/Note

func (Note) MarshalFields

func (s Note) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (Note) String

func (s Note) String() string

String returns the string representation

func (*Note) Validate

func (s *Note) Validate() error

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

type NoteUpdate

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. Please also see https://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/NoteUpdate

func (NoteUpdate) MarshalFields

func (s NoteUpdate) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (NoteUpdate) String

func (s NoteUpdate) String() string

String returns the string representation

func (*NoteUpdate) Validate

func (s *NoteUpdate) Validate() error

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

type NumberFilter

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. Please also see https://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/NumberFilter

func (NumberFilter) MarshalFields

func (s NumberFilter) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (NumberFilter) String

func (s NumberFilter) String() string

String returns the string representation

type Partition

type Partition string
const (
	PartitionAws      Partition = "aws"
	PartitionAwsCn    Partition = "aws-cn"
	PartitionAwsUsGov Partition = "aws-us-gov"
)

Enum values for Partition

func (Partition) MarshalValue

func (enum Partition) MarshalValue() (string, error)

func (Partition) MarshalValueBuf

func (enum Partition) MarshalValueBuf(b []byte) ([]byte, error)

type ProcessDetails

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. Please also see https://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/ProcessDetails

func (ProcessDetails) MarshalFields

func (s ProcessDetails) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (ProcessDetails) String

func (s ProcessDetails) String() string

String returns the string representation

type Product added in v0.10.0

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. Please also see https://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/Product

func (Product) MarshalFields added in v0.10.0

func (s Product) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (Product) String added in v0.10.0

func (s Product) String() string

String returns the string representation

type Recommendation

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. Please also see https://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/Recommendation

func (Recommendation) MarshalFields

func (s Recommendation) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (Recommendation) String

func (s Recommendation) String() string

String returns the string representation

type RecordState

type RecordState string
const (
	RecordStateActive   RecordState = "ACTIVE"
	RecordStateArchived RecordState = "ARCHIVED"
)

Enum values for RecordState

func (RecordState) MarshalValue

func (enum RecordState) MarshalValue() (string, error)

func (RecordState) MarshalValueBuf

func (enum RecordState) MarshalValueBuf(b []byte) ([]byte, error)

type RelatedFinding

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. Please also see https://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/RelatedFinding

func (RelatedFinding) MarshalFields

func (s RelatedFinding) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (RelatedFinding) String

func (s RelatedFinding) String() string

String returns the string representation

func (*RelatedFinding) Validate

func (s *RelatedFinding) Validate() error

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

type Remediation

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. Please also see https://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/Remediation

func (Remediation) MarshalFields

func (s Remediation) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (Remediation) String

func (s Remediation) String() string

String returns the string representation

type Resource

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 Partition `type:"string" enum:"true"`

	// 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. Please also see https://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/Resource

func (Resource) MarshalFields

func (s Resource) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (Resource) String

func (s Resource) String() string

String returns the string representation

func (*Resource) Validate

func (s *Resource) Validate() error

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

type ResourceDetails

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. Please also see https://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/ResourceDetails

func (ResourceDetails) MarshalFields

func (s ResourceDetails) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (ResourceDetails) String

func (s ResourceDetails) String() string

String returns the string representation

type Result

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. Please also see https://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/Result

func (Result) MarshalFields

func (s Result) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (Result) String

func (s Result) String() string

String returns the string representation

type Severity

type Severity struct {

	// The normalized severity of a finding.
	//
	// Normalized is a required field
	Normalized *int64 `type:"integer" required:"true"`

	// The native severity as defined by the AWS service or integrated partner product
	// that generated the finding.
	Product *float64 `type:"double"`
	// contains filtered or unexported fields
}

The severity of the finding. Please also see https://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/Severity

func (Severity) MarshalFields

func (s Severity) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (Severity) String

func (s Severity) String() string

String returns the string representation

func (*Severity) Validate

func (s *Severity) Validate() error

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

type SortCriterion

type SortCriterion struct {

	// The finding attribute used to sort findings.
	Field *string `type:"string"`

	// The order used to sort findings.
	SortOrder SortOrder `type:"string" enum:"true"`
	// contains filtered or unexported fields
}

A collection of finding attributes used to sort findings. Please also see https://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/SortCriterion

func (SortCriterion) MarshalFields

func (s SortCriterion) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (SortCriterion) String

func (s SortCriterion) String() string

String returns the string representation

type SortOrder

type SortOrder string
const (
	SortOrderAsc  SortOrder = "asc"
	SortOrderDesc SortOrder = "desc"
)

Enum values for SortOrder

func (SortOrder) MarshalValue

func (enum SortOrder) MarshalValue() (string, error)

func (SortOrder) MarshalValueBuf

func (enum SortOrder) MarshalValueBuf(b []byte) ([]byte, error)

type StandardsStatus

type StandardsStatus string
const (
	StandardsStatusPending    StandardsStatus = "PENDING"
	StandardsStatusReady      StandardsStatus = "READY"
	StandardsStatusFailed     StandardsStatus = "FAILED"
	StandardsStatusDeleting   StandardsStatus = "DELETING"
	StandardsStatusIncomplete StandardsStatus = "INCOMPLETE"
)

Enum values for StandardsStatus

func (StandardsStatus) MarshalValue

func (enum StandardsStatus) MarshalValue() (string, error)

func (StandardsStatus) MarshalValueBuf

func (enum StandardsStatus) MarshalValueBuf(b []byte) ([]byte, error)

type StandardsSubscription

type StandardsSubscription struct {

	// The ARN of a standard.
	//
	// In this release, Security Hub supports only the CIS AWS Foundations standard,
	// which uses the following ARN: arn:aws:securityhub:::ruleset/cis-aws-foundations-benchmark/v/1.2.0.
	//
	// StandardsArn is a required field
	StandardsArn *string `type:"string" required:"true"`

	// A key-value pair of input for the standard.
	//
	// StandardsInput is a required field
	StandardsInput map[string]string `type:"map" required:"true"`

	// The status of the standards subscription.
	//
	// StandardsStatus is a required field
	StandardsStatus StandardsStatus `type:"string" required:"true" enum:"true"`

	// The ARN of a resource that represents your subscription to a supported standard.
	//
	// StandardsSubscriptionArn is a required field
	StandardsSubscriptionArn *string `type:"string" required:"true"`
	// contains filtered or unexported fields
}

A resource that represents your subscription to a supported standard. Please also see https://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/StandardsSubscription

func (StandardsSubscription) MarshalFields

func (s StandardsSubscription) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (StandardsSubscription) String

func (s StandardsSubscription) String() string

String returns the string representation

type StandardsSubscriptionRequest

type StandardsSubscriptionRequest struct {

	// The ARN of the standard that you want to enable.
	//
	// In this release, Security Hub only supports the CIS AWS Foundations standard.
	//
	// Its ARN is arn:aws:securityhub:::ruleset/cis-aws-foundations-benchmark/v/1.2.0.
	//
	// StandardsArn is a required field
	StandardsArn *string `type:"string" required:"true"`

	// A key-value pair of input for the standard.
	StandardsInput map[string]string `type:"map"`
	// contains filtered or unexported fields
}

The standard that you want to enable. Please also see https://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/StandardsSubscriptionRequest

func (StandardsSubscriptionRequest) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (StandardsSubscriptionRequest) String

String returns the string representation

func (*StandardsSubscriptionRequest) Validate

func (s *StandardsSubscriptionRequest) Validate() error

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

type StringFilter

type StringFilter struct {

	// The condition to be applied to a string value when querying for findings.
	Comparison StringFilterComparison `type:"string" enum:"true"`

	// The string filter value.
	Value *string `type:"string"`
	// contains filtered or unexported fields
}

A string filter for querying findings. Please also see https://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/StringFilter

func (StringFilter) MarshalFields

func (s StringFilter) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (StringFilter) String

func (s StringFilter) String() string

String returns the string representation

type StringFilterComparison

type StringFilterComparison string
const (
	StringFilterComparisonEquals StringFilterComparison = "EQUALS"
	StringFilterComparisonPrefix StringFilterComparison = "PREFIX"
)

Enum values for StringFilterComparison

func (StringFilterComparison) MarshalValue

func (enum StringFilterComparison) MarshalValue() (string, error)

func (StringFilterComparison) MarshalValueBuf

func (enum StringFilterComparison) MarshalValueBuf(b []byte) ([]byte, error)

type TagResourceInput added in v0.10.0

type TagResourceInput struct {

	// The ARN of the resource to apply the tags to.
	//
	// ResourceArn is a required field
	ResourceArn *string `location:"uri" locationName:"ResourceArn" type:"string" required:"true"`

	// The tags to add to the resource.
	//
	// Tags is a required field
	Tags map[string]string `min:"1" type:"map" required:"true"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/TagResourceRequest

func (TagResourceInput) MarshalFields added in v0.10.0

func (s TagResourceInput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (TagResourceInput) String added in v0.10.0

func (s TagResourceInput) String() string

String returns the string representation

func (*TagResourceInput) Validate added in v0.10.0

func (s *TagResourceInput) Validate() error

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

type TagResourceOutput added in v0.10.0

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

Please also see https://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/TagResourceResponse

func (TagResourceOutput) MarshalFields added in v0.10.0

func (s TagResourceOutput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (TagResourceOutput) String added in v0.10.0

func (s TagResourceOutput) String() string

String returns the string representation

type TagResourceRequest added in v0.10.0

type TagResourceRequest struct {
	*aws.Request
	Input *TagResourceInput
	Copy  func(*TagResourceInput) TagResourceRequest
}

TagResourceRequest is the request type for the TagResource API operation.

func (TagResourceRequest) Send added in v0.10.0

Send marshals and sends the TagResource API request.

type TagResourceResponse added in v0.10.0

type TagResourceResponse struct {
	*TagResourceOutput
	// contains filtered or unexported fields
}

TagResourceResponse is the response type for the TagResource API operation.

func (*TagResourceResponse) SDKResponseMetdata added in v0.10.0

func (r *TagResourceResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the TagResource request.

type ThreatIntelIndicator

type ThreatIntelIndicator struct {

	// The category of a threat intel indicator.
	Category ThreatIntelIndicatorCategory `type:"string" enum:"true"`

	// The date and time when the most recent instance of a threat intel indicator
	// was observed.
	LastObservedAt *string `type:"string"`

	// The source of the threat intel indicator.
	Source *string `type:"string"`

	// The URL to the page or site where you can get more information about the
	// threat intel indicator.
	SourceUrl *string `type:"string"`

	// The type of a threat intel indicator.
	Type ThreatIntelIndicatorType `type:"string" enum:"true"`

	// The value of a threat intel indicator.
	Value *string `type:"string"`
	// contains filtered or unexported fields
}

Details about the threat intel related to a finding. Please also see https://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/ThreatIntelIndicator

func (ThreatIntelIndicator) MarshalFields

func (s ThreatIntelIndicator) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (ThreatIntelIndicator) String

func (s ThreatIntelIndicator) String() string

String returns the string representation

type ThreatIntelIndicatorCategory

type ThreatIntelIndicatorCategory string
const (
	ThreatIntelIndicatorCategoryBackdoor          ThreatIntelIndicatorCategory = "BACKDOOR"
	ThreatIntelIndicatorCategoryCardStealer       ThreatIntelIndicatorCategory = "CARD_STEALER"
	ThreatIntelIndicatorCategoryCommandAndControl ThreatIntelIndicatorCategory = "COMMAND_AND_CONTROL"
	ThreatIntelIndicatorCategoryDropSite          ThreatIntelIndicatorCategory = "DROP_SITE"
	ThreatIntelIndicatorCategoryExploitSite       ThreatIntelIndicatorCategory = "EXPLOIT_SITE"
	ThreatIntelIndicatorCategoryKeylogger         ThreatIntelIndicatorCategory = "KEYLOGGER"
)

Enum values for ThreatIntelIndicatorCategory

func (ThreatIntelIndicatorCategory) MarshalValue

func (enum ThreatIntelIndicatorCategory) MarshalValue() (string, error)

func (ThreatIntelIndicatorCategory) MarshalValueBuf

func (enum ThreatIntelIndicatorCategory) MarshalValueBuf(b []byte) ([]byte, error)

type ThreatIntelIndicatorType

type ThreatIntelIndicatorType string
const (
	ThreatIntelIndicatorTypeDomain       ThreatIntelIndicatorType = "DOMAIN"
	ThreatIntelIndicatorTypeEmailAddress ThreatIntelIndicatorType = "EMAIL_ADDRESS"
	ThreatIntelIndicatorTypeHashMd5      ThreatIntelIndicatorType = "HASH_MD5"
	ThreatIntelIndicatorTypeHashSha1     ThreatIntelIndicatorType = "HASH_SHA1"
	ThreatIntelIndicatorTypeHashSha256   ThreatIntelIndicatorType = "HASH_SHA256"
	ThreatIntelIndicatorTypeHashSha512   ThreatIntelIndicatorType = "HASH_SHA512"
	ThreatIntelIndicatorTypeIpv4Address  ThreatIntelIndicatorType = "IPV4_ADDRESS"
	ThreatIntelIndicatorTypeIpv6Address  ThreatIntelIndicatorType = "IPV6_ADDRESS"
	ThreatIntelIndicatorTypeMutex        ThreatIntelIndicatorType = "MUTEX"
	ThreatIntelIndicatorTypeProcess      ThreatIntelIndicatorType = "PROCESS"
	ThreatIntelIndicatorTypeUrl          ThreatIntelIndicatorType = "URL"
)

Enum values for ThreatIntelIndicatorType

func (ThreatIntelIndicatorType) MarshalValue

func (enum ThreatIntelIndicatorType) MarshalValue() (string, error)

func (ThreatIntelIndicatorType) MarshalValueBuf

func (enum ThreatIntelIndicatorType) MarshalValueBuf(b []byte) ([]byte, error)

type UntagResourceInput added in v0.10.0

type UntagResourceInput struct {

	// The ARN of the resource to remove the tags from.
	//
	// ResourceArn is a required field
	ResourceArn *string `location:"uri" locationName:"ResourceArn" type:"string" required:"true"`

	// The tag keys associated with the tags to remove from the resource.
	//
	// TagKeys is a required field
	TagKeys []string `location:"querystring" locationName:"tagKeys" min:"1" type:"list" required:"true"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/UntagResourceRequest

func (UntagResourceInput) MarshalFields added in v0.10.0

func (s UntagResourceInput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (UntagResourceInput) String added in v0.10.0

func (s UntagResourceInput) String() string

String returns the string representation

func (*UntagResourceInput) Validate added in v0.10.0

func (s *UntagResourceInput) Validate() error

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

type UntagResourceOutput added in v0.10.0

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

Please also see https://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/UntagResourceResponse

func (UntagResourceOutput) MarshalFields added in v0.10.0

func (s UntagResourceOutput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (UntagResourceOutput) String added in v0.10.0

func (s UntagResourceOutput) String() string

String returns the string representation

type UntagResourceRequest added in v0.10.0

type UntagResourceRequest struct {
	*aws.Request
	Input *UntagResourceInput
	Copy  func(*UntagResourceInput) UntagResourceRequest
}

UntagResourceRequest is the request type for the UntagResource API operation.

func (UntagResourceRequest) Send added in v0.10.0

Send marshals and sends the UntagResource API request.

type UntagResourceResponse added in v0.10.0

type UntagResourceResponse struct {
	*UntagResourceOutput
	// contains filtered or unexported fields
}

UntagResourceResponse is the response type for the UntagResource API operation.

func (*UntagResourceResponse) SDKResponseMetdata added in v0.10.0

func (r *UntagResourceResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the UntagResource request.

type UpdateActionTargetInput added in v0.10.0

type UpdateActionTargetInput struct {

	// The ARN of the custom action target to update.
	//
	// ActionTargetArn is a required field
	ActionTargetArn *string `location:"uri" locationName:"ActionTargetArn" type:"string" required:"true"`

	// The updated description for the custom action target.
	Description *string `type:"string"`

	// The updated name of the custom action target.
	Name *string `type:"string"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/UpdateActionTargetRequest

func (UpdateActionTargetInput) MarshalFields added in v0.10.0

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (UpdateActionTargetInput) String added in v0.10.0

func (s UpdateActionTargetInput) String() string

String returns the string representation

func (*UpdateActionTargetInput) Validate added in v0.10.0

func (s *UpdateActionTargetInput) Validate() error

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

type UpdateActionTargetOutput added in v0.10.0

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

Please also see https://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/UpdateActionTargetResponse

func (UpdateActionTargetOutput) MarshalFields added in v0.10.0

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (UpdateActionTargetOutput) String added in v0.10.0

func (s UpdateActionTargetOutput) String() string

String returns the string representation

type UpdateActionTargetRequest added in v0.10.0

type UpdateActionTargetRequest struct {
	*aws.Request
	Input *UpdateActionTargetInput
	Copy  func(*UpdateActionTargetInput) UpdateActionTargetRequest
}

UpdateActionTargetRequest is the request type for the UpdateActionTarget API operation.

func (UpdateActionTargetRequest) Send added in v0.10.0

Send marshals and sends the UpdateActionTarget API request.

type UpdateActionTargetResponse added in v0.10.0

type UpdateActionTargetResponse struct {
	*UpdateActionTargetOutput
	// contains filtered or unexported fields
}

UpdateActionTargetResponse is the response type for the UpdateActionTarget API operation.

func (*UpdateActionTargetResponse) SDKResponseMetdata added in v0.10.0

func (r *UpdateActionTargetResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the UpdateActionTarget request.

type UpdateFindingsInput

type UpdateFindingsInput struct {

	// A collection of attributes that specify which findings you want to update.
	//
	// Filters is a required field
	Filters *AwsSecurityFindingFilters `type:"structure" required:"true"`

	// The updated note for the finding.
	Note *NoteUpdate `type:"structure"`

	// The updated record state for the finding.
	RecordState RecordState `type:"string" enum:"true"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/UpdateFindingsRequest

func (UpdateFindingsInput) MarshalFields

func (s UpdateFindingsInput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (UpdateFindingsInput) String

func (s UpdateFindingsInput) String() string

String returns the string representation

func (*UpdateFindingsInput) Validate

func (s *UpdateFindingsInput) Validate() error

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

type UpdateFindingsOutput

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

Please also see https://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/UpdateFindingsResponse

func (UpdateFindingsOutput) MarshalFields

func (s UpdateFindingsOutput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (UpdateFindingsOutput) String

func (s UpdateFindingsOutput) String() string

String returns the string representation

type UpdateFindingsRequest

type UpdateFindingsRequest struct {
	*aws.Request
	Input *UpdateFindingsInput
	Copy  func(*UpdateFindingsInput) UpdateFindingsRequest
}

UpdateFindingsRequest is the request type for the UpdateFindings API operation.

func (UpdateFindingsRequest) Send

Send marshals and sends the UpdateFindings API request.

type UpdateFindingsResponse added in v0.9.0

type UpdateFindingsResponse struct {
	*UpdateFindingsOutput
	// contains filtered or unexported fields
}

UpdateFindingsResponse is the response type for the UpdateFindings API operation.

func (*UpdateFindingsResponse) SDKResponseMetdata added in v0.9.0

func (r *UpdateFindingsResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the UpdateFindings request.

type UpdateInsightInput

type UpdateInsightInput struct {

	// The updated filters that define this insight.
	Filters *AwsSecurityFindingFilters `type:"structure"`

	// The updated GroupBy attribute that defines this insight.
	GroupByAttribute *string `type:"string"`

	// The ARN of the insight that you want to update.
	//
	// InsightArn is a required field
	InsightArn *string `location:"uri" locationName:"InsightArn" type:"string" required:"true"`

	// The updated name for the insight.
	Name *string `type:"string"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/UpdateInsightRequest

func (UpdateInsightInput) MarshalFields

func (s UpdateInsightInput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (UpdateInsightInput) String

func (s UpdateInsightInput) String() string

String returns the string representation

func (*UpdateInsightInput) Validate

func (s *UpdateInsightInput) Validate() error

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

type UpdateInsightOutput

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

Please also see https://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/UpdateInsightResponse

func (UpdateInsightOutput) MarshalFields

func (s UpdateInsightOutput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (UpdateInsightOutput) String

func (s UpdateInsightOutput) String() string

String returns the string representation

type UpdateInsightRequest

type UpdateInsightRequest struct {
	*aws.Request
	Input *UpdateInsightInput
	Copy  func(*UpdateInsightInput) UpdateInsightRequest
}

UpdateInsightRequest is the request type for the UpdateInsight API operation.

func (UpdateInsightRequest) Send

Send marshals and sends the UpdateInsight API request.

type UpdateInsightResponse added in v0.9.0

type UpdateInsightResponse struct {
	*UpdateInsightOutput
	// contains filtered or unexported fields
}

UpdateInsightResponse is the response type for the UpdateInsight API operation.

func (*UpdateInsightResponse) SDKResponseMetdata added in v0.9.0

func (r *UpdateInsightResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the UpdateInsight request.

type VerificationState

type VerificationState string
const (
	VerificationStateUnknown        VerificationState = "UNKNOWN"
	VerificationStateTruePositive   VerificationState = "TRUE_POSITIVE"
	VerificationStateFalsePositive  VerificationState = "FALSE_POSITIVE"
	VerificationStateBenignPositive VerificationState = "BENIGN_POSITIVE"
)

Enum values for VerificationState

func (VerificationState) MarshalValue

func (enum VerificationState) MarshalValue() (string, error)

func (VerificationState) MarshalValueBuf

func (enum VerificationState) MarshalValueBuf(b []byte) ([]byte, error)

type WorkflowState

type WorkflowState string
const (
	WorkflowStateNew        WorkflowState = "NEW"
	WorkflowStateAssigned   WorkflowState = "ASSIGNED"
	WorkflowStateInProgress WorkflowState = "IN_PROGRESS"
	WorkflowStateDeferred   WorkflowState = "DEFERRED"
	WorkflowStateResolved   WorkflowState = "RESOLVED"
)

Enum values for WorkflowState

func (WorkflowState) MarshalValue

func (enum WorkflowState) MarshalValue() (string, error)

func (WorkflowState) MarshalValueBuf

func (enum WorkflowState) MarshalValueBuf(b []byte) ([]byte, error)

Directories

Path Synopsis
Package securityhubiface provides an interface to enable mocking the AWS SecurityHub service client for testing your code.
Package securityhubiface provides an interface to enable mocking the AWS SecurityHub service client for testing your code.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL