Documentation ¶
Index ¶
- Variables
- func RegisterNotificationsServer(s *grpc.Server, srv NotificationsServer)
- type CCRFailure
- func (*CCRFailure) Descriptor() ([]byte, []int)deprecated
- func (x *CCRFailure) GetCookbook() string
- func (x *CCRFailure) GetException() *ExceptionInfo
- func (x *CCRFailure) GetNodeName() string
- func (x *CCRFailure) GetNodeUrl() string
- func (x *CCRFailure) GetRecipe() string
- func (x *CCRFailure) GetRunId() string
- func (x *CCRFailure) GetRunUrl() string
- func (x *CCRFailure) GetTime() *TimeInfo
- func (x *CCRFailure) GetTimestamp() string
- func (*CCRFailure) ProtoMessage()
- func (x *CCRFailure) ProtoReflect() protoreflect.Message
- func (x *CCRFailure) Reset()
- func (x *CCRFailure) String() string
- type CCRSuccess
- func (*CCRSuccess) Descriptor() ([]byte, []int)deprecated
- func (x *CCRSuccess) GetNodeName() string
- func (x *CCRSuccess) GetRunId() string
- func (x *CCRSuccess) GetRunUrl() string
- func (x *CCRSuccess) GetTime() *TimeInfo
- func (x *CCRSuccess) GetTimestamp() string
- func (x *CCRSuccess) GetUpdatedResourceCount() int32
- func (*CCRSuccess) ProtoMessage()
- func (x *CCRSuccess) ProtoReflect() protoreflect.Message
- func (x *CCRSuccess) Reset()
- func (x *CCRSuccess) String() string
- type ComplianceFailure
- func (*ComplianceFailure) Descriptor() ([]byte, []int)deprecated
- func (x *ComplianceFailure) GetComplianceUrl() string
- func (x *ComplianceFailure) GetEndTime() string
- func (x *ComplianceFailure) GetFailedProfiles() []*Profile
- func (x *ComplianceFailure) GetId() string
- func (x *ComplianceFailure) GetInspecVersion() string
- func (x *ComplianceFailure) GetNodeId() string
- func (x *ComplianceFailure) GetNodeName() string
- func (x *ComplianceFailure) GetTestTotals() *ComplianceFailure_ControlTotals
- func (x *ComplianceFailure) GetTimestamp() string
- func (*ComplianceFailure) ProtoMessage()
- func (x *ComplianceFailure) ProtoReflect() protoreflect.Message
- func (x *ComplianceFailure) Reset()
- func (x *ComplianceFailure) String() string
- type ComplianceFailure_ControlTotals
- func (*ComplianceFailure_ControlTotals) Descriptor() ([]byte, []int)deprecated
- func (x *ComplianceFailure_ControlTotals) GetCritical() int32
- func (x *ComplianceFailure_ControlTotals) GetCriticalFailed() int32
- func (x *ComplianceFailure_ControlTotals) GetFailed() int32
- func (x *ComplianceFailure_ControlTotals) GetPassed() int32
- func (x *ComplianceFailure_ControlTotals) GetSkipped() int32
- func (*ComplianceFailure_ControlTotals) ProtoMessage()
- func (x *ComplianceFailure_ControlTotals) ProtoReflect() protoreflect.Message
- func (x *ComplianceFailure_ControlTotals) Reset()
- func (x *ComplianceFailure_ControlTotals) String() string
- type ComplianceSuccess
- func (*ComplianceSuccess) Descriptor() ([]byte, []int)deprecated
- func (x *ComplianceSuccess) GetComplianceUrl() string
- func (x *ComplianceSuccess) GetEndTime() string
- func (x *ComplianceSuccess) GetId() string
- func (x *ComplianceSuccess) GetNodeId() string
- func (x *ComplianceSuccess) GetNodeName() string
- func (x *ComplianceSuccess) GetTimestamp() string
- func (*ComplianceSuccess) ProtoMessage()
- func (x *ComplianceSuccess) ProtoReflect() protoreflect.Message
- func (x *ComplianceSuccess) Reset()
- func (x *ComplianceSuccess) String() string
- type Empty
- type Event
- func (*Event) Descriptor() ([]byte, []int)deprecated
- func (x *Event) GetCCRFailure() *CCRFailure
- func (x *Event) GetCCRSuccess() *CCRSuccess
- func (x *Event) GetComplianceFailure() *ComplianceFailure
- func (x *Event) GetComplianceSuccess() *ComplianceSuccess
- func (m *Event) GetEvent() isEvent_Event
- func (x *Event) GetId() string
- func (*Event) ProtoMessage()
- func (x *Event) ProtoReflect() protoreflect.Message
- func (x *Event) Reset()
- func (x *Event) String() string
- type Event_CCRFailure
- type Event_CCRSuccess
- type Event_ComplianceFailure
- type Event_ComplianceSuccess
- type ExceptionInfo
- func (*ExceptionInfo) Descriptor() ([]byte, []int)deprecated
- func (x *ExceptionInfo) GetBacktrace() []string
- func (x *ExceptionInfo) GetClass() string
- func (x *ExceptionInfo) GetMsg() string
- func (x *ExceptionInfo) GetTitle() string
- func (*ExceptionInfo) ProtoMessage()
- func (x *ExceptionInfo) ProtoReflect() protoreflect.Message
- func (x *ExceptionInfo) Reset()
- func (x *ExceptionInfo) String() string
- type NotificationsClient
- type NotificationsServer
- type PlatformSupport
- func (*PlatformSupport) Descriptor() ([]byte, []int)deprecated
- func (x *PlatformSupport) GetInspec() string
- func (x *PlatformSupport) GetOsFamily() string
- func (x *PlatformSupport) GetOsName() string
- func (x *PlatformSupport) GetRelease() string
- func (*PlatformSupport) ProtoMessage()
- func (x *PlatformSupport) ProtoReflect() protoreflect.Message
- func (x *PlatformSupport) Reset()
- func (x *PlatformSupport) String() string
- type Profile
- func (*Profile) Descriptor() ([]byte, []int)deprecated
- func (x *Profile) GetAttributes() []*Profile_Attribute
- func (x *Profile) GetCopyright() string
- func (x *Profile) GetCopyrightEmail() string
- func (x *Profile) GetFailedControls() []*Profile_Control
- func (x *Profile) GetLicense() string
- func (x *Profile) GetMaintainer() string
- func (x *Profile) GetName() string
- func (x *Profile) GetSha256() string
- func (x *Profile) GetStats() *Profile_ControlTotals
- func (x *Profile) GetSummary() string
- func (x *Profile) GetSupports() []*PlatformSupport
- func (x *Profile) GetTitle() string
- func (x *Profile) GetVersion() string
- func (*Profile) ProtoMessage()
- func (x *Profile) ProtoReflect() protoreflect.Message
- func (x *Profile) Reset()
- func (x *Profile) String() string
- type Profile_Attribute
- func (*Profile_Attribute) Descriptor() ([]byte, []int)deprecated
- func (x *Profile_Attribute) GetName() string
- func (x *Profile_Attribute) GetOptions() *Profile_Attribute_Options
- func (*Profile_Attribute) ProtoMessage()
- func (x *Profile_Attribute) ProtoReflect() protoreflect.Message
- func (x *Profile_Attribute) Reset()
- func (x *Profile_Attribute) String() string
- type Profile_Attribute_Options
- func (*Profile_Attribute_Options) Descriptor() ([]byte, []int)deprecated
- func (x *Profile_Attribute_Options) GetDescription() string
- func (*Profile_Attribute_Options) ProtoMessage()
- func (x *Profile_Attribute_Options) ProtoReflect() protoreflect.Message
- func (x *Profile_Attribute_Options) Reset()
- func (x *Profile_Attribute_Options) String() string
- type Profile_Control
- func (*Profile_Control) Descriptor() ([]byte, []int)deprecated
- func (x *Profile_Control) GetCode() string
- func (x *Profile_Control) GetDesc() string
- func (x *Profile_Control) GetFailedResults() []*Profile_Control_Result
- func (x *Profile_Control) GetId() string
- func (x *Profile_Control) GetImpact() float32
- func (x *Profile_Control) GetRefs() []*Refs
- func (x *Profile_Control) GetSourceLocation() *SourceLocation
- func (x *Profile_Control) GetStats() *Profile_Control_ResultTotals
- func (x *Profile_Control) GetTitle() string
- func (*Profile_Control) ProtoMessage()
- func (x *Profile_Control) ProtoReflect() protoreflect.Message
- func (x *Profile_Control) Reset()
- func (x *Profile_Control) String() string
- type Profile_ControlTotals
- func (*Profile_ControlTotals) Descriptor() ([]byte, []int)deprecated
- func (x *Profile_ControlTotals) GetNumFailedTests() int32
- func (x *Profile_ControlTotals) GetNumPassedTests() int32
- func (x *Profile_ControlTotals) GetNumSkippedTests() int32
- func (x *Profile_ControlTotals) GetNumTests() int32
- func (*Profile_ControlTotals) ProtoMessage()
- func (x *Profile_ControlTotals) ProtoReflect() protoreflect.Message
- func (x *Profile_ControlTotals) Reset()
- func (x *Profile_ControlTotals) String() string
- type Profile_Control_Result
- func (*Profile_Control_Result) Descriptor() ([]byte, []int)deprecated
- func (x *Profile_Control_Result) GetCodeDesc() string
- func (x *Profile_Control_Result) GetMessage() string
- func (x *Profile_Control_Result) GetRunTime() float32
- func (x *Profile_Control_Result) GetSkipMessage() string
- func (x *Profile_Control_Result) GetStartTime() string
- func (x *Profile_Control_Result) GetStatus() string
- func (*Profile_Control_Result) ProtoMessage()
- func (x *Profile_Control_Result) ProtoReflect() protoreflect.Message
- func (x *Profile_Control_Result) Reset()
- func (x *Profile_Control_Result) String() string
- type Profile_Control_ResultTotals
- func (*Profile_Control_ResultTotals) Descriptor() ([]byte, []int)deprecated
- func (x *Profile_Control_ResultTotals) GetNumFailedTests() int32
- func (x *Profile_Control_ResultTotals) GetNumPassedTests() int32
- func (x *Profile_Control_ResultTotals) GetNumSkippedTests() int32
- func (x *Profile_Control_ResultTotals) GetNumTests() int32
- func (*Profile_Control_ResultTotals) ProtoMessage()
- func (x *Profile_Control_ResultTotals) ProtoReflect() protoreflect.Message
- func (x *Profile_Control_ResultTotals) Reset()
- func (x *Profile_Control_ResultTotals) String() string
- type Refs
- type Response
- type Rule
- func (*Rule) Descriptor() ([]byte, []int)deprecated
- func (m *Rule) GetAction() isRule_Action
- func (x *Rule) GetEvent() Rule_Event
- func (x *Rule) GetId() string
- func (x *Rule) GetName() string
- func (x *Rule) GetServiceNowAlert() *ServiceNowAlert
- func (x *Rule) GetSlackAlert() *SlackAlert
- func (x *Rule) GetWebhookAlert() *WebhookAlert
- func (*Rule) ProtoMessage()
- func (x *Rule) ProtoReflect() protoreflect.Message
- func (x *Rule) Reset()
- func (x *Rule) String() string
- type RuleAddResponse
- func (*RuleAddResponse) Descriptor() ([]byte, []int)deprecated
- func (x *RuleAddResponse) GetCode() RuleAddResponse_Code
- func (x *RuleAddResponse) GetId() string
- func (x *RuleAddResponse) GetMessages() []string
- func (x *RuleAddResponse) GetRule() *Rule
- func (*RuleAddResponse) ProtoMessage()
- func (x *RuleAddResponse) ProtoReflect() protoreflect.Message
- func (x *RuleAddResponse) Reset()
- func (x *RuleAddResponse) String() string
- type RuleAddResponse_Code
- func (RuleAddResponse_Code) Descriptor() protoreflect.EnumDescriptor
- func (x RuleAddResponse_Code) Enum() *RuleAddResponse_Code
- func (RuleAddResponse_Code) EnumDescriptor() ([]byte, []int)deprecated
- func (x RuleAddResponse_Code) Number() protoreflect.EnumNumber
- func (x RuleAddResponse_Code) String() string
- func (RuleAddResponse_Code) Type() protoreflect.EnumType
- type RuleDeleteResponse
- func (*RuleDeleteResponse) Descriptor() ([]byte, []int)deprecated
- func (x *RuleDeleteResponse) GetCode() RuleDeleteResponse_Code
- func (x *RuleDeleteResponse) GetMessages() []string
- func (*RuleDeleteResponse) ProtoMessage()
- func (x *RuleDeleteResponse) ProtoReflect() protoreflect.Message
- func (x *RuleDeleteResponse) Reset()
- func (x *RuleDeleteResponse) String() string
- type RuleDeleteResponse_Code
- func (RuleDeleteResponse_Code) Descriptor() protoreflect.EnumDescriptor
- func (x RuleDeleteResponse_Code) Enum() *RuleDeleteResponse_Code
- func (RuleDeleteResponse_Code) EnumDescriptor() ([]byte, []int)deprecated
- func (x RuleDeleteResponse_Code) Number() protoreflect.EnumNumber
- func (x RuleDeleteResponse_Code) String() string
- func (RuleDeleteResponse_Code) Type() protoreflect.EnumType
- type RuleGetResponse
- func (*RuleGetResponse) Descriptor() ([]byte, []int)deprecated
- func (x *RuleGetResponse) GetCode() RuleGetResponse_Code
- func (x *RuleGetResponse) GetMessages() []string
- func (x *RuleGetResponse) GetRule() *Rule
- func (*RuleGetResponse) ProtoMessage()
- func (x *RuleGetResponse) ProtoReflect() protoreflect.Message
- func (x *RuleGetResponse) Reset()
- func (x *RuleGetResponse) String() string
- type RuleGetResponse_Code
- func (RuleGetResponse_Code) Descriptor() protoreflect.EnumDescriptor
- func (x RuleGetResponse_Code) Enum() *RuleGetResponse_Code
- func (RuleGetResponse_Code) EnumDescriptor() ([]byte, []int)deprecated
- func (x RuleGetResponse_Code) Number() protoreflect.EnumNumber
- func (x RuleGetResponse_Code) String() string
- func (RuleGetResponse_Code) Type() protoreflect.EnumType
- type RuleIdentifier
- type RuleListResponse
- func (*RuleListResponse) Descriptor() ([]byte, []int)deprecated
- func (x *RuleListResponse) GetCode() RuleListResponse_Code
- func (x *RuleListResponse) GetMessages() []string
- func (x *RuleListResponse) GetRules() []*Rule
- func (*RuleListResponse) ProtoMessage()
- func (x *RuleListResponse) ProtoReflect() protoreflect.Message
- func (x *RuleListResponse) Reset()
- func (x *RuleListResponse) String() string
- type RuleListResponse_Code
- func (RuleListResponse_Code) Descriptor() protoreflect.EnumDescriptor
- func (x RuleListResponse_Code) Enum() *RuleListResponse_Code
- func (RuleListResponse_Code) EnumDescriptor() ([]byte, []int)deprecated
- func (x RuleListResponse_Code) Number() protoreflect.EnumNumber
- func (x RuleListResponse_Code) String() string
- func (RuleListResponse_Code) Type() protoreflect.EnumType
- type RuleUpdateResponse
- func (*RuleUpdateResponse) Descriptor() ([]byte, []int)deprecated
- func (x *RuleUpdateResponse) GetCode() RuleUpdateResponse_Code
- func (x *RuleUpdateResponse) GetMessages() []string
- func (*RuleUpdateResponse) ProtoMessage()
- func (x *RuleUpdateResponse) ProtoReflect() protoreflect.Message
- func (x *RuleUpdateResponse) Reset()
- func (x *RuleUpdateResponse) String() string
- type RuleUpdateResponse_Code
- func (RuleUpdateResponse_Code) Descriptor() protoreflect.EnumDescriptor
- func (x RuleUpdateResponse_Code) Enum() *RuleUpdateResponse_Code
- func (RuleUpdateResponse_Code) EnumDescriptor() ([]byte, []int)deprecated
- func (x RuleUpdateResponse_Code) Number() protoreflect.EnumNumber
- func (x RuleUpdateResponse_Code) String() string
- func (RuleUpdateResponse_Code) Type() protoreflect.EnumType
- type Rule_Event
- type Rule_ServiceNowAlert
- type Rule_SlackAlert
- type Rule_WebhookAlert
- type SecretId
- type ServiceNowAlert
- func (*ServiceNowAlert) Descriptor() ([]byte, []int)deprecated
- func (x *ServiceNowAlert) GetCriticalControlsOnly() bool
- func (x *ServiceNowAlert) GetSecretId() string
- func (x *ServiceNowAlert) GetUrl() string
- func (*ServiceNowAlert) ProtoMessage()
- func (x *ServiceNowAlert) ProtoReflect() protoreflect.Message
- func (x *ServiceNowAlert) Reset()
- func (x *ServiceNowAlert) String() string
- type SlackAlert
- type SourceLocation
- func (*SourceLocation) Descriptor() ([]byte, []int)deprecated
- func (x *SourceLocation) GetLine() int32
- func (x *SourceLocation) GetRef() string
- func (*SourceLocation) ProtoMessage()
- func (x *SourceLocation) ProtoReflect() protoreflect.Message
- func (x *SourceLocation) Reset()
- func (x *SourceLocation) String() string
- type TimeInfo
- type URLValidationRequest
- func (*URLValidationRequest) Descriptor() ([]byte, []int)deprecated
- func (m *URLValidationRequest) GetCredentials() isURLValidationRequest_Credentials
- func (x *URLValidationRequest) GetNone() *Empty
- func (x *URLValidationRequest) GetSecretId() *SecretId
- func (x *URLValidationRequest) GetUrl() string
- func (x *URLValidationRequest) GetUsernamePassword() *UsernamePassword
- func (*URLValidationRequest) ProtoMessage()
- func (x *URLValidationRequest) ProtoReflect() protoreflect.Message
- func (x *URLValidationRequest) Reset()
- func (x *URLValidationRequest) String() string
- type URLValidationRequest_None
- type URLValidationRequest_SecretId
- type URLValidationRequest_UsernamePassword
- type URLValidationResponse
- func (*URLValidationResponse) Descriptor() ([]byte, []int)deprecated
- func (x *URLValidationResponse) GetCode() URLValidationResponse_Code
- func (x *URLValidationResponse) GetMessages() []string
- func (*URLValidationResponse) ProtoMessage()
- func (x *URLValidationResponse) ProtoReflect() protoreflect.Message
- func (x *URLValidationResponse) Reset()
- func (x *URLValidationResponse) String() string
- type URLValidationResponse_Code
- func (URLValidationResponse_Code) Descriptor() protoreflect.EnumDescriptor
- func (x URLValidationResponse_Code) Enum() *URLValidationResponse_Code
- func (URLValidationResponse_Code) EnumDescriptor() ([]byte, []int)deprecated
- func (x URLValidationResponse_Code) Number() protoreflect.EnumNumber
- func (x URLValidationResponse_Code) String() string
- func (URLValidationResponse_Code) Type() protoreflect.EnumType
- type UnimplementedNotificationsServer
- func (*UnimplementedNotificationsServer) AddRule(context.Context, *Rule) (*RuleAddResponse, error)
- func (*UnimplementedNotificationsServer) DeleteRule(context.Context, *RuleIdentifier) (*RuleDeleteResponse, error)
- func (*UnimplementedNotificationsServer) GetRule(context.Context, *RuleIdentifier) (*RuleGetResponse, error)
- func (*UnimplementedNotificationsServer) ListRules(context.Context, *Empty) (*RuleListResponse, error)
- func (*UnimplementedNotificationsServer) Notify(context.Context, *Event) (*Response, error)
- func (*UnimplementedNotificationsServer) UpdateRule(context.Context, *Rule) (*RuleUpdateResponse, error)
- func (*UnimplementedNotificationsServer) ValidateWebhook(context.Context, *URLValidationRequest) (*URLValidationResponse, error)
- func (*UnimplementedNotificationsServer) Version(context.Context, *VersionRequest) (*VersionResponse, error)
- type UsernamePassword
- func (*UsernamePassword) Descriptor() ([]byte, []int)deprecated
- func (x *UsernamePassword) GetPassword() string
- func (x *UsernamePassword) GetUsername() string
- func (*UsernamePassword) ProtoMessage()
- func (x *UsernamePassword) ProtoReflect() protoreflect.Message
- func (x *UsernamePassword) Reset()
- func (x *UsernamePassword) String() string
- type VersionRequest
- type VersionResponse
- type WebhookAlert
Constants ¶
This section is empty.
Variables ¶
var ( Rule_Event_name = map[int32]string{ 0: "CCRFailure", 1: "CCRSuccess", 2: "ComplianceFailure", 3: "ComplianceSuccess", } Rule_Event_value = map[string]int32{ "CCRFailure": 0, "CCRSuccess": 1, "ComplianceFailure": 2, "ComplianceSuccess": 3, } )
Enum value maps for Rule_Event.
var ( URLValidationResponse_Code_name = map[int32]string{ 0: "OK", 1: "ERROR", 4: "INVALID_URL", 98: "NOTIFICATIONS_UNAVAIALBLE", 99: "INTERNAL_ERROR", } URLValidationResponse_Code_value = map[string]int32{ "OK": 0, "ERROR": 1, "INVALID_URL": 4, "NOTIFICATIONS_UNAVAIALBLE": 98, "INTERNAL_ERROR": 99, } )
Enum value maps for URLValidationResponse_Code.
var ( RuleUpdateResponse_Code_name = map[int32]string{ 0: "OK", 1: "DUPLICATE_NAME", 2: "NOT_FOUND", 4: "VALIDATION_ERROR", 99: "INTERNAL_ERROR", } RuleUpdateResponse_Code_value = map[string]int32{ "OK": 0, "DUPLICATE_NAME": 1, "NOT_FOUND": 2, "VALIDATION_ERROR": 4, "INTERNAL_ERROR": 99, } )
Enum value maps for RuleUpdateResponse_Code.
var ( RuleDeleteResponse_Code_name = map[int32]string{ 0: "DELETED", 2: "NOT_FOUND", 99: "INTERNAL_ERROR", } RuleDeleteResponse_Code_value = map[string]int32{ "DELETED": 0, "NOT_FOUND": 2, "INTERNAL_ERROR": 99, } )
Enum value maps for RuleDeleteResponse_Code.
var ( RuleAddResponse_Code_name = map[int32]string{ 0: "ADDED", 1: "DUPLICATE_NAME", 2: "NOT_FOUND", 3: "INVALID_ACTION_CONFIG", 4: "VALIDATION_ERROR", 99: "INTERNAL_ERROR", } RuleAddResponse_Code_value = map[string]int32{ "ADDED": 0, "DUPLICATE_NAME": 1, "NOT_FOUND": 2, "INVALID_ACTION_CONFIG": 3, "VALIDATION_ERROR": 4, "INTERNAL_ERROR": 99, } )
Enum value maps for RuleAddResponse_Code.
var ( RuleGetResponse_Code_name = map[int32]string{ 0: "OK", 2: "NOT_FOUND", 99: "INTERNAL_ERROR", } RuleGetResponse_Code_value = map[string]int32{ "OK": 0, "NOT_FOUND": 2, "INTERNAL_ERROR": 99, } )
Enum value maps for RuleGetResponse_Code.
var ( RuleListResponse_Code_name = map[int32]string{ 0: "OK", 99: "INTERNAL_ERROR", } RuleListResponse_Code_value = map[string]int32{ "OK": 0, "INTERNAL_ERROR": 99, } )
Enum value maps for RuleListResponse_Code.
var File_interservice_notifications_service_events_proto protoreflect.FileDescriptor
var File_interservice_notifications_service_health_proto protoreflect.FileDescriptor
var File_interservice_notifications_service_rules_proto protoreflect.FileDescriptor
var File_interservice_notifications_service_server_proto protoreflect.FileDescriptor
Functions ¶
func RegisterNotificationsServer ¶
func RegisterNotificationsServer(s *grpc.Server, srv NotificationsServer)
Types ¶
type CCRFailure ¶
type CCRFailure struct { RunId string `` /* 132-byte string literal not displayed */ NodeName string `` /* 147-byte string literal not displayed */ NodeUrl string `` /* 142-byte string literal not displayed */ RunUrl string `` /* 137-byte string literal not displayed */ Cookbook string `` /* 129-byte string literal not displayed */ Recipe string `protobuf:"bytes,6,opt,name=recipe,proto3" json:"recipe,omitempty" toml:"recipe,omitempty" mapstructure:"recipe,omitempty"` Time *TimeInfo `protobuf:"bytes,7,opt,name=time,proto3" json:"time,omitempty" toml:"time,omitempty" mapstructure:"time,omitempty"` Exception *ExceptionInfo `` /* 133-byte string literal not displayed */ Timestamp string `` /* 133-byte string literal not displayed */ // contains filtered or unexported fields }
func (*CCRFailure) Descriptor
deprecated
func (*CCRFailure) Descriptor() ([]byte, []int)
Deprecated: Use CCRFailure.ProtoReflect.Descriptor instead.
func (*CCRFailure) GetCookbook ¶
func (x *CCRFailure) GetCookbook() string
func (*CCRFailure) GetException ¶
func (x *CCRFailure) GetException() *ExceptionInfo
func (*CCRFailure) GetNodeName ¶
func (x *CCRFailure) GetNodeName() string
func (*CCRFailure) GetNodeUrl ¶
func (x *CCRFailure) GetNodeUrl() string
func (*CCRFailure) GetRecipe ¶
func (x *CCRFailure) GetRecipe() string
func (*CCRFailure) GetRunId ¶
func (x *CCRFailure) GetRunId() string
func (*CCRFailure) GetRunUrl ¶
func (x *CCRFailure) GetRunUrl() string
func (*CCRFailure) GetTime ¶
func (x *CCRFailure) GetTime() *TimeInfo
func (*CCRFailure) GetTimestamp ¶
func (x *CCRFailure) GetTimestamp() string
func (*CCRFailure) ProtoMessage ¶
func (*CCRFailure) ProtoMessage()
func (*CCRFailure) ProtoReflect ¶
func (x *CCRFailure) ProtoReflect() protoreflect.Message
func (*CCRFailure) Reset ¶
func (x *CCRFailure) Reset()
func (*CCRFailure) String ¶
func (x *CCRFailure) String() string
type CCRSuccess ¶
type CCRSuccess struct { RunId string `` /* 132-byte string literal not displayed */ NodeName string `` /* 147-byte string literal not displayed */ RunUrl string `` /* 137-byte string literal not displayed */ Time *TimeInfo `protobuf:"bytes,4,opt,name=time,proto3" json:"time,omitempty" toml:"time,omitempty" mapstructure:"time,omitempty"` UpdatedResourceCount int32 `` /* 212-byte string literal not displayed */ Timestamp string `` /* 133-byte string literal not displayed */ // contains filtered or unexported fields }
func (*CCRSuccess) Descriptor
deprecated
func (*CCRSuccess) Descriptor() ([]byte, []int)
Deprecated: Use CCRSuccess.ProtoReflect.Descriptor instead.
func (*CCRSuccess) GetNodeName ¶
func (x *CCRSuccess) GetNodeName() string
func (*CCRSuccess) GetRunId ¶
func (x *CCRSuccess) GetRunId() string
func (*CCRSuccess) GetRunUrl ¶
func (x *CCRSuccess) GetRunUrl() string
func (*CCRSuccess) GetTime ¶
func (x *CCRSuccess) GetTime() *TimeInfo
func (*CCRSuccess) GetTimestamp ¶
func (x *CCRSuccess) GetTimestamp() string
func (*CCRSuccess) GetUpdatedResourceCount ¶
func (x *CCRSuccess) GetUpdatedResourceCount() int32
func (*CCRSuccess) ProtoMessage ¶
func (*CCRSuccess) ProtoMessage()
func (*CCRSuccess) ProtoReflect ¶
func (x *CCRSuccess) ProtoReflect() protoreflect.Message
func (*CCRSuccess) Reset ¶
func (x *CCRSuccess) Reset()
func (*CCRSuccess) String ¶
func (x *CCRSuccess) String() string
type ComplianceFailure ¶
type ComplianceFailure struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty" toml:"id,omitempty" mapstructure:"id,omitempty"` ComplianceUrl string `` /* 172-byte string literal not displayed */ NodeName string `` /* 147-byte string literal not displayed */ NodeId string `` /* 137-byte string literal not displayed */ InspecVersion string `` /* 172-byte string literal not displayed */ TestTotals *ComplianceFailure_ControlTotals `` /* 157-byte string literal not displayed */ FailedProfiles []*Profile `` /* 177-byte string literal not displayed */ EndTime string `` /* 142-byte string literal not displayed */ Timestamp string `` /* 133-byte string literal not displayed */ // contains filtered or unexported fields }
func (*ComplianceFailure) Descriptor
deprecated
func (*ComplianceFailure) Descriptor() ([]byte, []int)
Deprecated: Use ComplianceFailure.ProtoReflect.Descriptor instead.
func (*ComplianceFailure) GetComplianceUrl ¶
func (x *ComplianceFailure) GetComplianceUrl() string
func (*ComplianceFailure) GetEndTime ¶
func (x *ComplianceFailure) GetEndTime() string
func (*ComplianceFailure) GetFailedProfiles ¶
func (x *ComplianceFailure) GetFailedProfiles() []*Profile
func (*ComplianceFailure) GetId ¶
func (x *ComplianceFailure) GetId() string
func (*ComplianceFailure) GetInspecVersion ¶
func (x *ComplianceFailure) GetInspecVersion() string
func (*ComplianceFailure) GetNodeId ¶
func (x *ComplianceFailure) GetNodeId() string
func (*ComplianceFailure) GetNodeName ¶
func (x *ComplianceFailure) GetNodeName() string
func (*ComplianceFailure) GetTestTotals ¶
func (x *ComplianceFailure) GetTestTotals() *ComplianceFailure_ControlTotals
func (*ComplianceFailure) GetTimestamp ¶
func (x *ComplianceFailure) GetTimestamp() string
func (*ComplianceFailure) ProtoMessage ¶
func (*ComplianceFailure) ProtoMessage()
func (*ComplianceFailure) ProtoReflect ¶
func (x *ComplianceFailure) ProtoReflect() protoreflect.Message
func (*ComplianceFailure) Reset ¶
func (x *ComplianceFailure) Reset()
func (*ComplianceFailure) String ¶
func (x *ComplianceFailure) String() string
type ComplianceFailure_ControlTotals ¶
type ComplianceFailure_ControlTotals struct { Skipped int32 `` /* 126-byte string literal not displayed */ Passed int32 `protobuf:"varint,2,opt,name=passed,proto3" json:"passed,omitempty" toml:"passed,omitempty" mapstructure:"passed,omitempty"` Failed int32 `protobuf:"varint,3,opt,name=failed,proto3" json:"failed,omitempty" toml:"failed,omitempty" mapstructure:"failed,omitempty"` Critical int32 `` /* 130-byte string literal not displayed */ CriticalFailed int32 `` /* 178-byte string literal not displayed */ // contains filtered or unexported fields }
func (*ComplianceFailure_ControlTotals) Descriptor
deprecated
func (*ComplianceFailure_ControlTotals) Descriptor() ([]byte, []int)
Deprecated: Use ComplianceFailure_ControlTotals.ProtoReflect.Descriptor instead.
func (*ComplianceFailure_ControlTotals) GetCritical ¶
func (x *ComplianceFailure_ControlTotals) GetCritical() int32
func (*ComplianceFailure_ControlTotals) GetCriticalFailed ¶
func (x *ComplianceFailure_ControlTotals) GetCriticalFailed() int32
func (*ComplianceFailure_ControlTotals) GetFailed ¶
func (x *ComplianceFailure_ControlTotals) GetFailed() int32
func (*ComplianceFailure_ControlTotals) GetPassed ¶
func (x *ComplianceFailure_ControlTotals) GetPassed() int32
func (*ComplianceFailure_ControlTotals) GetSkipped ¶
func (x *ComplianceFailure_ControlTotals) GetSkipped() int32
func (*ComplianceFailure_ControlTotals) ProtoMessage ¶
func (*ComplianceFailure_ControlTotals) ProtoMessage()
func (*ComplianceFailure_ControlTotals) ProtoReflect ¶
func (x *ComplianceFailure_ControlTotals) ProtoReflect() protoreflect.Message
func (*ComplianceFailure_ControlTotals) Reset ¶
func (x *ComplianceFailure_ControlTotals) Reset()
func (*ComplianceFailure_ControlTotals) String ¶
func (x *ComplianceFailure_ControlTotals) String() string
type ComplianceSuccess ¶
type ComplianceSuccess struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty" toml:"id,omitempty" mapstructure:"id,omitempty"` ComplianceUrl string `` /* 172-byte string literal not displayed */ NodeName string `` /* 147-byte string literal not displayed */ NodeId string `` /* 137-byte string literal not displayed */ EndTime string `` /* 142-byte string literal not displayed */ Timestamp string `` /* 133-byte string literal not displayed */ // contains filtered or unexported fields }
func (*ComplianceSuccess) Descriptor
deprecated
func (*ComplianceSuccess) Descriptor() ([]byte, []int)
Deprecated: Use ComplianceSuccess.ProtoReflect.Descriptor instead.
func (*ComplianceSuccess) GetComplianceUrl ¶
func (x *ComplianceSuccess) GetComplianceUrl() string
func (*ComplianceSuccess) GetEndTime ¶
func (x *ComplianceSuccess) GetEndTime() string
func (*ComplianceSuccess) GetId ¶
func (x *ComplianceSuccess) GetId() string
func (*ComplianceSuccess) GetNodeId ¶
func (x *ComplianceSuccess) GetNodeId() string
func (*ComplianceSuccess) GetNodeName ¶
func (x *ComplianceSuccess) GetNodeName() string
func (*ComplianceSuccess) GetTimestamp ¶
func (x *ComplianceSuccess) GetTimestamp() string
func (*ComplianceSuccess) ProtoMessage ¶
func (*ComplianceSuccess) ProtoMessage()
func (*ComplianceSuccess) ProtoReflect ¶
func (x *ComplianceSuccess) ProtoReflect() protoreflect.Message
func (*ComplianceSuccess) Reset ¶
func (x *ComplianceSuccess) Reset()
func (*ComplianceSuccess) String ¶
func (x *ComplianceSuccess) String() string
type Empty ¶
type Empty struct {
// contains filtered or unexported fields
}
// Rules management messages and responses //
func (*Empty) Descriptor
deprecated
func (*Empty) ProtoMessage ¶
func (*Empty) ProtoMessage()
func (*Empty) ProtoReflect ¶
func (x *Empty) ProtoReflect() protoreflect.Message
type Event ¶
type Event struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty" toml:"id,omitempty" mapstructure:"id,omitempty"` // Types that are assignable to Event: // // *Event_CCRSuccess // *Event_CCRFailure // *Event_ComplianceSuccess // *Event_ComplianceFailure Event isEvent_Event `protobuf_oneof:"event"` // contains filtered or unexported fields }
func (*Event) Descriptor
deprecated
func (*Event) GetCCRFailure ¶
func (x *Event) GetCCRFailure() *CCRFailure
func (*Event) GetCCRSuccess ¶
func (x *Event) GetCCRSuccess() *CCRSuccess
func (*Event) GetComplianceFailure ¶
func (x *Event) GetComplianceFailure() *ComplianceFailure
func (*Event) GetComplianceSuccess ¶
func (x *Event) GetComplianceSuccess() *ComplianceSuccess
func (*Event) ProtoMessage ¶
func (*Event) ProtoMessage()
func (*Event) ProtoReflect ¶
func (x *Event) ProtoReflect() protoreflect.Message
type Event_CCRFailure ¶
type Event_CCRFailure struct {
CCRFailure *CCRFailure `protobuf:"bytes,3,opt,name=CCRFailure,proto3,oneof"`
}
type Event_CCRSuccess ¶
type Event_CCRSuccess struct {
CCRSuccess *CCRSuccess `protobuf:"bytes,2,opt,name=CCRSuccess,proto3,oneof"`
}
type Event_ComplianceFailure ¶
type Event_ComplianceFailure struct {
ComplianceFailure *ComplianceFailure `protobuf:"bytes,5,opt,name=ComplianceFailure,proto3,oneof"`
}
type Event_ComplianceSuccess ¶
type Event_ComplianceSuccess struct {
ComplianceSuccess *ComplianceSuccess `protobuf:"bytes,4,opt,name=ComplianceSuccess,proto3,oneof"`
}
type ExceptionInfo ¶
type ExceptionInfo struct { Class string `protobuf:"bytes,1,opt,name=class,proto3" json:"class,omitempty" toml:"class,omitempty" mapstructure:"class,omitempty"` Title string `protobuf:"bytes,2,opt,name=title,proto3" json:"title,omitempty" toml:"title,omitempty" mapstructure:"title,omitempty"` Msg string `protobuf:"bytes,3,opt,name=msg,proto3" json:"msg,omitempty" toml:"msg,omitempty" mapstructure:"msg,omitempty"` Backtrace []string `` /* 133-byte string literal not displayed */ // contains filtered or unexported fields }
func (*ExceptionInfo) Descriptor
deprecated
func (*ExceptionInfo) Descriptor() ([]byte, []int)
Deprecated: Use ExceptionInfo.ProtoReflect.Descriptor instead.
func (*ExceptionInfo) GetBacktrace ¶
func (x *ExceptionInfo) GetBacktrace() []string
func (*ExceptionInfo) GetClass ¶
func (x *ExceptionInfo) GetClass() string
func (*ExceptionInfo) GetMsg ¶
func (x *ExceptionInfo) GetMsg() string
func (*ExceptionInfo) GetTitle ¶
func (x *ExceptionInfo) GetTitle() string
func (*ExceptionInfo) ProtoMessage ¶
func (*ExceptionInfo) ProtoMessage()
func (*ExceptionInfo) ProtoReflect ¶
func (x *ExceptionInfo) ProtoReflect() protoreflect.Message
func (*ExceptionInfo) Reset ¶
func (x *ExceptionInfo) Reset()
func (*ExceptionInfo) String ¶
func (x *ExceptionInfo) String() string
type NotificationsClient ¶
type NotificationsClient interface { // Publish a notification Notify(ctx context.Context, in *Event, opts ...grpc.CallOption) (*Response, error) // Manage notification alerting rules AddRule(ctx context.Context, in *Rule, opts ...grpc.CallOption) (*RuleAddResponse, error) DeleteRule(ctx context.Context, in *RuleIdentifier, opts ...grpc.CallOption) (*RuleDeleteResponse, error) UpdateRule(ctx context.Context, in *Rule, opts ...grpc.CallOption) (*RuleUpdateResponse, error) GetRule(ctx context.Context, in *RuleIdentifier, opts ...grpc.CallOption) (*RuleGetResponse, error) ListRules(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*RuleListResponse, error) ValidateWebhook(ctx context.Context, in *URLValidationRequest, opts ...grpc.CallOption) (*URLValidationResponse, error) // Health checks and metadata Version(ctx context.Context, in *VersionRequest, opts ...grpc.CallOption) (*VersionResponse, error) }
NotificationsClient is the client API for Notifications service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewNotificationsClient ¶
func NewNotificationsClient(cc grpc.ClientConnInterface) NotificationsClient
type NotificationsServer ¶
type NotificationsServer interface { // Publish a notification Notify(context.Context, *Event) (*Response, error) // Manage notification alerting rules AddRule(context.Context, *Rule) (*RuleAddResponse, error) DeleteRule(context.Context, *RuleIdentifier) (*RuleDeleteResponse, error) UpdateRule(context.Context, *Rule) (*RuleUpdateResponse, error) GetRule(context.Context, *RuleIdentifier) (*RuleGetResponse, error) ListRules(context.Context, *Empty) (*RuleListResponse, error) ValidateWebhook(context.Context, *URLValidationRequest) (*URLValidationResponse, error) // Health checks and metadata Version(context.Context, *VersionRequest) (*VersionResponse, error) }
NotificationsServer is the server API for Notifications service.
type PlatformSupport ¶
type PlatformSupport struct { Inspec string `protobuf:"bytes,1,opt,name=inspec,proto3" json:"inspec,omitempty" toml:"inspec,omitempty" mapstructure:"inspec,omitempty"` // TODO: this needs to be os-name in json OsName string `` /* 137-byte string literal not displayed */ // TODO: this needs to be os-family in json OsFamily string `` /* 147-byte string literal not displayed */ Release string `protobuf:"bytes,4,opt,name=release,proto3" json:"release,omitempty" toml:"release,omitempty" mapstructure:"release,omitempty"` // contains filtered or unexported fields }
func (*PlatformSupport) Descriptor
deprecated
func (*PlatformSupport) Descriptor() ([]byte, []int)
Deprecated: Use PlatformSupport.ProtoReflect.Descriptor instead.
func (*PlatformSupport) GetInspec ¶
func (x *PlatformSupport) GetInspec() string
func (*PlatformSupport) GetOsFamily ¶
func (x *PlatformSupport) GetOsFamily() string
func (*PlatformSupport) GetOsName ¶
func (x *PlatformSupport) GetOsName() string
func (*PlatformSupport) GetRelease ¶
func (x *PlatformSupport) GetRelease() string
func (*PlatformSupport) ProtoMessage ¶
func (*PlatformSupport) ProtoMessage()
func (*PlatformSupport) ProtoReflect ¶
func (x *PlatformSupport) ProtoReflect() protoreflect.Message
func (*PlatformSupport) Reset ¶
func (x *PlatformSupport) Reset()
func (*PlatformSupport) String ¶
func (x *PlatformSupport) String() string
type Profile ¶
type Profile struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty" toml:"name,omitempty" mapstructure:"name,omitempty"` Title string `protobuf:"bytes,2,opt,name=title,proto3" json:"title,omitempty" toml:"title,omitempty" mapstructure:"title,omitempty"` Version string `protobuf:"bytes,3,opt,name=version,proto3" json:"version,omitempty" toml:"version,omitempty" mapstructure:"version,omitempty"` Summary string `protobuf:"bytes,4,opt,name=summary,proto3" json:"summary,omitempty" toml:"summary,omitempty" mapstructure:"summary,omitempty"` Maintainer string `` /* 137-byte string literal not displayed */ License string `protobuf:"bytes,6,opt,name=license,proto3" json:"license,omitempty" toml:"license,omitempty" mapstructure:"license,omitempty"` Copyright string `` /* 133-byte string literal not displayed */ CopyrightEmail string `` /* 177-byte string literal not displayed */ Sha256 string `protobuf:"bytes,9,opt,name=sha256,proto3" json:"sha256,omitempty" toml:"sha256,omitempty" mapstructure:"sha256,omitempty"` Supports []*PlatformSupport `` /* 130-byte string literal not displayed */ Attributes []*Profile_Attribute `` /* 138-byte string literal not displayed */ FailedControls []*Profile_Control `` /* 178-byte string literal not displayed */ Stats *Profile_ControlTotals `protobuf:"bytes,13,opt,name=stats,proto3" json:"stats,omitempty" toml:"stats,omitempty" mapstructure:"stats,omitempty"` // contains filtered or unexported fields }
func (*Profile) Descriptor
deprecated
func (*Profile) GetAttributes ¶
func (x *Profile) GetAttributes() []*Profile_Attribute
func (*Profile) GetCopyright ¶
func (*Profile) GetCopyrightEmail ¶
func (*Profile) GetFailedControls ¶
func (x *Profile) GetFailedControls() []*Profile_Control
func (*Profile) GetLicense ¶
func (*Profile) GetMaintainer ¶
func (*Profile) GetStats ¶
func (x *Profile) GetStats() *Profile_ControlTotals
func (*Profile) GetSummary ¶
func (*Profile) GetSupports ¶
func (x *Profile) GetSupports() []*PlatformSupport
func (*Profile) GetVersion ¶
func (*Profile) ProtoMessage ¶
func (*Profile) ProtoMessage()
func (*Profile) ProtoReflect ¶
func (x *Profile) ProtoReflect() protoreflect.Message
type Profile_Attribute ¶
type Profile_Attribute struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty" toml:"name,omitempty" mapstructure:"name,omitempty"` Options *Profile_Attribute_Options `protobuf:"bytes,2,opt,name=options,proto3" json:"options,omitempty" toml:"options,omitempty" mapstructure:"options,omitempty"` // contains filtered or unexported fields }
func (*Profile_Attribute) Descriptor
deprecated
func (*Profile_Attribute) Descriptor() ([]byte, []int)
Deprecated: Use Profile_Attribute.ProtoReflect.Descriptor instead.
func (*Profile_Attribute) GetName ¶
func (x *Profile_Attribute) GetName() string
func (*Profile_Attribute) GetOptions ¶
func (x *Profile_Attribute) GetOptions() *Profile_Attribute_Options
func (*Profile_Attribute) ProtoMessage ¶
func (*Profile_Attribute) ProtoMessage()
func (*Profile_Attribute) ProtoReflect ¶
func (x *Profile_Attribute) ProtoReflect() protoreflect.Message
func (*Profile_Attribute) Reset ¶
func (x *Profile_Attribute) Reset()
func (*Profile_Attribute) String ¶
func (x *Profile_Attribute) String() string
type Profile_Attribute_Options ¶
type Profile_Attribute_Options struct { Description string `` /* 141-byte string literal not displayed */ // contains filtered or unexported fields }
func (*Profile_Attribute_Options) Descriptor
deprecated
func (*Profile_Attribute_Options) Descriptor() ([]byte, []int)
Deprecated: Use Profile_Attribute_Options.ProtoReflect.Descriptor instead.
func (*Profile_Attribute_Options) GetDescription ¶
func (x *Profile_Attribute_Options) GetDescription() string
func (*Profile_Attribute_Options) ProtoMessage ¶
func (*Profile_Attribute_Options) ProtoMessage()
func (*Profile_Attribute_Options) ProtoReflect ¶
func (x *Profile_Attribute_Options) ProtoReflect() protoreflect.Message
func (*Profile_Attribute_Options) Reset ¶
func (x *Profile_Attribute_Options) Reset()
func (*Profile_Attribute_Options) String ¶
func (x *Profile_Attribute_Options) String() string
type Profile_Control ¶
type Profile_Control struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty" toml:"id,omitempty" mapstructure:"id,omitempty"` Impact float32 `protobuf:"fixed32,2,opt,name=impact,proto3" json:"impact,omitempty" toml:"impact,omitempty" mapstructure:"impact,omitempty"` Title string `protobuf:"bytes,3,opt,name=title,proto3" json:"title,omitempty" toml:"title,omitempty" mapstructure:"title,omitempty"` Code string `protobuf:"bytes,4,opt,name=code,proto3" json:"code,omitempty" toml:"code,omitempty" mapstructure:"code,omitempty"` Desc string `protobuf:"bytes,5,opt,name=desc,proto3" json:"desc,omitempty" toml:"desc,omitempty" mapstructure:"desc,omitempty"` SourceLocation *SourceLocation `` /* 177-byte string literal not displayed */ Refs []*Refs `protobuf:"bytes,7,rep,name=refs,proto3" json:"refs,omitempty" toml:"refs,omitempty" mapstructure:"refs,omitempty"` FailedResults []*Profile_Control_Result `` /* 172-byte string literal not displayed */ Stats *Profile_Control_ResultTotals `protobuf:"bytes,10,opt,name=stats,proto3" json:"stats,omitempty" toml:"stats,omitempty" mapstructure:"stats,omitempty"` // contains filtered or unexported fields }
func (*Profile_Control) Descriptor
deprecated
func (*Profile_Control) Descriptor() ([]byte, []int)
Deprecated: Use Profile_Control.ProtoReflect.Descriptor instead.
func (*Profile_Control) GetCode ¶
func (x *Profile_Control) GetCode() string
func (*Profile_Control) GetDesc ¶
func (x *Profile_Control) GetDesc() string
func (*Profile_Control) GetFailedResults ¶
func (x *Profile_Control) GetFailedResults() []*Profile_Control_Result
func (*Profile_Control) GetId ¶
func (x *Profile_Control) GetId() string
func (*Profile_Control) GetImpact ¶
func (x *Profile_Control) GetImpact() float32
func (*Profile_Control) GetRefs ¶
func (x *Profile_Control) GetRefs() []*Refs
func (*Profile_Control) GetSourceLocation ¶
func (x *Profile_Control) GetSourceLocation() *SourceLocation
func (*Profile_Control) GetStats ¶
func (x *Profile_Control) GetStats() *Profile_Control_ResultTotals
func (*Profile_Control) GetTitle ¶
func (x *Profile_Control) GetTitle() string
func (*Profile_Control) ProtoMessage ¶
func (*Profile_Control) ProtoMessage()
func (*Profile_Control) ProtoReflect ¶
func (x *Profile_Control) ProtoReflect() protoreflect.Message
func (*Profile_Control) Reset ¶
func (x *Profile_Control) Reset()
func (*Profile_Control) String ¶
func (x *Profile_Control) String() string
type Profile_ControlTotals ¶
type Profile_ControlTotals struct { // The number of controls in the profile NumTests int32 `` /* 148-byte string literal not displayed */ // The number of controls that failed NumFailedTests int32 `` /* 182-byte string literal not displayed */ // The number of controls that were skipped (0 fails, 0 pass) NumSkippedTests int32 `` /* 187-byte string literal not displayed */ // The number of controls that passed NumPassedTests int32 `` /* 182-byte string literal not displayed */ // contains filtered or unexported fields }
func (*Profile_ControlTotals) Descriptor
deprecated
func (*Profile_ControlTotals) Descriptor() ([]byte, []int)
Deprecated: Use Profile_ControlTotals.ProtoReflect.Descriptor instead.
func (*Profile_ControlTotals) GetNumFailedTests ¶
func (x *Profile_ControlTotals) GetNumFailedTests() int32
func (*Profile_ControlTotals) GetNumPassedTests ¶
func (x *Profile_ControlTotals) GetNumPassedTests() int32
func (*Profile_ControlTotals) GetNumSkippedTests ¶
func (x *Profile_ControlTotals) GetNumSkippedTests() int32
func (*Profile_ControlTotals) GetNumTests ¶
func (x *Profile_ControlTotals) GetNumTests() int32
func (*Profile_ControlTotals) ProtoMessage ¶
func (*Profile_ControlTotals) ProtoMessage()
func (*Profile_ControlTotals) ProtoReflect ¶
func (x *Profile_ControlTotals) ProtoReflect() protoreflect.Message
func (*Profile_ControlTotals) Reset ¶
func (x *Profile_ControlTotals) Reset()
func (*Profile_ControlTotals) String ¶
func (x *Profile_ControlTotals) String() string
type Profile_Control_Result ¶
type Profile_Control_Result struct { Status string `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty" toml:"status,omitempty" mapstructure:"status,omitempty"` CodeDesc string `` /* 147-byte string literal not displayed */ RunTime float32 `` /* 144-byte string literal not displayed */ StartTime string `` /* 152-byte string literal not displayed */ Message string `protobuf:"bytes,5,opt,name=message,proto3" json:"message,omitempty" toml:"message,omitempty" mapstructure:"message,omitempty"` SkipMessage string `` /* 162-byte string literal not displayed */ // contains filtered or unexported fields }
func (*Profile_Control_Result) Descriptor
deprecated
func (*Profile_Control_Result) Descriptor() ([]byte, []int)
Deprecated: Use Profile_Control_Result.ProtoReflect.Descriptor instead.
func (*Profile_Control_Result) GetCodeDesc ¶
func (x *Profile_Control_Result) GetCodeDesc() string
func (*Profile_Control_Result) GetMessage ¶
func (x *Profile_Control_Result) GetMessage() string
func (*Profile_Control_Result) GetRunTime ¶
func (x *Profile_Control_Result) GetRunTime() float32
func (*Profile_Control_Result) GetSkipMessage ¶
func (x *Profile_Control_Result) GetSkipMessage() string
func (*Profile_Control_Result) GetStartTime ¶
func (x *Profile_Control_Result) GetStartTime() string
func (*Profile_Control_Result) GetStatus ¶
func (x *Profile_Control_Result) GetStatus() string
func (*Profile_Control_Result) ProtoMessage ¶
func (*Profile_Control_Result) ProtoMessage()
func (*Profile_Control_Result) ProtoReflect ¶
func (x *Profile_Control_Result) ProtoReflect() protoreflect.Message
func (*Profile_Control_Result) Reset ¶
func (x *Profile_Control_Result) Reset()
func (*Profile_Control_Result) String ¶
func (x *Profile_Control_Result) String() string
type Profile_Control_ResultTotals ¶
type Profile_Control_ResultTotals struct { NumTests int32 `` /* 148-byte string literal not displayed */ NumFailedTests int32 `` /* 182-byte string literal not displayed */ NumSkippedTests int32 `` /* 187-byte string literal not displayed */ NumPassedTests int32 `` /* 182-byte string literal not displayed */ // contains filtered or unexported fields }
func (*Profile_Control_ResultTotals) Descriptor
deprecated
func (*Profile_Control_ResultTotals) Descriptor() ([]byte, []int)
Deprecated: Use Profile_Control_ResultTotals.ProtoReflect.Descriptor instead.
func (*Profile_Control_ResultTotals) GetNumFailedTests ¶
func (x *Profile_Control_ResultTotals) GetNumFailedTests() int32
func (*Profile_Control_ResultTotals) GetNumPassedTests ¶
func (x *Profile_Control_ResultTotals) GetNumPassedTests() int32
func (*Profile_Control_ResultTotals) GetNumSkippedTests ¶
func (x *Profile_Control_ResultTotals) GetNumSkippedTests() int32
func (*Profile_Control_ResultTotals) GetNumTests ¶
func (x *Profile_Control_ResultTotals) GetNumTests() int32
func (*Profile_Control_ResultTotals) ProtoMessage ¶
func (*Profile_Control_ResultTotals) ProtoMessage()
func (*Profile_Control_ResultTotals) ProtoReflect ¶
func (x *Profile_Control_ResultTotals) ProtoReflect() protoreflect.Message
func (*Profile_Control_ResultTotals) Reset ¶
func (x *Profile_Control_ResultTotals) Reset()
func (*Profile_Control_ResultTotals) String ¶
func (x *Profile_Control_ResultTotals) String() string
type Refs ¶
type Refs struct { Uri string `protobuf:"bytes,2,opt,name=uri,proto3" json:"uri,omitempty" toml:"uri,omitempty" mapstructure:"uri,omitempty"` Url string `protobuf:"bytes,3,opt,name=url,proto3" json:"url,omitempty" toml:"url,omitempty" mapstructure:"url,omitempty"` // contains filtered or unexported fields }
func (*Refs) Descriptor
deprecated
func (*Refs) ProtoMessage ¶
func (*Refs) ProtoMessage()
func (*Refs) ProtoReflect ¶
func (x *Refs) ProtoReflect() protoreflect.Message
type Response ¶
type Response struct {
// contains filtered or unexported fields
}
func (*Response) Descriptor
deprecated
func (*Response) ProtoMessage ¶
func (*Response) ProtoMessage()
func (*Response) ProtoReflect ¶
func (x *Response) ProtoReflect() protoreflect.Message
type Rule ¶
type Rule struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty" toml:"id,omitempty" mapstructure:"id,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty" toml:"name,omitempty" mapstructure:"name,omitempty"` Event Rule_Event `` /* 177-byte string literal not displayed */ // Types that are assignable to Action: // // *Rule_SlackAlert // *Rule_WebhookAlert // *Rule_ServiceNowAlert Action isRule_Action `protobuf_oneof:"action"` // contains filtered or unexported fields }
func (*Rule) Descriptor
deprecated
func (*Rule) GetEvent ¶
func (x *Rule) GetEvent() Rule_Event
func (*Rule) GetServiceNowAlert ¶
func (x *Rule) GetServiceNowAlert() *ServiceNowAlert
func (*Rule) GetSlackAlert ¶
func (x *Rule) GetSlackAlert() *SlackAlert
func (*Rule) GetWebhookAlert ¶
func (x *Rule) GetWebhookAlert() *WebhookAlert
func (*Rule) ProtoMessage ¶
func (*Rule) ProtoMessage()
func (*Rule) ProtoReflect ¶
func (x *Rule) ProtoReflect() protoreflect.Message
type RuleAddResponse ¶
type RuleAddResponse struct { Code RuleAddResponse_Code `` /* 183-byte string literal not displayed */ Messages []string `` /* 129-byte string literal not displayed */ Id string `protobuf:"bytes,3,opt,name=id,proto3" json:"id,omitempty" toml:"id,omitempty" mapstructure:"id,omitempty"` Rule *Rule `protobuf:"bytes,4,opt,name=rule,proto3" json:"rule,omitempty" toml:"rule,omitempty" mapstructure:"rule,omitempty"` // contains filtered or unexported fields }
func (*RuleAddResponse) Descriptor
deprecated
func (*RuleAddResponse) Descriptor() ([]byte, []int)
Deprecated: Use RuleAddResponse.ProtoReflect.Descriptor instead.
func (*RuleAddResponse) GetCode ¶
func (x *RuleAddResponse) GetCode() RuleAddResponse_Code
func (*RuleAddResponse) GetId ¶
func (x *RuleAddResponse) GetId() string
func (*RuleAddResponse) GetMessages ¶
func (x *RuleAddResponse) GetMessages() []string
func (*RuleAddResponse) GetRule ¶
func (x *RuleAddResponse) GetRule() *Rule
func (*RuleAddResponse) ProtoMessage ¶
func (*RuleAddResponse) ProtoMessage()
func (*RuleAddResponse) ProtoReflect ¶
func (x *RuleAddResponse) ProtoReflect() protoreflect.Message
func (*RuleAddResponse) Reset ¶
func (x *RuleAddResponse) Reset()
func (*RuleAddResponse) String ¶
func (x *RuleAddResponse) String() string
type RuleAddResponse_Code ¶
type RuleAddResponse_Code int32
const ( RuleAddResponse_ADDED RuleAddResponse_Code = 0 RuleAddResponse_DUPLICATE_NAME RuleAddResponse_Code = 1 RuleAddResponse_NOT_FOUND RuleAddResponse_Code = 2 RuleAddResponse_INVALID_ACTION_CONFIG RuleAddResponse_Code = 3 RuleAddResponse_VALIDATION_ERROR RuleAddResponse_Code = 4 RuleAddResponse_INTERNAL_ERROR RuleAddResponse_Code = 99 )
func (RuleAddResponse_Code) Descriptor ¶
func (RuleAddResponse_Code) Descriptor() protoreflect.EnumDescriptor
func (RuleAddResponse_Code) Enum ¶
func (x RuleAddResponse_Code) Enum() *RuleAddResponse_Code
func (RuleAddResponse_Code) EnumDescriptor
deprecated
func (RuleAddResponse_Code) EnumDescriptor() ([]byte, []int)
Deprecated: Use RuleAddResponse_Code.Descriptor instead.
func (RuleAddResponse_Code) Number ¶
func (x RuleAddResponse_Code) Number() protoreflect.EnumNumber
func (RuleAddResponse_Code) String ¶
func (x RuleAddResponse_Code) String() string
func (RuleAddResponse_Code) Type ¶
func (RuleAddResponse_Code) Type() protoreflect.EnumType
type RuleDeleteResponse ¶
type RuleDeleteResponse struct { Code RuleDeleteResponse_Code `` /* 186-byte string literal not displayed */ Messages []string `` /* 129-byte string literal not displayed */ // contains filtered or unexported fields }
func (*RuleDeleteResponse) Descriptor
deprecated
func (*RuleDeleteResponse) Descriptor() ([]byte, []int)
Deprecated: Use RuleDeleteResponse.ProtoReflect.Descriptor instead.
func (*RuleDeleteResponse) GetCode ¶
func (x *RuleDeleteResponse) GetCode() RuleDeleteResponse_Code
func (*RuleDeleteResponse) GetMessages ¶
func (x *RuleDeleteResponse) GetMessages() []string
func (*RuleDeleteResponse) ProtoMessage ¶
func (*RuleDeleteResponse) ProtoMessage()
func (*RuleDeleteResponse) ProtoReflect ¶
func (x *RuleDeleteResponse) ProtoReflect() protoreflect.Message
func (*RuleDeleteResponse) Reset ¶
func (x *RuleDeleteResponse) Reset()
func (*RuleDeleteResponse) String ¶
func (x *RuleDeleteResponse) String() string
type RuleDeleteResponse_Code ¶
type RuleDeleteResponse_Code int32
const ( RuleDeleteResponse_DELETED RuleDeleteResponse_Code = 0 RuleDeleteResponse_NOT_FOUND RuleDeleteResponse_Code = 2 RuleDeleteResponse_INTERNAL_ERROR RuleDeleteResponse_Code = 99 )
func (RuleDeleteResponse_Code) Descriptor ¶
func (RuleDeleteResponse_Code) Descriptor() protoreflect.EnumDescriptor
func (RuleDeleteResponse_Code) Enum ¶
func (x RuleDeleteResponse_Code) Enum() *RuleDeleteResponse_Code
func (RuleDeleteResponse_Code) EnumDescriptor
deprecated
func (RuleDeleteResponse_Code) EnumDescriptor() ([]byte, []int)
Deprecated: Use RuleDeleteResponse_Code.Descriptor instead.
func (RuleDeleteResponse_Code) Number ¶
func (x RuleDeleteResponse_Code) Number() protoreflect.EnumNumber
func (RuleDeleteResponse_Code) String ¶
func (x RuleDeleteResponse_Code) String() string
func (RuleDeleteResponse_Code) Type ¶
func (RuleDeleteResponse_Code) Type() protoreflect.EnumType
type RuleGetResponse ¶
type RuleGetResponse struct { Code RuleGetResponse_Code `` /* 183-byte string literal not displayed */ Messages []string `` /* 129-byte string literal not displayed */ Rule *Rule `protobuf:"bytes,3,opt,name=rule,proto3" json:"rule,omitempty" toml:"rule,omitempty" mapstructure:"rule,omitempty"` // contains filtered or unexported fields }
func (*RuleGetResponse) Descriptor
deprecated
func (*RuleGetResponse) Descriptor() ([]byte, []int)
Deprecated: Use RuleGetResponse.ProtoReflect.Descriptor instead.
func (*RuleGetResponse) GetCode ¶
func (x *RuleGetResponse) GetCode() RuleGetResponse_Code
func (*RuleGetResponse) GetMessages ¶
func (x *RuleGetResponse) GetMessages() []string
func (*RuleGetResponse) GetRule ¶
func (x *RuleGetResponse) GetRule() *Rule
func (*RuleGetResponse) ProtoMessage ¶
func (*RuleGetResponse) ProtoMessage()
func (*RuleGetResponse) ProtoReflect ¶
func (x *RuleGetResponse) ProtoReflect() protoreflect.Message
func (*RuleGetResponse) Reset ¶
func (x *RuleGetResponse) Reset()
func (*RuleGetResponse) String ¶
func (x *RuleGetResponse) String() string
type RuleGetResponse_Code ¶
type RuleGetResponse_Code int32
const ( RuleGetResponse_OK RuleGetResponse_Code = 0 RuleGetResponse_NOT_FOUND RuleGetResponse_Code = 2 RuleGetResponse_INTERNAL_ERROR RuleGetResponse_Code = 99 )
func (RuleGetResponse_Code) Descriptor ¶
func (RuleGetResponse_Code) Descriptor() protoreflect.EnumDescriptor
func (RuleGetResponse_Code) Enum ¶
func (x RuleGetResponse_Code) Enum() *RuleGetResponse_Code
func (RuleGetResponse_Code) EnumDescriptor
deprecated
func (RuleGetResponse_Code) EnumDescriptor() ([]byte, []int)
Deprecated: Use RuleGetResponse_Code.Descriptor instead.
func (RuleGetResponse_Code) Number ¶
func (x RuleGetResponse_Code) Number() protoreflect.EnumNumber
func (RuleGetResponse_Code) String ¶
func (x RuleGetResponse_Code) String() string
func (RuleGetResponse_Code) Type ¶
func (RuleGetResponse_Code) Type() protoreflect.EnumType
type RuleIdentifier ¶
type RuleIdentifier struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty" toml:"id,omitempty" mapstructure:"id,omitempty"` // contains filtered or unexported fields }
func (*RuleIdentifier) Descriptor
deprecated
func (*RuleIdentifier) Descriptor() ([]byte, []int)
Deprecated: Use RuleIdentifier.ProtoReflect.Descriptor instead.
func (*RuleIdentifier) GetId ¶
func (x *RuleIdentifier) GetId() string
func (*RuleIdentifier) ProtoMessage ¶
func (*RuleIdentifier) ProtoMessage()
func (*RuleIdentifier) ProtoReflect ¶
func (x *RuleIdentifier) ProtoReflect() protoreflect.Message
func (*RuleIdentifier) Reset ¶
func (x *RuleIdentifier) Reset()
func (*RuleIdentifier) String ¶
func (x *RuleIdentifier) String() string
type RuleListResponse ¶
type RuleListResponse struct { Code RuleListResponse_Code `` /* 184-byte string literal not displayed */ Messages []string `` /* 129-byte string literal not displayed */ Rules []*Rule `protobuf:"bytes,3,rep,name=rules,proto3" json:"rules,omitempty" toml:"rules,omitempty" mapstructure:"rules,omitempty"` // contains filtered or unexported fields }
func (*RuleListResponse) Descriptor
deprecated
func (*RuleListResponse) Descriptor() ([]byte, []int)
Deprecated: Use RuleListResponse.ProtoReflect.Descriptor instead.
func (*RuleListResponse) GetCode ¶
func (x *RuleListResponse) GetCode() RuleListResponse_Code
func (*RuleListResponse) GetMessages ¶
func (x *RuleListResponse) GetMessages() []string
func (*RuleListResponse) GetRules ¶
func (x *RuleListResponse) GetRules() []*Rule
func (*RuleListResponse) ProtoMessage ¶
func (*RuleListResponse) ProtoMessage()
func (*RuleListResponse) ProtoReflect ¶
func (x *RuleListResponse) ProtoReflect() protoreflect.Message
func (*RuleListResponse) Reset ¶
func (x *RuleListResponse) Reset()
func (*RuleListResponse) String ¶
func (x *RuleListResponse) String() string
type RuleListResponse_Code ¶
type RuleListResponse_Code int32
const ( RuleListResponse_OK RuleListResponse_Code = 0 RuleListResponse_INTERNAL_ERROR RuleListResponse_Code = 99 )
func (RuleListResponse_Code) Descriptor ¶
func (RuleListResponse_Code) Descriptor() protoreflect.EnumDescriptor
func (RuleListResponse_Code) Enum ¶
func (x RuleListResponse_Code) Enum() *RuleListResponse_Code
func (RuleListResponse_Code) EnumDescriptor
deprecated
func (RuleListResponse_Code) EnumDescriptor() ([]byte, []int)
Deprecated: Use RuleListResponse_Code.Descriptor instead.
func (RuleListResponse_Code) Number ¶
func (x RuleListResponse_Code) Number() protoreflect.EnumNumber
func (RuleListResponse_Code) String ¶
func (x RuleListResponse_Code) String() string
func (RuleListResponse_Code) Type ¶
func (RuleListResponse_Code) Type() protoreflect.EnumType
type RuleUpdateResponse ¶
type RuleUpdateResponse struct { Code RuleUpdateResponse_Code `` /* 186-byte string literal not displayed */ Messages []string `` /* 129-byte string literal not displayed */ // contains filtered or unexported fields }
func (*RuleUpdateResponse) Descriptor
deprecated
func (*RuleUpdateResponse) Descriptor() ([]byte, []int)
Deprecated: Use RuleUpdateResponse.ProtoReflect.Descriptor instead.
func (*RuleUpdateResponse) GetCode ¶
func (x *RuleUpdateResponse) GetCode() RuleUpdateResponse_Code
func (*RuleUpdateResponse) GetMessages ¶
func (x *RuleUpdateResponse) GetMessages() []string
func (*RuleUpdateResponse) ProtoMessage ¶
func (*RuleUpdateResponse) ProtoMessage()
func (*RuleUpdateResponse) ProtoReflect ¶
func (x *RuleUpdateResponse) ProtoReflect() protoreflect.Message
func (*RuleUpdateResponse) Reset ¶
func (x *RuleUpdateResponse) Reset()
func (*RuleUpdateResponse) String ¶
func (x *RuleUpdateResponse) String() string
type RuleUpdateResponse_Code ¶
type RuleUpdateResponse_Code int32
const ( RuleUpdateResponse_OK RuleUpdateResponse_Code = 0 RuleUpdateResponse_DUPLICATE_NAME RuleUpdateResponse_Code = 1 RuleUpdateResponse_NOT_FOUND RuleUpdateResponse_Code = 2 RuleUpdateResponse_VALIDATION_ERROR RuleUpdateResponse_Code = 4 RuleUpdateResponse_INTERNAL_ERROR RuleUpdateResponse_Code = 99 )
func (RuleUpdateResponse_Code) Descriptor ¶
func (RuleUpdateResponse_Code) Descriptor() protoreflect.EnumDescriptor
func (RuleUpdateResponse_Code) Enum ¶
func (x RuleUpdateResponse_Code) Enum() *RuleUpdateResponse_Code
func (RuleUpdateResponse_Code) EnumDescriptor
deprecated
func (RuleUpdateResponse_Code) EnumDescriptor() ([]byte, []int)
Deprecated: Use RuleUpdateResponse_Code.Descriptor instead.
func (RuleUpdateResponse_Code) Number ¶
func (x RuleUpdateResponse_Code) Number() protoreflect.EnumNumber
func (RuleUpdateResponse_Code) String ¶
func (x RuleUpdateResponse_Code) String() string
func (RuleUpdateResponse_Code) Type ¶
func (RuleUpdateResponse_Code) Type() protoreflect.EnumType
type Rule_Event ¶
type Rule_Event int32
const ( Rule_CCRFailure Rule_Event = 0 Rule_CCRSuccess Rule_Event = 1 Rule_ComplianceFailure Rule_Event = 2 Rule_ComplianceSuccess Rule_Event = 3 )
func (Rule_Event) Descriptor ¶
func (Rule_Event) Descriptor() protoreflect.EnumDescriptor
func (Rule_Event) Enum ¶
func (x Rule_Event) Enum() *Rule_Event
func (Rule_Event) EnumDescriptor
deprecated
func (Rule_Event) EnumDescriptor() ([]byte, []int)
Deprecated: Use Rule_Event.Descriptor instead.
func (Rule_Event) Number ¶
func (x Rule_Event) Number() protoreflect.EnumNumber
func (Rule_Event) String ¶
func (x Rule_Event) String() string
func (Rule_Event) Type ¶
func (Rule_Event) Type() protoreflect.EnumType
type Rule_ServiceNowAlert ¶
type Rule_ServiceNowAlert struct {
ServiceNowAlert *ServiceNowAlert `protobuf:"bytes,6,opt,name=ServiceNowAlert,proto3,oneof"`
}
type Rule_SlackAlert ¶
type Rule_SlackAlert struct {
SlackAlert *SlackAlert `protobuf:"bytes,4,opt,name=SlackAlert,proto3,oneof"`
}
type Rule_WebhookAlert ¶
type Rule_WebhookAlert struct {
WebhookAlert *WebhookAlert `protobuf:"bytes,5,opt,name=WebhookAlert,proto3,oneof"`
}
type SecretId ¶
type SecretId struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty" toml:"id,omitempty" mapstructure:"id,omitempty"` // contains filtered or unexported fields }
func (*SecretId) Descriptor
deprecated
func (*SecretId) ProtoMessage ¶
func (*SecretId) ProtoMessage()
func (*SecretId) ProtoReflect ¶
func (x *SecretId) ProtoReflect() protoreflect.Message
type ServiceNowAlert ¶
type ServiceNowAlert struct { Url string `protobuf:"bytes,1,opt,name=url,proto3" json:"url,omitempty" toml:"url,omitempty" mapstructure:"url,omitempty"` SecretId string `` /* 147-byte string literal not displayed */ CriticalControlsOnly bool `` /* 212-byte string literal not displayed */ // contains filtered or unexported fields }
func (*ServiceNowAlert) Descriptor
deprecated
func (*ServiceNowAlert) Descriptor() ([]byte, []int)
Deprecated: Use ServiceNowAlert.ProtoReflect.Descriptor instead.
func (*ServiceNowAlert) GetCriticalControlsOnly ¶
func (x *ServiceNowAlert) GetCriticalControlsOnly() bool
func (*ServiceNowAlert) GetSecretId ¶
func (x *ServiceNowAlert) GetSecretId() string
func (*ServiceNowAlert) GetUrl ¶
func (x *ServiceNowAlert) GetUrl() string
func (*ServiceNowAlert) ProtoMessage ¶
func (*ServiceNowAlert) ProtoMessage()
func (*ServiceNowAlert) ProtoReflect ¶
func (x *ServiceNowAlert) ProtoReflect() protoreflect.Message
func (*ServiceNowAlert) Reset ¶
func (x *ServiceNowAlert) Reset()
func (*ServiceNowAlert) String ¶
func (x *ServiceNowAlert) String() string
type SlackAlert ¶
type SlackAlert struct { Url string `protobuf:"bytes,1,opt,name=url,proto3" json:"url,omitempty" toml:"url,omitempty" mapstructure:"url,omitempty"` // contains filtered or unexported fields }
func (*SlackAlert) Descriptor
deprecated
func (*SlackAlert) Descriptor() ([]byte, []int)
Deprecated: Use SlackAlert.ProtoReflect.Descriptor instead.
func (*SlackAlert) GetUrl ¶
func (x *SlackAlert) GetUrl() string
func (*SlackAlert) ProtoMessage ¶
func (*SlackAlert) ProtoMessage()
func (*SlackAlert) ProtoReflect ¶
func (x *SlackAlert) ProtoReflect() protoreflect.Message
func (*SlackAlert) Reset ¶
func (x *SlackAlert) Reset()
func (*SlackAlert) String ¶
func (x *SlackAlert) String() string
type SourceLocation ¶
type SourceLocation struct { Ref string `protobuf:"bytes,1,opt,name=ref,proto3" json:"ref,omitempty" toml:"ref,omitempty" mapstructure:"ref,omitempty"` Line int32 `protobuf:"varint,2,opt,name=line,proto3" json:"line,omitempty" toml:"line,omitempty" mapstructure:"line,omitempty"` // contains filtered or unexported fields }
func (*SourceLocation) Descriptor
deprecated
func (*SourceLocation) Descriptor() ([]byte, []int)
Deprecated: Use SourceLocation.ProtoReflect.Descriptor instead.
func (*SourceLocation) GetLine ¶
func (x *SourceLocation) GetLine() int32
func (*SourceLocation) GetRef ¶
func (x *SourceLocation) GetRef() string
func (*SourceLocation) ProtoMessage ¶
func (*SourceLocation) ProtoMessage()
func (*SourceLocation) ProtoReflect ¶
func (x *SourceLocation) ProtoReflect() protoreflect.Message
func (*SourceLocation) Reset ¶
func (x *SourceLocation) Reset()
func (*SourceLocation) String ¶
func (x *SourceLocation) String() string
type TimeInfo ¶
type TimeInfo struct { StartTime string `` /* 152-byte string literal not displayed */ EndTime string `` /* 142-byte string literal not displayed */ // contains filtered or unexported fields }
func (*TimeInfo) Descriptor
deprecated
func (*TimeInfo) GetEndTime ¶
func (*TimeInfo) GetStartTime ¶
func (*TimeInfo) ProtoMessage ¶
func (*TimeInfo) ProtoMessage()
func (*TimeInfo) ProtoReflect ¶
func (x *TimeInfo) ProtoReflect() protoreflect.Message
type URLValidationRequest ¶
type URLValidationRequest struct { Url string `protobuf:"bytes,1,opt,name=url,proto3" json:"url,omitempty" toml:"url,omitempty" mapstructure:"url,omitempty"` // Types that are assignable to Credentials: // // *URLValidationRequest_UsernamePassword // *URLValidationRequest_SecretId // *URLValidationRequest_None Credentials isURLValidationRequest_Credentials `protobuf_oneof:"credentials"` // contains filtered or unexported fields }
func (*URLValidationRequest) Descriptor
deprecated
func (*URLValidationRequest) Descriptor() ([]byte, []int)
Deprecated: Use URLValidationRequest.ProtoReflect.Descriptor instead.
func (*URLValidationRequest) GetCredentials ¶
func (m *URLValidationRequest) GetCredentials() isURLValidationRequest_Credentials
func (*URLValidationRequest) GetNone ¶
func (x *URLValidationRequest) GetNone() *Empty
func (*URLValidationRequest) GetSecretId ¶
func (x *URLValidationRequest) GetSecretId() *SecretId
func (*URLValidationRequest) GetUrl ¶
func (x *URLValidationRequest) GetUrl() string
func (*URLValidationRequest) GetUsernamePassword ¶
func (x *URLValidationRequest) GetUsernamePassword() *UsernamePassword
func (*URLValidationRequest) ProtoMessage ¶
func (*URLValidationRequest) ProtoMessage()
func (*URLValidationRequest) ProtoReflect ¶
func (x *URLValidationRequest) ProtoReflect() protoreflect.Message
func (*URLValidationRequest) Reset ¶
func (x *URLValidationRequest) Reset()
func (*URLValidationRequest) String ¶
func (x *URLValidationRequest) String() string
type URLValidationRequest_None ¶
type URLValidationRequest_None struct {
None *Empty `protobuf:"bytes,4,opt,name=none,proto3,oneof"`
}
type URLValidationRequest_SecretId ¶
type URLValidationRequest_SecretId struct {
SecretId *SecretId `protobuf:"bytes,3,opt,name=secret_id,json=secretId,proto3,oneof"`
}
type URLValidationRequest_UsernamePassword ¶
type URLValidationRequest_UsernamePassword struct {
UsernamePassword *UsernamePassword `protobuf:"bytes,2,opt,name=username_password,json=usernamePassword,proto3,oneof"`
}
type URLValidationResponse ¶
type URLValidationResponse struct { Code URLValidationResponse_Code `` /* 189-byte string literal not displayed */ Messages []string `` // unused but kept for consistency with other Rule api responses. /* 129-byte string literal not displayed */ // contains filtered or unexported fields }
func (*URLValidationResponse) Descriptor
deprecated
func (*URLValidationResponse) Descriptor() ([]byte, []int)
Deprecated: Use URLValidationResponse.ProtoReflect.Descriptor instead.
func (*URLValidationResponse) GetCode ¶
func (x *URLValidationResponse) GetCode() URLValidationResponse_Code
func (*URLValidationResponse) GetMessages ¶
func (x *URLValidationResponse) GetMessages() []string
func (*URLValidationResponse) ProtoMessage ¶
func (*URLValidationResponse) ProtoMessage()
func (*URLValidationResponse) ProtoReflect ¶
func (x *URLValidationResponse) ProtoReflect() protoreflect.Message
func (*URLValidationResponse) Reset ¶
func (x *URLValidationResponse) Reset()
func (*URLValidationResponse) String ¶
func (x *URLValidationResponse) String() string
type URLValidationResponse_Code ¶
type URLValidationResponse_Code int32
const ( URLValidationResponse_OK URLValidationResponse_Code = 0 // we made the request and it succeeded with a 20x response URLValidationResponse_ERROR URLValidationResponse_Code = 1 // We made the request and it failed for any reason. URLValidationResponse_INVALID_URL URLValidationResponse_Code = 4 // the url was not valid. URLValidationResponse_NOTIFICATIONS_UNAVAIALBLE URLValidationResponse_Code = 98 // we could not make the request due to capacity URLValidationResponse_INTERNAL_ERROR URLValidationResponse_Code = 99 )
func (URLValidationResponse_Code) Descriptor ¶
func (URLValidationResponse_Code) Descriptor() protoreflect.EnumDescriptor
func (URLValidationResponse_Code) Enum ¶
func (x URLValidationResponse_Code) Enum() *URLValidationResponse_Code
func (URLValidationResponse_Code) EnumDescriptor
deprecated
func (URLValidationResponse_Code) EnumDescriptor() ([]byte, []int)
Deprecated: Use URLValidationResponse_Code.Descriptor instead.
func (URLValidationResponse_Code) Number ¶
func (x URLValidationResponse_Code) Number() protoreflect.EnumNumber
func (URLValidationResponse_Code) String ¶
func (x URLValidationResponse_Code) String() string
func (URLValidationResponse_Code) Type ¶
func (URLValidationResponse_Code) Type() protoreflect.EnumType
type UnimplementedNotificationsServer ¶
type UnimplementedNotificationsServer struct { }
UnimplementedNotificationsServer can be embedded to have forward compatible implementations.
func (*UnimplementedNotificationsServer) AddRule ¶
func (*UnimplementedNotificationsServer) AddRule(context.Context, *Rule) (*RuleAddResponse, error)
func (*UnimplementedNotificationsServer) DeleteRule ¶
func (*UnimplementedNotificationsServer) DeleteRule(context.Context, *RuleIdentifier) (*RuleDeleteResponse, error)
func (*UnimplementedNotificationsServer) GetRule ¶
func (*UnimplementedNotificationsServer) GetRule(context.Context, *RuleIdentifier) (*RuleGetResponse, error)
func (*UnimplementedNotificationsServer) ListRules ¶
func (*UnimplementedNotificationsServer) ListRules(context.Context, *Empty) (*RuleListResponse, error)
func (*UnimplementedNotificationsServer) UpdateRule ¶
func (*UnimplementedNotificationsServer) UpdateRule(context.Context, *Rule) (*RuleUpdateResponse, error)
func (*UnimplementedNotificationsServer) ValidateWebhook ¶
func (*UnimplementedNotificationsServer) ValidateWebhook(context.Context, *URLValidationRequest) (*URLValidationResponse, error)
func (*UnimplementedNotificationsServer) Version ¶
func (*UnimplementedNotificationsServer) Version(context.Context, *VersionRequest) (*VersionResponse, error)
type UsernamePassword ¶
type UsernamePassword struct { Username string `` /* 129-byte string literal not displayed */ Password string `` /* 129-byte string literal not displayed */ // contains filtered or unexported fields }
func (*UsernamePassword) Descriptor
deprecated
func (*UsernamePassword) Descriptor() ([]byte, []int)
Deprecated: Use UsernamePassword.ProtoReflect.Descriptor instead.
func (*UsernamePassword) GetPassword ¶
func (x *UsernamePassword) GetPassword() string
func (*UsernamePassword) GetUsername ¶
func (x *UsernamePassword) GetUsername() string
func (*UsernamePassword) ProtoMessage ¶
func (*UsernamePassword) ProtoMessage()
func (*UsernamePassword) ProtoReflect ¶
func (x *UsernamePassword) ProtoReflect() protoreflect.Message
func (*UsernamePassword) Reset ¶
func (x *UsernamePassword) Reset()
func (*UsernamePassword) String ¶
func (x *UsernamePassword) String() string
type VersionRequest ¶
type VersionRequest struct {
// contains filtered or unexported fields
}
func (*VersionRequest) Descriptor
deprecated
func (*VersionRequest) Descriptor() ([]byte, []int)
Deprecated: Use VersionRequest.ProtoReflect.Descriptor instead.
func (*VersionRequest) ProtoMessage ¶
func (*VersionRequest) ProtoMessage()
func (*VersionRequest) ProtoReflect ¶
func (x *VersionRequest) ProtoReflect() protoreflect.Message
func (*VersionRequest) Reset ¶
func (x *VersionRequest) Reset()
func (*VersionRequest) String ¶
func (x *VersionRequest) String() string
type VersionResponse ¶
type VersionResponse struct { Version string `protobuf:"bytes,1,opt,name=version,proto3" json:"version,omitempty" toml:"version,omitempty" mapstructure:"version,omitempty"` // contains filtered or unexported fields }
func (*VersionResponse) Descriptor
deprecated
func (*VersionResponse) Descriptor() ([]byte, []int)
Deprecated: Use VersionResponse.ProtoReflect.Descriptor instead.
func (*VersionResponse) GetVersion ¶
func (x *VersionResponse) GetVersion() string
func (*VersionResponse) ProtoMessage ¶
func (*VersionResponse) ProtoMessage()
func (*VersionResponse) ProtoReflect ¶
func (x *VersionResponse) ProtoReflect() protoreflect.Message
func (*VersionResponse) Reset ¶
func (x *VersionResponse) Reset()
func (*VersionResponse) String ¶
func (x *VersionResponse) String() string
type WebhookAlert ¶
type WebhookAlert struct { Url string `protobuf:"bytes,1,opt,name=url,proto3" json:"url,omitempty" toml:"url,omitempty" mapstructure:"url,omitempty"` // contains filtered or unexported fields }
func (*WebhookAlert) Descriptor
deprecated
func (*WebhookAlert) Descriptor() ([]byte, []int)
Deprecated: Use WebhookAlert.ProtoReflect.Descriptor instead.
func (*WebhookAlert) GetUrl ¶
func (x *WebhookAlert) GetUrl() string
func (*WebhookAlert) ProtoMessage ¶
func (*WebhookAlert) ProtoMessage()
func (*WebhookAlert) ProtoReflect ¶
func (x *WebhookAlert) ProtoReflect() protoreflect.Message
func (*WebhookAlert) Reset ¶
func (x *WebhookAlert) Reset()
func (*WebhookAlert) String ¶
func (x *WebhookAlert) String() string