Documentation ¶
Index ¶
- Variables
- func RegisterWebSecurityScannerServer(s *grpc.Server, srv WebSecurityScannerServer)
- type CrawledUrl
- func (*CrawledUrl) Descriptor() ([]byte, []int)deprecated
- func (x *CrawledUrl) GetBody() string
- func (x *CrawledUrl) GetHttpMethod() string
- func (x *CrawledUrl) GetUrl() string
- func (*CrawledUrl) ProtoMessage()
- func (x *CrawledUrl) ProtoReflect() protoreflect.Message
- func (x *CrawledUrl) Reset()
- func (x *CrawledUrl) String() string
- type CreateScanConfigRequest
- func (*CreateScanConfigRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateScanConfigRequest) GetParent() string
- func (x *CreateScanConfigRequest) GetScanConfig() *ScanConfig
- func (*CreateScanConfigRequest) ProtoMessage()
- func (x *CreateScanConfigRequest) ProtoReflect() protoreflect.Message
- func (x *CreateScanConfigRequest) Reset()
- func (x *CreateScanConfigRequest) String() string
- type DeleteScanConfigRequest
- func (*DeleteScanConfigRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteScanConfigRequest) GetName() string
- func (*DeleteScanConfigRequest) ProtoMessage()
- func (x *DeleteScanConfigRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteScanConfigRequest) Reset()
- func (x *DeleteScanConfigRequest) String() string
- type Finding
- func (*Finding) Descriptor() ([]byte, []int)deprecated
- func (x *Finding) GetBody() string
- func (x *Finding) GetDescription() string
- func (x *Finding) GetFinalUrl() string
- func (x *Finding) GetFindingType() string
- func (x *Finding) GetForm() *Form
- func (x *Finding) GetFrameUrl() string
- func (x *Finding) GetFuzzedUrl() string
- func (x *Finding) GetHttpMethod() string
- func (x *Finding) GetName() string
- func (x *Finding) GetOutdatedLibrary() *OutdatedLibrary
- func (x *Finding) GetReproductionUrl() string
- func (x *Finding) GetSeverity() Finding_Severity
- func (x *Finding) GetTrackingId() string
- func (x *Finding) GetViolatingResource() *ViolatingResource
- func (x *Finding) GetVulnerableHeaders() *VulnerableHeaders
- func (x *Finding) GetVulnerableParameters() *VulnerableParameters
- func (x *Finding) GetXss() *Xss
- func (x *Finding) GetXxe() *Xxe
- func (*Finding) ProtoMessage()
- func (x *Finding) ProtoReflect() protoreflect.Message
- func (x *Finding) Reset()
- func (x *Finding) String() string
- type FindingTypeStats
- func (*FindingTypeStats) Descriptor() ([]byte, []int)deprecated
- func (x *FindingTypeStats) GetFindingCount() int32
- func (x *FindingTypeStats) GetFindingType() string
- func (*FindingTypeStats) ProtoMessage()
- func (x *FindingTypeStats) ProtoReflect() protoreflect.Message
- func (x *FindingTypeStats) Reset()
- func (x *FindingTypeStats) String() string
- type Finding_Severity
- func (Finding_Severity) Descriptor() protoreflect.EnumDescriptor
- func (x Finding_Severity) Enum() *Finding_Severity
- func (Finding_Severity) EnumDescriptor() ([]byte, []int)deprecated
- func (x Finding_Severity) Number() protoreflect.EnumNumber
- func (x Finding_Severity) String() string
- func (Finding_Severity) Type() protoreflect.EnumType
- type Form
- type GetFindingRequest
- type GetScanConfigRequest
- func (*GetScanConfigRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetScanConfigRequest) GetName() string
- func (*GetScanConfigRequest) ProtoMessage()
- func (x *GetScanConfigRequest) ProtoReflect() protoreflect.Message
- func (x *GetScanConfigRequest) Reset()
- func (x *GetScanConfigRequest) String() string
- type GetScanRunRequest
- type ListCrawledUrlsRequest
- func (*ListCrawledUrlsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListCrawledUrlsRequest) GetPageSize() int32
- func (x *ListCrawledUrlsRequest) GetPageToken() string
- func (x *ListCrawledUrlsRequest) GetParent() string
- func (*ListCrawledUrlsRequest) ProtoMessage()
- func (x *ListCrawledUrlsRequest) ProtoReflect() protoreflect.Message
- func (x *ListCrawledUrlsRequest) Reset()
- func (x *ListCrawledUrlsRequest) String() string
- type ListCrawledUrlsResponse
- func (*ListCrawledUrlsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListCrawledUrlsResponse) GetCrawledUrls() []*CrawledUrl
- func (x *ListCrawledUrlsResponse) GetNextPageToken() string
- func (*ListCrawledUrlsResponse) ProtoMessage()
- func (x *ListCrawledUrlsResponse) ProtoReflect() protoreflect.Message
- func (x *ListCrawledUrlsResponse) Reset()
- func (x *ListCrawledUrlsResponse) String() string
- type ListFindingTypeStatsRequest
- func (*ListFindingTypeStatsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListFindingTypeStatsRequest) GetParent() string
- func (*ListFindingTypeStatsRequest) ProtoMessage()
- func (x *ListFindingTypeStatsRequest) ProtoReflect() protoreflect.Message
- func (x *ListFindingTypeStatsRequest) Reset()
- func (x *ListFindingTypeStatsRequest) String() string
- type ListFindingTypeStatsResponse
- func (*ListFindingTypeStatsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListFindingTypeStatsResponse) GetFindingTypeStats() []*FindingTypeStats
- func (*ListFindingTypeStatsResponse) ProtoMessage()
- func (x *ListFindingTypeStatsResponse) ProtoReflect() protoreflect.Message
- func (x *ListFindingTypeStatsResponse) Reset()
- func (x *ListFindingTypeStatsResponse) String() string
- type ListFindingsRequest
- func (*ListFindingsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListFindingsRequest) GetFilter() string
- func (x *ListFindingsRequest) GetPageSize() int32
- func (x *ListFindingsRequest) GetPageToken() string
- func (x *ListFindingsRequest) GetParent() string
- func (*ListFindingsRequest) ProtoMessage()
- func (x *ListFindingsRequest) ProtoReflect() protoreflect.Message
- func (x *ListFindingsRequest) Reset()
- func (x *ListFindingsRequest) String() string
- type ListFindingsResponse
- func (*ListFindingsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListFindingsResponse) GetFindings() []*Finding
- func (x *ListFindingsResponse) GetNextPageToken() string
- func (*ListFindingsResponse) ProtoMessage()
- func (x *ListFindingsResponse) ProtoReflect() protoreflect.Message
- func (x *ListFindingsResponse) Reset()
- func (x *ListFindingsResponse) String() string
- type ListScanConfigsRequest
- func (*ListScanConfigsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListScanConfigsRequest) GetPageSize() int32
- func (x *ListScanConfigsRequest) GetPageToken() string
- func (x *ListScanConfigsRequest) GetParent() string
- func (*ListScanConfigsRequest) ProtoMessage()
- func (x *ListScanConfigsRequest) ProtoReflect() protoreflect.Message
- func (x *ListScanConfigsRequest) Reset()
- func (x *ListScanConfigsRequest) String() string
- type ListScanConfigsResponse
- func (*ListScanConfigsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListScanConfigsResponse) GetNextPageToken() string
- func (x *ListScanConfigsResponse) GetScanConfigs() []*ScanConfig
- func (*ListScanConfigsResponse) ProtoMessage()
- func (x *ListScanConfigsResponse) ProtoReflect() protoreflect.Message
- func (x *ListScanConfigsResponse) Reset()
- func (x *ListScanConfigsResponse) String() string
- type ListScanRunsRequest
- func (*ListScanRunsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListScanRunsRequest) GetPageSize() int32
- func (x *ListScanRunsRequest) GetPageToken() string
- func (x *ListScanRunsRequest) GetParent() string
- func (*ListScanRunsRequest) ProtoMessage()
- func (x *ListScanRunsRequest) ProtoReflect() protoreflect.Message
- func (x *ListScanRunsRequest) Reset()
- func (x *ListScanRunsRequest) String() string
- type ListScanRunsResponse
- func (*ListScanRunsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListScanRunsResponse) GetNextPageToken() string
- func (x *ListScanRunsResponse) GetScanRuns() []*ScanRun
- func (*ListScanRunsResponse) ProtoMessage()
- func (x *ListScanRunsResponse) ProtoReflect() protoreflect.Message
- func (x *ListScanRunsResponse) Reset()
- func (x *ListScanRunsResponse) String() string
- type OutdatedLibrary
- func (*OutdatedLibrary) Descriptor() ([]byte, []int)deprecated
- func (x *OutdatedLibrary) GetLearnMoreUrls() []string
- func (x *OutdatedLibrary) GetLibraryName() string
- func (x *OutdatedLibrary) GetVersion() string
- func (*OutdatedLibrary) ProtoMessage()
- func (x *OutdatedLibrary) ProtoReflect() protoreflect.Message
- func (x *OutdatedLibrary) Reset()
- func (x *OutdatedLibrary) String() string
- type ScanConfig
- func (*ScanConfig) Descriptor() ([]byte, []int)deprecated
- func (x *ScanConfig) GetAuthentication() *ScanConfig_Authentication
- func (x *ScanConfig) GetBlacklistPatterns() []string
- func (x *ScanConfig) GetDisplayName() string
- func (x *ScanConfig) GetExportToSecurityCommandCenter() ScanConfig_ExportToSecurityCommandCenter
- func (x *ScanConfig) GetIgnoreHttpStatusErrors() bool
- func (x *ScanConfig) GetManagedScan() bool
- func (x *ScanConfig) GetMaxQps() int32
- func (x *ScanConfig) GetName() string
- func (x *ScanConfig) GetRiskLevel() ScanConfig_RiskLevel
- func (x *ScanConfig) GetSchedule() *ScanConfig_Schedule
- func (x *ScanConfig) GetStartingUrls() []string
- func (x *ScanConfig) GetStaticIpScan() bool
- func (x *ScanConfig) GetUserAgent() ScanConfig_UserAgent
- func (*ScanConfig) ProtoMessage()
- func (x *ScanConfig) ProtoReflect() protoreflect.Message
- func (x *ScanConfig) Reset()
- func (x *ScanConfig) String() string
- type ScanConfigError
- func (*ScanConfigError) Descriptor() ([]byte, []int)deprecated
- func (x *ScanConfigError) GetCode() ScanConfigError_Code
- func (x *ScanConfigError) GetFieldName() string
- func (*ScanConfigError) ProtoMessage()
- func (x *ScanConfigError) ProtoReflect() protoreflect.Message
- func (x *ScanConfigError) Reset()
- func (x *ScanConfigError) String() string
- type ScanConfigError_Code
- func (ScanConfigError_Code) Descriptor() protoreflect.EnumDescriptor
- func (x ScanConfigError_Code) Enum() *ScanConfigError_Code
- func (ScanConfigError_Code) EnumDescriptor() ([]byte, []int)deprecated
- func (x ScanConfigError_Code) Number() protoreflect.EnumNumber
- func (x ScanConfigError_Code) String() string
- func (ScanConfigError_Code) Type() protoreflect.EnumType
- type ScanConfig_Authentication
- func (*ScanConfig_Authentication) Descriptor() ([]byte, []int)deprecated
- func (m *ScanConfig_Authentication) GetAuthentication() isScanConfig_Authentication_Authentication
- func (x *ScanConfig_Authentication) GetCustomAccount() *ScanConfig_Authentication_CustomAccount
- func (x *ScanConfig_Authentication) GetGoogleAccount() *ScanConfig_Authentication_GoogleAccountdeprecated
- func (x *ScanConfig_Authentication) GetIapCredential() *ScanConfig_Authentication_IapCredential
- func (*ScanConfig_Authentication) ProtoMessage()
- func (x *ScanConfig_Authentication) ProtoReflect() protoreflect.Message
- func (x *ScanConfig_Authentication) Reset()
- func (x *ScanConfig_Authentication) String() string
- type ScanConfig_Authentication_CustomAccount
- func (*ScanConfig_Authentication_CustomAccount) Descriptor() ([]byte, []int)deprecated
- func (x *ScanConfig_Authentication_CustomAccount) GetLoginUrl() string
- func (x *ScanConfig_Authentication_CustomAccount) GetPassword() string
- func (x *ScanConfig_Authentication_CustomAccount) GetUsername() string
- func (*ScanConfig_Authentication_CustomAccount) ProtoMessage()
- func (x *ScanConfig_Authentication_CustomAccount) ProtoReflect() protoreflect.Message
- func (x *ScanConfig_Authentication_CustomAccount) Reset()
- func (x *ScanConfig_Authentication_CustomAccount) String() string
- type ScanConfig_Authentication_CustomAccount_
- type ScanConfig_Authentication_GoogleAccountdeprecated
- func (*ScanConfig_Authentication_GoogleAccount) Descriptor() ([]byte, []int)deprecated
- func (x *ScanConfig_Authentication_GoogleAccount) GetPassword() string
- func (x *ScanConfig_Authentication_GoogleAccount) GetUsername() string
- func (*ScanConfig_Authentication_GoogleAccount) ProtoMessage()
- func (x *ScanConfig_Authentication_GoogleAccount) ProtoReflect() protoreflect.Message
- func (x *ScanConfig_Authentication_GoogleAccount) Reset()
- func (x *ScanConfig_Authentication_GoogleAccount) String() string
- type ScanConfig_Authentication_GoogleAccount_
- type ScanConfig_Authentication_IapCredential
- func (*ScanConfig_Authentication_IapCredential) Descriptor() ([]byte, []int)deprecated
- func (m *ScanConfig_Authentication_IapCredential) GetIapCredentials() isScanConfig_Authentication_IapCredential_IapCredentials
- func (x *ScanConfig_Authentication_IapCredential) GetIapTestServiceAccountInfo() *ScanConfig_Authentication_IapCredential_IapTestServiceAccountInfo
- func (*ScanConfig_Authentication_IapCredential) ProtoMessage()
- func (x *ScanConfig_Authentication_IapCredential) ProtoReflect() protoreflect.Message
- func (x *ScanConfig_Authentication_IapCredential) Reset()
- func (x *ScanConfig_Authentication_IapCredential) String() string
- type ScanConfig_Authentication_IapCredential_
- type ScanConfig_Authentication_IapCredential_IapTestServiceAccountInfo
- func (*ScanConfig_Authentication_IapCredential_IapTestServiceAccountInfo) Descriptor() ([]byte, []int)deprecated
- func (x *ScanConfig_Authentication_IapCredential_IapTestServiceAccountInfo) GetTargetAudienceClientId() string
- func (*ScanConfig_Authentication_IapCredential_IapTestServiceAccountInfo) ProtoMessage()
- func (x *ScanConfig_Authentication_IapCredential_IapTestServiceAccountInfo) ProtoReflect() protoreflect.Message
- func (x *ScanConfig_Authentication_IapCredential_IapTestServiceAccountInfo) Reset()
- func (x *ScanConfig_Authentication_IapCredential_IapTestServiceAccountInfo) String() string
- type ScanConfig_Authentication_IapCredential_IapTestServiceAccountInfo_
- type ScanConfig_ExportToSecurityCommandCenter
- func (ScanConfig_ExportToSecurityCommandCenter) Descriptor() protoreflect.EnumDescriptor
- func (x ScanConfig_ExportToSecurityCommandCenter) Enum() *ScanConfig_ExportToSecurityCommandCenter
- func (ScanConfig_ExportToSecurityCommandCenter) EnumDescriptor() ([]byte, []int)deprecated
- func (x ScanConfig_ExportToSecurityCommandCenter) Number() protoreflect.EnumNumber
- func (x ScanConfig_ExportToSecurityCommandCenter) String() string
- func (ScanConfig_ExportToSecurityCommandCenter) Type() protoreflect.EnumType
- type ScanConfig_RiskLevel
- func (ScanConfig_RiskLevel) Descriptor() protoreflect.EnumDescriptor
- func (x ScanConfig_RiskLevel) Enum() *ScanConfig_RiskLevel
- func (ScanConfig_RiskLevel) EnumDescriptor() ([]byte, []int)deprecated
- func (x ScanConfig_RiskLevel) Number() protoreflect.EnumNumber
- func (x ScanConfig_RiskLevel) String() string
- func (ScanConfig_RiskLevel) Type() protoreflect.EnumType
- type ScanConfig_Schedule
- func (*ScanConfig_Schedule) Descriptor() ([]byte, []int)deprecated
- func (x *ScanConfig_Schedule) GetIntervalDurationDays() int32
- func (x *ScanConfig_Schedule) GetScheduleTime() *timestamppb.Timestamp
- func (*ScanConfig_Schedule) ProtoMessage()
- func (x *ScanConfig_Schedule) ProtoReflect() protoreflect.Message
- func (x *ScanConfig_Schedule) Reset()
- func (x *ScanConfig_Schedule) String() string
- type ScanConfig_UserAgent
- func (ScanConfig_UserAgent) Descriptor() protoreflect.EnumDescriptor
- func (x ScanConfig_UserAgent) Enum() *ScanConfig_UserAgent
- func (ScanConfig_UserAgent) EnumDescriptor() ([]byte, []int)deprecated
- func (x ScanConfig_UserAgent) Number() protoreflect.EnumNumber
- func (x ScanConfig_UserAgent) String() string
- func (ScanConfig_UserAgent) Type() protoreflect.EnumType
- type ScanRun
- func (*ScanRun) Descriptor() ([]byte, []int)deprecated
- func (x *ScanRun) GetEndTime() *timestamppb.Timestamp
- func (x *ScanRun) GetErrorTrace() *ScanRunErrorTrace
- func (x *ScanRun) GetExecutionState() ScanRun_ExecutionState
- func (x *ScanRun) GetHasVulnerabilities() bool
- func (x *ScanRun) GetName() string
- func (x *ScanRun) GetProgressPercent() int32
- func (x *ScanRun) GetResultState() ScanRun_ResultState
- func (x *ScanRun) GetStartTime() *timestamppb.Timestamp
- func (x *ScanRun) GetUrlsCrawledCount() int64
- func (x *ScanRun) GetUrlsTestedCount() int64
- func (x *ScanRun) GetWarningTraces() []*ScanRunWarningTrace
- func (*ScanRun) ProtoMessage()
- func (x *ScanRun) ProtoReflect() protoreflect.Message
- func (x *ScanRun) Reset()
- func (x *ScanRun) String() string
- type ScanRunErrorTrace
- func (*ScanRunErrorTrace) Descriptor() ([]byte, []int)deprecated
- func (x *ScanRunErrorTrace) GetCode() ScanRunErrorTrace_Code
- func (x *ScanRunErrorTrace) GetMostCommonHttpErrorCode() int32
- func (x *ScanRunErrorTrace) GetScanConfigError() *ScanConfigError
- func (*ScanRunErrorTrace) ProtoMessage()
- func (x *ScanRunErrorTrace) ProtoReflect() protoreflect.Message
- func (x *ScanRunErrorTrace) Reset()
- func (x *ScanRunErrorTrace) String() string
- type ScanRunErrorTrace_Code
- func (ScanRunErrorTrace_Code) Descriptor() protoreflect.EnumDescriptor
- func (x ScanRunErrorTrace_Code) Enum() *ScanRunErrorTrace_Code
- func (ScanRunErrorTrace_Code) EnumDescriptor() ([]byte, []int)deprecated
- func (x ScanRunErrorTrace_Code) Number() protoreflect.EnumNumber
- func (x ScanRunErrorTrace_Code) String() string
- func (ScanRunErrorTrace_Code) Type() protoreflect.EnumType
- type ScanRunLog
- func (*ScanRunLog) Descriptor() ([]byte, []int)deprecated
- func (x *ScanRunLog) GetErrorTrace() *ScanRunErrorTrace
- func (x *ScanRunLog) GetExecutionState() ScanRun_ExecutionState
- func (x *ScanRunLog) GetHasFindings() bool
- func (x *ScanRunLog) GetName() string
- func (x *ScanRunLog) GetResultState() ScanRun_ResultState
- func (x *ScanRunLog) GetSummary() string
- func (x *ScanRunLog) GetUrlsCrawledCount() int64
- func (x *ScanRunLog) GetUrlsTestedCount() int64
- func (*ScanRunLog) ProtoMessage()
- func (x *ScanRunLog) ProtoReflect() protoreflect.Message
- func (x *ScanRunLog) Reset()
- func (x *ScanRunLog) String() string
- type ScanRunWarningTrace
- func (*ScanRunWarningTrace) Descriptor() ([]byte, []int)deprecated
- func (x *ScanRunWarningTrace) GetCode() ScanRunWarningTrace_Code
- func (*ScanRunWarningTrace) ProtoMessage()
- func (x *ScanRunWarningTrace) ProtoReflect() protoreflect.Message
- func (x *ScanRunWarningTrace) Reset()
- func (x *ScanRunWarningTrace) String() string
- type ScanRunWarningTrace_Code
- func (ScanRunWarningTrace_Code) Descriptor() protoreflect.EnumDescriptor
- func (x ScanRunWarningTrace_Code) Enum() *ScanRunWarningTrace_Code
- func (ScanRunWarningTrace_Code) EnumDescriptor() ([]byte, []int)deprecated
- func (x ScanRunWarningTrace_Code) Number() protoreflect.EnumNumber
- func (x ScanRunWarningTrace_Code) String() string
- func (ScanRunWarningTrace_Code) Type() protoreflect.EnumType
- type ScanRun_ExecutionState
- func (ScanRun_ExecutionState) Descriptor() protoreflect.EnumDescriptor
- func (x ScanRun_ExecutionState) Enum() *ScanRun_ExecutionState
- func (ScanRun_ExecutionState) EnumDescriptor() ([]byte, []int)deprecated
- func (x ScanRun_ExecutionState) Number() protoreflect.EnumNumber
- func (x ScanRun_ExecutionState) String() string
- func (ScanRun_ExecutionState) Type() protoreflect.EnumType
- type ScanRun_ResultState
- func (ScanRun_ResultState) Descriptor() protoreflect.EnumDescriptor
- func (x ScanRun_ResultState) Enum() *ScanRun_ResultState
- func (ScanRun_ResultState) EnumDescriptor() ([]byte, []int)deprecated
- func (x ScanRun_ResultState) Number() protoreflect.EnumNumber
- func (x ScanRun_ResultState) String() string
- func (ScanRun_ResultState) Type() protoreflect.EnumType
- type StartScanRunRequest
- func (*StartScanRunRequest) Descriptor() ([]byte, []int)deprecated
- func (x *StartScanRunRequest) GetName() string
- func (*StartScanRunRequest) ProtoMessage()
- func (x *StartScanRunRequest) ProtoReflect() protoreflect.Message
- func (x *StartScanRunRequest) Reset()
- func (x *StartScanRunRequest) String() string
- type StopScanRunRequest
- func (*StopScanRunRequest) Descriptor() ([]byte, []int)deprecated
- func (x *StopScanRunRequest) GetName() string
- func (*StopScanRunRequest) ProtoMessage()
- func (x *StopScanRunRequest) ProtoReflect() protoreflect.Message
- func (x *StopScanRunRequest) Reset()
- func (x *StopScanRunRequest) String() string
- type UnimplementedWebSecurityScannerServer
- func (*UnimplementedWebSecurityScannerServer) CreateScanConfig(context.Context, *CreateScanConfigRequest) (*ScanConfig, error)
- func (*UnimplementedWebSecurityScannerServer) DeleteScanConfig(context.Context, *DeleteScanConfigRequest) (*emptypb.Empty, error)
- func (*UnimplementedWebSecurityScannerServer) GetFinding(context.Context, *GetFindingRequest) (*Finding, error)
- func (*UnimplementedWebSecurityScannerServer) GetScanConfig(context.Context, *GetScanConfigRequest) (*ScanConfig, error)
- func (*UnimplementedWebSecurityScannerServer) GetScanRun(context.Context, *GetScanRunRequest) (*ScanRun, error)
- func (*UnimplementedWebSecurityScannerServer) ListCrawledUrls(context.Context, *ListCrawledUrlsRequest) (*ListCrawledUrlsResponse, error)
- func (*UnimplementedWebSecurityScannerServer) ListFindingTypeStats(context.Context, *ListFindingTypeStatsRequest) (*ListFindingTypeStatsResponse, error)
- func (*UnimplementedWebSecurityScannerServer) ListFindings(context.Context, *ListFindingsRequest) (*ListFindingsResponse, error)
- func (*UnimplementedWebSecurityScannerServer) ListScanConfigs(context.Context, *ListScanConfigsRequest) (*ListScanConfigsResponse, error)
- func (*UnimplementedWebSecurityScannerServer) ListScanRuns(context.Context, *ListScanRunsRequest) (*ListScanRunsResponse, error)
- func (*UnimplementedWebSecurityScannerServer) StartScanRun(context.Context, *StartScanRunRequest) (*ScanRun, error)
- func (*UnimplementedWebSecurityScannerServer) StopScanRun(context.Context, *StopScanRunRequest) (*ScanRun, error)
- func (*UnimplementedWebSecurityScannerServer) UpdateScanConfig(context.Context, *UpdateScanConfigRequest) (*ScanConfig, error)
- type UpdateScanConfigRequest
- func (*UpdateScanConfigRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateScanConfigRequest) GetScanConfig() *ScanConfig
- func (x *UpdateScanConfigRequest) GetUpdateMask() *fieldmaskpb.FieldMask
- func (*UpdateScanConfigRequest) ProtoMessage()
- func (x *UpdateScanConfigRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateScanConfigRequest) Reset()
- func (x *UpdateScanConfigRequest) String() string
- type ViolatingResource
- func (*ViolatingResource) Descriptor() ([]byte, []int)deprecated
- func (x *ViolatingResource) GetContentType() string
- func (x *ViolatingResource) GetResourceUrl() string
- func (*ViolatingResource) ProtoMessage()
- func (x *ViolatingResource) ProtoReflect() protoreflect.Message
- func (x *ViolatingResource) Reset()
- func (x *ViolatingResource) String() string
- type VulnerableHeaders
- func (*VulnerableHeaders) Descriptor() ([]byte, []int)deprecated
- func (x *VulnerableHeaders) GetHeaders() []*VulnerableHeaders_Header
- func (x *VulnerableHeaders) GetMissingHeaders() []*VulnerableHeaders_Header
- func (*VulnerableHeaders) ProtoMessage()
- func (x *VulnerableHeaders) ProtoReflect() protoreflect.Message
- func (x *VulnerableHeaders) Reset()
- func (x *VulnerableHeaders) String() string
- type VulnerableHeaders_Header
- func (*VulnerableHeaders_Header) Descriptor() ([]byte, []int)deprecated
- func (x *VulnerableHeaders_Header) GetName() string
- func (x *VulnerableHeaders_Header) GetValue() string
- func (*VulnerableHeaders_Header) ProtoMessage()
- func (x *VulnerableHeaders_Header) ProtoReflect() protoreflect.Message
- func (x *VulnerableHeaders_Header) Reset()
- func (x *VulnerableHeaders_Header) String() string
- type VulnerableParameters
- func (*VulnerableParameters) Descriptor() ([]byte, []int)deprecated
- func (x *VulnerableParameters) GetParameterNames() []string
- func (*VulnerableParameters) ProtoMessage()
- func (x *VulnerableParameters) ProtoReflect() protoreflect.Message
- func (x *VulnerableParameters) Reset()
- func (x *VulnerableParameters) String() string
- type WebSecurityScannerClient
- type WebSecurityScannerServer
- type Xss
- func (*Xss) Descriptor() ([]byte, []int)deprecated
- func (x *Xss) GetAttackVector() Xss_AttackVector
- func (x *Xss) GetErrorMessage() string
- func (x *Xss) GetStackTraces() []string
- func (x *Xss) GetStoredXssSeedingUrl() string
- func (*Xss) ProtoMessage()
- func (x *Xss) ProtoReflect() protoreflect.Message
- func (x *Xss) Reset()
- func (x *Xss) String() string
- type Xss_AttackVector
- func (Xss_AttackVector) Descriptor() protoreflect.EnumDescriptor
- func (x Xss_AttackVector) Enum() *Xss_AttackVector
- func (Xss_AttackVector) EnumDescriptor() ([]byte, []int)deprecated
- func (x Xss_AttackVector) Number() protoreflect.EnumNumber
- func (x Xss_AttackVector) String() string
- func (Xss_AttackVector) Type() protoreflect.EnumType
- type Xxe
- type Xxe_Location
- func (Xxe_Location) Descriptor() protoreflect.EnumDescriptor
- func (x Xxe_Location) Enum() *Xxe_Location
- func (Xxe_Location) EnumDescriptor() ([]byte, []int)deprecated
- func (x Xxe_Location) Number() protoreflect.EnumNumber
- func (x Xxe_Location) String() string
- func (Xxe_Location) Type() protoreflect.EnumType
Constants ¶
This section is empty.
Variables ¶
var ( Finding_Severity_name = map[int32]string{ 0: "SEVERITY_UNSPECIFIED", 1: "CRITICAL", 2: "HIGH", 3: "MEDIUM", 4: "LOW", } Finding_Severity_value = map[string]int32{ "SEVERITY_UNSPECIFIED": 0, "CRITICAL": 1, "HIGH": 2, "MEDIUM": 3, "LOW": 4, } )
Enum value maps for Finding_Severity.
var ( Xss_AttackVector_name = map[int32]string{ 0: "ATTACK_VECTOR_UNSPECIFIED", 1: "LOCAL_STORAGE", 2: "SESSION_STORAGE", 3: "WINDOW_NAME", 4: "REFERRER", 5: "FORM_INPUT", 6: "COOKIE", 7: "POST_MESSAGE", 8: "GET_PARAMETERS", 9: "URL_FRAGMENT", 10: "HTML_COMMENT", 11: "POST_PARAMETERS", 12: "PROTOCOL", 13: "STORED_XSS", 14: "SAME_ORIGIN", 15: "USER_CONTROLLABLE_URL", } Xss_AttackVector_value = map[string]int32{ "ATTACK_VECTOR_UNSPECIFIED": 0, "LOCAL_STORAGE": 1, "SESSION_STORAGE": 2, "WINDOW_NAME": 3, "REFERRER": 4, "FORM_INPUT": 5, "COOKIE": 6, "POST_MESSAGE": 7, "GET_PARAMETERS": 8, "URL_FRAGMENT": 9, "HTML_COMMENT": 10, "POST_PARAMETERS": 11, "PROTOCOL": 12, "STORED_XSS": 13, "SAME_ORIGIN": 14, "USER_CONTROLLABLE_URL": 15, } )
Enum value maps for Xss_AttackVector.
var ( Xxe_Location_name = map[int32]string{ 0: "LOCATION_UNSPECIFIED", 1: "COMPLETE_REQUEST_BODY", } Xxe_Location_value = map[string]int32{ "LOCATION_UNSPECIFIED": 0, "COMPLETE_REQUEST_BODY": 1, } )
Enum value maps for Xxe_Location.
var ( ScanConfig_UserAgent_name = map[int32]string{ 0: "USER_AGENT_UNSPECIFIED", 1: "CHROME_LINUX", 2: "CHROME_ANDROID", 3: "SAFARI_IPHONE", } ScanConfig_UserAgent_value = map[string]int32{ "USER_AGENT_UNSPECIFIED": 0, "CHROME_LINUX": 1, "CHROME_ANDROID": 2, "SAFARI_IPHONE": 3, } )
Enum value maps for ScanConfig_UserAgent.
var ( ScanConfig_RiskLevel_name = map[int32]string{ 0: "RISK_LEVEL_UNSPECIFIED", 1: "NORMAL", 2: "LOW", } ScanConfig_RiskLevel_value = map[string]int32{ "RISK_LEVEL_UNSPECIFIED": 0, "NORMAL": 1, "LOW": 2, } )
Enum value maps for ScanConfig_RiskLevel.
var ( ScanConfig_ExportToSecurityCommandCenter_name = map[int32]string{ 0: "EXPORT_TO_SECURITY_COMMAND_CENTER_UNSPECIFIED", 1: "ENABLED", 2: "DISABLED", } ScanConfig_ExportToSecurityCommandCenter_value = map[string]int32{ "EXPORT_TO_SECURITY_COMMAND_CENTER_UNSPECIFIED": 0, "ENABLED": 1, "DISABLED": 2, } )
Enum value maps for ScanConfig_ExportToSecurityCommandCenter.
var ( ScanConfigError_Code_name = map[int32]string{ 0: "CODE_UNSPECIFIED", 1: "INTERNAL_ERROR", 2: "APPENGINE_API_BACKEND_ERROR", 3: "APPENGINE_API_NOT_ACCESSIBLE", 4: "APPENGINE_DEFAULT_HOST_MISSING", 6: "CANNOT_USE_GOOGLE_COM_ACCOUNT", 7: "CANNOT_USE_OWNER_ACCOUNT", 8: "COMPUTE_API_BACKEND_ERROR", 9: "COMPUTE_API_NOT_ACCESSIBLE", 10: "CUSTOM_LOGIN_URL_DOES_NOT_BELONG_TO_CURRENT_PROJECT", 11: "CUSTOM_LOGIN_URL_MALFORMED", 12: "CUSTOM_LOGIN_URL_MAPPED_TO_NON_ROUTABLE_ADDRESS", 13: "CUSTOM_LOGIN_URL_MAPPED_TO_UNRESERVED_ADDRESS", 14: "CUSTOM_LOGIN_URL_HAS_NON_ROUTABLE_IP_ADDRESS", 15: "CUSTOM_LOGIN_URL_HAS_UNRESERVED_IP_ADDRESS", 16: "DUPLICATE_SCAN_NAME", 18: "INVALID_FIELD_VALUE", 19: "FAILED_TO_AUTHENTICATE_TO_TARGET", 20: "FINDING_TYPE_UNSPECIFIED", 21: "FORBIDDEN_TO_SCAN_COMPUTE", 43: "FORBIDDEN_UPDATE_TO_MANAGED_SCAN", 22: "MALFORMED_FILTER", 23: "MALFORMED_RESOURCE_NAME", 24: "PROJECT_INACTIVE", 25: "REQUIRED_FIELD", 26: "RESOURCE_NAME_INCONSISTENT", 27: "SCAN_ALREADY_RUNNING", 28: "SCAN_NOT_RUNNING", 29: "SEED_URL_DOES_NOT_BELONG_TO_CURRENT_PROJECT", 30: "SEED_URL_MALFORMED", 31: "SEED_URL_MAPPED_TO_NON_ROUTABLE_ADDRESS", 32: "SEED_URL_MAPPED_TO_UNRESERVED_ADDRESS", 33: "SEED_URL_HAS_NON_ROUTABLE_IP_ADDRESS", 35: "SEED_URL_HAS_UNRESERVED_IP_ADDRESS", 36: "SERVICE_ACCOUNT_NOT_CONFIGURED", 37: "TOO_MANY_SCANS", 38: "UNABLE_TO_RESOLVE_PROJECT_INFO", 39: "UNSUPPORTED_BLACKLIST_PATTERN_FORMAT", 40: "UNSUPPORTED_FILTER", 41: "UNSUPPORTED_FINDING_TYPE", 42: "UNSUPPORTED_URL_SCHEME", } ScanConfigError_Code_value = map[string]int32{ "CODE_UNSPECIFIED": 0, "OK": 0, "INTERNAL_ERROR": 1, "APPENGINE_API_BACKEND_ERROR": 2, "APPENGINE_API_NOT_ACCESSIBLE": 3, "APPENGINE_DEFAULT_HOST_MISSING": 4, "CANNOT_USE_GOOGLE_COM_ACCOUNT": 6, "CANNOT_USE_OWNER_ACCOUNT": 7, "COMPUTE_API_BACKEND_ERROR": 8, "COMPUTE_API_NOT_ACCESSIBLE": 9, "CUSTOM_LOGIN_URL_DOES_NOT_BELONG_TO_CURRENT_PROJECT": 10, "CUSTOM_LOGIN_URL_MALFORMED": 11, "CUSTOM_LOGIN_URL_MAPPED_TO_NON_ROUTABLE_ADDRESS": 12, "CUSTOM_LOGIN_URL_MAPPED_TO_UNRESERVED_ADDRESS": 13, "CUSTOM_LOGIN_URL_HAS_NON_ROUTABLE_IP_ADDRESS": 14, "CUSTOM_LOGIN_URL_HAS_UNRESERVED_IP_ADDRESS": 15, "DUPLICATE_SCAN_NAME": 16, "INVALID_FIELD_VALUE": 18, "FAILED_TO_AUTHENTICATE_TO_TARGET": 19, "FINDING_TYPE_UNSPECIFIED": 20, "FORBIDDEN_TO_SCAN_COMPUTE": 21, "FORBIDDEN_UPDATE_TO_MANAGED_SCAN": 43, "MALFORMED_FILTER": 22, "MALFORMED_RESOURCE_NAME": 23, "PROJECT_INACTIVE": 24, "REQUIRED_FIELD": 25, "RESOURCE_NAME_INCONSISTENT": 26, "SCAN_ALREADY_RUNNING": 27, "SCAN_NOT_RUNNING": 28, "SEED_URL_DOES_NOT_BELONG_TO_CURRENT_PROJECT": 29, "SEED_URL_MALFORMED": 30, "SEED_URL_MAPPED_TO_NON_ROUTABLE_ADDRESS": 31, "SEED_URL_MAPPED_TO_UNRESERVED_ADDRESS": 32, "SEED_URL_HAS_NON_ROUTABLE_IP_ADDRESS": 33, "SEED_URL_HAS_UNRESERVED_IP_ADDRESS": 35, "SERVICE_ACCOUNT_NOT_CONFIGURED": 36, "TOO_MANY_SCANS": 37, "UNABLE_TO_RESOLVE_PROJECT_INFO": 38, "UNSUPPORTED_BLACKLIST_PATTERN_FORMAT": 39, "UNSUPPORTED_FILTER": 40, "UNSUPPORTED_FINDING_TYPE": 41, "UNSUPPORTED_URL_SCHEME": 42, } )
Enum value maps for ScanConfigError_Code.
var ( ScanRun_ExecutionState_name = map[int32]string{ 0: "EXECUTION_STATE_UNSPECIFIED", 1: "QUEUED", 2: "SCANNING", 3: "FINISHED", } ScanRun_ExecutionState_value = map[string]int32{ "EXECUTION_STATE_UNSPECIFIED": 0, "QUEUED": 1, "SCANNING": 2, "FINISHED": 3, } )
Enum value maps for ScanRun_ExecutionState.
var ( ScanRun_ResultState_name = map[int32]string{ 0: "RESULT_STATE_UNSPECIFIED", 1: "SUCCESS", 2: "ERROR", 3: "KILLED", } ScanRun_ResultState_value = map[string]int32{ "RESULT_STATE_UNSPECIFIED": 0, "SUCCESS": 1, "ERROR": 2, "KILLED": 3, } )
Enum value maps for ScanRun_ResultState.
var ( ScanRunErrorTrace_Code_name = map[int32]string{ 0: "CODE_UNSPECIFIED", 1: "INTERNAL_ERROR", 2: "SCAN_CONFIG_ISSUE", 3: "AUTHENTICATION_CONFIG_ISSUE", 4: "TIMED_OUT_WHILE_SCANNING", 5: "TOO_MANY_REDIRECTS", 6: "TOO_MANY_HTTP_ERRORS", } ScanRunErrorTrace_Code_value = map[string]int32{ "CODE_UNSPECIFIED": 0, "INTERNAL_ERROR": 1, "SCAN_CONFIG_ISSUE": 2, "AUTHENTICATION_CONFIG_ISSUE": 3, "TIMED_OUT_WHILE_SCANNING": 4, "TOO_MANY_REDIRECTS": 5, "TOO_MANY_HTTP_ERRORS": 6, } )
Enum value maps for ScanRunErrorTrace_Code.
var ( ScanRunWarningTrace_Code_name = map[int32]string{ 0: "CODE_UNSPECIFIED", 1: "INSUFFICIENT_CRAWL_RESULTS", 2: "TOO_MANY_CRAWL_RESULTS", 3: "TOO_MANY_FUZZ_TASKS", 4: "BLOCKED_BY_IAP", 5: "NO_STARTING_URL_FOUND_FOR_MANAGED_SCAN", } ScanRunWarningTrace_Code_value = map[string]int32{ "CODE_UNSPECIFIED": 0, "INSUFFICIENT_CRAWL_RESULTS": 1, "TOO_MANY_CRAWL_RESULTS": 2, "TOO_MANY_FUZZ_TASKS": 3, "BLOCKED_BY_IAP": 4, "NO_STARTING_URL_FOUND_FOR_MANAGED_SCAN": 5, } )
Enum value maps for ScanRunWarningTrace_Code.
var File_google_cloud_websecurityscanner_v1_crawled_url_proto protoreflect.FileDescriptor
var File_google_cloud_websecurityscanner_v1_finding_addon_proto protoreflect.FileDescriptor
var File_google_cloud_websecurityscanner_v1_finding_proto protoreflect.FileDescriptor
var File_google_cloud_websecurityscanner_v1_finding_type_stats_proto protoreflect.FileDescriptor
var File_google_cloud_websecurityscanner_v1_scan_config_error_proto protoreflect.FileDescriptor
var File_google_cloud_websecurityscanner_v1_scan_config_proto protoreflect.FileDescriptor
var File_google_cloud_websecurityscanner_v1_scan_run_error_trace_proto protoreflect.FileDescriptor
var File_google_cloud_websecurityscanner_v1_scan_run_log_proto protoreflect.FileDescriptor
var File_google_cloud_websecurityscanner_v1_scan_run_proto protoreflect.FileDescriptor
var File_google_cloud_websecurityscanner_v1_scan_run_warning_trace_proto protoreflect.FileDescriptor
var File_google_cloud_websecurityscanner_v1_web_security_scanner_proto protoreflect.FileDescriptor
Functions ¶
func RegisterWebSecurityScannerServer ¶
func RegisterWebSecurityScannerServer(s *grpc.Server, srv WebSecurityScannerServer)
Types ¶
type CrawledUrl ¶
type CrawledUrl struct { // Output only. The http method of the request that was used to visit the URL, in // uppercase. HttpMethod string `protobuf:"bytes,1,opt,name=http_method,json=httpMethod,proto3" json:"http_method,omitempty"` // Output only. The URL that was crawled. Url string `protobuf:"bytes,2,opt,name=url,proto3" json:"url,omitempty"` // Output only. The body of the request that was used to visit the URL. Body string `protobuf:"bytes,3,opt,name=body,proto3" json:"body,omitempty"` // contains filtered or unexported fields }
A CrawledUrl resource represents a URL that was crawled during a ScanRun. Web Security Scanner Service crawls the web applications, following all links within the scope of sites, to find the URLs to test against.
func (*CrawledUrl) Descriptor
deprecated
func (*CrawledUrl) Descriptor() ([]byte, []int)
Deprecated: Use CrawledUrl.ProtoReflect.Descriptor instead.
func (*CrawledUrl) GetBody ¶
func (x *CrawledUrl) GetBody() string
func (*CrawledUrl) GetHttpMethod ¶
func (x *CrawledUrl) GetHttpMethod() string
func (*CrawledUrl) GetUrl ¶
func (x *CrawledUrl) GetUrl() string
func (*CrawledUrl) ProtoMessage ¶
func (*CrawledUrl) ProtoMessage()
func (*CrawledUrl) ProtoReflect ¶
func (x *CrawledUrl) ProtoReflect() protoreflect.Message
func (*CrawledUrl) Reset ¶
func (x *CrawledUrl) Reset()
func (*CrawledUrl) String ¶
func (x *CrawledUrl) String() string
type CreateScanConfigRequest ¶
type CreateScanConfigRequest struct { // Required. The parent resource name where the scan is created, which should be a // project resource name in the format 'projects/{projectId}'. Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` // Required. The ScanConfig to be created. ScanConfig *ScanConfig `protobuf:"bytes,2,opt,name=scan_config,json=scanConfig,proto3" json:"scan_config,omitempty"` // contains filtered or unexported fields }
Request for the `CreateScanConfig` method.
func (*CreateScanConfigRequest) Descriptor
deprecated
func (*CreateScanConfigRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateScanConfigRequest.ProtoReflect.Descriptor instead.
func (*CreateScanConfigRequest) GetParent ¶
func (x *CreateScanConfigRequest) GetParent() string
func (*CreateScanConfigRequest) GetScanConfig ¶
func (x *CreateScanConfigRequest) GetScanConfig() *ScanConfig
func (*CreateScanConfigRequest) ProtoMessage ¶
func (*CreateScanConfigRequest) ProtoMessage()
func (*CreateScanConfigRequest) ProtoReflect ¶
func (x *CreateScanConfigRequest) ProtoReflect() protoreflect.Message
func (*CreateScanConfigRequest) Reset ¶
func (x *CreateScanConfigRequest) Reset()
func (*CreateScanConfigRequest) String ¶
func (x *CreateScanConfigRequest) String() string
type DeleteScanConfigRequest ¶
type DeleteScanConfigRequest struct { // Required. The resource name of the ScanConfig to be deleted. The name follows the // format of 'projects/{projectId}/scanConfigs/{scanConfigId}'. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
Request for the `DeleteScanConfig` method.
func (*DeleteScanConfigRequest) Descriptor
deprecated
func (*DeleteScanConfigRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteScanConfigRequest.ProtoReflect.Descriptor instead.
func (*DeleteScanConfigRequest) GetName ¶
func (x *DeleteScanConfigRequest) GetName() string
func (*DeleteScanConfigRequest) ProtoMessage ¶
func (*DeleteScanConfigRequest) ProtoMessage()
func (*DeleteScanConfigRequest) ProtoReflect ¶
func (x *DeleteScanConfigRequest) ProtoReflect() protoreflect.Message
func (*DeleteScanConfigRequest) Reset ¶
func (x *DeleteScanConfigRequest) Reset()
func (*DeleteScanConfigRequest) String ¶
func (x *DeleteScanConfigRequest) String() string
type Finding ¶
type Finding struct { // Output only. The resource name of the Finding. The name follows the format of // 'projects/{projectId}/scanConfigs/{scanConfigId}/scanruns/{scanRunId}/findings/{findingId}'. // The finding IDs are generated by the system. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Output only. The type of the Finding. // Detailed and up-to-date information on findings can be found here: // https://cloud.google.com/security-command-center/docs/how-to-remediate-web-security-scanner-findings FindingType string `protobuf:"bytes,2,opt,name=finding_type,json=findingType,proto3" json:"finding_type,omitempty"` // Output only. The severity level of the reported vulnerability. Severity Finding_Severity `` /* 128-byte string literal not displayed */ // Output only. The http method of the request that triggered the vulnerability, in // uppercase. HttpMethod string `protobuf:"bytes,3,opt,name=http_method,json=httpMethod,proto3" json:"http_method,omitempty"` // Output only. The URL produced by the server-side fuzzer and used in the request that // triggered the vulnerability. FuzzedUrl string `protobuf:"bytes,4,opt,name=fuzzed_url,json=fuzzedUrl,proto3" json:"fuzzed_url,omitempty"` // Output only. The body of the request that triggered the vulnerability. Body string `protobuf:"bytes,5,opt,name=body,proto3" json:"body,omitempty"` // Output only. The description of the vulnerability. Description string `protobuf:"bytes,6,opt,name=description,proto3" json:"description,omitempty"` // Output only. The URL containing human-readable payload that user can leverage to // reproduce the vulnerability. ReproductionUrl string `protobuf:"bytes,7,opt,name=reproduction_url,json=reproductionUrl,proto3" json:"reproduction_url,omitempty"` // Output only. If the vulnerability was originated from nested IFrame, the immediate // parent IFrame is reported. FrameUrl string `protobuf:"bytes,8,opt,name=frame_url,json=frameUrl,proto3" json:"frame_url,omitempty"` // Output only. The URL where the browser lands when the vulnerability is detected. FinalUrl string `protobuf:"bytes,9,opt,name=final_url,json=finalUrl,proto3" json:"final_url,omitempty"` // Output only. The tracking ID uniquely identifies a vulnerability instance across // multiple ScanRuns. TrackingId string `protobuf:"bytes,10,opt,name=tracking_id,json=trackingId,proto3" json:"tracking_id,omitempty"` // Output only. An addon containing information reported for a vulnerability with an HTML // form, if any. Form *Form `protobuf:"bytes,16,opt,name=form,proto3" json:"form,omitempty"` // Output only. An addon containing information about outdated libraries. OutdatedLibrary *OutdatedLibrary `protobuf:"bytes,11,opt,name=outdated_library,json=outdatedLibrary,proto3" json:"outdated_library,omitempty"` // Output only. An addon containing detailed information regarding any resource causing the // vulnerability such as JavaScript sources, image, audio files, etc. ViolatingResource *ViolatingResource `protobuf:"bytes,12,opt,name=violating_resource,json=violatingResource,proto3" json:"violating_resource,omitempty"` // Output only. An addon containing information about vulnerable or missing HTTP headers. VulnerableHeaders *VulnerableHeaders `protobuf:"bytes,15,opt,name=vulnerable_headers,json=vulnerableHeaders,proto3" json:"vulnerable_headers,omitempty"` // Output only. An addon containing information about request parameters which were found // to be vulnerable. VulnerableParameters *VulnerableParameters `protobuf:"bytes,13,opt,name=vulnerable_parameters,json=vulnerableParameters,proto3" json:"vulnerable_parameters,omitempty"` // Output only. An addon containing information reported for an XSS, if any. Xss *Xss `protobuf:"bytes,14,opt,name=xss,proto3" json:"xss,omitempty"` // Output only. An addon containing information reported for an XXE, if any. Xxe *Xxe `protobuf:"bytes,18,opt,name=xxe,proto3" json:"xxe,omitempty"` // contains filtered or unexported fields }
A Finding resource represents a vulnerability instance identified during a ScanRun.
func (*Finding) Descriptor
deprecated
func (*Finding) GetDescription ¶
func (*Finding) GetFinalUrl ¶
func (*Finding) GetFindingType ¶
func (*Finding) GetFrameUrl ¶
func (*Finding) GetFuzzedUrl ¶
func (*Finding) GetHttpMethod ¶
func (*Finding) GetOutdatedLibrary ¶
func (x *Finding) GetOutdatedLibrary() *OutdatedLibrary
func (*Finding) GetReproductionUrl ¶
func (*Finding) GetSeverity ¶
func (x *Finding) GetSeverity() Finding_Severity
func (*Finding) GetTrackingId ¶
func (*Finding) GetViolatingResource ¶
func (x *Finding) GetViolatingResource() *ViolatingResource
func (*Finding) GetVulnerableHeaders ¶
func (x *Finding) GetVulnerableHeaders() *VulnerableHeaders
func (*Finding) GetVulnerableParameters ¶
func (x *Finding) GetVulnerableParameters() *VulnerableParameters
func (*Finding) ProtoMessage ¶
func (*Finding) ProtoMessage()
func (*Finding) ProtoReflect ¶
func (x *Finding) ProtoReflect() protoreflect.Message
type FindingTypeStats ¶
type FindingTypeStats struct { // Output only. The finding type associated with the stats. FindingType string `protobuf:"bytes,1,opt,name=finding_type,json=findingType,proto3" json:"finding_type,omitempty"` // Output only. The count of findings belonging to this finding type. FindingCount int32 `protobuf:"varint,2,opt,name=finding_count,json=findingCount,proto3" json:"finding_count,omitempty"` // contains filtered or unexported fields }
A FindingTypeStats resource represents stats regarding a specific FindingType of Findings under a given ScanRun.
func (*FindingTypeStats) Descriptor
deprecated
func (*FindingTypeStats) Descriptor() ([]byte, []int)
Deprecated: Use FindingTypeStats.ProtoReflect.Descriptor instead.
func (*FindingTypeStats) GetFindingCount ¶
func (x *FindingTypeStats) GetFindingCount() int32
func (*FindingTypeStats) GetFindingType ¶
func (x *FindingTypeStats) GetFindingType() string
func (*FindingTypeStats) ProtoMessage ¶
func (*FindingTypeStats) ProtoMessage()
func (*FindingTypeStats) ProtoReflect ¶
func (x *FindingTypeStats) ProtoReflect() protoreflect.Message
func (*FindingTypeStats) Reset ¶
func (x *FindingTypeStats) Reset()
func (*FindingTypeStats) String ¶
func (x *FindingTypeStats) String() string
type Finding_Severity ¶
type Finding_Severity int32
The severity level of a vulnerability.
const ( // No severity specified. The default value. Finding_SEVERITY_UNSPECIFIED Finding_Severity = 0 // Critical severity. Finding_CRITICAL Finding_Severity = 1 // High severity. Finding_HIGH Finding_Severity = 2 // Medium severity. Finding_MEDIUM Finding_Severity = 3 // Low severity. Finding_LOW Finding_Severity = 4 )
func (Finding_Severity) Descriptor ¶
func (Finding_Severity) Descriptor() protoreflect.EnumDescriptor
func (Finding_Severity) Enum ¶
func (x Finding_Severity) Enum() *Finding_Severity
func (Finding_Severity) EnumDescriptor
deprecated
func (Finding_Severity) EnumDescriptor() ([]byte, []int)
Deprecated: Use Finding_Severity.Descriptor instead.
func (Finding_Severity) Number ¶
func (x Finding_Severity) Number() protoreflect.EnumNumber
func (Finding_Severity) String ¶
func (x Finding_Severity) String() string
func (Finding_Severity) Type ¶
func (Finding_Severity) Type() protoreflect.EnumType
type Form ¶
type Form struct { // ! The URI where to send the form when it's submitted. ActionUri string `protobuf:"bytes,1,opt,name=action_uri,json=actionUri,proto3" json:"action_uri,omitempty"` // ! The names of form fields related to the vulnerability. Fields []string `protobuf:"bytes,2,rep,name=fields,proto3" json:"fields,omitempty"` // contains filtered or unexported fields }
! Information about a vulnerability with an HTML.
func (*Form) Descriptor
deprecated
func (*Form) GetActionUri ¶
func (*Form) ProtoMessage ¶
func (*Form) ProtoMessage()
func (*Form) ProtoReflect ¶
func (x *Form) ProtoReflect() protoreflect.Message
type GetFindingRequest ¶
type GetFindingRequest struct { // Required. The resource name of the Finding to be returned. The name follows the // format of // 'projects/{projectId}/scanConfigs/{scanConfigId}/scanRuns/{scanRunId}/findings/{findingId}'. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
Request for the `GetFinding` method.
func (*GetFindingRequest) Descriptor
deprecated
func (*GetFindingRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetFindingRequest.ProtoReflect.Descriptor instead.
func (*GetFindingRequest) GetName ¶
func (x *GetFindingRequest) GetName() string
func (*GetFindingRequest) ProtoMessage ¶
func (*GetFindingRequest) ProtoMessage()
func (*GetFindingRequest) ProtoReflect ¶
func (x *GetFindingRequest) ProtoReflect() protoreflect.Message
func (*GetFindingRequest) Reset ¶
func (x *GetFindingRequest) Reset()
func (*GetFindingRequest) String ¶
func (x *GetFindingRequest) String() string
type GetScanConfigRequest ¶
type GetScanConfigRequest struct { // Required. The resource name of the ScanConfig to be returned. The name follows the // format of 'projects/{projectId}/scanConfigs/{scanConfigId}'. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
Request for the `GetScanConfig` method.
func (*GetScanConfigRequest) Descriptor
deprecated
func (*GetScanConfigRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetScanConfigRequest.ProtoReflect.Descriptor instead.
func (*GetScanConfigRequest) GetName ¶
func (x *GetScanConfigRequest) GetName() string
func (*GetScanConfigRequest) ProtoMessage ¶
func (*GetScanConfigRequest) ProtoMessage()
func (*GetScanConfigRequest) ProtoReflect ¶
func (x *GetScanConfigRequest) ProtoReflect() protoreflect.Message
func (*GetScanConfigRequest) Reset ¶
func (x *GetScanConfigRequest) Reset()
func (*GetScanConfigRequest) String ¶
func (x *GetScanConfigRequest) String() string
type GetScanRunRequest ¶
type GetScanRunRequest struct { // Required. The resource name of the ScanRun to be returned. The name follows the // format of // 'projects/{projectId}/scanConfigs/{scanConfigId}/scanRuns/{scanRunId}'. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
Request for the `GetScanRun` method.
func (*GetScanRunRequest) Descriptor
deprecated
func (*GetScanRunRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetScanRunRequest.ProtoReflect.Descriptor instead.
func (*GetScanRunRequest) GetName ¶
func (x *GetScanRunRequest) GetName() string
func (*GetScanRunRequest) ProtoMessage ¶
func (*GetScanRunRequest) ProtoMessage()
func (*GetScanRunRequest) ProtoReflect ¶
func (x *GetScanRunRequest) ProtoReflect() protoreflect.Message
func (*GetScanRunRequest) Reset ¶
func (x *GetScanRunRequest) Reset()
func (*GetScanRunRequest) String ¶
func (x *GetScanRunRequest) String() string
type ListCrawledUrlsRequest ¶
type ListCrawledUrlsRequest struct { // Required. The parent resource name, which should be a scan run resource name in the // format // 'projects/{projectId}/scanConfigs/{scanConfigId}/scanRuns/{scanRunId}'. Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` // A token identifying a page of results to be returned. This should be a // `next_page_token` value returned from a previous List request. // If unspecified, the first page of results is returned. PageToken string `protobuf:"bytes,2,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` // The maximum number of CrawledUrls to return, can be limited by server. // If not specified or not positive, the implementation will select a // reasonable value. PageSize int32 `protobuf:"varint,3,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` // contains filtered or unexported fields }
Request for the `ListCrawledUrls` method.
func (*ListCrawledUrlsRequest) Descriptor
deprecated
func (*ListCrawledUrlsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListCrawledUrlsRequest.ProtoReflect.Descriptor instead.
func (*ListCrawledUrlsRequest) GetPageSize ¶
func (x *ListCrawledUrlsRequest) GetPageSize() int32
func (*ListCrawledUrlsRequest) GetPageToken ¶
func (x *ListCrawledUrlsRequest) GetPageToken() string
func (*ListCrawledUrlsRequest) GetParent ¶
func (x *ListCrawledUrlsRequest) GetParent() string
func (*ListCrawledUrlsRequest) ProtoMessage ¶
func (*ListCrawledUrlsRequest) ProtoMessage()
func (*ListCrawledUrlsRequest) ProtoReflect ¶
func (x *ListCrawledUrlsRequest) ProtoReflect() protoreflect.Message
func (*ListCrawledUrlsRequest) Reset ¶
func (x *ListCrawledUrlsRequest) Reset()
func (*ListCrawledUrlsRequest) String ¶
func (x *ListCrawledUrlsRequest) String() string
type ListCrawledUrlsResponse ¶
type ListCrawledUrlsResponse struct { // The list of CrawledUrls returned. CrawledUrls []*CrawledUrl `protobuf:"bytes,1,rep,name=crawled_urls,json=crawledUrls,proto3" json:"crawled_urls,omitempty"` // Token to retrieve the next page of results, or empty if there are no // more results in the list. NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` // contains filtered or unexported fields }
Response for the `ListCrawledUrls` method.
func (*ListCrawledUrlsResponse) Descriptor
deprecated
func (*ListCrawledUrlsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListCrawledUrlsResponse.ProtoReflect.Descriptor instead.
func (*ListCrawledUrlsResponse) GetCrawledUrls ¶
func (x *ListCrawledUrlsResponse) GetCrawledUrls() []*CrawledUrl
func (*ListCrawledUrlsResponse) GetNextPageToken ¶
func (x *ListCrawledUrlsResponse) GetNextPageToken() string
func (*ListCrawledUrlsResponse) ProtoMessage ¶
func (*ListCrawledUrlsResponse) ProtoMessage()
func (*ListCrawledUrlsResponse) ProtoReflect ¶
func (x *ListCrawledUrlsResponse) ProtoReflect() protoreflect.Message
func (*ListCrawledUrlsResponse) Reset ¶
func (x *ListCrawledUrlsResponse) Reset()
func (*ListCrawledUrlsResponse) String ¶
func (x *ListCrawledUrlsResponse) String() string
type ListFindingTypeStatsRequest ¶
type ListFindingTypeStatsRequest struct { // Required. The parent resource name, which should be a scan run resource name in the // format // 'projects/{projectId}/scanConfigs/{scanConfigId}/scanRuns/{scanRunId}'. Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` // contains filtered or unexported fields }
Request for the `ListFindingTypeStats` method.
func (*ListFindingTypeStatsRequest) Descriptor
deprecated
func (*ListFindingTypeStatsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListFindingTypeStatsRequest.ProtoReflect.Descriptor instead.
func (*ListFindingTypeStatsRequest) GetParent ¶
func (x *ListFindingTypeStatsRequest) GetParent() string
func (*ListFindingTypeStatsRequest) ProtoMessage ¶
func (*ListFindingTypeStatsRequest) ProtoMessage()
func (*ListFindingTypeStatsRequest) ProtoReflect ¶
func (x *ListFindingTypeStatsRequest) ProtoReflect() protoreflect.Message
func (*ListFindingTypeStatsRequest) Reset ¶
func (x *ListFindingTypeStatsRequest) Reset()
func (*ListFindingTypeStatsRequest) String ¶
func (x *ListFindingTypeStatsRequest) String() string
type ListFindingTypeStatsResponse ¶
type ListFindingTypeStatsResponse struct { // The list of FindingTypeStats returned. FindingTypeStats []*FindingTypeStats `protobuf:"bytes,1,rep,name=finding_type_stats,json=findingTypeStats,proto3" json:"finding_type_stats,omitempty"` // contains filtered or unexported fields }
Response for the `ListFindingTypeStats` method.
func (*ListFindingTypeStatsResponse) Descriptor
deprecated
func (*ListFindingTypeStatsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListFindingTypeStatsResponse.ProtoReflect.Descriptor instead.
func (*ListFindingTypeStatsResponse) GetFindingTypeStats ¶
func (x *ListFindingTypeStatsResponse) GetFindingTypeStats() []*FindingTypeStats
func (*ListFindingTypeStatsResponse) ProtoMessage ¶
func (*ListFindingTypeStatsResponse) ProtoMessage()
func (*ListFindingTypeStatsResponse) ProtoReflect ¶
func (x *ListFindingTypeStatsResponse) ProtoReflect() protoreflect.Message
func (*ListFindingTypeStatsResponse) Reset ¶
func (x *ListFindingTypeStatsResponse) Reset()
func (*ListFindingTypeStatsResponse) String ¶
func (x *ListFindingTypeStatsResponse) String() string
type ListFindingsRequest ¶
type ListFindingsRequest struct { // Required. The parent resource name, which should be a scan run resource name in the // format // 'projects/{projectId}/scanConfigs/{scanConfigId}/scanRuns/{scanRunId}'. Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` // The filter expression. The expression must be in the format: <field> // <operator> <value>. // Supported field: 'finding_type'. // Supported operator: '='. Filter string `protobuf:"bytes,2,opt,name=filter,proto3" json:"filter,omitempty"` // A token identifying a page of results to be returned. This should be a // `next_page_token` value returned from a previous List request. // If unspecified, the first page of results is returned. PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` // The maximum number of Findings to return, can be limited by server. // If not specified or not positive, the implementation will select a // reasonable value. PageSize int32 `protobuf:"varint,4,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` // contains filtered or unexported fields }
Request for the `ListFindings` method.
func (*ListFindingsRequest) Descriptor
deprecated
func (*ListFindingsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListFindingsRequest.ProtoReflect.Descriptor instead.
func (*ListFindingsRequest) GetFilter ¶
func (x *ListFindingsRequest) GetFilter() string
func (*ListFindingsRequest) GetPageSize ¶
func (x *ListFindingsRequest) GetPageSize() int32
func (*ListFindingsRequest) GetPageToken ¶
func (x *ListFindingsRequest) GetPageToken() string
func (*ListFindingsRequest) GetParent ¶
func (x *ListFindingsRequest) GetParent() string
func (*ListFindingsRequest) ProtoMessage ¶
func (*ListFindingsRequest) ProtoMessage()
func (*ListFindingsRequest) ProtoReflect ¶
func (x *ListFindingsRequest) ProtoReflect() protoreflect.Message
func (*ListFindingsRequest) Reset ¶
func (x *ListFindingsRequest) Reset()
func (*ListFindingsRequest) String ¶
func (x *ListFindingsRequest) String() string
type ListFindingsResponse ¶
type ListFindingsResponse struct { // The list of Findings returned. Findings []*Finding `protobuf:"bytes,1,rep,name=findings,proto3" json:"findings,omitempty"` // Token to retrieve the next page of results, or empty if there are no // more results in the list. NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` // contains filtered or unexported fields }
Response for the `ListFindings` method.
func (*ListFindingsResponse) Descriptor
deprecated
func (*ListFindingsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListFindingsResponse.ProtoReflect.Descriptor instead.
func (*ListFindingsResponse) GetFindings ¶
func (x *ListFindingsResponse) GetFindings() []*Finding
func (*ListFindingsResponse) GetNextPageToken ¶
func (x *ListFindingsResponse) GetNextPageToken() string
func (*ListFindingsResponse) ProtoMessage ¶
func (*ListFindingsResponse) ProtoMessage()
func (*ListFindingsResponse) ProtoReflect ¶
func (x *ListFindingsResponse) ProtoReflect() protoreflect.Message
func (*ListFindingsResponse) Reset ¶
func (x *ListFindingsResponse) Reset()
func (*ListFindingsResponse) String ¶
func (x *ListFindingsResponse) String() string
type ListScanConfigsRequest ¶
type ListScanConfigsRequest struct { // Required. The parent resource name, which should be a project resource name in the // format 'projects/{projectId}'. Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` // A token identifying a page of results to be returned. This should be a // `next_page_token` value returned from a previous List request. // If unspecified, the first page of results is returned. PageToken string `protobuf:"bytes,2,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` // The maximum number of ScanConfigs to return, can be limited by server. // If not specified or not positive, the implementation will select a // reasonable value. PageSize int32 `protobuf:"varint,3,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` // contains filtered or unexported fields }
Request for the `ListScanConfigs` method.
func (*ListScanConfigsRequest) Descriptor
deprecated
func (*ListScanConfigsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListScanConfigsRequest.ProtoReflect.Descriptor instead.
func (*ListScanConfigsRequest) GetPageSize ¶
func (x *ListScanConfigsRequest) GetPageSize() int32
func (*ListScanConfigsRequest) GetPageToken ¶
func (x *ListScanConfigsRequest) GetPageToken() string
func (*ListScanConfigsRequest) GetParent ¶
func (x *ListScanConfigsRequest) GetParent() string
func (*ListScanConfigsRequest) ProtoMessage ¶
func (*ListScanConfigsRequest) ProtoMessage()
func (*ListScanConfigsRequest) ProtoReflect ¶
func (x *ListScanConfigsRequest) ProtoReflect() protoreflect.Message
func (*ListScanConfigsRequest) Reset ¶
func (x *ListScanConfigsRequest) Reset()
func (*ListScanConfigsRequest) String ¶
func (x *ListScanConfigsRequest) String() string
type ListScanConfigsResponse ¶
type ListScanConfigsResponse struct { // The list of ScanConfigs returned. ScanConfigs []*ScanConfig `protobuf:"bytes,1,rep,name=scan_configs,json=scanConfigs,proto3" json:"scan_configs,omitempty"` // Token to retrieve the next page of results, or empty if there are no // more results in the list. NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` // contains filtered or unexported fields }
Response for the `ListScanConfigs` method.
func (*ListScanConfigsResponse) Descriptor
deprecated
func (*ListScanConfigsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListScanConfigsResponse.ProtoReflect.Descriptor instead.
func (*ListScanConfigsResponse) GetNextPageToken ¶
func (x *ListScanConfigsResponse) GetNextPageToken() string
func (*ListScanConfigsResponse) GetScanConfigs ¶
func (x *ListScanConfigsResponse) GetScanConfigs() []*ScanConfig
func (*ListScanConfigsResponse) ProtoMessage ¶
func (*ListScanConfigsResponse) ProtoMessage()
func (*ListScanConfigsResponse) ProtoReflect ¶
func (x *ListScanConfigsResponse) ProtoReflect() protoreflect.Message
func (*ListScanConfigsResponse) Reset ¶
func (x *ListScanConfigsResponse) Reset()
func (*ListScanConfigsResponse) String ¶
func (x *ListScanConfigsResponse) String() string
type ListScanRunsRequest ¶
type ListScanRunsRequest struct { // Required. The parent resource name, which should be a scan resource name in the // format 'projects/{projectId}/scanConfigs/{scanConfigId}'. Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` // A token identifying a page of results to be returned. This should be a // `next_page_token` value returned from a previous List request. // If unspecified, the first page of results is returned. PageToken string `protobuf:"bytes,2,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` // The maximum number of ScanRuns to return, can be limited by server. // If not specified or not positive, the implementation will select a // reasonable value. PageSize int32 `protobuf:"varint,3,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` // contains filtered or unexported fields }
Request for the `ListScanRuns` method.
func (*ListScanRunsRequest) Descriptor
deprecated
func (*ListScanRunsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListScanRunsRequest.ProtoReflect.Descriptor instead.
func (*ListScanRunsRequest) GetPageSize ¶
func (x *ListScanRunsRequest) GetPageSize() int32
func (*ListScanRunsRequest) GetPageToken ¶
func (x *ListScanRunsRequest) GetPageToken() string
func (*ListScanRunsRequest) GetParent ¶
func (x *ListScanRunsRequest) GetParent() string
func (*ListScanRunsRequest) ProtoMessage ¶
func (*ListScanRunsRequest) ProtoMessage()
func (*ListScanRunsRequest) ProtoReflect ¶
func (x *ListScanRunsRequest) ProtoReflect() protoreflect.Message
func (*ListScanRunsRequest) Reset ¶
func (x *ListScanRunsRequest) Reset()
func (*ListScanRunsRequest) String ¶
func (x *ListScanRunsRequest) String() string
type ListScanRunsResponse ¶
type ListScanRunsResponse struct { // The list of ScanRuns returned. ScanRuns []*ScanRun `protobuf:"bytes,1,rep,name=scan_runs,json=scanRuns,proto3" json:"scan_runs,omitempty"` // Token to retrieve the next page of results, or empty if there are no // more results in the list. NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` // contains filtered or unexported fields }
Response for the `ListScanRuns` method.
func (*ListScanRunsResponse) Descriptor
deprecated
func (*ListScanRunsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListScanRunsResponse.ProtoReflect.Descriptor instead.
func (*ListScanRunsResponse) GetNextPageToken ¶
func (x *ListScanRunsResponse) GetNextPageToken() string
func (*ListScanRunsResponse) GetScanRuns ¶
func (x *ListScanRunsResponse) GetScanRuns() []*ScanRun
func (*ListScanRunsResponse) ProtoMessage ¶
func (*ListScanRunsResponse) ProtoMessage()
func (*ListScanRunsResponse) ProtoReflect ¶
func (x *ListScanRunsResponse) ProtoReflect() protoreflect.Message
func (*ListScanRunsResponse) Reset ¶
func (x *ListScanRunsResponse) Reset()
func (*ListScanRunsResponse) String ¶
func (x *ListScanRunsResponse) String() string
type OutdatedLibrary ¶
type OutdatedLibrary struct { // The name of the outdated library. LibraryName string `protobuf:"bytes,1,opt,name=library_name,json=libraryName,proto3" json:"library_name,omitempty"` // The version number. Version string `protobuf:"bytes,2,opt,name=version,proto3" json:"version,omitempty"` // URLs to learn more information about the vulnerabilities in the library. LearnMoreUrls []string `protobuf:"bytes,3,rep,name=learn_more_urls,json=learnMoreUrls,proto3" json:"learn_more_urls,omitempty"` // contains filtered or unexported fields }
Information reported for an outdated library.
func (*OutdatedLibrary) Descriptor
deprecated
func (*OutdatedLibrary) Descriptor() ([]byte, []int)
Deprecated: Use OutdatedLibrary.ProtoReflect.Descriptor instead.
func (*OutdatedLibrary) GetLearnMoreUrls ¶
func (x *OutdatedLibrary) GetLearnMoreUrls() []string
func (*OutdatedLibrary) GetLibraryName ¶
func (x *OutdatedLibrary) GetLibraryName() string
func (*OutdatedLibrary) GetVersion ¶
func (x *OutdatedLibrary) GetVersion() string
func (*OutdatedLibrary) ProtoMessage ¶
func (*OutdatedLibrary) ProtoMessage()
func (*OutdatedLibrary) ProtoReflect ¶
func (x *OutdatedLibrary) ProtoReflect() protoreflect.Message
func (*OutdatedLibrary) Reset ¶
func (x *OutdatedLibrary) Reset()
func (*OutdatedLibrary) String ¶
func (x *OutdatedLibrary) String() string
type ScanConfig ¶
type ScanConfig struct { // The resource name of the ScanConfig. The name follows the format of // 'projects/{projectId}/scanConfigs/{scanConfigId}'. The ScanConfig IDs are // generated by the system. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Required. The user provided display name of the ScanConfig. DisplayName string `protobuf:"bytes,2,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"` // The maximum QPS during scanning. A valid value ranges from 5 to 20 // inclusively. If the field is unspecified or its value is set 0, server will // default to 15. Other values outside of [5, 20] range will be rejected with // INVALID_ARGUMENT error. MaxQps int32 `protobuf:"varint,3,opt,name=max_qps,json=maxQps,proto3" json:"max_qps,omitempty"` // Required. The starting URLs from which the scanner finds site pages. StartingUrls []string `protobuf:"bytes,4,rep,name=starting_urls,json=startingUrls,proto3" json:"starting_urls,omitempty"` // The authentication configuration. If specified, service will use the // authentication configuration during scanning. Authentication *ScanConfig_Authentication `protobuf:"bytes,5,opt,name=authentication,proto3" json:"authentication,omitempty"` // The user agent used during scanning. UserAgent ScanConfig_UserAgent `` /* 150-byte string literal not displayed */ // The excluded URL patterns as described in // https://cloud.google.com/security-command-center/docs/how-to-use-web-security-scanner#excluding_urls BlacklistPatterns []string `protobuf:"bytes,7,rep,name=blacklist_patterns,json=blacklistPatterns,proto3" json:"blacklist_patterns,omitempty"` // The schedule of the ScanConfig. Schedule *ScanConfig_Schedule `protobuf:"bytes,8,opt,name=schedule,proto3" json:"schedule,omitempty"` // Controls export of scan configurations and results to Security // Command Center. ExportToSecurityCommandCenter ScanConfig_ExportToSecurityCommandCenter `` /* 237-byte string literal not displayed */ // The risk level selected for the scan RiskLevel ScanConfig_RiskLevel `` /* 151-byte string literal not displayed */ // Whether the scan config is managed by Web Security Scanner, output // only. ManagedScan bool `protobuf:"varint,13,opt,name=managed_scan,json=managedScan,proto3" json:"managed_scan,omitempty"` // Whether the scan configuration has enabled static IP address scan feature. // If enabled, the scanner will access applications from static IP addresses. StaticIpScan bool `protobuf:"varint,14,opt,name=static_ip_scan,json=staticIpScan,proto3" json:"static_ip_scan,omitempty"` // Whether to keep scanning even if most requests return HTTP error codes. IgnoreHttpStatusErrors bool `` /* 133-byte string literal not displayed */ // contains filtered or unexported fields }
A ScanConfig resource contains the configurations to launch a scan.
func (*ScanConfig) Descriptor
deprecated
func (*ScanConfig) Descriptor() ([]byte, []int)
Deprecated: Use ScanConfig.ProtoReflect.Descriptor instead.
func (*ScanConfig) GetAuthentication ¶
func (x *ScanConfig) GetAuthentication() *ScanConfig_Authentication
func (*ScanConfig) GetBlacklistPatterns ¶
func (x *ScanConfig) GetBlacklistPatterns() []string
func (*ScanConfig) GetDisplayName ¶
func (x *ScanConfig) GetDisplayName() string
func (*ScanConfig) GetExportToSecurityCommandCenter ¶
func (x *ScanConfig) GetExportToSecurityCommandCenter() ScanConfig_ExportToSecurityCommandCenter
func (*ScanConfig) GetIgnoreHttpStatusErrors ¶
func (x *ScanConfig) GetIgnoreHttpStatusErrors() bool
func (*ScanConfig) GetManagedScan ¶
func (x *ScanConfig) GetManagedScan() bool
func (*ScanConfig) GetMaxQps ¶
func (x *ScanConfig) GetMaxQps() int32
func (*ScanConfig) GetName ¶
func (x *ScanConfig) GetName() string
func (*ScanConfig) GetRiskLevel ¶
func (x *ScanConfig) GetRiskLevel() ScanConfig_RiskLevel
func (*ScanConfig) GetSchedule ¶
func (x *ScanConfig) GetSchedule() *ScanConfig_Schedule
func (*ScanConfig) GetStartingUrls ¶
func (x *ScanConfig) GetStartingUrls() []string
func (*ScanConfig) GetStaticIpScan ¶
func (x *ScanConfig) GetStaticIpScan() bool
func (*ScanConfig) GetUserAgent ¶
func (x *ScanConfig) GetUserAgent() ScanConfig_UserAgent
func (*ScanConfig) ProtoMessage ¶
func (*ScanConfig) ProtoMessage()
func (*ScanConfig) ProtoReflect ¶
func (x *ScanConfig) ProtoReflect() protoreflect.Message
func (*ScanConfig) Reset ¶
func (x *ScanConfig) Reset()
func (*ScanConfig) String ¶
func (x *ScanConfig) String() string
type ScanConfigError ¶
type ScanConfigError struct { // Output only. Indicates the reason code for a configuration failure. Code ScanConfigError_Code `protobuf:"varint,1,opt,name=code,proto3,enum=google.cloud.websecurityscanner.v1.ScanConfigError_Code" json:"code,omitempty"` // Output only. Indicates the full name of the ScanConfig field that triggers this error, // for example "scan_config.max_qps". This field is provided for // troubleshooting purposes only and its actual value can change in the // future. FieldName string `protobuf:"bytes,2,opt,name=field_name,json=fieldName,proto3" json:"field_name,omitempty"` // contains filtered or unexported fields }
Defines a custom error message used by CreateScanConfig and UpdateScanConfig APIs when scan configuration validation fails. It is also reported as part of a ScanRunErrorTrace message if scan validation fails due to a scan configuration error.
func (*ScanConfigError) Descriptor
deprecated
func (*ScanConfigError) Descriptor() ([]byte, []int)
Deprecated: Use ScanConfigError.ProtoReflect.Descriptor instead.
func (*ScanConfigError) GetCode ¶
func (x *ScanConfigError) GetCode() ScanConfigError_Code
func (*ScanConfigError) GetFieldName ¶
func (x *ScanConfigError) GetFieldName() string
func (*ScanConfigError) ProtoMessage ¶
func (*ScanConfigError) ProtoMessage()
func (*ScanConfigError) ProtoReflect ¶
func (x *ScanConfigError) ProtoReflect() protoreflect.Message
func (*ScanConfigError) Reset ¶
func (x *ScanConfigError) Reset()
func (*ScanConfigError) String ¶
func (x *ScanConfigError) String() string
type ScanConfigError_Code ¶
type ScanConfigError_Code int32
Output only. Defines an error reason code. Next id: 44
const ( // There is no error. ScanConfigError_CODE_UNSPECIFIED ScanConfigError_Code = 0 // There is no error. ScanConfigError_OK ScanConfigError_Code = 0 // Indicates an internal server error. // Please DO NOT USE THIS ERROR CODE unless the root cause is truly unknown. ScanConfigError_INTERNAL_ERROR ScanConfigError_Code = 1 // One of the seed URLs is an App Engine URL but we cannot validate the scan // settings due to an App Engine API backend error. ScanConfigError_APPENGINE_API_BACKEND_ERROR ScanConfigError_Code = 2 // One of the seed URLs is an App Engine URL but we cannot access the // App Engine API to validate scan settings. ScanConfigError_APPENGINE_API_NOT_ACCESSIBLE ScanConfigError_Code = 3 // One of the seed URLs is an App Engine URL but the Default Host of the // App Engine is not set. ScanConfigError_APPENGINE_DEFAULT_HOST_MISSING ScanConfigError_Code = 4 // Google corporate accounts can not be used for scanning. ScanConfigError_CANNOT_USE_GOOGLE_COM_ACCOUNT ScanConfigError_Code = 6 // The account of the scan creator can not be used for scanning. ScanConfigError_CANNOT_USE_OWNER_ACCOUNT ScanConfigError_Code = 7 // This scan targets Compute Engine, but we cannot validate scan settings // due to a Compute Engine API backend error. ScanConfigError_COMPUTE_API_BACKEND_ERROR ScanConfigError_Code = 8 // This scan targets Compute Engine, but we cannot access the Compute Engine // API to validate the scan settings. ScanConfigError_COMPUTE_API_NOT_ACCESSIBLE ScanConfigError_Code = 9 // The Custom Login URL does not belong to the current project. ScanConfigError_CUSTOM_LOGIN_URL_DOES_NOT_BELONG_TO_CURRENT_PROJECT ScanConfigError_Code = 10 // The Custom Login URL is malformed (can not be parsed). ScanConfigError_CUSTOM_LOGIN_URL_MALFORMED ScanConfigError_Code = 11 // The Custom Login URL is mapped to a non-routable IP address in DNS. ScanConfigError_CUSTOM_LOGIN_URL_MAPPED_TO_NON_ROUTABLE_ADDRESS ScanConfigError_Code = 12 // The Custom Login URL is mapped to an IP address which is not reserved for // the current project. ScanConfigError_CUSTOM_LOGIN_URL_MAPPED_TO_UNRESERVED_ADDRESS ScanConfigError_Code = 13 // The Custom Login URL has a non-routable IP address. ScanConfigError_CUSTOM_LOGIN_URL_HAS_NON_ROUTABLE_IP_ADDRESS ScanConfigError_Code = 14 // The Custom Login URL has an IP address which is not reserved for the // current project. ScanConfigError_CUSTOM_LOGIN_URL_HAS_UNRESERVED_IP_ADDRESS ScanConfigError_Code = 15 // Another scan with the same name (case-sensitive) already exists. ScanConfigError_DUPLICATE_SCAN_NAME ScanConfigError_Code = 16 // A field is set to an invalid value. ScanConfigError_INVALID_FIELD_VALUE ScanConfigError_Code = 18 // There was an error trying to authenticate to the scan target. ScanConfigError_FAILED_TO_AUTHENTICATE_TO_TARGET ScanConfigError_Code = 19 // Finding type value is not specified in the list findings request. ScanConfigError_FINDING_TYPE_UNSPECIFIED ScanConfigError_Code = 20 // Scan targets Compute Engine, yet current project was not whitelisted for // Google Compute Engine Scanning Alpha access. ScanConfigError_FORBIDDEN_TO_SCAN_COMPUTE ScanConfigError_Code = 21 // User tries to update managed scan ScanConfigError_FORBIDDEN_UPDATE_TO_MANAGED_SCAN ScanConfigError_Code = 43 // The supplied filter is malformed. For example, it can not be parsed, does // not have a filter type in expression, or the same filter type appears // more than once. ScanConfigError_MALFORMED_FILTER ScanConfigError_Code = 22 // The supplied resource name is malformed (can not be parsed). ScanConfigError_MALFORMED_RESOURCE_NAME ScanConfigError_Code = 23 // The current project is not in an active state. ScanConfigError_PROJECT_INACTIVE ScanConfigError_Code = 24 // A required field is not set. ScanConfigError_REQUIRED_FIELD ScanConfigError_Code = 25 // Project id, scanconfig id, scanrun id, or finding id are not consistent // with each other in resource name. ScanConfigError_RESOURCE_NAME_INCONSISTENT ScanConfigError_Code = 26 // The scan being requested to start is already running. ScanConfigError_SCAN_ALREADY_RUNNING ScanConfigError_Code = 27 // The scan that was requested to be stopped is not running. ScanConfigError_SCAN_NOT_RUNNING ScanConfigError_Code = 28 // One of the seed URLs does not belong to the current project. ScanConfigError_SEED_URL_DOES_NOT_BELONG_TO_CURRENT_PROJECT ScanConfigError_Code = 29 // One of the seed URLs is malformed (can not be parsed). ScanConfigError_SEED_URL_MALFORMED ScanConfigError_Code = 30 // One of the seed URLs is mapped to a non-routable IP address in DNS. ScanConfigError_SEED_URL_MAPPED_TO_NON_ROUTABLE_ADDRESS ScanConfigError_Code = 31 // One of the seed URLs is mapped to an IP address which is not reserved // for the current project. ScanConfigError_SEED_URL_MAPPED_TO_UNRESERVED_ADDRESS ScanConfigError_Code = 32 // One of the seed URLs has on-routable IP address. ScanConfigError_SEED_URL_HAS_NON_ROUTABLE_IP_ADDRESS ScanConfigError_Code = 33 // One of the seed URLs has an IP address that is not reserved // for the current project. ScanConfigError_SEED_URL_HAS_UNRESERVED_IP_ADDRESS ScanConfigError_Code = 35 // The Web Security Scanner service account is not configured under the // project. ScanConfigError_SERVICE_ACCOUNT_NOT_CONFIGURED ScanConfigError_Code = 36 // A project has reached the maximum number of scans. ScanConfigError_TOO_MANY_SCANS ScanConfigError_Code = 37 // Resolving the details of the current project fails. ScanConfigError_UNABLE_TO_RESOLVE_PROJECT_INFO ScanConfigError_Code = 38 // One or more blacklist patterns were in the wrong format. ScanConfigError_UNSUPPORTED_BLACKLIST_PATTERN_FORMAT ScanConfigError_Code = 39 // The supplied filter is not supported. ScanConfigError_UNSUPPORTED_FILTER ScanConfigError_Code = 40 // The supplied finding type is not supported. For example, we do not // provide findings of the given finding type. ScanConfigError_UNSUPPORTED_FINDING_TYPE ScanConfigError_Code = 41 // The URL scheme of one or more of the supplied URLs is not supported. ScanConfigError_UNSUPPORTED_URL_SCHEME ScanConfigError_Code = 42 )
func (ScanConfigError_Code) Descriptor ¶
func (ScanConfigError_Code) Descriptor() protoreflect.EnumDescriptor
func (ScanConfigError_Code) Enum ¶
func (x ScanConfigError_Code) Enum() *ScanConfigError_Code
func (ScanConfigError_Code) EnumDescriptor
deprecated
func (ScanConfigError_Code) EnumDescriptor() ([]byte, []int)
Deprecated: Use ScanConfigError_Code.Descriptor instead.
func (ScanConfigError_Code) Number ¶
func (x ScanConfigError_Code) Number() protoreflect.EnumNumber
func (ScanConfigError_Code) String ¶
func (x ScanConfigError_Code) String() string
func (ScanConfigError_Code) Type ¶
func (ScanConfigError_Code) Type() protoreflect.EnumType
type ScanConfig_Authentication ¶
type ScanConfig_Authentication struct { // Required. // Authentication configuration // // Types that are assignable to Authentication: // // *ScanConfig_Authentication_GoogleAccount_ // *ScanConfig_Authentication_CustomAccount_ // *ScanConfig_Authentication_IapCredential_ Authentication isScanConfig_Authentication_Authentication `protobuf_oneof:"authentication"` // contains filtered or unexported fields }
Scan authentication configuration.
func (*ScanConfig_Authentication) Descriptor
deprecated
func (*ScanConfig_Authentication) Descriptor() ([]byte, []int)
Deprecated: Use ScanConfig_Authentication.ProtoReflect.Descriptor instead.
func (*ScanConfig_Authentication) GetAuthentication ¶
func (m *ScanConfig_Authentication) GetAuthentication() isScanConfig_Authentication_Authentication
func (*ScanConfig_Authentication) GetCustomAccount ¶
func (x *ScanConfig_Authentication) GetCustomAccount() *ScanConfig_Authentication_CustomAccount
func (*ScanConfig_Authentication) GetGoogleAccount
deprecated
func (x *ScanConfig_Authentication) GetGoogleAccount() *ScanConfig_Authentication_GoogleAccount
Deprecated: Marked as deprecated in google/cloud/websecurityscanner/v1/scan_config.proto.
func (*ScanConfig_Authentication) GetIapCredential ¶
func (x *ScanConfig_Authentication) GetIapCredential() *ScanConfig_Authentication_IapCredential
func (*ScanConfig_Authentication) ProtoMessage ¶
func (*ScanConfig_Authentication) ProtoMessage()
func (*ScanConfig_Authentication) ProtoReflect ¶
func (x *ScanConfig_Authentication) ProtoReflect() protoreflect.Message
func (*ScanConfig_Authentication) Reset ¶
func (x *ScanConfig_Authentication) Reset()
func (*ScanConfig_Authentication) String ¶
func (x *ScanConfig_Authentication) String() string
type ScanConfig_Authentication_CustomAccount ¶
type ScanConfig_Authentication_CustomAccount struct { // Required. The user name of the custom account. Username string `protobuf:"bytes,1,opt,name=username,proto3" json:"username,omitempty"` // Required. Input only. The password of the custom account. The credential is stored encrypted // and not returned in any response nor included in audit logs. Password string `protobuf:"bytes,2,opt,name=password,proto3" json:"password,omitempty"` // Required. The login form URL of the website. LoginUrl string `protobuf:"bytes,3,opt,name=login_url,json=loginUrl,proto3" json:"login_url,omitempty"` // contains filtered or unexported fields }
Describes authentication configuration that uses a custom account.
func (*ScanConfig_Authentication_CustomAccount) Descriptor
deprecated
func (*ScanConfig_Authentication_CustomAccount) Descriptor() ([]byte, []int)
Deprecated: Use ScanConfig_Authentication_CustomAccount.ProtoReflect.Descriptor instead.
func (*ScanConfig_Authentication_CustomAccount) GetLoginUrl ¶
func (x *ScanConfig_Authentication_CustomAccount) GetLoginUrl() string
func (*ScanConfig_Authentication_CustomAccount) GetPassword ¶
func (x *ScanConfig_Authentication_CustomAccount) GetPassword() string
func (*ScanConfig_Authentication_CustomAccount) GetUsername ¶
func (x *ScanConfig_Authentication_CustomAccount) GetUsername() string
func (*ScanConfig_Authentication_CustomAccount) ProtoMessage ¶
func (*ScanConfig_Authentication_CustomAccount) ProtoMessage()
func (*ScanConfig_Authentication_CustomAccount) ProtoReflect ¶
func (x *ScanConfig_Authentication_CustomAccount) ProtoReflect() protoreflect.Message
func (*ScanConfig_Authentication_CustomAccount) Reset ¶
func (x *ScanConfig_Authentication_CustomAccount) Reset()
func (*ScanConfig_Authentication_CustomAccount) String ¶
func (x *ScanConfig_Authentication_CustomAccount) String() string
type ScanConfig_Authentication_CustomAccount_ ¶
type ScanConfig_Authentication_CustomAccount_ struct { // Authentication using a custom account. CustomAccount *ScanConfig_Authentication_CustomAccount `protobuf:"bytes,2,opt,name=custom_account,json=customAccount,proto3,oneof"` }
type ScanConfig_Authentication_GoogleAccount
deprecated
type ScanConfig_Authentication_GoogleAccount struct { // Required. The user name of the Google account. Username string `protobuf:"bytes,1,opt,name=username,proto3" json:"username,omitempty"` // Required. Input only. The password of the Google account. The credential is stored encrypted // and not returned in any response nor included in audit logs. Password string `protobuf:"bytes,2,opt,name=password,proto3" json:"password,omitempty"` // contains filtered or unexported fields }
Describes authentication configuration that uses a Google account.
Deprecated: Marked as deprecated in google/cloud/websecurityscanner/v1/scan_config.proto.
func (*ScanConfig_Authentication_GoogleAccount) Descriptor
deprecated
func (*ScanConfig_Authentication_GoogleAccount) Descriptor() ([]byte, []int)
Deprecated: Use ScanConfig_Authentication_GoogleAccount.ProtoReflect.Descriptor instead.
func (*ScanConfig_Authentication_GoogleAccount) GetPassword ¶
func (x *ScanConfig_Authentication_GoogleAccount) GetPassword() string
func (*ScanConfig_Authentication_GoogleAccount) GetUsername ¶
func (x *ScanConfig_Authentication_GoogleAccount) GetUsername() string
func (*ScanConfig_Authentication_GoogleAccount) ProtoMessage ¶
func (*ScanConfig_Authentication_GoogleAccount) ProtoMessage()
func (*ScanConfig_Authentication_GoogleAccount) ProtoReflect ¶
func (x *ScanConfig_Authentication_GoogleAccount) ProtoReflect() protoreflect.Message
func (*ScanConfig_Authentication_GoogleAccount) Reset ¶
func (x *ScanConfig_Authentication_GoogleAccount) Reset()
func (*ScanConfig_Authentication_GoogleAccount) String ¶
func (x *ScanConfig_Authentication_GoogleAccount) String() string
type ScanConfig_Authentication_GoogleAccount_ ¶
type ScanConfig_Authentication_GoogleAccount_ struct { // Authentication using a Google account. // // Deprecated: Marked as deprecated in google/cloud/websecurityscanner/v1/scan_config.proto. GoogleAccount *ScanConfig_Authentication_GoogleAccount `protobuf:"bytes,1,opt,name=google_account,json=googleAccount,proto3,oneof"` }
type ScanConfig_Authentication_IapCredential ¶
type ScanConfig_Authentication_IapCredential struct { // Identity-Aware-Proxy (IAP) Authentication Configuration // // Types that are assignable to IapCredentials: // // *ScanConfig_Authentication_IapCredential_IapTestServiceAccountInfo_ IapCredentials isScanConfig_Authentication_IapCredential_IapCredentials `protobuf_oneof:"iap_credentials"` // contains filtered or unexported fields }
Describes authentication configuration for Identity-Aware-Proxy (IAP).
func (*ScanConfig_Authentication_IapCredential) Descriptor
deprecated
func (*ScanConfig_Authentication_IapCredential) Descriptor() ([]byte, []int)
Deprecated: Use ScanConfig_Authentication_IapCredential.ProtoReflect.Descriptor instead.
func (*ScanConfig_Authentication_IapCredential) GetIapCredentials ¶
func (m *ScanConfig_Authentication_IapCredential) GetIapCredentials() isScanConfig_Authentication_IapCredential_IapCredentials
func (*ScanConfig_Authentication_IapCredential) GetIapTestServiceAccountInfo ¶
func (x *ScanConfig_Authentication_IapCredential) GetIapTestServiceAccountInfo() *ScanConfig_Authentication_IapCredential_IapTestServiceAccountInfo
func (*ScanConfig_Authentication_IapCredential) ProtoMessage ¶
func (*ScanConfig_Authentication_IapCredential) ProtoMessage()
func (*ScanConfig_Authentication_IapCredential) ProtoReflect ¶
func (x *ScanConfig_Authentication_IapCredential) ProtoReflect() protoreflect.Message
func (*ScanConfig_Authentication_IapCredential) Reset ¶
func (x *ScanConfig_Authentication_IapCredential) Reset()
func (*ScanConfig_Authentication_IapCredential) String ¶
func (x *ScanConfig_Authentication_IapCredential) String() string
type ScanConfig_Authentication_IapCredential_ ¶
type ScanConfig_Authentication_IapCredential_ struct { // Authentication using Identity-Aware-Proxy (IAP). IapCredential *ScanConfig_Authentication_IapCredential `protobuf:"bytes,4,opt,name=iap_credential,json=iapCredential,proto3,oneof"` }
type ScanConfig_Authentication_IapCredential_IapTestServiceAccountInfo ¶
type ScanConfig_Authentication_IapCredential_IapTestServiceAccountInfo struct { // Required. Describes OAuth2 client id of resources protected by // Identity-Aware-Proxy (IAP). TargetAudienceClientId string `` /* 131-byte string literal not displayed */ // contains filtered or unexported fields }
Describes authentication configuration when Web-Security-Scanner service account is added in Identity-Aware-Proxy (IAP) access policies.
func (*ScanConfig_Authentication_IapCredential_IapTestServiceAccountInfo) Descriptor
deprecated
func (*ScanConfig_Authentication_IapCredential_IapTestServiceAccountInfo) Descriptor() ([]byte, []int)
Deprecated: Use ScanConfig_Authentication_IapCredential_IapTestServiceAccountInfo.ProtoReflect.Descriptor instead.
func (*ScanConfig_Authentication_IapCredential_IapTestServiceAccountInfo) GetTargetAudienceClientId ¶
func (x *ScanConfig_Authentication_IapCredential_IapTestServiceAccountInfo) GetTargetAudienceClientId() string
func (*ScanConfig_Authentication_IapCredential_IapTestServiceAccountInfo) ProtoMessage ¶
func (*ScanConfig_Authentication_IapCredential_IapTestServiceAccountInfo) ProtoMessage()
func (*ScanConfig_Authentication_IapCredential_IapTestServiceAccountInfo) ProtoReflect ¶
func (x *ScanConfig_Authentication_IapCredential_IapTestServiceAccountInfo) ProtoReflect() protoreflect.Message
func (*ScanConfig_Authentication_IapCredential_IapTestServiceAccountInfo) Reset ¶
func (x *ScanConfig_Authentication_IapCredential_IapTestServiceAccountInfo) Reset()
func (*ScanConfig_Authentication_IapCredential_IapTestServiceAccountInfo) String ¶
func (x *ScanConfig_Authentication_IapCredential_IapTestServiceAccountInfo) String() string
type ScanConfig_Authentication_IapCredential_IapTestServiceAccountInfo_ ¶
type ScanConfig_Authentication_IapCredential_IapTestServiceAccountInfo_ struct { // Authentication configuration when Web-Security-Scanner service // account is added in Identity-Aware-Proxy (IAP) access policies. IapTestServiceAccountInfo *ScanConfig_Authentication_IapCredential_IapTestServiceAccountInfo `protobuf:"bytes,1,opt,name=iap_test_service_account_info,json=iapTestServiceAccountInfo,proto3,oneof"` }
type ScanConfig_ExportToSecurityCommandCenter ¶
type ScanConfig_ExportToSecurityCommandCenter int32
Controls export of scan configurations and results to Security Command Center.
const ( // Use default, which is ENABLED. ScanConfig_EXPORT_TO_SECURITY_COMMAND_CENTER_UNSPECIFIED ScanConfig_ExportToSecurityCommandCenter = 0 // Export results of this scan to Security Command Center. ScanConfig_ENABLED ScanConfig_ExportToSecurityCommandCenter = 1 // Do not export results of this scan to Security Command Center. ScanConfig_DISABLED ScanConfig_ExportToSecurityCommandCenter = 2 )
func (ScanConfig_ExportToSecurityCommandCenter) Descriptor ¶
func (ScanConfig_ExportToSecurityCommandCenter) Descriptor() protoreflect.EnumDescriptor
func (ScanConfig_ExportToSecurityCommandCenter) EnumDescriptor
deprecated
func (ScanConfig_ExportToSecurityCommandCenter) EnumDescriptor() ([]byte, []int)
Deprecated: Use ScanConfig_ExportToSecurityCommandCenter.Descriptor instead.
func (ScanConfig_ExportToSecurityCommandCenter) Number ¶
func (x ScanConfig_ExportToSecurityCommandCenter) Number() protoreflect.EnumNumber
func (ScanConfig_ExportToSecurityCommandCenter) String ¶
func (x ScanConfig_ExportToSecurityCommandCenter) String() string
func (ScanConfig_ExportToSecurityCommandCenter) Type ¶
func (ScanConfig_ExportToSecurityCommandCenter) Type() protoreflect.EnumType
type ScanConfig_RiskLevel ¶
type ScanConfig_RiskLevel int32
Scan risk levels supported by Web Security Scanner. LOW impact scanning will minimize requests with the potential to modify data. To achieve the maximum scan coverage, NORMAL risk level is recommended.
const ( // Use default, which is NORMAL. ScanConfig_RISK_LEVEL_UNSPECIFIED ScanConfig_RiskLevel = 0 // Normal scanning (Recommended) ScanConfig_NORMAL ScanConfig_RiskLevel = 1 // Lower impact scanning ScanConfig_LOW ScanConfig_RiskLevel = 2 )
func (ScanConfig_RiskLevel) Descriptor ¶
func (ScanConfig_RiskLevel) Descriptor() protoreflect.EnumDescriptor
func (ScanConfig_RiskLevel) Enum ¶
func (x ScanConfig_RiskLevel) Enum() *ScanConfig_RiskLevel
func (ScanConfig_RiskLevel) EnumDescriptor
deprecated
func (ScanConfig_RiskLevel) EnumDescriptor() ([]byte, []int)
Deprecated: Use ScanConfig_RiskLevel.Descriptor instead.
func (ScanConfig_RiskLevel) Number ¶
func (x ScanConfig_RiskLevel) Number() protoreflect.EnumNumber
func (ScanConfig_RiskLevel) String ¶
func (x ScanConfig_RiskLevel) String() string
func (ScanConfig_RiskLevel) Type ¶
func (ScanConfig_RiskLevel) Type() protoreflect.EnumType
type ScanConfig_Schedule ¶
type ScanConfig_Schedule struct { // A timestamp indicates when the next run will be scheduled. The value is // refreshed by the server after each run. If unspecified, it will default // to current server time, which means the scan will be scheduled to start // immediately. ScheduleTime *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=schedule_time,json=scheduleTime,proto3" json:"schedule_time,omitempty"` // Required. The duration of time between executions in days. IntervalDurationDays int32 `protobuf:"varint,2,opt,name=interval_duration_days,json=intervalDurationDays,proto3" json:"interval_duration_days,omitempty"` // contains filtered or unexported fields }
Scan schedule configuration.
func (*ScanConfig_Schedule) Descriptor
deprecated
func (*ScanConfig_Schedule) Descriptor() ([]byte, []int)
Deprecated: Use ScanConfig_Schedule.ProtoReflect.Descriptor instead.
func (*ScanConfig_Schedule) GetIntervalDurationDays ¶
func (x *ScanConfig_Schedule) GetIntervalDurationDays() int32
func (*ScanConfig_Schedule) GetScheduleTime ¶
func (x *ScanConfig_Schedule) GetScheduleTime() *timestamppb.Timestamp
func (*ScanConfig_Schedule) ProtoMessage ¶
func (*ScanConfig_Schedule) ProtoMessage()
func (*ScanConfig_Schedule) ProtoReflect ¶
func (x *ScanConfig_Schedule) ProtoReflect() protoreflect.Message
func (*ScanConfig_Schedule) Reset ¶
func (x *ScanConfig_Schedule) Reset()
func (*ScanConfig_Schedule) String ¶
func (x *ScanConfig_Schedule) String() string
type ScanConfig_UserAgent ¶
type ScanConfig_UserAgent int32
Type of user agents used for scanning.
const ( // The user agent is unknown. Service will default to CHROME_LINUX. ScanConfig_USER_AGENT_UNSPECIFIED ScanConfig_UserAgent = 0 // Chrome on Linux. This is the service default if unspecified. ScanConfig_CHROME_LINUX ScanConfig_UserAgent = 1 // Chrome on Android. ScanConfig_CHROME_ANDROID ScanConfig_UserAgent = 2 // Safari on IPhone. ScanConfig_SAFARI_IPHONE ScanConfig_UserAgent = 3 )
func (ScanConfig_UserAgent) Descriptor ¶
func (ScanConfig_UserAgent) Descriptor() protoreflect.EnumDescriptor
func (ScanConfig_UserAgent) Enum ¶
func (x ScanConfig_UserAgent) Enum() *ScanConfig_UserAgent
func (ScanConfig_UserAgent) EnumDescriptor
deprecated
func (ScanConfig_UserAgent) EnumDescriptor() ([]byte, []int)
Deprecated: Use ScanConfig_UserAgent.Descriptor instead.
func (ScanConfig_UserAgent) Number ¶
func (x ScanConfig_UserAgent) Number() protoreflect.EnumNumber
func (ScanConfig_UserAgent) String ¶
func (x ScanConfig_UserAgent) String() string
func (ScanConfig_UserAgent) Type ¶
func (ScanConfig_UserAgent) Type() protoreflect.EnumType
type ScanRun ¶
type ScanRun struct { // Output only. The resource name of the ScanRun. The name follows the format of // 'projects/{projectId}/scanConfigs/{scanConfigId}/scanRuns/{scanRunId}'. // The ScanRun IDs are generated by the system. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Output only. The execution state of the ScanRun. ExecutionState ScanRun_ExecutionState `` /* 167-byte string literal not displayed */ // Output only. The result state of the ScanRun. This field is only available after the // execution state reaches "FINISHED". ResultState ScanRun_ResultState `` /* 155-byte string literal not displayed */ // Output only. The time at which the ScanRun started. StartTime *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"` // Output only. The time at which the ScanRun reached termination state - that the ScanRun // is either finished or stopped by user. EndTime *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"` // Output only. The number of URLs crawled during this ScanRun. If the scan is in progress, // the value represents the number of URLs crawled up to now. UrlsCrawledCount int64 `protobuf:"varint,6,opt,name=urls_crawled_count,json=urlsCrawledCount,proto3" json:"urls_crawled_count,omitempty"` // Output only. The number of URLs tested during this ScanRun. If the scan is in progress, // the value represents the number of URLs tested up to now. The number of // URLs tested is usually larger than the number URLS crawled because // typically a crawled URL is tested with multiple test payloads. UrlsTestedCount int64 `protobuf:"varint,7,opt,name=urls_tested_count,json=urlsTestedCount,proto3" json:"urls_tested_count,omitempty"` // Output only. Whether the scan run has found any vulnerabilities. HasVulnerabilities bool `protobuf:"varint,8,opt,name=has_vulnerabilities,json=hasVulnerabilities,proto3" json:"has_vulnerabilities,omitempty"` // Output only. The percentage of total completion ranging from 0 to 100. // If the scan is in queue, the value is 0. // If the scan is running, the value ranges from 0 to 100. // If the scan is finished, the value is 100. ProgressPercent int32 `protobuf:"varint,9,opt,name=progress_percent,json=progressPercent,proto3" json:"progress_percent,omitempty"` // Output only. If result_state is an ERROR, this field provides the primary reason for // scan's termination and more details, if such are available. ErrorTrace *ScanRunErrorTrace `protobuf:"bytes,10,opt,name=error_trace,json=errorTrace,proto3" json:"error_trace,omitempty"` // Output only. A list of warnings, if such are encountered during this scan run. WarningTraces []*ScanRunWarningTrace `protobuf:"bytes,11,rep,name=warning_traces,json=warningTraces,proto3" json:"warning_traces,omitempty"` // contains filtered or unexported fields }
A ScanRun is a output-only resource representing an actual run of the scan. Next id: 12
func (*ScanRun) Descriptor
deprecated
func (*ScanRun) GetEndTime ¶
func (x *ScanRun) GetEndTime() *timestamppb.Timestamp
func (*ScanRun) GetErrorTrace ¶
func (x *ScanRun) GetErrorTrace() *ScanRunErrorTrace
func (*ScanRun) GetExecutionState ¶
func (x *ScanRun) GetExecutionState() ScanRun_ExecutionState
func (*ScanRun) GetHasVulnerabilities ¶
func (*ScanRun) GetProgressPercent ¶
func (*ScanRun) GetResultState ¶
func (x *ScanRun) GetResultState() ScanRun_ResultState
func (*ScanRun) GetStartTime ¶
func (x *ScanRun) GetStartTime() *timestamppb.Timestamp
func (*ScanRun) GetUrlsCrawledCount ¶
func (*ScanRun) GetUrlsTestedCount ¶
func (*ScanRun) GetWarningTraces ¶
func (x *ScanRun) GetWarningTraces() []*ScanRunWarningTrace
func (*ScanRun) ProtoMessage ¶
func (*ScanRun) ProtoMessage()
func (*ScanRun) ProtoReflect ¶
func (x *ScanRun) ProtoReflect() protoreflect.Message
type ScanRunErrorTrace ¶
type ScanRunErrorTrace struct { // Output only. Indicates the error reason code. Code ScanRunErrorTrace_Code `protobuf:"varint,1,opt,name=code,proto3,enum=google.cloud.websecurityscanner.v1.ScanRunErrorTrace_Code" json:"code,omitempty"` // Output only. If the scan encounters SCAN_CONFIG_ISSUE error, this field has the error // message encountered during scan configuration validation that is performed // before each scan run. ScanConfigError *ScanConfigError `protobuf:"bytes,2,opt,name=scan_config_error,json=scanConfigError,proto3" json:"scan_config_error,omitempty"` // Output only. If the scan encounters TOO_MANY_HTTP_ERRORS, this field indicates the most // common HTTP error code, if such is available. For example, if this code is // 404, the scan has encountered too many NOT_FOUND responses. MostCommonHttpErrorCode int32 `` /* 137-byte string literal not displayed */ // contains filtered or unexported fields }
Output only. Defines an error trace message for a ScanRun.
func (*ScanRunErrorTrace) Descriptor
deprecated
func (*ScanRunErrorTrace) Descriptor() ([]byte, []int)
Deprecated: Use ScanRunErrorTrace.ProtoReflect.Descriptor instead.
func (*ScanRunErrorTrace) GetCode ¶
func (x *ScanRunErrorTrace) GetCode() ScanRunErrorTrace_Code
func (*ScanRunErrorTrace) GetMostCommonHttpErrorCode ¶
func (x *ScanRunErrorTrace) GetMostCommonHttpErrorCode() int32
func (*ScanRunErrorTrace) GetScanConfigError ¶
func (x *ScanRunErrorTrace) GetScanConfigError() *ScanConfigError
func (*ScanRunErrorTrace) ProtoMessage ¶
func (*ScanRunErrorTrace) ProtoMessage()
func (*ScanRunErrorTrace) ProtoReflect ¶
func (x *ScanRunErrorTrace) ProtoReflect() protoreflect.Message
func (*ScanRunErrorTrace) Reset ¶
func (x *ScanRunErrorTrace) Reset()
func (*ScanRunErrorTrace) String ¶
func (x *ScanRunErrorTrace) String() string
type ScanRunErrorTrace_Code ¶
type ScanRunErrorTrace_Code int32
Output only. Defines an error reason code. Next id: 8
const ( // Default value is never used. ScanRunErrorTrace_CODE_UNSPECIFIED ScanRunErrorTrace_Code = 0 // Indicates that the scan run failed due to an internal server error. ScanRunErrorTrace_INTERNAL_ERROR ScanRunErrorTrace_Code = 1 // Indicates a scan configuration error, usually due to outdated ScanConfig // settings, such as starting_urls or the DNS configuration. ScanRunErrorTrace_SCAN_CONFIG_ISSUE ScanRunErrorTrace_Code = 2 // Indicates an authentication error, usually due to outdated ScanConfig // authentication settings. ScanRunErrorTrace_AUTHENTICATION_CONFIG_ISSUE ScanRunErrorTrace_Code = 3 // Indicates a scan operation timeout, usually caused by a very large site. ScanRunErrorTrace_TIMED_OUT_WHILE_SCANNING ScanRunErrorTrace_Code = 4 // Indicates that a scan encountered excessive redirects, either to // authentication or some other page outside of the scan scope. ScanRunErrorTrace_TOO_MANY_REDIRECTS ScanRunErrorTrace_Code = 5 // Indicates that a scan encountered numerous errors from the web site // pages. When available, most_common_http_error_code field indicates the // most common HTTP error code encountered during the scan. ScanRunErrorTrace_TOO_MANY_HTTP_ERRORS ScanRunErrorTrace_Code = 6 )
func (ScanRunErrorTrace_Code) Descriptor ¶
func (ScanRunErrorTrace_Code) Descriptor() protoreflect.EnumDescriptor
func (ScanRunErrorTrace_Code) Enum ¶
func (x ScanRunErrorTrace_Code) Enum() *ScanRunErrorTrace_Code
func (ScanRunErrorTrace_Code) EnumDescriptor
deprecated
func (ScanRunErrorTrace_Code) EnumDescriptor() ([]byte, []int)
Deprecated: Use ScanRunErrorTrace_Code.Descriptor instead.
func (ScanRunErrorTrace_Code) Number ¶
func (x ScanRunErrorTrace_Code) Number() protoreflect.EnumNumber
func (ScanRunErrorTrace_Code) String ¶
func (x ScanRunErrorTrace_Code) String() string
func (ScanRunErrorTrace_Code) Type ¶
func (ScanRunErrorTrace_Code) Type() protoreflect.EnumType
type ScanRunLog ¶
type ScanRunLog struct { // Human friendly message about the event. Summary string `protobuf:"bytes,1,opt,name=summary,proto3" json:"summary,omitempty"` // The resource name of the ScanRun being logged. Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` // The execution state of the ScanRun. ExecutionState ScanRun_ExecutionState `` /* 167-byte string literal not displayed */ // The result state of the ScanRun. ResultState ScanRun_ResultState `` /* 155-byte string literal not displayed */ UrlsCrawledCount int64 `protobuf:"varint,5,opt,name=urls_crawled_count,json=urlsCrawledCount,proto3" json:"urls_crawled_count,omitempty"` UrlsTestedCount int64 `protobuf:"varint,6,opt,name=urls_tested_count,json=urlsTestedCount,proto3" json:"urls_tested_count,omitempty"` HasFindings bool `protobuf:"varint,7,opt,name=has_findings,json=hasFindings,proto3" json:"has_findings,omitempty"` ErrorTrace *ScanRunErrorTrace `protobuf:"bytes,8,opt,name=error_trace,json=errorTrace,proto3" json:"error_trace,omitempty"` // contains filtered or unexported fields }
A ScanRunLog is an output-only proto used for Stackdriver customer logging. It is used for logs covering the start and end of scan pipelines. Other than an added summary, this is a subset of the ScanRun. Representation in logs is either a proto Struct, or converted to JSON. Next id: 9
func (*ScanRunLog) Descriptor
deprecated
func (*ScanRunLog) Descriptor() ([]byte, []int)
Deprecated: Use ScanRunLog.ProtoReflect.Descriptor instead.
func (*ScanRunLog) GetErrorTrace ¶
func (x *ScanRunLog) GetErrorTrace() *ScanRunErrorTrace
func (*ScanRunLog) GetExecutionState ¶
func (x *ScanRunLog) GetExecutionState() ScanRun_ExecutionState
func (*ScanRunLog) GetHasFindings ¶
func (x *ScanRunLog) GetHasFindings() bool
func (*ScanRunLog) GetName ¶
func (x *ScanRunLog) GetName() string
func (*ScanRunLog) GetResultState ¶
func (x *ScanRunLog) GetResultState() ScanRun_ResultState
func (*ScanRunLog) GetSummary ¶
func (x *ScanRunLog) GetSummary() string
func (*ScanRunLog) GetUrlsCrawledCount ¶
func (x *ScanRunLog) GetUrlsCrawledCount() int64
func (*ScanRunLog) GetUrlsTestedCount ¶
func (x *ScanRunLog) GetUrlsTestedCount() int64
func (*ScanRunLog) ProtoMessage ¶
func (*ScanRunLog) ProtoMessage()
func (*ScanRunLog) ProtoReflect ¶
func (x *ScanRunLog) ProtoReflect() protoreflect.Message
func (*ScanRunLog) Reset ¶
func (x *ScanRunLog) Reset()
func (*ScanRunLog) String ¶
func (x *ScanRunLog) String() string
type ScanRunWarningTrace ¶
type ScanRunWarningTrace struct { // Output only. Indicates the warning code. Code ScanRunWarningTrace_Code `` /* 127-byte string literal not displayed */ // contains filtered or unexported fields }
Output only. Defines a warning trace message for ScanRun. Warning traces provide customers with useful information that helps make the scanning process more effective.
func (*ScanRunWarningTrace) Descriptor
deprecated
func (*ScanRunWarningTrace) Descriptor() ([]byte, []int)
Deprecated: Use ScanRunWarningTrace.ProtoReflect.Descriptor instead.
func (*ScanRunWarningTrace) GetCode ¶
func (x *ScanRunWarningTrace) GetCode() ScanRunWarningTrace_Code
func (*ScanRunWarningTrace) ProtoMessage ¶
func (*ScanRunWarningTrace) ProtoMessage()
func (*ScanRunWarningTrace) ProtoReflect ¶
func (x *ScanRunWarningTrace) ProtoReflect() protoreflect.Message
func (*ScanRunWarningTrace) Reset ¶
func (x *ScanRunWarningTrace) Reset()
func (*ScanRunWarningTrace) String ¶
func (x *ScanRunWarningTrace) String() string
type ScanRunWarningTrace_Code ¶
type ScanRunWarningTrace_Code int32
Output only. Defines a warning message code. Next id: 6
const ( // Default value is never used. ScanRunWarningTrace_CODE_UNSPECIFIED ScanRunWarningTrace_Code = 0 // Indicates that a scan discovered an unexpectedly low number of URLs. This // is sometimes caused by complex navigation features or by using a single // URL for numerous pages. ScanRunWarningTrace_INSUFFICIENT_CRAWL_RESULTS ScanRunWarningTrace_Code = 1 // Indicates that a scan discovered too many URLs to test, or excessive // redundant URLs. ScanRunWarningTrace_TOO_MANY_CRAWL_RESULTS ScanRunWarningTrace_Code = 2 // Indicates that too many tests have been generated for the scan. Customer // should try reducing the number of starting URLs, increasing the QPS rate, // or narrowing down the scope of the scan using the excluded patterns. ScanRunWarningTrace_TOO_MANY_FUZZ_TASKS ScanRunWarningTrace_Code = 3 // Indicates that a scan is blocked by IAP. ScanRunWarningTrace_BLOCKED_BY_IAP ScanRunWarningTrace_Code = 4 // Indicates that no seeds is found for a scan ScanRunWarningTrace_NO_STARTING_URL_FOUND_FOR_MANAGED_SCAN ScanRunWarningTrace_Code = 5 )
func (ScanRunWarningTrace_Code) Descriptor ¶
func (ScanRunWarningTrace_Code) Descriptor() protoreflect.EnumDescriptor
func (ScanRunWarningTrace_Code) Enum ¶
func (x ScanRunWarningTrace_Code) Enum() *ScanRunWarningTrace_Code
func (ScanRunWarningTrace_Code) EnumDescriptor
deprecated
func (ScanRunWarningTrace_Code) EnumDescriptor() ([]byte, []int)
Deprecated: Use ScanRunWarningTrace_Code.Descriptor instead.
func (ScanRunWarningTrace_Code) Number ¶
func (x ScanRunWarningTrace_Code) Number() protoreflect.EnumNumber
func (ScanRunWarningTrace_Code) String ¶
func (x ScanRunWarningTrace_Code) String() string
func (ScanRunWarningTrace_Code) Type ¶
func (ScanRunWarningTrace_Code) Type() protoreflect.EnumType
type ScanRun_ExecutionState ¶
type ScanRun_ExecutionState int32
Types of ScanRun execution state.
const ( // Represents an invalid state caused by internal server error. This value // should never be returned. ScanRun_EXECUTION_STATE_UNSPECIFIED ScanRun_ExecutionState = 0 // The scan is waiting in the queue. ScanRun_QUEUED ScanRun_ExecutionState = 1 // The scan is in progress. ScanRun_SCANNING ScanRun_ExecutionState = 2 // The scan is either finished or stopped by user. ScanRun_FINISHED ScanRun_ExecutionState = 3 )
func (ScanRun_ExecutionState) Descriptor ¶
func (ScanRun_ExecutionState) Descriptor() protoreflect.EnumDescriptor
func (ScanRun_ExecutionState) Enum ¶
func (x ScanRun_ExecutionState) Enum() *ScanRun_ExecutionState
func (ScanRun_ExecutionState) EnumDescriptor
deprecated
func (ScanRun_ExecutionState) EnumDescriptor() ([]byte, []int)
Deprecated: Use ScanRun_ExecutionState.Descriptor instead.
func (ScanRun_ExecutionState) Number ¶
func (x ScanRun_ExecutionState) Number() protoreflect.EnumNumber
func (ScanRun_ExecutionState) String ¶
func (x ScanRun_ExecutionState) String() string
func (ScanRun_ExecutionState) Type ¶
func (ScanRun_ExecutionState) Type() protoreflect.EnumType
type ScanRun_ResultState ¶
type ScanRun_ResultState int32
Types of ScanRun result state.
const ( // Default value. This value is returned when the ScanRun is not yet // finished. ScanRun_RESULT_STATE_UNSPECIFIED ScanRun_ResultState = 0 // The scan finished without errors. ScanRun_SUCCESS ScanRun_ResultState = 1 // The scan finished with errors. ScanRun_ERROR ScanRun_ResultState = 2 // The scan was terminated by user. ScanRun_KILLED ScanRun_ResultState = 3 )
func (ScanRun_ResultState) Descriptor ¶
func (ScanRun_ResultState) Descriptor() protoreflect.EnumDescriptor
func (ScanRun_ResultState) Enum ¶
func (x ScanRun_ResultState) Enum() *ScanRun_ResultState
func (ScanRun_ResultState) EnumDescriptor
deprecated
func (ScanRun_ResultState) EnumDescriptor() ([]byte, []int)
Deprecated: Use ScanRun_ResultState.Descriptor instead.
func (ScanRun_ResultState) Number ¶
func (x ScanRun_ResultState) Number() protoreflect.EnumNumber
func (ScanRun_ResultState) String ¶
func (x ScanRun_ResultState) String() string
func (ScanRun_ResultState) Type ¶
func (ScanRun_ResultState) Type() protoreflect.EnumType
type StartScanRunRequest ¶
type StartScanRunRequest struct { // Required. The resource name of the ScanConfig to be used. The name follows the // format of 'projects/{projectId}/scanConfigs/{scanConfigId}'. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
Request for the `StartScanRun` method.
func (*StartScanRunRequest) Descriptor
deprecated
func (*StartScanRunRequest) Descriptor() ([]byte, []int)
Deprecated: Use StartScanRunRequest.ProtoReflect.Descriptor instead.
func (*StartScanRunRequest) GetName ¶
func (x *StartScanRunRequest) GetName() string
func (*StartScanRunRequest) ProtoMessage ¶
func (*StartScanRunRequest) ProtoMessage()
func (*StartScanRunRequest) ProtoReflect ¶
func (x *StartScanRunRequest) ProtoReflect() protoreflect.Message
func (*StartScanRunRequest) Reset ¶
func (x *StartScanRunRequest) Reset()
func (*StartScanRunRequest) String ¶
func (x *StartScanRunRequest) String() string
type StopScanRunRequest ¶
type StopScanRunRequest struct { // Required. The resource name of the ScanRun to be stopped. The name follows the // format of // 'projects/{projectId}/scanConfigs/{scanConfigId}/scanRuns/{scanRunId}'. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
Request for the `StopScanRun` method.
func (*StopScanRunRequest) Descriptor
deprecated
func (*StopScanRunRequest) Descriptor() ([]byte, []int)
Deprecated: Use StopScanRunRequest.ProtoReflect.Descriptor instead.
func (*StopScanRunRequest) GetName ¶
func (x *StopScanRunRequest) GetName() string
func (*StopScanRunRequest) ProtoMessage ¶
func (*StopScanRunRequest) ProtoMessage()
func (*StopScanRunRequest) ProtoReflect ¶
func (x *StopScanRunRequest) ProtoReflect() protoreflect.Message
func (*StopScanRunRequest) Reset ¶
func (x *StopScanRunRequest) Reset()
func (*StopScanRunRequest) String ¶
func (x *StopScanRunRequest) String() string
type UnimplementedWebSecurityScannerServer ¶
type UnimplementedWebSecurityScannerServer struct { }
UnimplementedWebSecurityScannerServer can be embedded to have forward compatible implementations.
func (*UnimplementedWebSecurityScannerServer) CreateScanConfig ¶
func (*UnimplementedWebSecurityScannerServer) CreateScanConfig(context.Context, *CreateScanConfigRequest) (*ScanConfig, error)
func (*UnimplementedWebSecurityScannerServer) DeleteScanConfig ¶
func (*UnimplementedWebSecurityScannerServer) DeleteScanConfig(context.Context, *DeleteScanConfigRequest) (*emptypb.Empty, error)
func (*UnimplementedWebSecurityScannerServer) GetFinding ¶
func (*UnimplementedWebSecurityScannerServer) GetFinding(context.Context, *GetFindingRequest) (*Finding, error)
func (*UnimplementedWebSecurityScannerServer) GetScanConfig ¶
func (*UnimplementedWebSecurityScannerServer) GetScanConfig(context.Context, *GetScanConfigRequest) (*ScanConfig, error)
func (*UnimplementedWebSecurityScannerServer) GetScanRun ¶
func (*UnimplementedWebSecurityScannerServer) GetScanRun(context.Context, *GetScanRunRequest) (*ScanRun, error)
func (*UnimplementedWebSecurityScannerServer) ListCrawledUrls ¶
func (*UnimplementedWebSecurityScannerServer) ListCrawledUrls(context.Context, *ListCrawledUrlsRequest) (*ListCrawledUrlsResponse, error)
func (*UnimplementedWebSecurityScannerServer) ListFindingTypeStats ¶
func (*UnimplementedWebSecurityScannerServer) ListFindingTypeStats(context.Context, *ListFindingTypeStatsRequest) (*ListFindingTypeStatsResponse, error)
func (*UnimplementedWebSecurityScannerServer) ListFindings ¶
func (*UnimplementedWebSecurityScannerServer) ListFindings(context.Context, *ListFindingsRequest) (*ListFindingsResponse, error)
func (*UnimplementedWebSecurityScannerServer) ListScanConfigs ¶
func (*UnimplementedWebSecurityScannerServer) ListScanConfigs(context.Context, *ListScanConfigsRequest) (*ListScanConfigsResponse, error)
func (*UnimplementedWebSecurityScannerServer) ListScanRuns ¶
func (*UnimplementedWebSecurityScannerServer) ListScanRuns(context.Context, *ListScanRunsRequest) (*ListScanRunsResponse, error)
func (*UnimplementedWebSecurityScannerServer) StartScanRun ¶
func (*UnimplementedWebSecurityScannerServer) StartScanRun(context.Context, *StartScanRunRequest) (*ScanRun, error)
func (*UnimplementedWebSecurityScannerServer) StopScanRun ¶
func (*UnimplementedWebSecurityScannerServer) StopScanRun(context.Context, *StopScanRunRequest) (*ScanRun, error)
func (*UnimplementedWebSecurityScannerServer) UpdateScanConfig ¶
func (*UnimplementedWebSecurityScannerServer) UpdateScanConfig(context.Context, *UpdateScanConfigRequest) (*ScanConfig, error)
type UpdateScanConfigRequest ¶
type UpdateScanConfigRequest struct { // Required. The ScanConfig to be updated. The name field must be set to identify the // resource to be updated. The values of fields not covered by the mask // will be ignored. ScanConfig *ScanConfig `protobuf:"bytes,2,opt,name=scan_config,json=scanConfig,proto3" json:"scan_config,omitempty"` // Required. The update mask applies to the resource. For the `FieldMask` definition, // see // https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,3,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` // contains filtered or unexported fields }
Request for the `UpdateScanConfigRequest` method.
func (*UpdateScanConfigRequest) Descriptor
deprecated
func (*UpdateScanConfigRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateScanConfigRequest.ProtoReflect.Descriptor instead.
func (*UpdateScanConfigRequest) GetScanConfig ¶
func (x *UpdateScanConfigRequest) GetScanConfig() *ScanConfig
func (*UpdateScanConfigRequest) GetUpdateMask ¶
func (x *UpdateScanConfigRequest) GetUpdateMask() *fieldmaskpb.FieldMask
func (*UpdateScanConfigRequest) ProtoMessage ¶
func (*UpdateScanConfigRequest) ProtoMessage()
func (*UpdateScanConfigRequest) ProtoReflect ¶
func (x *UpdateScanConfigRequest) ProtoReflect() protoreflect.Message
func (*UpdateScanConfigRequest) Reset ¶
func (x *UpdateScanConfigRequest) Reset()
func (*UpdateScanConfigRequest) String ¶
func (x *UpdateScanConfigRequest) String() string
type ViolatingResource ¶
type ViolatingResource struct { // The MIME type of this resource. ContentType string `protobuf:"bytes,1,opt,name=content_type,json=contentType,proto3" json:"content_type,omitempty"` // URL of this violating resource. ResourceUrl string `protobuf:"bytes,2,opt,name=resource_url,json=resourceUrl,proto3" json:"resource_url,omitempty"` // contains filtered or unexported fields }
Information regarding any resource causing the vulnerability such as JavaScript sources, image, audio files, etc.
func (*ViolatingResource) Descriptor
deprecated
func (*ViolatingResource) Descriptor() ([]byte, []int)
Deprecated: Use ViolatingResource.ProtoReflect.Descriptor instead.
func (*ViolatingResource) GetContentType ¶
func (x *ViolatingResource) GetContentType() string
func (*ViolatingResource) GetResourceUrl ¶
func (x *ViolatingResource) GetResourceUrl() string
func (*ViolatingResource) ProtoMessage ¶
func (*ViolatingResource) ProtoMessage()
func (*ViolatingResource) ProtoReflect ¶
func (x *ViolatingResource) ProtoReflect() protoreflect.Message
func (*ViolatingResource) Reset ¶
func (x *ViolatingResource) Reset()
func (*ViolatingResource) String ¶
func (x *ViolatingResource) String() string
type VulnerableHeaders ¶
type VulnerableHeaders struct { // List of vulnerable headers. Headers []*VulnerableHeaders_Header `protobuf:"bytes,1,rep,name=headers,proto3" json:"headers,omitempty"` // List of missing headers. MissingHeaders []*VulnerableHeaders_Header `protobuf:"bytes,2,rep,name=missing_headers,json=missingHeaders,proto3" json:"missing_headers,omitempty"` // contains filtered or unexported fields }
Information about vulnerable or missing HTTP Headers.
func (*VulnerableHeaders) Descriptor
deprecated
func (*VulnerableHeaders) Descriptor() ([]byte, []int)
Deprecated: Use VulnerableHeaders.ProtoReflect.Descriptor instead.
func (*VulnerableHeaders) GetHeaders ¶
func (x *VulnerableHeaders) GetHeaders() []*VulnerableHeaders_Header
func (*VulnerableHeaders) GetMissingHeaders ¶
func (x *VulnerableHeaders) GetMissingHeaders() []*VulnerableHeaders_Header
func (*VulnerableHeaders) ProtoMessage ¶
func (*VulnerableHeaders) ProtoMessage()
func (*VulnerableHeaders) ProtoReflect ¶
func (x *VulnerableHeaders) ProtoReflect() protoreflect.Message
func (*VulnerableHeaders) Reset ¶
func (x *VulnerableHeaders) Reset()
func (*VulnerableHeaders) String ¶
func (x *VulnerableHeaders) String() string
type VulnerableHeaders_Header ¶
type VulnerableHeaders_Header struct { // Header name. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Header value. Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"` // contains filtered or unexported fields }
Describes a HTTP Header.
func (*VulnerableHeaders_Header) Descriptor
deprecated
func (*VulnerableHeaders_Header) Descriptor() ([]byte, []int)
Deprecated: Use VulnerableHeaders_Header.ProtoReflect.Descriptor instead.
func (*VulnerableHeaders_Header) GetName ¶
func (x *VulnerableHeaders_Header) GetName() string
func (*VulnerableHeaders_Header) GetValue ¶
func (x *VulnerableHeaders_Header) GetValue() string
func (*VulnerableHeaders_Header) ProtoMessage ¶
func (*VulnerableHeaders_Header) ProtoMessage()
func (*VulnerableHeaders_Header) ProtoReflect ¶
func (x *VulnerableHeaders_Header) ProtoReflect() protoreflect.Message
func (*VulnerableHeaders_Header) Reset ¶
func (x *VulnerableHeaders_Header) Reset()
func (*VulnerableHeaders_Header) String ¶
func (x *VulnerableHeaders_Header) String() string
type VulnerableParameters ¶
type VulnerableParameters struct { // The vulnerable parameter names. ParameterNames []string `protobuf:"bytes,1,rep,name=parameter_names,json=parameterNames,proto3" json:"parameter_names,omitempty"` // contains filtered or unexported fields }
Information about vulnerable request parameters.
func (*VulnerableParameters) Descriptor
deprecated
func (*VulnerableParameters) Descriptor() ([]byte, []int)
Deprecated: Use VulnerableParameters.ProtoReflect.Descriptor instead.
func (*VulnerableParameters) GetParameterNames ¶
func (x *VulnerableParameters) GetParameterNames() []string
func (*VulnerableParameters) ProtoMessage ¶
func (*VulnerableParameters) ProtoMessage()
func (*VulnerableParameters) ProtoReflect ¶
func (x *VulnerableParameters) ProtoReflect() protoreflect.Message
func (*VulnerableParameters) Reset ¶
func (x *VulnerableParameters) Reset()
func (*VulnerableParameters) String ¶
func (x *VulnerableParameters) String() string
type WebSecurityScannerClient ¶
type WebSecurityScannerClient interface { // Creates a new ScanConfig. CreateScanConfig(ctx context.Context, in *CreateScanConfigRequest, opts ...grpc.CallOption) (*ScanConfig, error) // Deletes an existing ScanConfig and its child resources. DeleteScanConfig(ctx context.Context, in *DeleteScanConfigRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) // Gets a ScanConfig. GetScanConfig(ctx context.Context, in *GetScanConfigRequest, opts ...grpc.CallOption) (*ScanConfig, error) // Lists ScanConfigs under a given project. ListScanConfigs(ctx context.Context, in *ListScanConfigsRequest, opts ...grpc.CallOption) (*ListScanConfigsResponse, error) // Updates a ScanConfig. This method support partial update of a ScanConfig. UpdateScanConfig(ctx context.Context, in *UpdateScanConfigRequest, opts ...grpc.CallOption) (*ScanConfig, error) // Start a ScanRun according to the given ScanConfig. StartScanRun(ctx context.Context, in *StartScanRunRequest, opts ...grpc.CallOption) (*ScanRun, error) // Gets a ScanRun. GetScanRun(ctx context.Context, in *GetScanRunRequest, opts ...grpc.CallOption) (*ScanRun, error) // Lists ScanRuns under a given ScanConfig, in descending order of ScanRun // stop time. ListScanRuns(ctx context.Context, in *ListScanRunsRequest, opts ...grpc.CallOption) (*ListScanRunsResponse, error) // Stops a ScanRun. The stopped ScanRun is returned. StopScanRun(ctx context.Context, in *StopScanRunRequest, opts ...grpc.CallOption) (*ScanRun, error) // List CrawledUrls under a given ScanRun. ListCrawledUrls(ctx context.Context, in *ListCrawledUrlsRequest, opts ...grpc.CallOption) (*ListCrawledUrlsResponse, error) // Gets a Finding. GetFinding(ctx context.Context, in *GetFindingRequest, opts ...grpc.CallOption) (*Finding, error) // List Findings under a given ScanRun. ListFindings(ctx context.Context, in *ListFindingsRequest, opts ...grpc.CallOption) (*ListFindingsResponse, error) // List all FindingTypeStats under a given ScanRun. ListFindingTypeStats(ctx context.Context, in *ListFindingTypeStatsRequest, opts ...grpc.CallOption) (*ListFindingTypeStatsResponse, error) }
WebSecurityScannerClient is the client API for WebSecurityScanner service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewWebSecurityScannerClient ¶
func NewWebSecurityScannerClient(cc grpc.ClientConnInterface) WebSecurityScannerClient
type WebSecurityScannerServer ¶
type WebSecurityScannerServer interface { // Creates a new ScanConfig. CreateScanConfig(context.Context, *CreateScanConfigRequest) (*ScanConfig, error) // Deletes an existing ScanConfig and its child resources. DeleteScanConfig(context.Context, *DeleteScanConfigRequest) (*emptypb.Empty, error) // Gets a ScanConfig. GetScanConfig(context.Context, *GetScanConfigRequest) (*ScanConfig, error) // Lists ScanConfigs under a given project. ListScanConfigs(context.Context, *ListScanConfigsRequest) (*ListScanConfigsResponse, error) // Updates a ScanConfig. This method support partial update of a ScanConfig. UpdateScanConfig(context.Context, *UpdateScanConfigRequest) (*ScanConfig, error) // Start a ScanRun according to the given ScanConfig. StartScanRun(context.Context, *StartScanRunRequest) (*ScanRun, error) // Gets a ScanRun. GetScanRun(context.Context, *GetScanRunRequest) (*ScanRun, error) // Lists ScanRuns under a given ScanConfig, in descending order of ScanRun // stop time. ListScanRuns(context.Context, *ListScanRunsRequest) (*ListScanRunsResponse, error) // Stops a ScanRun. The stopped ScanRun is returned. StopScanRun(context.Context, *StopScanRunRequest) (*ScanRun, error) // List CrawledUrls under a given ScanRun. ListCrawledUrls(context.Context, *ListCrawledUrlsRequest) (*ListCrawledUrlsResponse, error) // Gets a Finding. GetFinding(context.Context, *GetFindingRequest) (*Finding, error) // List Findings under a given ScanRun. ListFindings(context.Context, *ListFindingsRequest) (*ListFindingsResponse, error) // List all FindingTypeStats under a given ScanRun. ListFindingTypeStats(context.Context, *ListFindingTypeStatsRequest) (*ListFindingTypeStatsResponse, error) }
WebSecurityScannerServer is the server API for WebSecurityScanner service.
type Xss ¶
type Xss struct { // Stack traces leading to the point where the XSS occurred. StackTraces []string `protobuf:"bytes,1,rep,name=stack_traces,json=stackTraces,proto3" json:"stack_traces,omitempty"` // An error message generated by a javascript breakage. ErrorMessage string `protobuf:"bytes,2,opt,name=error_message,json=errorMessage,proto3" json:"error_message,omitempty"` // The attack vector of the payload triggering this XSS. AttackVector Xss_AttackVector `` /* 155-byte string literal not displayed */ // The reproduction url for the seeding POST request of a Stored XSS. StoredXssSeedingUrl string `protobuf:"bytes,4,opt,name=stored_xss_seeding_url,json=storedXssSeedingUrl,proto3" json:"stored_xss_seeding_url,omitempty"` // contains filtered or unexported fields }
Information reported for an XSS.
func (*Xss) Descriptor
deprecated
func (*Xss) GetAttackVector ¶
func (x *Xss) GetAttackVector() Xss_AttackVector
func (*Xss) GetErrorMessage ¶
func (*Xss) GetStackTraces ¶
func (*Xss) GetStoredXssSeedingUrl ¶
func (*Xss) ProtoMessage ¶
func (*Xss) ProtoMessage()
func (*Xss) ProtoReflect ¶
func (x *Xss) ProtoReflect() protoreflect.Message
type Xss_AttackVector ¶
type Xss_AttackVector int32
Types of XSS attack vector.
const ( // Unknown attack vector. Xss_ATTACK_VECTOR_UNSPECIFIED Xss_AttackVector = 0 // The attack comes from fuzzing the browser's localStorage. Xss_LOCAL_STORAGE Xss_AttackVector = 1 // The attack comes from fuzzing the browser's sessionStorage. Xss_SESSION_STORAGE Xss_AttackVector = 2 // The attack comes from fuzzing the window's name property. Xss_WINDOW_NAME Xss_AttackVector = 3 // The attack comes from fuzzing the referrer property. Xss_REFERRER Xss_AttackVector = 4 // The attack comes from fuzzing an input element. Xss_FORM_INPUT Xss_AttackVector = 5 // The attack comes from fuzzing the browser's cookies. Xss_COOKIE Xss_AttackVector = 6 // The attack comes from hijacking the post messaging mechanism. Xss_POST_MESSAGE Xss_AttackVector = 7 // The attack comes from fuzzing parameters in the url. Xss_GET_PARAMETERS Xss_AttackVector = 8 // The attack comes from fuzzing the fragment in the url. Xss_URL_FRAGMENT Xss_AttackVector = 9 // The attack comes from fuzzing the HTML comments. Xss_HTML_COMMENT Xss_AttackVector = 10 // The attack comes from fuzzing the POST parameters. Xss_POST_PARAMETERS Xss_AttackVector = 11 // The attack comes from fuzzing the protocol. Xss_PROTOCOL Xss_AttackVector = 12 // The attack comes from the server side and is stored. Xss_STORED_XSS Xss_AttackVector = 13 // The attack is a Same-Origin Method Execution attack via a GET parameter. Xss_SAME_ORIGIN Xss_AttackVector = 14 // The attack payload is received from a third-party host via a URL that is // user-controllable Xss_USER_CONTROLLABLE_URL Xss_AttackVector = 15 )
func (Xss_AttackVector) Descriptor ¶
func (Xss_AttackVector) Descriptor() protoreflect.EnumDescriptor
func (Xss_AttackVector) Enum ¶
func (x Xss_AttackVector) Enum() *Xss_AttackVector
func (Xss_AttackVector) EnumDescriptor
deprecated
func (Xss_AttackVector) EnumDescriptor() ([]byte, []int)
Deprecated: Use Xss_AttackVector.Descriptor instead.
func (Xss_AttackVector) Number ¶
func (x Xss_AttackVector) Number() protoreflect.EnumNumber
func (Xss_AttackVector) String ¶
func (x Xss_AttackVector) String() string
func (Xss_AttackVector) Type ¶
func (Xss_AttackVector) Type() protoreflect.EnumType
type Xxe ¶
type Xxe struct { // The XML string that triggered the XXE vulnerability. Non-payload values // might be redacted. PayloadValue string `protobuf:"bytes,1,opt,name=payload_value,json=payloadValue,proto3" json:"payload_value,omitempty"` // Location within the request where the payload was placed. PayloadLocation Xxe_Location `` /* 160-byte string literal not displayed */ // contains filtered or unexported fields }
Information reported for an XXE.
func (*Xxe) Descriptor
deprecated
func (*Xxe) GetPayloadLocation ¶
func (x *Xxe) GetPayloadLocation() Xxe_Location
func (*Xxe) GetPayloadValue ¶
func (*Xxe) ProtoMessage ¶
func (*Xxe) ProtoMessage()
func (*Xxe) ProtoReflect ¶
func (x *Xxe) ProtoReflect() protoreflect.Message
type Xxe_Location ¶
type Xxe_Location int32
Locations within a request where XML was substituted.
const ( // Unknown Location. Xxe_LOCATION_UNSPECIFIED Xxe_Location = 0 // The XML payload replaced the complete request body. Xxe_COMPLETE_REQUEST_BODY Xxe_Location = 1 )
func (Xxe_Location) Descriptor ¶
func (Xxe_Location) Descriptor() protoreflect.EnumDescriptor
func (Xxe_Location) Enum ¶
func (x Xxe_Location) Enum() *Xxe_Location
func (Xxe_Location) EnumDescriptor
deprecated
func (Xxe_Location) EnumDescriptor() ([]byte, []int)
Deprecated: Use Xxe_Location.Descriptor instead.
func (Xxe_Location) Number ¶
func (x Xxe_Location) Number() protoreflect.EnumNumber
func (Xxe_Location) String ¶
func (x Xxe_Location) String() string
func (Xxe_Location) Type ¶
func (Xxe_Location) Type() protoreflect.EnumType