f5_nginx_agent_sdk_events

package
v2.33.0 Latest Latest
Warning

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

Go to latest
Published: Mar 25, 2024 License: Apache-2.0 Imports: 8 Imported by: 5

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrInvalidLengthEvent        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowEvent          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupEvent = fmt.Errorf("proto: unexpected end of group")
)

Functions

This section is empty.

Types

type ActivityEvent

type ActivityEvent struct {
	// Activtiy event message
	Message string `protobuf:"bytes,1,opt,name=Message,proto3" json:"message"`
	// Array of dimensions
	Dimensions           []*common.Dimension `protobuf:"bytes,2,rep,name=Dimensions,proto3" json:"dimensions"`
	XXX_NoUnkeyedLiteral struct{}            `json:"-"`
	XXX_unrecognized     []byte              `json:"-"`
	XXX_sizecache        int32               `json:"-"`
}

Represents an activity event

func (*ActivityEvent) Descriptor

func (*ActivityEvent) Descriptor() ([]byte, []int)

func (*ActivityEvent) GetDimensions

func (m *ActivityEvent) GetDimensions() []*common.Dimension

func (*ActivityEvent) GetMessage

func (m *ActivityEvent) GetMessage() string

func (*ActivityEvent) Marshal

func (m *ActivityEvent) Marshal() (dAtA []byte, err error)

func (*ActivityEvent) MarshalTo

func (m *ActivityEvent) MarshalTo(dAtA []byte) (int, error)

func (*ActivityEvent) MarshalToSizedBuffer

func (m *ActivityEvent) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ActivityEvent) ProtoMessage

func (*ActivityEvent) ProtoMessage()

func (*ActivityEvent) Reset

func (m *ActivityEvent) Reset()

func (*ActivityEvent) Size

func (m *ActivityEvent) Size() (n int)

func (*ActivityEvent) String

func (m *ActivityEvent) String() string

func (*ActivityEvent) Unmarshal

func (m *ActivityEvent) Unmarshal(dAtA []byte) error

func (*ActivityEvent) XXX_DiscardUnknown

func (m *ActivityEvent) XXX_DiscardUnknown()

func (*ActivityEvent) XXX_Marshal

func (m *ActivityEvent) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ActivityEvent) XXX_Merge

func (m *ActivityEvent) XXX_Merge(src proto.Message)

func (*ActivityEvent) XXX_Size

func (m *ActivityEvent) XXX_Size() int

func (*ActivityEvent) XXX_Unmarshal

func (m *ActivityEvent) XXX_Unmarshal(b []byte) error

type ContextData added in v2.20.0

type ContextData struct {
	// The name within the context data
	Name string `protobuf:"bytes,1,opt,name=Name,proto3" json:"parameter_data_name"`
	// The value within the context data
	Value                string   `protobuf:"bytes,2,opt,name=Value,proto3" json:"parameter_data_value"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Represents the context data of each violation

func (*ContextData) Descriptor added in v2.20.0

func (*ContextData) Descriptor() ([]byte, []int)

func (*ContextData) GetName added in v2.20.0

func (m *ContextData) GetName() string

func (*ContextData) GetValue added in v2.20.0

func (m *ContextData) GetValue() string

func (*ContextData) Marshal added in v2.20.0

func (m *ContextData) Marshal() (dAtA []byte, err error)

func (*ContextData) MarshalTo added in v2.20.0

func (m *ContextData) MarshalTo(dAtA []byte) (int, error)

func (*ContextData) MarshalToSizedBuffer added in v2.20.0

func (m *ContextData) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ContextData) ProtoMessage added in v2.20.0

func (*ContextData) ProtoMessage()

func (*ContextData) Reset added in v2.20.0

func (m *ContextData) Reset()

func (*ContextData) Size added in v2.20.0

func (m *ContextData) Size() (n int)

func (*ContextData) String added in v2.20.0

func (m *ContextData) String() string

func (*ContextData) Unmarshal added in v2.20.0

func (m *ContextData) Unmarshal(dAtA []byte) error

func (*ContextData) XXX_DiscardUnknown added in v2.20.0

func (m *ContextData) XXX_DiscardUnknown()

func (*ContextData) XXX_Marshal added in v2.20.0

func (m *ContextData) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ContextData) XXX_Merge added in v2.20.0

func (m *ContextData) XXX_Merge(src proto.Message)

func (*ContextData) XXX_Size added in v2.20.0

func (m *ContextData) XXX_Size() int

func (*ContextData) XXX_Unmarshal added in v2.20.0

func (m *ContextData) XXX_Unmarshal(b []byte) error

type Event

type Event struct {
	// Event metadata
	Metadata *Metadata `protobuf:"bytes,1,opt,name=Metadata,proto3" json:"metadata"`
	// Types that are valid to be assigned to Data:
	//
	//	*Event_ActivityEvent
	//	*Event_SecurityViolationEvent
	Data                 isEvent_Data `protobuf_oneof:"data"`
	XXX_NoUnkeyedLiteral struct{}     `json:"-"`
	XXX_unrecognized     []byte       `json:"-"`
	XXX_sizecache        int32        `json:"-"`
}

Represents an event

func (*Event) Descriptor

func (*Event) Descriptor() ([]byte, []int)

func (*Event) GetActivityEvent

func (m *Event) GetActivityEvent() *ActivityEvent

func (*Event) GetData

func (m *Event) GetData() isEvent_Data

func (*Event) GetMetadata

func (m *Event) GetMetadata() *Metadata

func (*Event) GetSecurityViolationEvent added in v2.20.0

func (m *Event) GetSecurityViolationEvent() *SecurityViolationEvent

func (*Event) Marshal

func (m *Event) Marshal() (dAtA []byte, err error)

func (*Event) MarshalTo

func (m *Event) MarshalTo(dAtA []byte) (int, error)

func (*Event) MarshalToSizedBuffer

func (m *Event) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Event) ProtoMessage

func (*Event) ProtoMessage()

func (*Event) Reset

func (m *Event) Reset()

func (*Event) Size

func (m *Event) Size() (n int)

func (*Event) String

func (m *Event) String() string

func (*Event) Unmarshal

func (m *Event) Unmarshal(dAtA []byte) error

func (*Event) XXX_DiscardUnknown

func (m *Event) XXX_DiscardUnknown()

func (*Event) XXX_Marshal

func (m *Event) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Event) XXX_Merge

func (m *Event) XXX_Merge(src proto.Message)

func (*Event) XXX_OneofWrappers

func (*Event) XXX_OneofWrappers() []interface{}

XXX_OneofWrappers is for the internal use of the proto package.

func (*Event) XXX_Size

func (m *Event) XXX_Size() int

func (*Event) XXX_Unmarshal

func (m *Event) XXX_Unmarshal(b []byte) error

type EventReport

type EventReport struct {
	// Array of events
	Events               []*Event `protobuf:"bytes,1,rep,name=Events,proto3" json:"events"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Represents an event report

func (*EventReport) Descriptor

func (*EventReport) Descriptor() ([]byte, []int)

func (*EventReport) GetEvents

func (m *EventReport) GetEvents() []*Event

func (*EventReport) Marshal

func (m *EventReport) Marshal() (dAtA []byte, err error)

func (*EventReport) MarshalTo

func (m *EventReport) MarshalTo(dAtA []byte) (int, error)

func (*EventReport) MarshalToSizedBuffer

func (m *EventReport) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*EventReport) ProtoMessage

func (*EventReport) ProtoMessage()

func (*EventReport) Reset

func (m *EventReport) Reset()

func (*EventReport) Size

func (m *EventReport) Size() (n int)

func (*EventReport) String

func (m *EventReport) String() string

func (*EventReport) Unmarshal

func (m *EventReport) Unmarshal(dAtA []byte) error

func (*EventReport) XXX_DiscardUnknown

func (m *EventReport) XXX_DiscardUnknown()

func (*EventReport) XXX_Marshal

func (m *EventReport) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*EventReport) XXX_Merge

func (m *EventReport) XXX_Merge(src proto.Message)

func (*EventReport) XXX_Size

func (m *EventReport) XXX_Size() int

func (*EventReport) XXX_Unmarshal

func (m *EventReport) XXX_Unmarshal(b []byte) error

type Event_ActivityEvent

type Event_ActivityEvent struct {
	ActivityEvent *ActivityEvent `protobuf:"bytes,2,opt,name=ActivityEvent,proto3,oneof" json:"activity_event"`
}

func (*Event_ActivityEvent) MarshalTo

func (m *Event_ActivityEvent) MarshalTo(dAtA []byte) (int, error)

func (*Event_ActivityEvent) MarshalToSizedBuffer

func (m *Event_ActivityEvent) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Event_ActivityEvent) Size

func (m *Event_ActivityEvent) Size() (n int)

type Event_SecurityViolationEvent added in v2.20.0

type Event_SecurityViolationEvent struct {
	SecurityViolationEvent *SecurityViolationEvent `protobuf:"bytes,3,opt,name=SecurityViolationEvent,proto3,oneof" json:"security_violation_event"`
}

func (*Event_SecurityViolationEvent) MarshalTo added in v2.20.0

func (m *Event_SecurityViolationEvent) MarshalTo(dAtA []byte) (int, error)

func (*Event_SecurityViolationEvent) MarshalToSizedBuffer added in v2.20.0

func (m *Event_SecurityViolationEvent) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Event_SecurityViolationEvent) Size added in v2.20.0

func (m *Event_SecurityViolationEvent) Size() (n int)

type Metadata

type Metadata struct {
	// Module is the process that generate the event
	Module string `protobuf:"bytes,1,opt,name=Module,proto3" json:"module"`
	// UUID is a unique identifier for each event
	UUID string `protobuf:"bytes,2,opt,name=UUID,proto3" json:"uuid"`
	// CorrelationID is an ID used by the producer of the message to track the flow of events
	CorrelationID string `protobuf:"bytes,3,opt,name=CorrelationID,proto3" json:"correlation_id"`
	// Timestamp defines the time of event generation
	Timestamp *types.Timestamp `protobuf:"bytes,4,opt,name=Timestamp,proto3" json:"timestamp"`
	// EventLevel defines the criticality of event
	EventLevel string `protobuf:"bytes,5,opt,name=EventLevel,proto3" json:"event_level"`
	// Type is used to identify the event type for further processing
	Type string `protobuf:"bytes,6,opt,name=Type,proto3" json:"type"`
	// Category is used for classifying the event type into a higher level entity
	Category             string   `protobuf:"bytes,7,opt,name=Category,proto3" json:"category"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Represents the metadata for an event

func (*Metadata) Descriptor

func (*Metadata) Descriptor() ([]byte, []int)

func (*Metadata) GetCategory

func (m *Metadata) GetCategory() string

func (*Metadata) GetCorrelationID

func (m *Metadata) GetCorrelationID() string

func (*Metadata) GetEventLevel

func (m *Metadata) GetEventLevel() string

func (*Metadata) GetModule

func (m *Metadata) GetModule() string

func (*Metadata) GetTimestamp

func (m *Metadata) GetTimestamp() *types.Timestamp

func (*Metadata) GetType

func (m *Metadata) GetType() string

func (*Metadata) GetUUID

func (m *Metadata) GetUUID() string

func (*Metadata) Marshal

func (m *Metadata) Marshal() (dAtA []byte, err error)

func (*Metadata) MarshalTo

func (m *Metadata) MarshalTo(dAtA []byte) (int, error)

func (*Metadata) MarshalToSizedBuffer

func (m *Metadata) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Metadata) ProtoMessage

func (*Metadata) ProtoMessage()

func (*Metadata) Reset

func (m *Metadata) Reset()

func (*Metadata) Size

func (m *Metadata) Size() (n int)

func (*Metadata) String

func (m *Metadata) String() string

func (*Metadata) Unmarshal

func (m *Metadata) Unmarshal(dAtA []byte) error

func (*Metadata) XXX_DiscardUnknown

func (m *Metadata) XXX_DiscardUnknown()

func (*Metadata) XXX_Marshal

func (m *Metadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Metadata) XXX_Merge

func (m *Metadata) XXX_Merge(src proto.Message)

func (*Metadata) XXX_Size

func (m *Metadata) XXX_Size() int

func (*Metadata) XXX_Unmarshal

func (m *Metadata) XXX_Unmarshal(b []byte) error

type SecurityViolationEvent added in v2.20.0

type SecurityViolationEvent struct {
	// The name of the NGINX App Protect policy that triggered the security violation
	PolicyName string `protobuf:"bytes,1,opt,name=PolicyName,proto3" json:"policy_name"`
	// The unique NGINX App Protect support ID of the violation, used for tracking purposes
	SupportID string `protobuf:"bytes,2,opt,name=SupportID,proto3" json:"support_id"`
	// The outcome that resulted for the security violation
	Outcome string `protobuf:"bytes,3,opt,name=Outcome,proto3" json:"outcome"`
	// The reason for the security violation resulting in the outcome
	OutcomeReason string `protobuf:"bytes,4,opt,name=OutcomeReason,proto3" json:"outcome_reason"`
	// The blocking exception reason when a configured violation was not blocked
	BlockingExceptionReason string `protobuf:"bytes,5,opt,name=BlockingExceptionReason,proto3" json:"blocking_exception_reason"`
	// The HTTP Method of the request that triggered the security violation
	Method string `protobuf:"bytes,6,opt,name=Method,proto3" json:"method"`
	// The HTTP Protocol of the request that triggered the security violation
	Protocol string `protobuf:"bytes,7,opt,name=Protocol,proto3" json:"protocol"`
	// The HTTP xff_header_value of the request that triggered the security violation
	XForwardedForHeaderValue string `protobuf:"bytes,8,opt,name=XForwardedForHeaderValue,proto3" json:"xff_header_value"`
	// The URI of the request that triggered the security violation
	URI string `protobuf:"bytes,9,opt,name=URI,proto3" json:"uri"`
	// The full request that triggered the security violation, including the Method, URI and Request Body
	Request string `protobuf:"bytes,10,opt,name=Request,proto3" json:"request"`
	// If the request is truncated or not
	IsTruncated string `protobuf:"bytes,11,opt,name=IsTruncated,proto3" json:"is_truncated"`
	// The status of the request that triggered the security violation
	RequestStatus string `protobuf:"bytes,12,opt,name=RequestStatus,proto3" json:"request_status"`
	// The HTTP response status to the request that triggered the security violation
	ResponseCode string `protobuf:"bytes,13,opt,name=ResponseCode,proto3" json:"response_code"`
	// The server address of the instance that caught the security violation
	ServerAddr string `protobuf:"bytes,14,opt,name=ServerAddr,proto3" json:"server_addr"`
	// The Virtual Server Name of the instance that caught the security violation
	VSName string `protobuf:"bytes,15,opt,name=VSName,proto3" json:"vs_name"`
	// The targeted address by the request that triggered the security violation
	RemoteAddr string `protobuf:"bytes,16,opt,name=RemoteAddr,proto3" json:"remote_addr"`
	// The targeted port number by the request that triggered the security violation
	RemotePort string `protobuf:"bytes,17,opt,name=RemotePort,proto3" json:"destination_port"`
	// The server port of the instance that caught the security violation
	ServerPort string `protobuf:"bytes,18,opt,name=ServerPort,proto3" json:"server_port"`
	// A comma-separated list of all the violations triggered by the request
	Violations string `protobuf:"bytes,19,opt,name=Violations,proto3" json:"violations"`
	// A comma-separated list of all the sub-violations triggered by the request
	SubViolations string `protobuf:"bytes,20,opt,name=SubViolations,proto3" json:"sub_violations"`
	// The rating of the triggered security violation
	ViolationRating string `protobuf:"bytes,21,opt,name=ViolationRating,proto3" json:"violation_rating"`
	// A comma-separated list of all the signature names
	SigSetNames string `protobuf:"bytes,22,opt,name=SigSetNames,proto3" json:"sig_set_names"`
	// A comma-separated list of all the signature CVEs
	SigCVEs string `protobuf:"bytes,23,opt,name=SigCVEs,proto3" json:"sig_cves"`
	// The class of the client used to send the request that triggered the security violation
	ClientClass string `protobuf:"bytes,24,opt,name=ClientClass,proto3" json:"client_class"`
	// The application used to send the request that triggered the security violation
	ClientApplication string `protobuf:"bytes,25,opt,name=ClientApplication,proto3" json:"client_application"`
	// The version of the application used to send the request that triggered the security violation
	ClientApplicationVersion string `protobuf:"bytes,26,opt,name=ClientApplicationVersion,proto3" json:"client_application_version"`
	// The severity of the triggered security violation
	Severity string `protobuf:"bytes,27,opt,name=Severity,proto3" json:"severity"`
	// A comma-separated list of the threat campaign names
	ThreatCampaignNames string `protobuf:"bytes,28,opt,name=ThreatCampaignNames,proto3" json:"threat_campaign_names"`
	// Anomalies of the bot that sent the request that triggered the security violation
	BotAnomalies string `protobuf:"bytes,29,opt,name=BotAnomalies,proto3" json:"bot_anomalies"`
	// Category of the bot that sent the request that triggered the security violation
	BotCategory string `protobuf:"bytes,30,opt,name=BotCategory,proto3" json:"bot_category"`
	// Enforced anomalies of the bot that sent the request that triggered the security violation
	EnforcedBotAnomalies string `protobuf:"bytes,31,opt,name=EnforcedBotAnomalies,proto3" json:"enforced_bot_anomalies"`
	// Signature name of the bot that sent the request that triggered the security violation
	BotSignatureName string `protobuf:"bytes,32,opt,name=BotSignatureName,proto3" json:"bot_signature_name"`
	// A list of objects containing descriptive data about all the security violations
	ViolationsData []*ViolationData `protobuf:"bytes,34,rep,name=ViolationsData,proto3" json:"violations_data"`
	// SystemID of the instance where NGINX is running
	SystemID string `protobuf:"bytes,35,opt,name=SystemID,proto3" json:"system_id"`
	// Instance tags where NGINX is running
	InstanceTags string `protobuf:"bytes,36,opt,name=InstanceTags,proto3" json:"instance_tags"`
	// Instance group where NGINX is running
	InstanceGroup string `protobuf:"bytes,37,opt,name=InstanceGroup,proto3" json:"instance_group"`
	// Display name of the instance where NGINX is running
	DisplayName string `protobuf:"bytes,38,opt,name=DisplayName,proto3" json:"display_name"`
	// The hostname where NGINX is running
	ParentHostname       string   `protobuf:"bytes,40,opt,name=ParentHostname,proto3" json:"parent_hostname"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Represents a security violation that is emitted by the agent

func (*SecurityViolationEvent) Descriptor added in v2.20.0

func (*SecurityViolationEvent) Descriptor() ([]byte, []int)

func (*SecurityViolationEvent) GetBlockingExceptionReason added in v2.20.0

func (m *SecurityViolationEvent) GetBlockingExceptionReason() string

func (*SecurityViolationEvent) GetBotAnomalies added in v2.20.0

func (m *SecurityViolationEvent) GetBotAnomalies() string

func (*SecurityViolationEvent) GetBotCategory added in v2.20.0

func (m *SecurityViolationEvent) GetBotCategory() string

func (*SecurityViolationEvent) GetBotSignatureName added in v2.20.0

func (m *SecurityViolationEvent) GetBotSignatureName() string

func (*SecurityViolationEvent) GetClientApplication added in v2.20.0

func (m *SecurityViolationEvent) GetClientApplication() string

func (*SecurityViolationEvent) GetClientApplicationVersion added in v2.20.0

func (m *SecurityViolationEvent) GetClientApplicationVersion() string

func (*SecurityViolationEvent) GetClientClass added in v2.20.0

func (m *SecurityViolationEvent) GetClientClass() string

func (*SecurityViolationEvent) GetDisplayName added in v2.20.0

func (m *SecurityViolationEvent) GetDisplayName() string

func (*SecurityViolationEvent) GetEnforcedBotAnomalies added in v2.20.0

func (m *SecurityViolationEvent) GetEnforcedBotAnomalies() string

func (*SecurityViolationEvent) GetInstanceGroup added in v2.20.0

func (m *SecurityViolationEvent) GetInstanceGroup() string

func (*SecurityViolationEvent) GetInstanceTags added in v2.20.0

func (m *SecurityViolationEvent) GetInstanceTags() string

func (*SecurityViolationEvent) GetIsTruncated added in v2.20.0

func (m *SecurityViolationEvent) GetIsTruncated() string

func (*SecurityViolationEvent) GetMethod added in v2.20.0

func (m *SecurityViolationEvent) GetMethod() string

func (*SecurityViolationEvent) GetOutcome added in v2.20.0

func (m *SecurityViolationEvent) GetOutcome() string

func (*SecurityViolationEvent) GetOutcomeReason added in v2.20.0

func (m *SecurityViolationEvent) GetOutcomeReason() string

func (*SecurityViolationEvent) GetParentHostname added in v2.20.0

func (m *SecurityViolationEvent) GetParentHostname() string

func (*SecurityViolationEvent) GetPolicyName added in v2.20.0

func (m *SecurityViolationEvent) GetPolicyName() string

func (*SecurityViolationEvent) GetProtocol added in v2.20.0

func (m *SecurityViolationEvent) GetProtocol() string

func (*SecurityViolationEvent) GetRemoteAddr added in v2.20.0

func (m *SecurityViolationEvent) GetRemoteAddr() string

func (*SecurityViolationEvent) GetRemotePort added in v2.20.0

func (m *SecurityViolationEvent) GetRemotePort() string

func (*SecurityViolationEvent) GetRequest added in v2.20.0

func (m *SecurityViolationEvent) GetRequest() string

func (*SecurityViolationEvent) GetRequestStatus added in v2.20.0

func (m *SecurityViolationEvent) GetRequestStatus() string

func (*SecurityViolationEvent) GetResponseCode added in v2.20.0

func (m *SecurityViolationEvent) GetResponseCode() string

func (*SecurityViolationEvent) GetServerAddr added in v2.20.0

func (m *SecurityViolationEvent) GetServerAddr() string

func (*SecurityViolationEvent) GetServerPort added in v2.20.0

func (m *SecurityViolationEvent) GetServerPort() string

func (*SecurityViolationEvent) GetSeverity added in v2.20.0

func (m *SecurityViolationEvent) GetSeverity() string

func (*SecurityViolationEvent) GetSigCVEs added in v2.20.0

func (m *SecurityViolationEvent) GetSigCVEs() string

func (*SecurityViolationEvent) GetSigSetNames added in v2.20.0

func (m *SecurityViolationEvent) GetSigSetNames() string

func (*SecurityViolationEvent) GetSubViolations added in v2.20.0

func (m *SecurityViolationEvent) GetSubViolations() string

func (*SecurityViolationEvent) GetSupportID added in v2.20.0

func (m *SecurityViolationEvent) GetSupportID() string

func (*SecurityViolationEvent) GetSystemID added in v2.20.0

func (m *SecurityViolationEvent) GetSystemID() string

func (*SecurityViolationEvent) GetThreatCampaignNames added in v2.20.0

func (m *SecurityViolationEvent) GetThreatCampaignNames() string

func (*SecurityViolationEvent) GetURI added in v2.20.0

func (m *SecurityViolationEvent) GetURI() string

func (*SecurityViolationEvent) GetVSName added in v2.20.0

func (m *SecurityViolationEvent) GetVSName() string

func (*SecurityViolationEvent) GetViolationRating added in v2.20.0

func (m *SecurityViolationEvent) GetViolationRating() string

func (*SecurityViolationEvent) GetViolations added in v2.20.0

func (m *SecurityViolationEvent) GetViolations() string

func (*SecurityViolationEvent) GetViolationsData added in v2.20.0

func (m *SecurityViolationEvent) GetViolationsData() []*ViolationData

func (*SecurityViolationEvent) GetXForwardedForHeaderValue added in v2.20.0

func (m *SecurityViolationEvent) GetXForwardedForHeaderValue() string

func (*SecurityViolationEvent) Marshal added in v2.20.0

func (m *SecurityViolationEvent) Marshal() (dAtA []byte, err error)

func (*SecurityViolationEvent) MarshalTo added in v2.20.0

func (m *SecurityViolationEvent) MarshalTo(dAtA []byte) (int, error)

func (*SecurityViolationEvent) MarshalToSizedBuffer added in v2.20.0

func (m *SecurityViolationEvent) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*SecurityViolationEvent) ProtoMessage added in v2.20.0

func (*SecurityViolationEvent) ProtoMessage()

func (*SecurityViolationEvent) Reset added in v2.20.0

func (m *SecurityViolationEvent) Reset()

func (*SecurityViolationEvent) Size added in v2.20.0

func (m *SecurityViolationEvent) Size() (n int)

func (*SecurityViolationEvent) String added in v2.20.0

func (m *SecurityViolationEvent) String() string

func (*SecurityViolationEvent) Unmarshal added in v2.20.0

func (m *SecurityViolationEvent) Unmarshal(dAtA []byte) error

func (*SecurityViolationEvent) XXX_DiscardUnknown added in v2.20.0

func (m *SecurityViolationEvent) XXX_DiscardUnknown()

func (*SecurityViolationEvent) XXX_Marshal added in v2.20.0

func (m *SecurityViolationEvent) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SecurityViolationEvent) XXX_Merge added in v2.20.0

func (m *SecurityViolationEvent) XXX_Merge(src proto.Message)

func (*SecurityViolationEvent) XXX_Size added in v2.20.0

func (m *SecurityViolationEvent) XXX_Size() int

func (*SecurityViolationEvent) XXX_Unmarshal added in v2.20.0

func (m *SecurityViolationEvent) XXX_Unmarshal(b []byte) error

type SignatureData added in v2.20.0

type SignatureData struct {
	// ID of the signature data
	ID string `protobuf:"bytes,1,opt,name=ID,proto3" json:"sig_data_id"`
	// The blocking mask of the signature data
	BlockingMask string `protobuf:"bytes,2,opt,name=BlockingMask,proto3" json:"sig_data_blocking_mask"`
	// The buffer of the signature data
	Buffer string `protobuf:"bytes,3,opt,name=Buffer,proto3" json:"sig_data_buffer"`
	// The offset of the signature data
	Offset string `protobuf:"bytes,4,opt,name=Offset,proto3" json:"sig_data_offset"`
	// The length of the signature data
	Length               string   `protobuf:"bytes,5,opt,name=Length,proto3" json:"sig_data_length"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Represents signature data that's contained within each violation

func (*SignatureData) Descriptor added in v2.20.0

func (*SignatureData) Descriptor() ([]byte, []int)

func (*SignatureData) GetBlockingMask added in v2.20.0

func (m *SignatureData) GetBlockingMask() string

func (*SignatureData) GetBuffer added in v2.20.0

func (m *SignatureData) GetBuffer() string

func (*SignatureData) GetID added in v2.20.0

func (m *SignatureData) GetID() string

func (*SignatureData) GetLength added in v2.20.0

func (m *SignatureData) GetLength() string

func (*SignatureData) GetOffset added in v2.20.0

func (m *SignatureData) GetOffset() string

func (*SignatureData) Marshal added in v2.20.0

func (m *SignatureData) Marshal() (dAtA []byte, err error)

func (*SignatureData) MarshalTo added in v2.20.0

func (m *SignatureData) MarshalTo(dAtA []byte) (int, error)

func (*SignatureData) MarshalToSizedBuffer added in v2.20.0

func (m *SignatureData) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*SignatureData) ProtoMessage added in v2.20.0

func (*SignatureData) ProtoMessage()

func (*SignatureData) Reset added in v2.20.0

func (m *SignatureData) Reset()

func (*SignatureData) Size added in v2.20.0

func (m *SignatureData) Size() (n int)

func (*SignatureData) String added in v2.20.0

func (m *SignatureData) String() string

func (*SignatureData) Unmarshal added in v2.20.0

func (m *SignatureData) Unmarshal(dAtA []byte) error

func (*SignatureData) XXX_DiscardUnknown added in v2.20.0

func (m *SignatureData) XXX_DiscardUnknown()

func (*SignatureData) XXX_Marshal added in v2.20.0

func (m *SignatureData) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SignatureData) XXX_Merge added in v2.20.0

func (m *SignatureData) XXX_Merge(src proto.Message)

func (*SignatureData) XXX_Size added in v2.20.0

func (m *SignatureData) XXX_Size() int

func (*SignatureData) XXX_Unmarshal added in v2.20.0

func (m *SignatureData) XXX_Unmarshal(b []byte) error

type ViolationData added in v2.20.0

type ViolationData struct {
	// The name of the violation
	Name string `protobuf:"bytes,1,opt,name=Name,proto3" json:"violation_data_name"`
	// The context of the violation
	Context string `protobuf:"bytes,2,opt,name=Context,proto3" json:"violation_data_context"`
	// The object representing the context data of the violation
	ContextData *ContextData `protobuf:"bytes,3,opt,name=ContextData,proto3" json:"violation_data_context_data"`
	// A list representing the signature data of the violation
	Signatures           []*SignatureData `protobuf:"bytes,4,rep,name=Signatures,proto3" json:"violation_data_signatures"`
	XXX_NoUnkeyedLiteral struct{}         `json:"-"`
	XXX_unrecognized     []byte           `json:"-"`
	XXX_sizecache        int32            `json:"-"`
}

Represents the violation data contained within a security violation event

func (*ViolationData) Descriptor added in v2.20.0

func (*ViolationData) Descriptor() ([]byte, []int)

func (*ViolationData) GetContext added in v2.20.0

func (m *ViolationData) GetContext() string

func (*ViolationData) GetContextData added in v2.20.0

func (m *ViolationData) GetContextData() *ContextData

func (*ViolationData) GetName added in v2.20.0

func (m *ViolationData) GetName() string

func (*ViolationData) GetSignatures added in v2.20.0

func (m *ViolationData) GetSignatures() []*SignatureData

func (*ViolationData) Marshal added in v2.20.0

func (m *ViolationData) Marshal() (dAtA []byte, err error)

func (*ViolationData) MarshalTo added in v2.20.0

func (m *ViolationData) MarshalTo(dAtA []byte) (int, error)

func (*ViolationData) MarshalToSizedBuffer added in v2.20.0

func (m *ViolationData) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ViolationData) ProtoMessage added in v2.20.0

func (*ViolationData) ProtoMessage()

func (*ViolationData) Reset added in v2.20.0

func (m *ViolationData) Reset()

func (*ViolationData) Size added in v2.20.0

func (m *ViolationData) Size() (n int)

func (*ViolationData) String added in v2.20.0

func (m *ViolationData) String() string

func (*ViolationData) Unmarshal added in v2.20.0

func (m *ViolationData) Unmarshal(dAtA []byte) error

func (*ViolationData) XXX_DiscardUnknown added in v2.20.0

func (m *ViolationData) XXX_DiscardUnknown()

func (*ViolationData) XXX_Marshal added in v2.20.0

func (m *ViolationData) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ViolationData) XXX_Merge added in v2.20.0

func (m *ViolationData) XXX_Merge(src proto.Message)

func (*ViolationData) XXX_Size added in v2.20.0

func (m *ViolationData) XXX_Size() int

func (*ViolationData) XXX_Unmarshal added in v2.20.0

func (m *ViolationData) XXX_Unmarshal(b []byte) error

Jump to

Keyboard shortcuts

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