agentproto

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Jun 1, 2026 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	OptimizationType_name = map[int32]string{
		0: "OPTIMIZATION_UNKNOWN",
		1: "OPTIMIZATION_NONE",
		2: "OPTIMIZATION_HOST_CENTERED",
	}
	OptimizationType_value = map[string]int32{
		"OPTIMIZATION_UNKNOWN":       0,
		"OPTIMIZATION_NONE":          1,
		"OPTIMIZATION_HOST_CENTERED": 2,
	}
)

Enum value maps for OptimizationType.

View Source
var (
	EnrichmentType_name = map[int32]string{
		0: "ENRICHMENT_UNKNOWN",
		1: "DNS_RESOLVE",
		2: "PORT_SCAN",
		3: "HTTP_PROBE",
		5: "DNS_BRUTEFORCE",
		6: "DNS_PERMUTE",
	}
	EnrichmentType_value = map[string]int32{
		"ENRICHMENT_UNKNOWN": 0,
		"DNS_RESOLVE":        1,
		"PORT_SCAN":          2,
		"HTTP_PROBE":         3,
		"DNS_BRUTEFORCE":     5,
		"DNS_PERMUTE":        6,
	}
)

Enum value maps for EnrichmentType.

View Source
var File_pkg_agentproto_agent_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type AssetEnrichmentRequest

type AssetEnrichmentRequest struct {
	Type                     EnrichmentType `protobuf:"varint,1,opt,name=Type,proto3,enum=agentproto.EnrichmentType" json:"Type,omitempty"`
	Targets                  []*Target      `protobuf:"bytes,2,rep,name=Targets,proto3" json:"Targets,omitempty"`
	UserID                   int64          `protobuf:"varint,3,opt,name=UserID,proto3" json:"UserID,omitempty"`
	ChunkID                  string         `protobuf:"bytes,4,opt,name=ChunkID,proto3" json:"ChunkID,omitempty"`
	EnrichmentID             string         `protobuf:"bytes,5,opt,name=EnrichmentID,proto3" json:"EnrichmentID,omitempty"`
	StreamName               string         `protobuf:"bytes,6,opt,name=StreamName,proto3" json:"StreamName,omitempty"`
	IsVerification           bool           `protobuf:"varint,7,opt,name=IsVerification,proto3" json:"IsVerification,omitempty"`
	IsPublicEnumeration      bool           `protobuf:"varint,8,opt,name=IsPublicEnumeration,proto3" json:"IsPublicEnumeration,omitempty"`
	EnumerationConfiguration []byte         `protobuf:"bytes,9,opt,name=EnumerationConfiguration,proto3" json:"EnumerationConfiguration,omitempty"`
	// contains filtered or unexported fields
}

func (*AssetEnrichmentRequest) Descriptor deprecated

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

Deprecated: Use AssetEnrichmentRequest.ProtoReflect.Descriptor instead.

func (*AssetEnrichmentRequest) GetChunkID

func (x *AssetEnrichmentRequest) GetChunkID() string

func (*AssetEnrichmentRequest) GetEnrichmentID

func (x *AssetEnrichmentRequest) GetEnrichmentID() string

func (*AssetEnrichmentRequest) GetEnumerationConfiguration

func (x *AssetEnrichmentRequest) GetEnumerationConfiguration() []byte

func (*AssetEnrichmentRequest) GetIsPublicEnumeration

func (x *AssetEnrichmentRequest) GetIsPublicEnumeration() bool

func (*AssetEnrichmentRequest) GetIsVerification

func (x *AssetEnrichmentRequest) GetIsVerification() bool

func (*AssetEnrichmentRequest) GetStreamName

func (x *AssetEnrichmentRequest) GetStreamName() string

func (*AssetEnrichmentRequest) GetTargets

func (x *AssetEnrichmentRequest) GetTargets() []*Target

func (*AssetEnrichmentRequest) GetType

func (*AssetEnrichmentRequest) GetUserID

func (x *AssetEnrichmentRequest) GetUserID() int64

func (*AssetEnrichmentRequest) ProtoMessage

func (*AssetEnrichmentRequest) ProtoMessage()

func (*AssetEnrichmentRequest) ProtoReflect

func (x *AssetEnrichmentRequest) ProtoReflect() protoreflect.Message

func (*AssetEnrichmentRequest) Reset

func (x *AssetEnrichmentRequest) Reset()

func (*AssetEnrichmentRequest) String

func (x *AssetEnrichmentRequest) String() string

type EnrichmentType

type EnrichmentType int32
const (
	EnrichmentType_ENRICHMENT_UNKNOWN EnrichmentType = 0
	EnrichmentType_DNS_RESOLVE        EnrichmentType = 1
	EnrichmentType_PORT_SCAN          EnrichmentType = 2
	EnrichmentType_HTTP_PROBE         EnrichmentType = 3
	EnrichmentType_DNS_BRUTEFORCE     EnrichmentType = 5
	EnrichmentType_DNS_PERMUTE        EnrichmentType = 6
)

func (EnrichmentType) Descriptor

func (EnrichmentType) Enum

func (x EnrichmentType) Enum() *EnrichmentType

func (EnrichmentType) EnumDescriptor deprecated

func (EnrichmentType) EnumDescriptor() ([]byte, []int)

Deprecated: Use EnrichmentType.Descriptor instead.

func (EnrichmentType) Number

func (EnrichmentType) String

func (x EnrichmentType) String() string

func (EnrichmentType) Type

type OptimizationType

type OptimizationType int32
const (
	OptimizationType_OPTIMIZATION_UNKNOWN       OptimizationType = 0
	OptimizationType_OPTIMIZATION_NONE          OptimizationType = 1
	OptimizationType_OPTIMIZATION_HOST_CENTERED OptimizationType = 2
)

func (OptimizationType) Descriptor

func (OptimizationType) Enum

func (OptimizationType) EnumDescriptor deprecated

func (OptimizationType) EnumDescriptor() ([]byte, []int)

Deprecated: Use OptimizationType.Descriptor instead.

func (OptimizationType) Number

func (OptimizationType) String

func (x OptimizationType) String() string

func (OptimizationType) Type

type ScanRequest

type ScanRequest struct {
	ScanID               string            `protobuf:"bytes,1,opt,name=ScanID,proto3" json:"ScanID,omitempty"`
	Optimization         OptimizationType  `protobuf:"varint,2,opt,name=Optimization,proto3,enum=agentproto.OptimizationType" json:"Optimization,omitempty"`
	TemplateRequestCount int32             `protobuf:"varint,3,opt,name=TemplateRequestCount,proto3" json:"TemplateRequestCount,omitempty"`
	Targets              map[string]int64  `` /* 156-byte string literal not displayed */
	PublicTemplates      map[string]int64  `` /* 172-byte string literal not displayed */
	PrivateTemplates     map[string]string `` /* 173-byte string literal not displayed */
	TemplateURLs         map[string]string `` /* 165-byte string literal not displayed */
	UserID               int64             `protobuf:"varint,8,opt,name=UserID,proto3" json:"UserID,omitempty"`
	ChunkID              string            `protobuf:"bytes,9,opt,name=ChunkID,proto3" json:"ChunkID,omitempty"`
	ScanConfiguration    []byte            `protobuf:"bytes,10,opt,name=ScanConfiguration,proto3" json:"ScanConfiguration,omitempty"`
	Fork                 bool              `protobuf:"varint,11,opt,name=Fork,proto3" json:"Fork,omitempty"`
	PublicWorkflows      map[string]int64  `` /* 173-byte string literal not displayed */
	PrivateWorkflows     map[string]string `` /* 174-byte string literal not displayed */
	WorkflowsURLs        map[string]string `` /* 168-byte string literal not displayed */
	RunHeadlessSync      bool              `protobuf:"varint,15,opt,name=RunHeadlessSync,proto3" json:"RunHeadlessSync,omitempty"`
	HistoryID            int64             `protobuf:"varint,16,opt,name=HistoryID,proto3" json:"HistoryID,omitempty"`
	// contains filtered or unexported fields
}

func (*ScanRequest) Descriptor deprecated

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

Deprecated: Use ScanRequest.ProtoReflect.Descriptor instead.

func (*ScanRequest) GetChunkID

func (x *ScanRequest) GetChunkID() string

func (*ScanRequest) GetFork

func (x *ScanRequest) GetFork() bool

func (*ScanRequest) GetHistoryID

func (x *ScanRequest) GetHistoryID() int64

func (*ScanRequest) GetOptimization

func (x *ScanRequest) GetOptimization() OptimizationType

func (*ScanRequest) GetPrivateTemplates

func (x *ScanRequest) GetPrivateTemplates() map[string]string

func (*ScanRequest) GetPrivateWorkflows

func (x *ScanRequest) GetPrivateWorkflows() map[string]string

func (*ScanRequest) GetPublicTemplates

func (x *ScanRequest) GetPublicTemplates() map[string]int64

func (*ScanRequest) GetPublicWorkflows

func (x *ScanRequest) GetPublicWorkflows() map[string]int64

func (*ScanRequest) GetRunHeadlessSync

func (x *ScanRequest) GetRunHeadlessSync() bool

func (*ScanRequest) GetScanConfiguration

func (x *ScanRequest) GetScanConfiguration() []byte

func (*ScanRequest) GetScanID

func (x *ScanRequest) GetScanID() string

func (*ScanRequest) GetTargets

func (x *ScanRequest) GetTargets() map[string]int64

func (*ScanRequest) GetTemplateRequestCount

func (x *ScanRequest) GetTemplateRequestCount() int32

func (*ScanRequest) GetTemplateURLs

func (x *ScanRequest) GetTemplateURLs() map[string]string

func (*ScanRequest) GetUserID

func (x *ScanRequest) GetUserID() int64

func (*ScanRequest) GetWorkflowsURLs

func (x *ScanRequest) GetWorkflowsURLs() map[string]string

func (*ScanRequest) ProtoMessage

func (*ScanRequest) ProtoMessage()

func (*ScanRequest) ProtoReflect

func (x *ScanRequest) ProtoReflect() protoreflect.Message

func (*ScanRequest) Reset

func (x *ScanRequest) Reset()

func (*ScanRequest) String

func (x *ScanRequest) String() string

type Target

type Target struct {
	Host       string `protobuf:"bytes,1,opt,name=Host,proto3" json:"Host,omitempty"`
	DomainName string `protobuf:"bytes,2,opt,name=DomainName,proto3" json:"DomainName,omitempty"`
	// contains filtered or unexported fields
}

func (*Target) Descriptor deprecated

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

Deprecated: Use Target.ProtoReflect.Descriptor instead.

func (*Target) GetDomainName

func (x *Target) GetDomainName() string

func (*Target) GetHost

func (x *Target) GetHost() string

func (*Target) ProtoMessage

func (*Target) ProtoMessage()

func (*Target) ProtoReflect

func (x *Target) ProtoReflect() protoreflect.Message

func (*Target) Reset

func (x *Target) Reset()

func (*Target) String

func (x *Target) String() string

Jump to

Keyboard shortcuts

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