Documentation ¶
Index ¶
- Variables
- func NewIntegrationsManagerServer(handler IntegrationsManager, opts ...IntegrationsManagerServerOption) http.Handler
- type AsgOptions
- func (*AsgOptions) Descriptor() ([]byte, []int)deprecated
- func (x *AsgOptions) GetImageType() string
- func (x *AsgOptions) GetInstanceType() string
- func (x *AsgOptions) GetMaxInstances() int32
- func (*AsgOptions) ProtoMessage()
- func (x *AsgOptions) ProtoReflect() protoreflect.Message
- func (x *AsgOptions) Reset()
- func (x *AsgOptions) String() string
- type AwsConfigurationOptions
- func (*AwsConfigurationOptions) Descriptor() ([]byte, []int)deprecated
- func (x *AwsConfigurationOptions) GetIsOrganization() bool
- func (x *AwsConfigurationOptions) GetRegion() string
- func (x *AwsConfigurationOptions) GetScanConfiguration() *ScanConfiguration
- func (x *AwsConfigurationOptions) GetSnsEndpoint() string
- func (*AwsConfigurationOptions) ProtoMessage()
- func (x *AwsConfigurationOptions) ProtoReflect() protoreflect.Message
- func (x *AwsConfigurationOptions) Reset()
- func (x *AwsConfigurationOptions) String() string
- type AwsConfigurationOptionsInput
- func (*AwsConfigurationOptionsInput) Descriptor() ([]byte, []int)deprecated
- func (x *AwsConfigurationOptionsInput) GetIsOrganization() bool
- func (x *AwsConfigurationOptionsInput) GetRegion() string
- func (x *AwsConfigurationOptionsInput) GetScanConfiguration() *ScanConfiguration
- func (*AwsConfigurationOptionsInput) ProtoMessage()
- func (x *AwsConfigurationOptionsInput) ProtoReflect() protoreflect.Message
- func (x *AwsConfigurationOptionsInput) Reset()
- func (x *AwsConfigurationOptionsInput) String() string
- type Configuration
- func (*Configuration) Descriptor() ([]byte, []int)deprecated
- func (x *Configuration) GetAwsOptions() *AwsConfigurationOptions
- func (m *Configuration) GetConfigOptions() isConfiguration_ConfigOptions
- func (x *Configuration) GetK8SOptions() *K8SConfigurationOptions
- func (x *Configuration) GetOptions() *structpb.Struct
- func (x *Configuration) GetState() *structpb.Struct
- func (*Configuration) ProtoMessage()
- func (x *Configuration) ProtoReflect() protoreflect.Message
- func (x *Configuration) Reset()
- func (x *Configuration) String() string
- type ConfigurationInput
- func (*ConfigurationInput) Descriptor() ([]byte, []int)deprecated
- func (x *ConfigurationInput) GetAwsOptions() *AwsConfigurationOptionsInput
- func (m *ConfigurationInput) GetConfigOptions() isConfigurationInput_ConfigOptions
- func (x *ConfigurationInput) GetK8SOptions() *K8SConfigurationOptionsInput
- func (x *ConfigurationInput) GetOptions() *structpb.Struct
- func (x *ConfigurationInput) GetState() *structpb.Struct
- func (*ConfigurationInput) ProtoMessage()
- func (x *ConfigurationInput) ProtoReflect() protoreflect.Message
- func (x *ConfigurationInput) Reset()
- func (x *ConfigurationInput) String() string
- type ConfigurationInput_AwsOptions
- type ConfigurationInput_K8SOptions
- type Configuration_AwsOptions
- type Configuration_K8SOptions
- type CreateIntegrationRequest
- func (*CreateIntegrationRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateIntegrationRequest) GetConfigurationInput() *ConfigurationInput
- func (x *CreateIntegrationRequest) GetIdentifiers() []string
- func (x *CreateIntegrationRequest) GetLabels() map[string]string
- func (x *CreateIntegrationRequest) GetLongLivedToken() bool
- func (x *CreateIntegrationRequest) GetName() string
- func (x *CreateIntegrationRequest) GetSpaceMrn() string
- func (x *CreateIntegrationRequest) GetType() Type
- func (*CreateIntegrationRequest) ProtoMessage()
- func (x *CreateIntegrationRequest) ProtoReflect() protoreflect.Message
- func (x *CreateIntegrationRequest) Reset()
- func (x *CreateIntegrationRequest) String() string
- type CreateIntegrationResponse
- func (*CreateIntegrationResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CreateIntegrationResponse) GetIntegration() *Integration
- func (*CreateIntegrationResponse) ProtoMessage()
- func (x *CreateIntegrationResponse) ProtoReflect() protoreflect.Message
- func (x *CreateIntegrationResponse) Reset()
- func (x *CreateIntegrationResponse) String() string
- type DeleteIntegrationRequest
- func (*DeleteIntegrationRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteIntegrationRequest) GetMrn() string
- func (*DeleteIntegrationRequest) ProtoMessage()
- func (x *DeleteIntegrationRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteIntegrationRequest) Reset()
- func (x *DeleteIntegrationRequest) String() string
- type DeleteIntegrationResponse
- type EbsScanOptions
- func (*EbsScanOptions) Descriptor() ([]byte, []int)deprecated
- func (x *EbsScanOptions) GetAsgOptions() *AsgOptions
- func (x *EbsScanOptions) GetTargetInstancesPerScanner() int32
- func (*EbsScanOptions) ProtoMessage()
- func (x *EbsScanOptions) ProtoReflect() protoreflect.Message
- func (x *EbsScanOptions) Reset()
- func (x *EbsScanOptions) String() string
- type Ec2ScanOptions
- func (*Ec2ScanOptions) Descriptor() ([]byte, []int)deprecated
- func (x *Ec2ScanOptions) GetAwsSecretsManagerVault() bool
- func (x *Ec2ScanOptions) GetEbsScanOptions() *EbsScanOptions
- func (x *Ec2ScanOptions) GetEbsVolumeScan() bool
- func (x *Ec2ScanOptions) GetInstanceIdsFilter() []string
- func (x *Ec2ScanOptions) GetRegionsFilter() []string
- func (x *Ec2ScanOptions) GetSecretsMetadataQuery() string
- func (x *Ec2ScanOptions) GetSsm() bool
- func (x *Ec2ScanOptions) GetTagsFilter() map[string]string
- func (x *Ec2ScanOptions) GetVaultType() VaultType
- func (*Ec2ScanOptions) ProtoMessage()
- func (x *Ec2ScanOptions) ProtoReflect() protoreflect.Message
- func (x *Ec2ScanOptions) Reset()
- func (x *Ec2ScanOptions) String() string
- type EventPattern
- func (*EventPattern) Descriptor() ([]byte, []int)deprecated
- func (x *EventPattern) GetEventDetailType() string
- func (x *EventPattern) GetEventSource() string
- func (x *EventPattern) GetScanType() ScanType
- func (*EventPattern) ProtoMessage()
- func (x *EventPattern) ProtoReflect() protoreflect.Message
- func (x *EventPattern) Reset()
- func (x *EventPattern) String() string
- type GetIntegrationRequest
- func (*GetIntegrationRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetIntegrationRequest) GetMrn() string
- func (*GetIntegrationRequest) ProtoMessage()
- func (x *GetIntegrationRequest) ProtoReflect() protoreflect.Message
- func (x *GetIntegrationRequest) Reset()
- func (x *GetIntegrationRequest) String() string
- type GetNameRequest
- type GetNameResponse
- type GetTokenForIntegrationRequest
- func (*GetTokenForIntegrationRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetTokenForIntegrationRequest) GetLongLivedToken() bool
- func (x *GetTokenForIntegrationRequest) GetMrn() string
- func (*GetTokenForIntegrationRequest) ProtoMessage()
- func (x *GetTokenForIntegrationRequest) ProtoReflect() protoreflect.Message
- func (x *GetTokenForIntegrationRequest) Reset()
- func (x *GetTokenForIntegrationRequest) String() string
- type GetTokenForIntegrationResponse
- func (*GetTokenForIntegrationResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetTokenForIntegrationResponse) GetToken() string
- func (*GetTokenForIntegrationResponse) ProtoMessage()
- func (x *GetTokenForIntegrationResponse) ProtoReflect() protoreflect.Message
- func (x *GetTokenForIntegrationResponse) Reset()
- func (x *GetTokenForIntegrationResponse) String() string
- type Integration
- func (*Integration) Descriptor() ([]byte, []int)deprecated
- func (x *Integration) GetConfiguration() *Configuration
- func (x *Integration) GetCreatedAt() string
- func (x *Integration) GetCreatedBy() string
- func (x *Integration) GetError() *structpb.Struct
- func (x *Integration) GetIdentifiers() []string
- func (x *Integration) GetLabels() map[string]string
- func (x *Integration) GetLastCheckin() string
- func (x *Integration) GetLastModified() string
- func (x *Integration) GetMessages() *IntegrationMessages
- func (x *Integration) GetMrn() string
- func (x *Integration) GetName() string
- func (x *Integration) GetSpaceMrn() string
- func (x *Integration) GetStatus() Status
- func (x *Integration) GetToken() string
- func (x *Integration) GetType() Type
- func (*Integration) ProtoMessage()
- func (x *Integration) ProtoReflect() protoreflect.Message
- func (x *Integration) Reset()
- func (x *Integration) String() string
- type IntegrationMessage
- func (*IntegrationMessage) Descriptor() ([]byte, []int)deprecated
- func (x *IntegrationMessage) GetExtra() *structpb.Struct
- func (x *IntegrationMessage) GetIdentifier() string
- func (x *IntegrationMessage) GetMessage() string
- func (x *IntegrationMessage) GetReportedByAgent() bool
- func (x *IntegrationMessage) GetStatus() MessageStatus
- func (x *IntegrationMessage) GetTimestamp() string
- func (*IntegrationMessage) ProtoMessage()
- func (x *IntegrationMessage) ProtoReflect() protoreflect.Message
- func (x *IntegrationMessage) Reset()
- func (x *IntegrationMessage) String() string
- type IntegrationMessages
- func (*IntegrationMessages) Descriptor() ([]byte, []int)deprecated
- func (x *IntegrationMessages) GetMessages() []*IntegrationMessage
- func (*IntegrationMessages) ProtoMessage()
- func (x *IntegrationMessages) ProtoReflect() protoreflect.Message
- func (x *IntegrationMessages) Reset()
- func (x *IntegrationMessages) String() string
- type Integrations
- type IntegrationsManager
- type IntegrationsManagerClient
- func (c *IntegrationsManagerClient) Create(ctx context.Context, in *CreateIntegrationRequest) (*CreateIntegrationResponse, error)
- func (c *IntegrationsManagerClient) Delete(ctx context.Context, in *DeleteIntegrationRequest) (*DeleteIntegrationResponse, error)
- func (c *IntegrationsManagerClient) Get(ctx context.Context, in *GetIntegrationRequest) (*Integration, error)
- func (c *IntegrationsManagerClient) GetName(ctx context.Context, in *GetNameRequest) (*GetNameResponse, error)
- func (c *IntegrationsManagerClient) GetTokenForIntegration(ctx context.Context, in *GetTokenForIntegrationRequest) (*GetTokenForIntegrationResponse, error)
- func (c *IntegrationsManagerClient) List(ctx context.Context, in *Query) (*Integrations, error)
- func (c *IntegrationsManagerClient) Update(ctx context.Context, in *UpdateIntegrationRequest) (*UpdateIntegrationResponse, error)
- type IntegrationsManagerServer
- func (p *IntegrationsManagerServer) Create(ctx context.Context, reqBytes *[]byte) (pb.Message, error)
- func (p *IntegrationsManagerServer) Delete(ctx context.Context, reqBytes *[]byte) (pb.Message, error)
- func (p *IntegrationsManagerServer) Get(ctx context.Context, reqBytes *[]byte) (pb.Message, error)
- func (p *IntegrationsManagerServer) GetName(ctx context.Context, reqBytes *[]byte) (pb.Message, error)
- func (p *IntegrationsManagerServer) GetTokenForIntegration(ctx context.Context, reqBytes *[]byte) (pb.Message, error)
- func (p *IntegrationsManagerServer) List(ctx context.Context, reqBytes *[]byte) (pb.Message, error)
- func (p *IntegrationsManagerServer) Update(ctx context.Context, reqBytes *[]byte) (pb.Message, error)
- type IntegrationsManagerServerOption
- type K8SConfigurationOptions
- func (*K8SConfigurationOptions) Descriptor() ([]byte, []int)deprecated
- func (x *K8SConfigurationOptions) GetCertificateManager() string
- func (x *K8SConfigurationOptions) GetScanDeploys() bool
- func (x *K8SConfigurationOptions) GetScanNodes() bool
- func (x *K8SConfigurationOptions) GetScanPublicImages() bool
- func (x *K8SConfigurationOptions) GetScanWorkloads() bool
- func (*K8SConfigurationOptions) ProtoMessage()
- func (x *K8SConfigurationOptions) ProtoReflect() protoreflect.Message
- func (x *K8SConfigurationOptions) Reset()
- func (x *K8SConfigurationOptions) String() string
- type K8SConfigurationOptionsInput
- func (*K8SConfigurationOptionsInput) Descriptor() ([]byte, []int)deprecated
- func (x *K8SConfigurationOptionsInput) GetCertificateManager() string
- func (x *K8SConfigurationOptionsInput) GetScanDeploys() bool
- func (x *K8SConfigurationOptionsInput) GetScanNodes() bool
- func (x *K8SConfigurationOptionsInput) GetScanPublicImages() bool
- func (x *K8SConfigurationOptionsInput) GetScanWorkloads() bool
- func (*K8SConfigurationOptionsInput) ProtoMessage()
- func (x *K8SConfigurationOptionsInput) ProtoReflect() protoreflect.Message
- func (x *K8SConfigurationOptionsInput) Reset()
- func (x *K8SConfigurationOptionsInput) String() string
- type MessageStatus
- func (MessageStatus) Descriptor() protoreflect.EnumDescriptor
- func (x MessageStatus) Enum() *MessageStatus
- func (MessageStatus) EnumDescriptor() ([]byte, []int)deprecated
- func (x MessageStatus) Number() protoreflect.EnumNumber
- func (x MessageStatus) String() string
- func (MessageStatus) Type() protoreflect.EnumType
- type Query
- type ScanConfiguration
- func (*ScanConfiguration) Descriptor() ([]byte, []int)deprecated
- func (x *ScanConfiguration) GetAccountScan() bool
- func (x *ScanConfiguration) GetCronScanInHours() int32
- func (x *ScanConfiguration) GetEc2Scan() bool
- func (x *ScanConfiguration) GetEc2ScanOptions() *Ec2ScanOptions
- func (x *ScanConfiguration) GetEcrScan() bool
- func (x *ScanConfiguration) GetEventScanTriggers() []*EventPattern
- func (*ScanConfiguration) ProtoMessage()
- func (x *ScanConfiguration) ProtoReflect() protoreflect.Message
- func (x *ScanConfiguration) Reset()
- func (x *ScanConfiguration) String() string
- type ScanType
- type Status
- type Type
- type UpdateIntegrationRequest
- func (*UpdateIntegrationRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateIntegrationRequest) GetConfigurationInput() *ConfigurationInput
- func (x *UpdateIntegrationRequest) GetIdentifiers() []string
- func (x *UpdateIntegrationRequest) GetLabels() map[string]string
- func (x *UpdateIntegrationRequest) GetMrn() string
- func (x *UpdateIntegrationRequest) GetName() string
- func (*UpdateIntegrationRequest) ProtoMessage()
- func (x *UpdateIntegrationRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateIntegrationRequest) Reset()
- func (x *UpdateIntegrationRequest) String() string
- type UpdateIntegrationResponse
- func (*UpdateIntegrationResponse) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateIntegrationResponse) GetIntegration() *Integration
- func (*UpdateIntegrationResponse) ProtoMessage()
- func (x *UpdateIntegrationResponse) ProtoReflect() protoreflect.Message
- func (x *UpdateIntegrationResponse) Reset()
- func (x *UpdateIntegrationResponse) String() string
- type VaultType
Constants ¶
This section is empty.
Variables ¶
var ( Type_name = map[int32]string{ 0: "UNKNOWN", 1: "AWS", 2: "K8S", } Type_value = map[string]int32{ "UNKNOWN": 0, "AWS": 1, "K8S": 2, } )
Enum value maps for Type.
var ( Status_name = map[int32]string{ 0: "NOT_READY", 1: "WAITING_FOR_SETUP", 2: "ACTIVE", 3: "ERROR", 4: "DELETED", 5: "MISSING", 6: "WARNING", } Status_value = map[string]int32{ "NOT_READY": 0, "WAITING_FOR_SETUP": 1, "ACTIVE": 2, "ERROR": 3, "DELETED": 4, "MISSING": 5, "WARNING": 6, } )
Enum value maps for Status.
var ( MessageStatus_name = map[int32]string{ 0: "MESSAGE_UNKNOWN", 1: "MESSAGE_WARNING", 2: "MESSAGE_ERROR", 3: "MESSAGE_INFO", } MessageStatus_value = map[string]int32{ "MESSAGE_UNKNOWN": 0, "MESSAGE_WARNING": 1, "MESSAGE_ERROR": 2, "MESSAGE_INFO": 3, } )
Enum value maps for MessageStatus.
var ( ScanType_name = map[int32]string{ 0: "ALL", 1: "ACCOUNT", 2: "EC2", 3: "ECR", 4: "EBS", } ScanType_value = map[string]int32{ "ALL": 0, "ACCOUNT": 1, "EC2": 2, "ECR": 3, "EBS": 4, } )
Enum value maps for ScanType.
var ( VaultType_name = map[int32]string{ 0: "AWS_SECRETS_MANAGER", 1: "AWS_PARAMETER_STORE", } VaultType_value = map[string]int32{ "AWS_SECRETS_MANAGER": 0, "AWS_PARAMETER_STORE": 1, } )
Enum value maps for VaultType.
var File_integrations_proto protoreflect.FileDescriptor
Functions ¶
func NewIntegrationsManagerServer ¶
func NewIntegrationsManagerServer(handler IntegrationsManager, opts ...IntegrationsManagerServerOption) http.Handler
Types ¶
type AsgOptions ¶
type AsgOptions struct { MaxInstances int32 `protobuf:"varint,1,opt,name=max_instances,json=maxInstances,proto3" json:"max_instances,omitempty"` ImageType string `protobuf:"bytes,2,opt,name=image_type,json=imageType,proto3" json:"image_type,omitempty"` InstanceType string `protobuf:"bytes,3,opt,name=instance_type,json=instanceType,proto3" json:"instance_type,omitempty"` // contains filtered or unexported fields }
func (*AsgOptions) Descriptor
deprecated
func (*AsgOptions) Descriptor() ([]byte, []int)
Deprecated: Use AsgOptions.ProtoReflect.Descriptor instead.
func (*AsgOptions) GetImageType ¶
func (x *AsgOptions) GetImageType() string
func (*AsgOptions) GetInstanceType ¶
func (x *AsgOptions) GetInstanceType() string
func (*AsgOptions) GetMaxInstances ¶
func (x *AsgOptions) GetMaxInstances() int32
func (*AsgOptions) ProtoMessage ¶
func (*AsgOptions) ProtoMessage()
func (*AsgOptions) ProtoReflect ¶
func (x *AsgOptions) ProtoReflect() protoreflect.Message
func (*AsgOptions) Reset ¶
func (x *AsgOptions) Reset()
func (*AsgOptions) String ¶
func (x *AsgOptions) String() string
type AwsConfigurationOptions ¶
type AwsConfigurationOptions struct { Region string `protobuf:"bytes,1,opt,name=region,proto3" json:"region,omitempty"` IsOrganization bool `protobuf:"varint,2,opt,name=isOrganization,proto3" json:"isOrganization,omitempty"` ScanConfiguration *ScanConfiguration `protobuf:"bytes,3,opt,name=scan_configuration,json=scanConfiguration,proto3" json:"scan_configuration,omitempty"` SnsEndpoint string `protobuf:"bytes,4,opt,name=snsEndpoint,proto3" json:"snsEndpoint,omitempty"` // contains filtered or unexported fields }
func (*AwsConfigurationOptions) Descriptor
deprecated
func (*AwsConfigurationOptions) Descriptor() ([]byte, []int)
Deprecated: Use AwsConfigurationOptions.ProtoReflect.Descriptor instead.
func (*AwsConfigurationOptions) GetIsOrganization ¶
func (x *AwsConfigurationOptions) GetIsOrganization() bool
func (*AwsConfigurationOptions) GetRegion ¶
func (x *AwsConfigurationOptions) GetRegion() string
func (*AwsConfigurationOptions) GetScanConfiguration ¶
func (x *AwsConfigurationOptions) GetScanConfiguration() *ScanConfiguration
func (*AwsConfigurationOptions) GetSnsEndpoint ¶
func (x *AwsConfigurationOptions) GetSnsEndpoint() string
func (*AwsConfigurationOptions) ProtoMessage ¶
func (*AwsConfigurationOptions) ProtoMessage()
func (*AwsConfigurationOptions) ProtoReflect ¶
func (x *AwsConfigurationOptions) ProtoReflect() protoreflect.Message
func (*AwsConfigurationOptions) Reset ¶
func (x *AwsConfigurationOptions) Reset()
func (*AwsConfigurationOptions) String ¶
func (x *AwsConfigurationOptions) String() string
type AwsConfigurationOptionsInput ¶
type AwsConfigurationOptionsInput struct { Region string `protobuf:"bytes,1,opt,name=region,proto3" json:"region,omitempty"` IsOrganization bool `protobuf:"varint,2,opt,name=isOrganization,proto3" json:"isOrganization,omitempty"` ScanConfiguration *ScanConfiguration `protobuf:"bytes,3,opt,name=scan_configuration,json=scanConfiguration,proto3" json:"scan_configuration,omitempty"` // contains filtered or unexported fields }
func (*AwsConfigurationOptionsInput) Descriptor
deprecated
func (*AwsConfigurationOptionsInput) Descriptor() ([]byte, []int)
Deprecated: Use AwsConfigurationOptionsInput.ProtoReflect.Descriptor instead.
func (*AwsConfigurationOptionsInput) GetIsOrganization ¶
func (x *AwsConfigurationOptionsInput) GetIsOrganization() bool
func (*AwsConfigurationOptionsInput) GetRegion ¶
func (x *AwsConfigurationOptionsInput) GetRegion() string
func (*AwsConfigurationOptionsInput) GetScanConfiguration ¶
func (x *AwsConfigurationOptionsInput) GetScanConfiguration() *ScanConfiguration
func (*AwsConfigurationOptionsInput) ProtoMessage ¶
func (*AwsConfigurationOptionsInput) ProtoMessage()
func (*AwsConfigurationOptionsInput) ProtoReflect ¶
func (x *AwsConfigurationOptionsInput) ProtoReflect() protoreflect.Message
func (*AwsConfigurationOptionsInput) Reset ¶
func (x *AwsConfigurationOptionsInput) Reset()
func (*AwsConfigurationOptionsInput) String ¶
func (x *AwsConfigurationOptionsInput) String() string
type Configuration ¶
type Configuration struct { // options for the configuration. these are usually scan configuration options, // and they are added on integration create/updated with the integration update call // e.g. the struct representation of the object that says { scan_nodes: true, scan_workloads: false } // FIXME: can be replaced by config_options that provide more precise API spec. Options *structpb.Struct `protobuf:"bytes,1,opt,name=options,proto3" json:"options,omitempty"` // any kind of configuration state or other information about the integration. // stored so it can be displayed to the user as needed State *structpb.Struct `protobuf:"bytes,2,opt,name=state,proto3" json:"state,omitempty"` // the different integration option types. these can be used in place of 'options' to provide API safety and stability. // the options field can still be used in the future for exploratory/unstable integrations if needed. // // Types that are assignable to ConfigOptions: // // *Configuration_AwsOptions // *Configuration_K8SOptions ConfigOptions isConfiguration_ConfigOptions `protobuf_oneof:"config_options"` // contains filtered or unexported fields }
func (*Configuration) Descriptor
deprecated
func (*Configuration) Descriptor() ([]byte, []int)
Deprecated: Use Configuration.ProtoReflect.Descriptor instead.
func (*Configuration) GetAwsOptions ¶
func (x *Configuration) GetAwsOptions() *AwsConfigurationOptions
func (*Configuration) GetConfigOptions ¶
func (m *Configuration) GetConfigOptions() isConfiguration_ConfigOptions
func (*Configuration) GetK8SOptions ¶
func (x *Configuration) GetK8SOptions() *K8SConfigurationOptions
func (*Configuration) GetOptions ¶
func (x *Configuration) GetOptions() *structpb.Struct
func (*Configuration) GetState ¶
func (x *Configuration) GetState() *structpb.Struct
func (*Configuration) ProtoMessage ¶
func (*Configuration) ProtoMessage()
func (*Configuration) ProtoReflect ¶
func (x *Configuration) ProtoReflect() protoreflect.Message
func (*Configuration) Reset ¶
func (x *Configuration) Reset()
func (*Configuration) String ¶
func (x *Configuration) String() string
type ConfigurationInput ¶
type ConfigurationInput struct { // options for the configuration. these are usually scan configuration options, // and they are added on integration create/updated with the integration update call // e.g. the struct representation of the object that says { scan_nodes: true, scan_workloads: false } // FIXME: can be replaced by config_options that provide more precise API spec. Options *structpb.Struct `protobuf:"bytes,1,opt,name=options,proto3" json:"options,omitempty"` // any kind of configuration state or other information about the integration. // stored so it can be displayed to the user as needed State *structpb.Struct `protobuf:"bytes,2,opt,name=state,proto3" json:"state,omitempty"` // the different integration option types. these can be used in place of 'options' to provide API safety and stability. // the options field can still be used in the future for exploratory/unstable integrations if needed. // // Types that are assignable to ConfigOptions: // // *ConfigurationInput_AwsOptions // *ConfigurationInput_K8SOptions ConfigOptions isConfigurationInput_ConfigOptions `protobuf_oneof:"config_options"` // contains filtered or unexported fields }
func (*ConfigurationInput) Descriptor
deprecated
func (*ConfigurationInput) Descriptor() ([]byte, []int)
Deprecated: Use ConfigurationInput.ProtoReflect.Descriptor instead.
func (*ConfigurationInput) GetAwsOptions ¶
func (x *ConfigurationInput) GetAwsOptions() *AwsConfigurationOptionsInput
func (*ConfigurationInput) GetConfigOptions ¶
func (m *ConfigurationInput) GetConfigOptions() isConfigurationInput_ConfigOptions
func (*ConfigurationInput) GetK8SOptions ¶
func (x *ConfigurationInput) GetK8SOptions() *K8SConfigurationOptionsInput
func (*ConfigurationInput) GetOptions ¶
func (x *ConfigurationInput) GetOptions() *structpb.Struct
func (*ConfigurationInput) GetState ¶
func (x *ConfigurationInput) GetState() *structpb.Struct
func (*ConfigurationInput) ProtoMessage ¶
func (*ConfigurationInput) ProtoMessage()
func (*ConfigurationInput) ProtoReflect ¶
func (x *ConfigurationInput) ProtoReflect() protoreflect.Message
func (*ConfigurationInput) Reset ¶
func (x *ConfigurationInput) Reset()
func (*ConfigurationInput) String ¶
func (x *ConfigurationInput) String() string
type ConfigurationInput_AwsOptions ¶
type ConfigurationInput_AwsOptions struct {
AwsOptions *AwsConfigurationOptionsInput `protobuf:"bytes,3,opt,name=aws_options,json=awsOptions,proto3,oneof"`
}
type ConfigurationInput_K8SOptions ¶
type ConfigurationInput_K8SOptions struct {
K8SOptions *K8SConfigurationOptionsInput `protobuf:"bytes,4,opt,name=k8s_options,json=k8sOptions,proto3,oneof"`
}
type Configuration_AwsOptions ¶
type Configuration_AwsOptions struct {
AwsOptions *AwsConfigurationOptions `protobuf:"bytes,3,opt,name=aws_options,json=awsOptions,proto3,oneof"`
}
type Configuration_K8SOptions ¶
type Configuration_K8SOptions struct {
K8SOptions *K8SConfigurationOptions `protobuf:"bytes,4,opt,name=k8s_options,json=k8sOptions,proto3,oneof"`
}
type CreateIntegrationRequest ¶
type CreateIntegrationRequest struct { SpaceMrn string `protobuf:"bytes,1,opt,name=space_mrn,json=spaceMrn,proto3" json:"space_mrn,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` // optional, source identifiers for the integration (e.g. AWS account id) Identifiers []string `protobuf:"bytes,3,rep,name=identifiers,proto3" json:"identifiers,omitempty"` ConfigurationInput *ConfigurationInput `protobuf:"bytes,4,opt,name=configuration_input,json=configurationInput,proto3" json:"configuration_input,omitempty"` Labels map[string]string `` /* 153-byte string literal not displayed */ Type Type `protobuf:"varint,6,opt,name=type,proto3,enum=mondoo.integrations.v1.Type" json:"type,omitempty"` LongLivedToken bool `protobuf:"varint,7,opt,name=long_lived_token,json=longLivedToken,proto3" json:"long_lived_token,omitempty"` // contains filtered or unexported fields }
func (*CreateIntegrationRequest) Descriptor
deprecated
func (*CreateIntegrationRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateIntegrationRequest.ProtoReflect.Descriptor instead.
func (*CreateIntegrationRequest) GetConfigurationInput ¶
func (x *CreateIntegrationRequest) GetConfigurationInput() *ConfigurationInput
func (*CreateIntegrationRequest) GetIdentifiers ¶
func (x *CreateIntegrationRequest) GetIdentifiers() []string
func (*CreateIntegrationRequest) GetLabels ¶
func (x *CreateIntegrationRequest) GetLabels() map[string]string
func (*CreateIntegrationRequest) GetLongLivedToken ¶
func (x *CreateIntegrationRequest) GetLongLivedToken() bool
func (*CreateIntegrationRequest) GetName ¶
func (x *CreateIntegrationRequest) GetName() string
func (*CreateIntegrationRequest) GetSpaceMrn ¶
func (x *CreateIntegrationRequest) GetSpaceMrn() string
func (*CreateIntegrationRequest) GetType ¶
func (x *CreateIntegrationRequest) GetType() Type
func (*CreateIntegrationRequest) ProtoMessage ¶
func (*CreateIntegrationRequest) ProtoMessage()
func (*CreateIntegrationRequest) ProtoReflect ¶
func (x *CreateIntegrationRequest) ProtoReflect() protoreflect.Message
func (*CreateIntegrationRequest) Reset ¶
func (x *CreateIntegrationRequest) Reset()
func (*CreateIntegrationRequest) String ¶
func (x *CreateIntegrationRequest) String() string
type CreateIntegrationResponse ¶
type CreateIntegrationResponse struct { Integration *Integration `protobuf:"bytes,1,opt,name=integration,proto3" json:"integration,omitempty"` // contains filtered or unexported fields }
func (*CreateIntegrationResponse) Descriptor
deprecated
func (*CreateIntegrationResponse) Descriptor() ([]byte, []int)
Deprecated: Use CreateIntegrationResponse.ProtoReflect.Descriptor instead.
func (*CreateIntegrationResponse) GetIntegration ¶
func (x *CreateIntegrationResponse) GetIntegration() *Integration
func (*CreateIntegrationResponse) ProtoMessage ¶
func (*CreateIntegrationResponse) ProtoMessage()
func (*CreateIntegrationResponse) ProtoReflect ¶
func (x *CreateIntegrationResponse) ProtoReflect() protoreflect.Message
func (*CreateIntegrationResponse) Reset ¶
func (x *CreateIntegrationResponse) Reset()
func (*CreateIntegrationResponse) String ¶
func (x *CreateIntegrationResponse) String() string
type DeleteIntegrationRequest ¶
type DeleteIntegrationRequest struct { Mrn string `protobuf:"bytes,1,opt,name=mrn,proto3" json:"mrn,omitempty"` // contains filtered or unexported fields }
func (*DeleteIntegrationRequest) Descriptor
deprecated
func (*DeleteIntegrationRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteIntegrationRequest.ProtoReflect.Descriptor instead.
func (*DeleteIntegrationRequest) GetMrn ¶
func (x *DeleteIntegrationRequest) GetMrn() string
func (*DeleteIntegrationRequest) ProtoMessage ¶
func (*DeleteIntegrationRequest) ProtoMessage()
func (*DeleteIntegrationRequest) ProtoReflect ¶
func (x *DeleteIntegrationRequest) ProtoReflect() protoreflect.Message
func (*DeleteIntegrationRequest) Reset ¶
func (x *DeleteIntegrationRequest) Reset()
func (*DeleteIntegrationRequest) String ¶
func (x *DeleteIntegrationRequest) String() string
type DeleteIntegrationResponse ¶
type DeleteIntegrationResponse struct {
// contains filtered or unexported fields
}
func (*DeleteIntegrationResponse) Descriptor
deprecated
func (*DeleteIntegrationResponse) Descriptor() ([]byte, []int)
Deprecated: Use DeleteIntegrationResponse.ProtoReflect.Descriptor instead.
func (*DeleteIntegrationResponse) ProtoMessage ¶
func (*DeleteIntegrationResponse) ProtoMessage()
func (*DeleteIntegrationResponse) ProtoReflect ¶
func (x *DeleteIntegrationResponse) ProtoReflect() protoreflect.Message
func (*DeleteIntegrationResponse) Reset ¶
func (x *DeleteIntegrationResponse) Reset()
func (*DeleteIntegrationResponse) String ¶
func (x *DeleteIntegrationResponse) String() string
type EbsScanOptions ¶
type EbsScanOptions struct { AsgOptions *AsgOptions `protobuf:"bytes,1,opt,name=asg_options,json=asgOptions,proto3" json:"asg_options,omitempty"` // how many instances should 1 scanner instance be responsible for scanning // we divide total instances to scan by this number to determine the amount of instances to spin up TargetInstancesPerScanner int32 `` /* 141-byte string literal not displayed */ // contains filtered or unexported fields }
func (*EbsScanOptions) Descriptor
deprecated
func (*EbsScanOptions) Descriptor() ([]byte, []int)
Deprecated: Use EbsScanOptions.ProtoReflect.Descriptor instead.
func (*EbsScanOptions) GetAsgOptions ¶
func (x *EbsScanOptions) GetAsgOptions() *AsgOptions
func (*EbsScanOptions) GetTargetInstancesPerScanner ¶
func (x *EbsScanOptions) GetTargetInstancesPerScanner() int32
func (*EbsScanOptions) ProtoMessage ¶
func (*EbsScanOptions) ProtoMessage()
func (*EbsScanOptions) ProtoReflect ¶
func (x *EbsScanOptions) ProtoReflect() protoreflect.Message
func (*EbsScanOptions) Reset ¶
func (x *EbsScanOptions) Reset()
func (*EbsScanOptions) String ¶
func (x *EbsScanOptions) String() string
type Ec2ScanOptions ¶
type Ec2ScanOptions struct { Ssm bool `protobuf:"varint,1,opt,name=ssm,proto3" json:"ssm,omitempty"` AwsSecretsManagerVault bool `` /* 132-byte string literal not displayed */ SecretsMetadataQuery string `protobuf:"bytes,3,opt,name=secrets_metadata_query,json=secretsMetadataQuery,proto3" json:"secrets_metadata_query,omitempty"` InstanceIdsFilter []string `protobuf:"bytes,4,rep,name=instance_ids_filter,json=instanceIdsFilter,proto3" json:"instance_ids_filter,omitempty"` RegionsFilter []string `protobuf:"bytes,5,rep,name=regions_filter,json=regionsFilter,proto3" json:"regions_filter,omitempty"` TagsFilter map[string]string `` /* 179-byte string literal not displayed */ VaultType VaultType `` /* 127-byte string literal not displayed */ EbsVolumeScan bool `protobuf:"varint,8,opt,name=ebs_volume_scan,json=ebsVolumeScan,proto3" json:"ebs_volume_scan,omitempty"` EbsScanOptions *EbsScanOptions `protobuf:"bytes,9,opt,name=ebs_scan_options,json=ebsScanOptions,proto3" json:"ebs_scan_options,omitempty"` // contains filtered or unexported fields }
func (*Ec2ScanOptions) Descriptor
deprecated
func (*Ec2ScanOptions) Descriptor() ([]byte, []int)
Deprecated: Use Ec2ScanOptions.ProtoReflect.Descriptor instead.
func (*Ec2ScanOptions) GetAwsSecretsManagerVault ¶
func (x *Ec2ScanOptions) GetAwsSecretsManagerVault() bool
func (*Ec2ScanOptions) GetEbsScanOptions ¶
func (x *Ec2ScanOptions) GetEbsScanOptions() *EbsScanOptions
func (*Ec2ScanOptions) GetEbsVolumeScan ¶
func (x *Ec2ScanOptions) GetEbsVolumeScan() bool
func (*Ec2ScanOptions) GetInstanceIdsFilter ¶
func (x *Ec2ScanOptions) GetInstanceIdsFilter() []string
func (*Ec2ScanOptions) GetRegionsFilter ¶
func (x *Ec2ScanOptions) GetRegionsFilter() []string
func (*Ec2ScanOptions) GetSecretsMetadataQuery ¶
func (x *Ec2ScanOptions) GetSecretsMetadataQuery() string
func (*Ec2ScanOptions) GetSsm ¶
func (x *Ec2ScanOptions) GetSsm() bool
func (*Ec2ScanOptions) GetTagsFilter ¶
func (x *Ec2ScanOptions) GetTagsFilter() map[string]string
func (*Ec2ScanOptions) GetVaultType ¶
func (x *Ec2ScanOptions) GetVaultType() VaultType
func (*Ec2ScanOptions) ProtoMessage ¶
func (*Ec2ScanOptions) ProtoMessage()
func (*Ec2ScanOptions) ProtoReflect ¶
func (x *Ec2ScanOptions) ProtoReflect() protoreflect.Message
func (*Ec2ScanOptions) Reset ¶
func (x *Ec2ScanOptions) Reset()
func (*Ec2ScanOptions) String ¶
func (x *Ec2ScanOptions) String() string
type EventPattern ¶
type EventPattern struct { ScanType ScanType `protobuf:"varint,1,opt,name=scan_type,json=scanType,proto3,enum=mondoo.integrations.v1.ScanType" json:"scan_type,omitempty"` EventSource string `protobuf:"bytes,2,opt,name=event_source,json=eventSource,proto3" json:"event_source,omitempty"` EventDetailType string `protobuf:"bytes,3,opt,name=event_detail_type,json=eventDetailType,proto3" json:"event_detail_type,omitempty"` // contains filtered or unexported fields }
func (*EventPattern) Descriptor
deprecated
func (*EventPattern) Descriptor() ([]byte, []int)
Deprecated: Use EventPattern.ProtoReflect.Descriptor instead.
func (*EventPattern) GetEventDetailType ¶
func (x *EventPattern) GetEventDetailType() string
func (*EventPattern) GetEventSource ¶
func (x *EventPattern) GetEventSource() string
func (*EventPattern) GetScanType ¶
func (x *EventPattern) GetScanType() ScanType
func (*EventPattern) ProtoMessage ¶
func (*EventPattern) ProtoMessage()
func (*EventPattern) ProtoReflect ¶
func (x *EventPattern) ProtoReflect() protoreflect.Message
func (*EventPattern) Reset ¶
func (x *EventPattern) Reset()
func (*EventPattern) String ¶
func (x *EventPattern) String() string
type GetIntegrationRequest ¶
type GetIntegrationRequest struct { Mrn string `protobuf:"bytes,1,opt,name=mrn,proto3" json:"mrn,omitempty"` // contains filtered or unexported fields }
func (*GetIntegrationRequest) Descriptor
deprecated
func (*GetIntegrationRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetIntegrationRequest.ProtoReflect.Descriptor instead.
func (*GetIntegrationRequest) GetMrn ¶
func (x *GetIntegrationRequest) GetMrn() string
func (*GetIntegrationRequest) ProtoMessage ¶
func (*GetIntegrationRequest) ProtoMessage()
func (*GetIntegrationRequest) ProtoReflect ¶
func (x *GetIntegrationRequest) ProtoReflect() protoreflect.Message
func (*GetIntegrationRequest) Reset ¶
func (x *GetIntegrationRequest) Reset()
func (*GetIntegrationRequest) String ¶
func (x *GetIntegrationRequest) String() string
type GetNameRequest ¶
type GetNameRequest struct { Mrn string `protobuf:"bytes,1,opt,name=mrn,proto3" json:"mrn,omitempty"` // contains filtered or unexported fields }
func (*GetNameRequest) Descriptor
deprecated
func (*GetNameRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetNameRequest.ProtoReflect.Descriptor instead.
func (*GetNameRequest) GetMrn ¶
func (x *GetNameRequest) GetMrn() string
func (*GetNameRequest) ProtoMessage ¶
func (*GetNameRequest) ProtoMessage()
func (*GetNameRequest) ProtoReflect ¶
func (x *GetNameRequest) ProtoReflect() protoreflect.Message
func (*GetNameRequest) Reset ¶
func (x *GetNameRequest) Reset()
func (*GetNameRequest) String ¶
func (x *GetNameRequest) String() string
type GetNameResponse ¶
type GetNameResponse struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
func (*GetNameResponse) Descriptor
deprecated
func (*GetNameResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetNameResponse.ProtoReflect.Descriptor instead.
func (*GetNameResponse) GetName ¶
func (x *GetNameResponse) GetName() string
func (*GetNameResponse) ProtoMessage ¶
func (*GetNameResponse) ProtoMessage()
func (*GetNameResponse) ProtoReflect ¶
func (x *GetNameResponse) ProtoReflect() protoreflect.Message
func (*GetNameResponse) Reset ¶
func (x *GetNameResponse) Reset()
func (*GetNameResponse) String ¶
func (x *GetNameResponse) String() string
type GetTokenForIntegrationRequest ¶
type GetTokenForIntegrationRequest struct { Mrn string `protobuf:"bytes,1,opt,name=mrn,proto3" json:"mrn,omitempty"` LongLivedToken bool `protobuf:"varint,7,opt,name=long_lived_token,json=longLivedToken,proto3" json:"long_lived_token,omitempty"` // contains filtered or unexported fields }
func (*GetTokenForIntegrationRequest) Descriptor
deprecated
func (*GetTokenForIntegrationRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetTokenForIntegrationRequest.ProtoReflect.Descriptor instead.
func (*GetTokenForIntegrationRequest) GetLongLivedToken ¶
func (x *GetTokenForIntegrationRequest) GetLongLivedToken() bool
func (*GetTokenForIntegrationRequest) GetMrn ¶
func (x *GetTokenForIntegrationRequest) GetMrn() string
func (*GetTokenForIntegrationRequest) ProtoMessage ¶
func (*GetTokenForIntegrationRequest) ProtoMessage()
func (*GetTokenForIntegrationRequest) ProtoReflect ¶
func (x *GetTokenForIntegrationRequest) ProtoReflect() protoreflect.Message
func (*GetTokenForIntegrationRequest) Reset ¶
func (x *GetTokenForIntegrationRequest) Reset()
func (*GetTokenForIntegrationRequest) String ¶
func (x *GetTokenForIntegrationRequest) String() string
type GetTokenForIntegrationResponse ¶
type GetTokenForIntegrationResponse struct { Token string `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty"` // contains filtered or unexported fields }
func (*GetTokenForIntegrationResponse) Descriptor
deprecated
func (*GetTokenForIntegrationResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetTokenForIntegrationResponse.ProtoReflect.Descriptor instead.
func (*GetTokenForIntegrationResponse) GetToken ¶
func (x *GetTokenForIntegrationResponse) GetToken() string
func (*GetTokenForIntegrationResponse) ProtoMessage ¶
func (*GetTokenForIntegrationResponse) ProtoMessage()
func (*GetTokenForIntegrationResponse) ProtoReflect ¶
func (x *GetTokenForIntegrationResponse) ProtoReflect() protoreflect.Message
func (*GetTokenForIntegrationResponse) Reset ¶
func (x *GetTokenForIntegrationResponse) Reset()
func (*GetTokenForIntegrationResponse) String ¶
func (x *GetTokenForIntegrationResponse) String() string
type Integration ¶
type Integration struct { Mrn string `protobuf:"bytes,1,opt,name=mrn,proto3" json:"mrn,omitempty"` // user selected name for the integration (display name) Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` Status Status `protobuf:"varint,3,opt,name=status,proto3,enum=mondoo.integrations.v1.Status" json:"status,omitempty"` CreatedAt string `protobuf:"bytes,4,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` LastModified string `protobuf:"bytes,5,opt,name=last_modified,json=lastModified,proto3" json:"last_modified,omitempty"` // scan configuration options for the integration Configuration *Configuration `protobuf:"bytes,6,opt,name=configuration,proto3" json:"configuration,omitempty"` // the error object reported to the integration // FIXME: deprecated - this can be removed and replaced by IntegrationMessages. Error *structpb.Struct `protobuf:"bytes,7,opt,name=error,proto3" json:"error,omitempty"` // time of last checkin from integration client LastCheckin string `protobuf:"bytes,8,opt,name=last_checkin,json=lastCheckin,proto3" json:"last_checkin,omitempty"` // token associated with the integration Token string `protobuf:"bytes,9,opt,name=token,proto3" json:"token,omitempty"` // optional, source identifiers for the integration, e.g. a list of AWS account ids Identifiers []string `protobuf:"bytes,10,rep,name=identifiers,proto3" json:"identifiers,omitempty"` Labels map[string]string `` /* 154-byte string literal not displayed */ // enum for the integration type: AWS, K8s, etc Type Type `protobuf:"varint,12,opt,name=type,proto3,enum=mondoo.integrations.v1.Type" json:"type,omitempty"` SpaceMrn string `protobuf:"bytes,13,opt,name=space_mrn,json=spaceMrn,proto3" json:"space_mrn,omitempty"` // messages that convey extra information about the integration - these messages can be informational, warnings or errors. Messages *IntegrationMessages `protobuf:"bytes,14,opt,name=messages,proto3" json:"messages,omitempty"` // mrn of the user that created the integration CreatedBy string `protobuf:"bytes,15,opt,name=created_by,json=createdBy,proto3" json:"created_by,omitempty"` // contains filtered or unexported fields }
func (*Integration) Descriptor
deprecated
func (*Integration) Descriptor() ([]byte, []int)
Deprecated: Use Integration.ProtoReflect.Descriptor instead.
func (*Integration) GetConfiguration ¶
func (x *Integration) GetConfiguration() *Configuration
func (*Integration) GetCreatedAt ¶
func (x *Integration) GetCreatedAt() string
func (*Integration) GetCreatedBy ¶
func (x *Integration) GetCreatedBy() string
func (*Integration) GetError ¶
func (x *Integration) GetError() *structpb.Struct
func (*Integration) GetIdentifiers ¶
func (x *Integration) GetIdentifiers() []string
func (*Integration) GetLabels ¶
func (x *Integration) GetLabels() map[string]string
func (*Integration) GetLastCheckin ¶
func (x *Integration) GetLastCheckin() string
func (*Integration) GetLastModified ¶
func (x *Integration) GetLastModified() string
func (*Integration) GetMessages ¶
func (x *Integration) GetMessages() *IntegrationMessages
func (*Integration) GetMrn ¶
func (x *Integration) GetMrn() string
func (*Integration) GetName ¶
func (x *Integration) GetName() string
func (*Integration) GetSpaceMrn ¶
func (x *Integration) GetSpaceMrn() string
func (*Integration) GetStatus ¶
func (x *Integration) GetStatus() Status
func (*Integration) GetToken ¶
func (x *Integration) GetToken() string
func (*Integration) GetType ¶
func (x *Integration) GetType() Type
func (*Integration) ProtoMessage ¶
func (*Integration) ProtoMessage()
func (*Integration) ProtoReflect ¶
func (x *Integration) ProtoReflect() protoreflect.Message
func (*Integration) Reset ¶
func (x *Integration) Reset()
func (*Integration) String ¶
func (x *Integration) String() string
type IntegrationMessage ¶
type IntegrationMessage struct { Message string `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"` Timestamp string `protobuf:"bytes,2,opt,name=timestamp,proto3" json:"timestamp,omitempty"` Status MessageStatus `protobuf:"varint,3,opt,name=status,proto3,enum=mondoo.integrations.v1.MessageStatus" json:"status,omitempty"` ReportedByAgent bool `protobuf:"varint,4,opt,name=reported_by_agent,json=reportedByAgent,proto3" json:"reported_by_agent,omitempty"` Identifier string `protobuf:"bytes,5,opt,name=identifier,proto3" json:"identifier,omitempty"` // Anything extra that the message might contain. Extra *structpb.Struct `protobuf:"bytes,6,opt,name=extra,proto3" json:"extra,omitempty"` // contains filtered or unexported fields }
func (*IntegrationMessage) Descriptor
deprecated
func (*IntegrationMessage) Descriptor() ([]byte, []int)
Deprecated: Use IntegrationMessage.ProtoReflect.Descriptor instead.
func (*IntegrationMessage) GetExtra ¶
func (x *IntegrationMessage) GetExtra() *structpb.Struct
func (*IntegrationMessage) GetIdentifier ¶
func (x *IntegrationMessage) GetIdentifier() string
func (*IntegrationMessage) GetMessage ¶
func (x *IntegrationMessage) GetMessage() string
func (*IntegrationMessage) GetReportedByAgent ¶
func (x *IntegrationMessage) GetReportedByAgent() bool
func (*IntegrationMessage) GetStatus ¶
func (x *IntegrationMessage) GetStatus() MessageStatus
func (*IntegrationMessage) GetTimestamp ¶
func (x *IntegrationMessage) GetTimestamp() string
func (*IntegrationMessage) ProtoMessage ¶
func (*IntegrationMessage) ProtoMessage()
func (*IntegrationMessage) ProtoReflect ¶
func (x *IntegrationMessage) ProtoReflect() protoreflect.Message
func (*IntegrationMessage) Reset ¶
func (x *IntegrationMessage) Reset()
func (*IntegrationMessage) String ¶
func (x *IntegrationMessage) String() string
type IntegrationMessages ¶
type IntegrationMessages struct { Messages []*IntegrationMessage `protobuf:"bytes,1,rep,name=messages,proto3" json:"messages,omitempty"` // contains filtered or unexported fields }
func (*IntegrationMessages) Descriptor
deprecated
func (*IntegrationMessages) Descriptor() ([]byte, []int)
Deprecated: Use IntegrationMessages.ProtoReflect.Descriptor instead.
func (*IntegrationMessages) GetMessages ¶
func (x *IntegrationMessages) GetMessages() []*IntegrationMessage
func (*IntegrationMessages) ProtoMessage ¶
func (*IntegrationMessages) ProtoMessage()
func (*IntegrationMessages) ProtoReflect ¶
func (x *IntegrationMessages) ProtoReflect() protoreflect.Message
func (*IntegrationMessages) Reset ¶
func (x *IntegrationMessages) Reset()
func (*IntegrationMessages) String ¶
func (x *IntegrationMessages) String() string
type Integrations ¶
type Integrations struct { Integrations []*Integration `protobuf:"bytes,1,rep,name=integrations,proto3" json:"integrations,omitempty"` // contains filtered or unexported fields }
func (*Integrations) Descriptor
deprecated
func (*Integrations) Descriptor() ([]byte, []int)
Deprecated: Use Integrations.ProtoReflect.Descriptor instead.
func (*Integrations) GetIntegrations ¶
func (x *Integrations) GetIntegrations() []*Integration
func (*Integrations) ProtoMessage ¶
func (*Integrations) ProtoMessage()
func (*Integrations) ProtoReflect ¶
func (x *Integrations) ProtoReflect() protoreflect.Message
func (*Integrations) Reset ¶
func (x *Integrations) Reset()
func (*Integrations) String ¶
func (x *Integrations) String() string
type IntegrationsManager ¶
type IntegrationsManager interface { List(context.Context, *Query) (*Integrations, error) Get(context.Context, *GetIntegrationRequest) (*Integration, error) GetName(context.Context, *GetNameRequest) (*GetNameResponse, error) GetTokenForIntegration(context.Context, *GetTokenForIntegrationRequest) (*GetTokenForIntegrationResponse, error) Create(context.Context, *CreateIntegrationRequest) (*CreateIntegrationResponse, error) Update(context.Context, *UpdateIntegrationRequest) (*UpdateIntegrationResponse, error) Delete(context.Context, *DeleteIntegrationRequest) (*DeleteIntegrationResponse, error) }
type IntegrationsManagerClient ¶
func NewIntegrationsManagerClient ¶
func NewIntegrationsManagerClient(addr string, client ranger.HTTPClient, plugins ...ranger.ClientPlugin) (*IntegrationsManagerClient, error)
func (*IntegrationsManagerClient) Create ¶
func (c *IntegrationsManagerClient) Create(ctx context.Context, in *CreateIntegrationRequest) (*CreateIntegrationResponse, error)
func (*IntegrationsManagerClient) Delete ¶
func (c *IntegrationsManagerClient) Delete(ctx context.Context, in *DeleteIntegrationRequest) (*DeleteIntegrationResponse, error)
func (*IntegrationsManagerClient) Get ¶
func (c *IntegrationsManagerClient) Get(ctx context.Context, in *GetIntegrationRequest) (*Integration, error)
func (*IntegrationsManagerClient) GetName ¶
func (c *IntegrationsManagerClient) GetName(ctx context.Context, in *GetNameRequest) (*GetNameResponse, error)
func (*IntegrationsManagerClient) GetTokenForIntegration ¶
func (c *IntegrationsManagerClient) GetTokenForIntegration(ctx context.Context, in *GetTokenForIntegrationRequest) (*GetTokenForIntegrationResponse, error)
func (*IntegrationsManagerClient) List ¶
func (c *IntegrationsManagerClient) List(ctx context.Context, in *Query) (*Integrations, error)
func (*IntegrationsManagerClient) Update ¶
func (c *IntegrationsManagerClient) Update(ctx context.Context, in *UpdateIntegrationRequest) (*UpdateIntegrationResponse, error)
type IntegrationsManagerServer ¶
type IntegrationsManagerServer struct {
// contains filtered or unexported fields
}
func (*IntegrationsManagerServer) GetTokenForIntegration ¶
type IntegrationsManagerServerOption ¶
type IntegrationsManagerServerOption func(s *IntegrationsManagerServer)
func WithUnknownFieldsForIntegrationsManagerServer ¶
func WithUnknownFieldsForIntegrationsManagerServer() IntegrationsManagerServerOption
type K8SConfigurationOptions ¶
type K8SConfigurationOptions struct { ScanNodes bool `protobuf:"varint,1,opt,name=scan_nodes,json=scanNodes,proto3" json:"scan_nodes,omitempty"` ScanWorkloads bool `protobuf:"varint,2,opt,name=scan_workloads,json=scanWorkloads,proto3" json:"scan_workloads,omitempty"` ScanDeploys bool `protobuf:"varint,3,opt,name=scan_deploys,json=scanDeploys,proto3" json:"scan_deploys,omitempty"` CertificateManager string `protobuf:"bytes,4,opt,name=certificate_manager,json=certificateManager,proto3" json:"certificate_manager,omitempty"` ScanPublicImages bool `protobuf:"varint,5,opt,name=scan_public_images,json=scanPublicImages,proto3" json:"scan_public_images,omitempty"` // contains filtered or unexported fields }
func (*K8SConfigurationOptions) Descriptor
deprecated
func (*K8SConfigurationOptions) Descriptor() ([]byte, []int)
Deprecated: Use K8SConfigurationOptions.ProtoReflect.Descriptor instead.
func (*K8SConfigurationOptions) GetCertificateManager ¶
func (x *K8SConfigurationOptions) GetCertificateManager() string
func (*K8SConfigurationOptions) GetScanDeploys ¶
func (x *K8SConfigurationOptions) GetScanDeploys() bool
func (*K8SConfigurationOptions) GetScanNodes ¶
func (x *K8SConfigurationOptions) GetScanNodes() bool
func (*K8SConfigurationOptions) GetScanPublicImages ¶
func (x *K8SConfigurationOptions) GetScanPublicImages() bool
func (*K8SConfigurationOptions) GetScanWorkloads ¶
func (x *K8SConfigurationOptions) GetScanWorkloads() bool
func (*K8SConfigurationOptions) ProtoMessage ¶
func (*K8SConfigurationOptions) ProtoMessage()
func (*K8SConfigurationOptions) ProtoReflect ¶
func (x *K8SConfigurationOptions) ProtoReflect() protoreflect.Message
func (*K8SConfigurationOptions) Reset ¶
func (x *K8SConfigurationOptions) Reset()
func (*K8SConfigurationOptions) String ¶
func (x *K8SConfigurationOptions) String() string
type K8SConfigurationOptionsInput ¶
type K8SConfigurationOptionsInput struct { ScanNodes bool `protobuf:"varint,1,opt,name=scan_nodes,json=scanNodes,proto3" json:"scan_nodes,omitempty"` ScanWorkloads bool `protobuf:"varint,2,opt,name=scan_workloads,json=scanWorkloads,proto3" json:"scan_workloads,omitempty"` ScanDeploys bool `protobuf:"varint,3,opt,name=scan_deploys,json=scanDeploys,proto3" json:"scan_deploys,omitempty"` CertificateManager string `protobuf:"bytes,4,opt,name=certificate_manager,json=certificateManager,proto3" json:"certificate_manager,omitempty"` ScanPublicImages bool `protobuf:"varint,5,opt,name=scan_public_images,json=scanPublicImages,proto3" json:"scan_public_images,omitempty"` // contains filtered or unexported fields }
K8S specific messages
func (*K8SConfigurationOptionsInput) Descriptor
deprecated
func (*K8SConfigurationOptionsInput) Descriptor() ([]byte, []int)
Deprecated: Use K8SConfigurationOptionsInput.ProtoReflect.Descriptor instead.
func (*K8SConfigurationOptionsInput) GetCertificateManager ¶
func (x *K8SConfigurationOptionsInput) GetCertificateManager() string
func (*K8SConfigurationOptionsInput) GetScanDeploys ¶
func (x *K8SConfigurationOptionsInput) GetScanDeploys() bool
func (*K8SConfigurationOptionsInput) GetScanNodes ¶
func (x *K8SConfigurationOptionsInput) GetScanNodes() bool
func (*K8SConfigurationOptionsInput) GetScanPublicImages ¶
func (x *K8SConfigurationOptionsInput) GetScanPublicImages() bool
func (*K8SConfigurationOptionsInput) GetScanWorkloads ¶
func (x *K8SConfigurationOptionsInput) GetScanWorkloads() bool
func (*K8SConfigurationOptionsInput) ProtoMessage ¶
func (*K8SConfigurationOptionsInput) ProtoMessage()
func (*K8SConfigurationOptionsInput) ProtoReflect ¶
func (x *K8SConfigurationOptionsInput) ProtoReflect() protoreflect.Message
func (*K8SConfigurationOptionsInput) Reset ¶
func (x *K8SConfigurationOptionsInput) Reset()
func (*K8SConfigurationOptionsInput) String ¶
func (x *K8SConfigurationOptionsInput) String() string
type MessageStatus ¶
type MessageStatus int32
const ( MessageStatus_MESSAGE_UNKNOWN MessageStatus = 0 MessageStatus_MESSAGE_WARNING MessageStatus = 1 MessageStatus_MESSAGE_ERROR MessageStatus = 2 MessageStatus_MESSAGE_INFO MessageStatus = 3 )
func (MessageStatus) Descriptor ¶
func (MessageStatus) Descriptor() protoreflect.EnumDescriptor
func (MessageStatus) Enum ¶
func (x MessageStatus) Enum() *MessageStatus
func (MessageStatus) EnumDescriptor
deprecated
func (MessageStatus) EnumDescriptor() ([]byte, []int)
Deprecated: Use MessageStatus.Descriptor instead.
func (MessageStatus) Number ¶
func (x MessageStatus) Number() protoreflect.EnumNumber
func (MessageStatus) String ¶
func (x MessageStatus) String() string
func (MessageStatus) Type ¶
func (MessageStatus) Type() protoreflect.EnumType
type Query ¶
type Query struct { SpaceMrn string `protobuf:"bytes,1,opt,name=spaceMrn,proto3" json:"spaceMrn,omitempty"` Type Type `protobuf:"varint,2,opt,name=type,proto3,enum=mondoo.integrations.v1.Type" json:"type,omitempty"` // contains filtered or unexported fields }
func (*Query) Descriptor
deprecated
func (*Query) GetSpaceMrn ¶
func (*Query) ProtoMessage ¶
func (*Query) ProtoMessage()
func (*Query) ProtoReflect ¶
func (x *Query) ProtoReflect() protoreflect.Message
type ScanConfiguration ¶
type ScanConfiguration struct { AccountScan bool `protobuf:"varint,1,opt,name=account_scan,json=accountScan,proto3" json:"account_scan,omitempty"` Ec2Scan bool `protobuf:"varint,2,opt,name=ec2_scan,json=ec2Scan,proto3" json:"ec2_scan,omitempty"` EcrScan bool `protobuf:"varint,3,opt,name=ecr_scan,json=ecrScan,proto3" json:"ecr_scan,omitempty"` CronScanInHours int32 `protobuf:"varint,4,opt,name=cron_scan_in_hours,json=cronScanInHours,proto3" json:"cron_scan_in_hours,omitempty"` Ec2ScanOptions *Ec2ScanOptions `protobuf:"bytes,7,opt,name=ec2_scan_options,json=ec2ScanOptions,proto3" json:"ec2_scan_options,omitempty"` EventScanTriggers []*EventPattern `protobuf:"bytes,8,rep,name=event_scan_triggers,json=eventScanTriggers,proto3" json:"event_scan_triggers,omitempty"` // contains filtered or unexported fields }
func (*ScanConfiguration) Descriptor
deprecated
func (*ScanConfiguration) Descriptor() ([]byte, []int)
Deprecated: Use ScanConfiguration.ProtoReflect.Descriptor instead.
func (*ScanConfiguration) GetAccountScan ¶
func (x *ScanConfiguration) GetAccountScan() bool
func (*ScanConfiguration) GetCronScanInHours ¶
func (x *ScanConfiguration) GetCronScanInHours() int32
func (*ScanConfiguration) GetEc2Scan ¶
func (x *ScanConfiguration) GetEc2Scan() bool
func (*ScanConfiguration) GetEc2ScanOptions ¶
func (x *ScanConfiguration) GetEc2ScanOptions() *Ec2ScanOptions
func (*ScanConfiguration) GetEcrScan ¶
func (x *ScanConfiguration) GetEcrScan() bool
func (*ScanConfiguration) GetEventScanTriggers ¶
func (x *ScanConfiguration) GetEventScanTriggers() []*EventPattern
func (*ScanConfiguration) ProtoMessage ¶
func (*ScanConfiguration) ProtoMessage()
func (*ScanConfiguration) ProtoReflect ¶
func (x *ScanConfiguration) ProtoReflect() protoreflect.Message
func (*ScanConfiguration) Reset ¶
func (x *ScanConfiguration) Reset()
func (*ScanConfiguration) String ¶
func (x *ScanConfiguration) String() string
type ScanType ¶
type ScanType int32
func (ScanType) Descriptor ¶
func (ScanType) Descriptor() protoreflect.EnumDescriptor
func (ScanType) EnumDescriptor
deprecated
func (ScanType) Number ¶
func (x ScanType) Number() protoreflect.EnumNumber
func (ScanType) Type ¶
func (ScanType) Type() protoreflect.EnumType
type Status ¶
type Status int32
func (Status) Descriptor ¶
func (Status) Descriptor() protoreflect.EnumDescriptor
func (Status) EnumDescriptor
deprecated
func (Status) Number ¶
func (x Status) Number() protoreflect.EnumNumber
func (Status) Type ¶
func (Status) Type() protoreflect.EnumType
type Type ¶
type Type int32
func (Type) Descriptor ¶
func (Type) Descriptor() protoreflect.EnumDescriptor
func (Type) EnumDescriptor
deprecated
func (Type) Number ¶
func (x Type) Number() protoreflect.EnumNumber
func (Type) Type ¶
func (Type) Type() protoreflect.EnumType
type UpdateIntegrationRequest ¶
type UpdateIntegrationRequest struct { Mrn string `protobuf:"bytes,1,opt,name=mrn,proto3" json:"mrn,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` // optional, source identifiers for the integration (e.g. AWS account id) Identifiers []string `protobuf:"bytes,3,rep,name=identifiers,proto3" json:"identifiers,omitempty"` ConfigurationInput *ConfigurationInput `protobuf:"bytes,4,opt,name=configuration_input,json=configurationInput,proto3" json:"configuration_input,omitempty"` Labels map[string]string `` /* 153-byte string literal not displayed */ // contains filtered or unexported fields }
func (*UpdateIntegrationRequest) Descriptor
deprecated
func (*UpdateIntegrationRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateIntegrationRequest.ProtoReflect.Descriptor instead.
func (*UpdateIntegrationRequest) GetConfigurationInput ¶
func (x *UpdateIntegrationRequest) GetConfigurationInput() *ConfigurationInput
func (*UpdateIntegrationRequest) GetIdentifiers ¶
func (x *UpdateIntegrationRequest) GetIdentifiers() []string
func (*UpdateIntegrationRequest) GetLabels ¶
func (x *UpdateIntegrationRequest) GetLabels() map[string]string
func (*UpdateIntegrationRequest) GetMrn ¶
func (x *UpdateIntegrationRequest) GetMrn() string
func (*UpdateIntegrationRequest) GetName ¶
func (x *UpdateIntegrationRequest) GetName() string
func (*UpdateIntegrationRequest) ProtoMessage ¶
func (*UpdateIntegrationRequest) ProtoMessage()
func (*UpdateIntegrationRequest) ProtoReflect ¶
func (x *UpdateIntegrationRequest) ProtoReflect() protoreflect.Message
func (*UpdateIntegrationRequest) Reset ¶
func (x *UpdateIntegrationRequest) Reset()
func (*UpdateIntegrationRequest) String ¶
func (x *UpdateIntegrationRequest) String() string
type UpdateIntegrationResponse ¶
type UpdateIntegrationResponse struct { Integration *Integration `protobuf:"bytes,1,opt,name=integration,proto3" json:"integration,omitempty"` // contains filtered or unexported fields }
func (*UpdateIntegrationResponse) Descriptor
deprecated
func (*UpdateIntegrationResponse) Descriptor() ([]byte, []int)
Deprecated: Use UpdateIntegrationResponse.ProtoReflect.Descriptor instead.
func (*UpdateIntegrationResponse) GetIntegration ¶
func (x *UpdateIntegrationResponse) GetIntegration() *Integration
func (*UpdateIntegrationResponse) ProtoMessage ¶
func (*UpdateIntegrationResponse) ProtoMessage()
func (*UpdateIntegrationResponse) ProtoReflect ¶
func (x *UpdateIntegrationResponse) ProtoReflect() protoreflect.Message
func (*UpdateIntegrationResponse) Reset ¶
func (x *UpdateIntegrationResponse) Reset()
func (*UpdateIntegrationResponse) String ¶
func (x *UpdateIntegrationResponse) String() string
type VaultType ¶
type VaultType int32
func (VaultType) Descriptor ¶
func (VaultType) Descriptor() protoreflect.EnumDescriptor
func (VaultType) EnumDescriptor
deprecated
func (VaultType) Number ¶
func (x VaultType) Number() protoreflect.EnumNumber
func (VaultType) Type ¶
func (VaultType) Type() protoreflect.EnumType