genproto: google.golang.org/genproto/googleapis/cloud/websecurityscanner/v1alpha Index | Files

package websecurityscanner

import "google.golang.org/genproto/googleapis/cloud/websecurityscanner/v1alpha"

Index

Package Files

crawled_url.pb.go finding.pb.go finding_addon.pb.go finding_type_stats.pb.go scan_config.pb.go scan_run.pb.go web_security_scanner.pb.go

Variables

var (
    Finding_FindingType_name = map[int32]string{
        0:  "FINDING_TYPE_UNSPECIFIED",
        1:  "MIXED_CONTENT",
        2:  "OUTDATED_LIBRARY",
        5:  "ROSETTA_FLASH",
        3:  "XSS_CALLBACK",
        4:  "XSS_ERROR",
        6:  "CLEAR_TEXT_PASSWORD",
        7:  "INVALID_CONTENT_TYPE",
        8:  "XSS_ANGULAR_CALLBACK",
        9:  "INVALID_HEADER",
        10: "MISSPELLED_SECURITY_HEADER_NAME",
        11: "MISMATCHING_SECURITY_HEADER_VALUES",
    }
    Finding_FindingType_value = map[string]int32{
        "FINDING_TYPE_UNSPECIFIED":           0,
        "MIXED_CONTENT":                      1,
        "OUTDATED_LIBRARY":                   2,
        "ROSETTA_FLASH":                      5,
        "XSS_CALLBACK":                       3,
        "XSS_ERROR":                          4,
        "CLEAR_TEXT_PASSWORD":                6,
        "INVALID_CONTENT_TYPE":               7,
        "XSS_ANGULAR_CALLBACK":               8,
        "INVALID_HEADER":                     9,
        "MISSPELLED_SECURITY_HEADER_NAME":    10,
        "MISMATCHING_SECURITY_HEADER_VALUES": 11,
    }
)

Enum value maps for Finding_FindingType.

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_TargetPlatform_name = map[int32]string{
        0:  "TARGET_PLATFORM_UNSPECIFIED",
        1:  "APP_ENGINE",
        2:  "COMPUTE",
    }
    ScanConfig_TargetPlatform_value = map[string]int32{
        "TARGET_PLATFORM_UNSPECIFIED": 0,
        "APP_ENGINE":                  1,
        "COMPUTE":                     2,
    }
)

Enum value maps for ScanConfig_TargetPlatform.

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 File_google_cloud_websecurityscanner_v1alpha_crawled_url_proto protoreflect.FileDescriptor
var File_google_cloud_websecurityscanner_v1alpha_finding_addon_proto protoreflect.FileDescriptor
var File_google_cloud_websecurityscanner_v1alpha_finding_proto protoreflect.FileDescriptor
var File_google_cloud_websecurityscanner_v1alpha_finding_type_stats_proto protoreflect.FileDescriptor
var File_google_cloud_websecurityscanner_v1alpha_scan_config_proto protoreflect.FileDescriptor
var File_google_cloud_websecurityscanner_v1alpha_scan_run_proto protoreflect.FileDescriptor
var File_google_cloud_websecurityscanner_v1alpha_web_security_scanner_proto protoreflect.FileDescriptor

func RegisterWebSecurityScannerServer Uses

func RegisterWebSecurityScannerServer(s *grpc.Server, srv WebSecurityScannerServer)

type CrawledUrl Uses

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 Uses

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

Deprecated: Use CrawledUrl.ProtoReflect.Descriptor instead.

func (*CrawledUrl) GetBody Uses

func (x *CrawledUrl) GetBody() string

func (*CrawledUrl) GetHttpMethod Uses

func (x *CrawledUrl) GetHttpMethod() string

func (*CrawledUrl) GetUrl Uses

func (x *CrawledUrl) GetUrl() string

func (*CrawledUrl) ProtoMessage Uses

func (*CrawledUrl) ProtoMessage()

func (*CrawledUrl) ProtoReflect Uses

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

func (*CrawledUrl) Reset Uses

func (x *CrawledUrl) Reset()

func (*CrawledUrl) String Uses

func (x *CrawledUrl) String() string

type CreateScanConfigRequest Uses

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 Uses

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

Deprecated: Use CreateScanConfigRequest.ProtoReflect.Descriptor instead.

func (*CreateScanConfigRequest) GetParent Uses

func (x *CreateScanConfigRequest) GetParent() string

func (*CreateScanConfigRequest) GetScanConfig Uses

func (x *CreateScanConfigRequest) GetScanConfig() *ScanConfig

func (*CreateScanConfigRequest) ProtoMessage Uses

func (*CreateScanConfigRequest) ProtoMessage()

func (*CreateScanConfigRequest) ProtoReflect Uses

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

func (*CreateScanConfigRequest) Reset Uses

func (x *CreateScanConfigRequest) Reset()

func (*CreateScanConfigRequest) String Uses

func (x *CreateScanConfigRequest) String() string

type DeleteScanConfigRequest Uses

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 Uses

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

Deprecated: Use DeleteScanConfigRequest.ProtoReflect.Descriptor instead.

func (*DeleteScanConfigRequest) GetName Uses

func (x *DeleteScanConfigRequest) GetName() string

func (*DeleteScanConfigRequest) ProtoMessage Uses

func (*DeleteScanConfigRequest) ProtoMessage()

func (*DeleteScanConfigRequest) ProtoReflect Uses

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

func (*DeleteScanConfigRequest) Reset Uses

func (x *DeleteScanConfigRequest) Reset()

func (*DeleteScanConfigRequest) String Uses

func (x *DeleteScanConfigRequest) String() string

type Finding Uses

type Finding struct {

    // 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"`
    // The type of the Finding.
    FindingType Finding_FindingType `protobuf:"varint,2,opt,name=finding_type,json=findingType,proto3,enum=google.cloud.websecurityscanner.v1alpha.Finding_FindingType" json:"finding_type,omitempty"`
    // 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"`
    // 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"`
    // The body of the request that triggered the vulnerability.
    Body string `protobuf:"bytes,5,opt,name=body,proto3" json:"body,omitempty"`
    // The description of the vulnerability.
    Description string `protobuf:"bytes,6,opt,name=description,proto3" json:"description,omitempty"`
    // 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"`
    // 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"`
    // 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"`
    // 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"`
    // An addon containing information about outdated libraries.
    OutdatedLibrary *OutdatedLibrary `protobuf:"bytes,11,opt,name=outdated_library,json=outdatedLibrary,proto3" json:"outdated_library,omitempty"`
    // 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"`
    // 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"`
    // 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"`
    // An addon containing information reported for an XSS, if any.
    Xss *Xss `protobuf:"bytes,14,opt,name=xss,proto3" json:"xss,omitempty"`
    // contains filtered or unexported fields
}

A Finding resource represents a vulnerability instance identified during a ScanRun.

func (*Finding) Descriptor Uses

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

Deprecated: Use Finding.ProtoReflect.Descriptor instead.

func (*Finding) GetBody Uses

func (x *Finding) GetBody() string

func (*Finding) GetDescription Uses

func (x *Finding) GetDescription() string

func (*Finding) GetFinalUrl Uses

func (x *Finding) GetFinalUrl() string

func (*Finding) GetFindingType Uses

func (x *Finding) GetFindingType() Finding_FindingType

func (*Finding) GetFrameUrl Uses

func (x *Finding) GetFrameUrl() string

func (*Finding) GetFuzzedUrl Uses

func (x *Finding) GetFuzzedUrl() string

func (*Finding) GetHttpMethod Uses

func (x *Finding) GetHttpMethod() string

func (*Finding) GetName Uses

func (x *Finding) GetName() string

func (*Finding) GetOutdatedLibrary Uses

func (x *Finding) GetOutdatedLibrary() *OutdatedLibrary

func (*Finding) GetReproductionUrl Uses

func (x *Finding) GetReproductionUrl() string

func (*Finding) GetTrackingId Uses

func (x *Finding) GetTrackingId() string

func (*Finding) GetViolatingResource Uses

func (x *Finding) GetViolatingResource() *ViolatingResource

func (*Finding) GetVulnerableHeaders Uses

func (x *Finding) GetVulnerableHeaders() *VulnerableHeaders

func (*Finding) GetVulnerableParameters Uses

func (x *Finding) GetVulnerableParameters() *VulnerableParameters

func (*Finding) GetXss Uses

func (x *Finding) GetXss() *Xss

func (*Finding) ProtoMessage Uses

func (*Finding) ProtoMessage()

func (*Finding) ProtoReflect Uses

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

func (*Finding) Reset Uses

func (x *Finding) Reset()

func (*Finding) String Uses

func (x *Finding) String() string

type FindingTypeStats Uses

type FindingTypeStats struct {

    // The finding type associated with the stats.
    FindingType Finding_FindingType `protobuf:"varint,1,opt,name=finding_type,json=findingType,proto3,enum=google.cloud.websecurityscanner.v1alpha.Finding_FindingType" json:"finding_type,omitempty"`
    // 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 Uses

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

Deprecated: Use FindingTypeStats.ProtoReflect.Descriptor instead.

func (*FindingTypeStats) GetFindingCount Uses

func (x *FindingTypeStats) GetFindingCount() int32

func (*FindingTypeStats) GetFindingType Uses

func (x *FindingTypeStats) GetFindingType() Finding_FindingType

func (*FindingTypeStats) ProtoMessage Uses

func (*FindingTypeStats) ProtoMessage()

func (*FindingTypeStats) ProtoReflect Uses

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

func (*FindingTypeStats) Reset Uses

func (x *FindingTypeStats) Reset()

func (*FindingTypeStats) String Uses

func (x *FindingTypeStats) String() string

type Finding_FindingType Uses

type Finding_FindingType int32

Types of Findings.

const (
    // The invalid finding type.
    Finding_FINDING_TYPE_UNSPECIFIED Finding_FindingType = 0
    // A page that was served over HTTPS also resources over HTTP. A
    // man-in-the-middle attacker could tamper with the HTTP resource and gain
    // full access to the website that loads the resource or to monitor the
    // actions taken by the user.
    Finding_MIXED_CONTENT Finding_FindingType = 1
    // The version of an included library is known to contain a security issue.
    // The scanner checks the version of library in use against a known list of
    // vulnerable libraries. False positives are possible if the version
    // detection fails or if the library has been manually patched.
    Finding_OUTDATED_LIBRARY Finding_FindingType = 2
    // This type of vulnerability occurs when the value of a request parameter
    // is reflected at the beginning of the response, for example, in requests
    // using JSONP. Under certain circumstances, an attacker may be able to
    // supply an alphanumeric-only Flash file in the vulnerable parameter
    // causing the browser to execute the Flash file as if it originated on the
    // vulnerable server.
    Finding_ROSETTA_FLASH Finding_FindingType = 5
    // A cross-site scripting (XSS) bug is found via JavaScript callback. For
    // detailed explanations on XSS, see
    // https://www.google.com/about/appsecurity/learning/xss/.
    Finding_XSS_CALLBACK Finding_FindingType = 3
    // A potential cross-site scripting (XSS) bug due to JavaScript breakage.
    // In some circumstances, the application under test might modify the test
    // string before it is parsed by the browser. When the browser attempts to
    // runs this modified test string, it will likely break and throw a
    // JavaScript execution error, thus an injection issue is occurring.
    // However, it may not be exploitable. Manual verification is needed to see
    // if the test string modifications can be evaded and confirm that the issue
    // is in fact an XSS vulnerability. For detailed explanations on XSS, see
    // https://www.google.com/about/appsecurity/learning/xss/.
    Finding_XSS_ERROR Finding_FindingType = 4
    // An application appears to be transmitting a password field in clear text.
    // An attacker can eavesdrop network traffic and sniff the password field.
    Finding_CLEAR_TEXT_PASSWORD Finding_FindingType = 6
    // An application returns sensitive content with an invalid content type,
    // or without an 'X-Content-Type-Options: nosniff' header.
    Finding_INVALID_CONTENT_TYPE Finding_FindingType = 7
    // A cross-site scripting (XSS) vulnerability in AngularJS module that
    // occurs when a user-provided string is interpolated by Angular.
    Finding_XSS_ANGULAR_CALLBACK Finding_FindingType = 8
    // A malformed or invalid valued header.
    Finding_INVALID_HEADER Finding_FindingType = 9
    // Misspelled security header name.
    Finding_MISSPELLED_SECURITY_HEADER_NAME Finding_FindingType = 10
    // Mismatching values in a duplicate security header.
    Finding_MISMATCHING_SECURITY_HEADER_VALUES Finding_FindingType = 11
)

func (Finding_FindingType) Descriptor Uses

func (Finding_FindingType) Descriptor() protoreflect.EnumDescriptor

func (Finding_FindingType) Enum Uses

func (x Finding_FindingType) Enum() *Finding_FindingType

func (Finding_FindingType) EnumDescriptor Uses

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

Deprecated: Use Finding_FindingType.Descriptor instead.

func (Finding_FindingType) Number Uses

func (x Finding_FindingType) Number() protoreflect.EnumNumber

func (Finding_FindingType) String Uses

func (x Finding_FindingType) String() string

func (Finding_FindingType) Type Uses

func (Finding_FindingType) Type() protoreflect.EnumType

type GetFindingRequest Uses

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 Uses

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

Deprecated: Use GetFindingRequest.ProtoReflect.Descriptor instead.

func (*GetFindingRequest) GetName Uses

func (x *GetFindingRequest) GetName() string

func (*GetFindingRequest) ProtoMessage Uses

func (*GetFindingRequest) ProtoMessage()

func (*GetFindingRequest) ProtoReflect Uses

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

func (*GetFindingRequest) Reset Uses

func (x *GetFindingRequest) Reset()

func (*GetFindingRequest) String Uses

func (x *GetFindingRequest) String() string

type GetScanConfigRequest Uses

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 Uses

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

Deprecated: Use GetScanConfigRequest.ProtoReflect.Descriptor instead.

func (*GetScanConfigRequest) GetName Uses

func (x *GetScanConfigRequest) GetName() string

func (*GetScanConfigRequest) ProtoMessage Uses

func (*GetScanConfigRequest) ProtoMessage()

func (*GetScanConfigRequest) ProtoReflect Uses

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

func (*GetScanConfigRequest) Reset Uses

func (x *GetScanConfigRequest) Reset()

func (*GetScanConfigRequest) String Uses

func (x *GetScanConfigRequest) String() string

type GetScanRunRequest Uses

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 Uses

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

Deprecated: Use GetScanRunRequest.ProtoReflect.Descriptor instead.

func (*GetScanRunRequest) GetName Uses

func (x *GetScanRunRequest) GetName() string

func (*GetScanRunRequest) ProtoMessage Uses

func (*GetScanRunRequest) ProtoMessage()

func (*GetScanRunRequest) ProtoReflect Uses

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

func (*GetScanRunRequest) Reset Uses

func (x *GetScanRunRequest) Reset()

func (*GetScanRunRequest) String Uses

func (x *GetScanRunRequest) String() string

type ListCrawledUrlsRequest Uses

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 Uses

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

Deprecated: Use ListCrawledUrlsRequest.ProtoReflect.Descriptor instead.

func (*ListCrawledUrlsRequest) GetPageSize Uses

func (x *ListCrawledUrlsRequest) GetPageSize() int32

func (*ListCrawledUrlsRequest) GetPageToken Uses

func (x *ListCrawledUrlsRequest) GetPageToken() string

func (*ListCrawledUrlsRequest) GetParent Uses

func (x *ListCrawledUrlsRequest) GetParent() string

func (*ListCrawledUrlsRequest) ProtoMessage Uses

func (*ListCrawledUrlsRequest) ProtoMessage()

func (*ListCrawledUrlsRequest) ProtoReflect Uses

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

func (*ListCrawledUrlsRequest) Reset Uses

func (x *ListCrawledUrlsRequest) Reset()

func (*ListCrawledUrlsRequest) String Uses

func (x *ListCrawledUrlsRequest) String() string

type ListCrawledUrlsResponse Uses

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 Uses

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

Deprecated: Use ListCrawledUrlsResponse.ProtoReflect.Descriptor instead.

func (*ListCrawledUrlsResponse) GetCrawledUrls Uses

func (x *ListCrawledUrlsResponse) GetCrawledUrls() []*CrawledUrl

func (*ListCrawledUrlsResponse) GetNextPageToken Uses

func (x *ListCrawledUrlsResponse) GetNextPageToken() string

func (*ListCrawledUrlsResponse) ProtoMessage Uses

func (*ListCrawledUrlsResponse) ProtoMessage()

func (*ListCrawledUrlsResponse) ProtoReflect Uses

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

func (*ListCrawledUrlsResponse) Reset Uses

func (x *ListCrawledUrlsResponse) Reset()

func (*ListCrawledUrlsResponse) String Uses

func (x *ListCrawledUrlsResponse) String() string

type ListFindingTypeStatsRequest Uses

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 Uses

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

Deprecated: Use ListFindingTypeStatsRequest.ProtoReflect.Descriptor instead.

func (*ListFindingTypeStatsRequest) GetParent Uses

func (x *ListFindingTypeStatsRequest) GetParent() string

func (*ListFindingTypeStatsRequest) ProtoMessage Uses

func (*ListFindingTypeStatsRequest) ProtoMessage()

func (*ListFindingTypeStatsRequest) ProtoReflect Uses

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

func (*ListFindingTypeStatsRequest) Reset Uses

func (x *ListFindingTypeStatsRequest) Reset()

func (*ListFindingTypeStatsRequest) String Uses

func (x *ListFindingTypeStatsRequest) String() string

type ListFindingTypeStatsResponse Uses

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 Uses

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

Deprecated: Use ListFindingTypeStatsResponse.ProtoReflect.Descriptor instead.

func (*ListFindingTypeStatsResponse) GetFindingTypeStats Uses

func (x *ListFindingTypeStatsResponse) GetFindingTypeStats() []*FindingTypeStats

func (*ListFindingTypeStatsResponse) ProtoMessage Uses

func (*ListFindingTypeStatsResponse) ProtoMessage()

func (*ListFindingTypeStatsResponse) ProtoReflect Uses

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

func (*ListFindingTypeStatsResponse) Reset Uses

func (x *ListFindingTypeStatsResponse) Reset()

func (*ListFindingTypeStatsResponse) String Uses

func (x *ListFindingTypeStatsResponse) String() string

type ListFindingsRequest Uses

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"`
    // Required. 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 Uses

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

Deprecated: Use ListFindingsRequest.ProtoReflect.Descriptor instead.

func (*ListFindingsRequest) GetFilter Uses

func (x *ListFindingsRequest) GetFilter() string

func (*ListFindingsRequest) GetPageSize Uses

func (x *ListFindingsRequest) GetPageSize() int32

func (*ListFindingsRequest) GetPageToken Uses

func (x *ListFindingsRequest) GetPageToken() string

func (*ListFindingsRequest) GetParent Uses

func (x *ListFindingsRequest) GetParent() string

func (*ListFindingsRequest) ProtoMessage Uses

func (*ListFindingsRequest) ProtoMessage()

func (*ListFindingsRequest) ProtoReflect Uses

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

func (*ListFindingsRequest) Reset Uses

func (x *ListFindingsRequest) Reset()

func (*ListFindingsRequest) String Uses

func (x *ListFindingsRequest) String() string

type ListFindingsResponse Uses

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 Uses

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

Deprecated: Use ListFindingsResponse.ProtoReflect.Descriptor instead.

func (*ListFindingsResponse) GetFindings Uses

func (x *ListFindingsResponse) GetFindings() []*Finding

func (*ListFindingsResponse) GetNextPageToken Uses

func (x *ListFindingsResponse) GetNextPageToken() string

func (*ListFindingsResponse) ProtoMessage Uses

func (*ListFindingsResponse) ProtoMessage()

func (*ListFindingsResponse) ProtoReflect Uses

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

func (*ListFindingsResponse) Reset Uses

func (x *ListFindingsResponse) Reset()

func (*ListFindingsResponse) String Uses

func (x *ListFindingsResponse) String() string

type ListScanConfigsRequest Uses

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 Uses

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

Deprecated: Use ListScanConfigsRequest.ProtoReflect.Descriptor instead.

func (*ListScanConfigsRequest) GetPageSize Uses

func (x *ListScanConfigsRequest) GetPageSize() int32

func (*ListScanConfigsRequest) GetPageToken Uses

func (x *ListScanConfigsRequest) GetPageToken() string

func (*ListScanConfigsRequest) GetParent Uses

func (x *ListScanConfigsRequest) GetParent() string

func (*ListScanConfigsRequest) ProtoMessage Uses

func (*ListScanConfigsRequest) ProtoMessage()

func (*ListScanConfigsRequest) ProtoReflect Uses

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

func (*ListScanConfigsRequest) Reset Uses

func (x *ListScanConfigsRequest) Reset()

func (*ListScanConfigsRequest) String Uses

func (x *ListScanConfigsRequest) String() string

type ListScanConfigsResponse Uses

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 Uses

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

Deprecated: Use ListScanConfigsResponse.ProtoReflect.Descriptor instead.

func (*ListScanConfigsResponse) GetNextPageToken Uses

func (x *ListScanConfigsResponse) GetNextPageToken() string

func (*ListScanConfigsResponse) GetScanConfigs Uses

func (x *ListScanConfigsResponse) GetScanConfigs() []*ScanConfig

func (*ListScanConfigsResponse) ProtoMessage Uses

func (*ListScanConfigsResponse) ProtoMessage()

func (*ListScanConfigsResponse) ProtoReflect Uses

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

func (*ListScanConfigsResponse) Reset Uses

func (x *ListScanConfigsResponse) Reset()

func (*ListScanConfigsResponse) String Uses

func (x *ListScanConfigsResponse) String() string

type ListScanRunsRequest Uses

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 Uses

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

Deprecated: Use ListScanRunsRequest.ProtoReflect.Descriptor instead.

func (*ListScanRunsRequest) GetPageSize Uses

func (x *ListScanRunsRequest) GetPageSize() int32

func (*ListScanRunsRequest) GetPageToken Uses

func (x *ListScanRunsRequest) GetPageToken() string

func (*ListScanRunsRequest) GetParent Uses

func (x *ListScanRunsRequest) GetParent() string

func (*ListScanRunsRequest) ProtoMessage Uses

func (*ListScanRunsRequest) ProtoMessage()

func (*ListScanRunsRequest) ProtoReflect Uses

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

func (*ListScanRunsRequest) Reset Uses

func (x *ListScanRunsRequest) Reset()

func (*ListScanRunsRequest) String Uses

func (x *ListScanRunsRequest) String() string

type ListScanRunsResponse Uses

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 Uses

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

Deprecated: Use ListScanRunsResponse.ProtoReflect.Descriptor instead.

func (*ListScanRunsResponse) GetNextPageToken Uses

func (x *ListScanRunsResponse) GetNextPageToken() string

func (*ListScanRunsResponse) GetScanRuns Uses

func (x *ListScanRunsResponse) GetScanRuns() []*ScanRun

func (*ListScanRunsResponse) ProtoMessage Uses

func (*ListScanRunsResponse) ProtoMessage()

func (*ListScanRunsResponse) ProtoReflect Uses

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

func (*ListScanRunsResponse) Reset Uses

func (x *ListScanRunsResponse) Reset()

func (*ListScanRunsResponse) String Uses

func (x *ListScanRunsResponse) String() string

type OutdatedLibrary Uses

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 Uses

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

Deprecated: Use OutdatedLibrary.ProtoReflect.Descriptor instead.

func (*OutdatedLibrary) GetLearnMoreUrls Uses

func (x *OutdatedLibrary) GetLearnMoreUrls() []string

func (*OutdatedLibrary) GetLibraryName Uses

func (x *OutdatedLibrary) GetLibraryName() string

func (*OutdatedLibrary) GetVersion Uses

func (x *OutdatedLibrary) GetVersion() string

func (*OutdatedLibrary) ProtoMessage Uses

func (*OutdatedLibrary) ProtoMessage()

func (*OutdatedLibrary) ProtoReflect Uses

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

func (*OutdatedLibrary) Reset Uses

func (x *OutdatedLibrary) Reset()

func (*OutdatedLibrary) String Uses

func (x *OutdatedLibrary) String() string

type ScanConfig Uses

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 `protobuf:"varint,6,opt,name=user_agent,json=userAgent,proto3,enum=google.cloud.websecurityscanner.v1alpha.ScanConfig_UserAgent" json:"user_agent,omitempty"`
    // The blacklist URL patterns as described in
    // https://cloud.google.com/security-scanner/docs/excluded-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"`
    // Set of Cloud Platforms targeted by the scan. If empty, APP_ENGINE will be
    // used as a default.
    TargetPlatforms []ScanConfig_TargetPlatform `protobuf:"varint,9,rep,packed,name=target_platforms,json=targetPlatforms,proto3,enum=google.cloud.websecurityscanner.v1alpha.ScanConfig_TargetPlatform" json:"target_platforms,omitempty"`
    // Latest ScanRun if available.
    LatestRun *ScanRun `protobuf:"bytes,11,opt,name=latest_run,json=latestRun,proto3" json:"latest_run,omitempty"`
    // contains filtered or unexported fields
}

A ScanConfig resource contains the configurations to launch a scan. next id: 12

func (*ScanConfig) Descriptor Uses

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

Deprecated: Use ScanConfig.ProtoReflect.Descriptor instead.

func (*ScanConfig) GetAuthentication Uses

func (x *ScanConfig) GetAuthentication() *ScanConfig_Authentication

func (*ScanConfig) GetBlacklistPatterns Uses

func (x *ScanConfig) GetBlacklistPatterns() []string

func (*ScanConfig) GetDisplayName Uses

func (x *ScanConfig) GetDisplayName() string

func (*ScanConfig) GetLatestRun Uses

func (x *ScanConfig) GetLatestRun() *ScanRun

func (*ScanConfig) GetMaxQps Uses

func (x *ScanConfig) GetMaxQps() int32

func (*ScanConfig) GetName Uses

func (x *ScanConfig) GetName() string

func (*ScanConfig) GetSchedule Uses

func (x *ScanConfig) GetSchedule() *ScanConfig_Schedule

func (*ScanConfig) GetStartingUrls Uses

func (x *ScanConfig) GetStartingUrls() []string

func (*ScanConfig) GetTargetPlatforms Uses

func (x *ScanConfig) GetTargetPlatforms() []ScanConfig_TargetPlatform

func (*ScanConfig) GetUserAgent Uses

func (x *ScanConfig) GetUserAgent() ScanConfig_UserAgent

func (*ScanConfig) ProtoMessage Uses

func (*ScanConfig) ProtoMessage()

func (*ScanConfig) ProtoReflect Uses

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

func (*ScanConfig) Reset Uses

func (x *ScanConfig) Reset()

func (*ScanConfig) String Uses

func (x *ScanConfig) String() string

type ScanConfig_Authentication Uses

type ScanConfig_Authentication struct {

    // Required.
    // Authentication configuration
    //
    // Types that are assignable to Authentication:
    //	*ScanConfig_Authentication_GoogleAccount_
    //	*ScanConfig_Authentication_CustomAccount_
    Authentication isScanConfig_Authentication_Authentication `protobuf_oneof:"authentication"`
    // contains filtered or unexported fields
}

Scan authentication configuration.

func (*ScanConfig_Authentication) Descriptor Uses

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

Deprecated: Use ScanConfig_Authentication.ProtoReflect.Descriptor instead.

func (*ScanConfig_Authentication) GetAuthentication Uses

func (m *ScanConfig_Authentication) GetAuthentication() isScanConfig_Authentication_Authentication

func (*ScanConfig_Authentication) GetCustomAccount Uses

func (x *ScanConfig_Authentication) GetCustomAccount() *ScanConfig_Authentication_CustomAccount

func (*ScanConfig_Authentication) GetGoogleAccount Uses

func (x *ScanConfig_Authentication) GetGoogleAccount() *ScanConfig_Authentication_GoogleAccount

func (*ScanConfig_Authentication) ProtoMessage Uses

func (*ScanConfig_Authentication) ProtoMessage()

func (*ScanConfig_Authentication) ProtoReflect Uses

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

func (*ScanConfig_Authentication) Reset Uses

func (x *ScanConfig_Authentication) Reset()

func (*ScanConfig_Authentication) String Uses

func (x *ScanConfig_Authentication) String() string

type ScanConfig_Authentication_CustomAccount Uses

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 Uses

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

Deprecated: Use ScanConfig_Authentication_CustomAccount.ProtoReflect.Descriptor instead.

func (*ScanConfig_Authentication_CustomAccount) GetLoginUrl Uses

func (x *ScanConfig_Authentication_CustomAccount) GetLoginUrl() string

func (*ScanConfig_Authentication_CustomAccount) GetPassword Uses

func (x *ScanConfig_Authentication_CustomAccount) GetPassword() string

func (*ScanConfig_Authentication_CustomAccount) GetUsername Uses

func (x *ScanConfig_Authentication_CustomAccount) GetUsername() string

func (*ScanConfig_Authentication_CustomAccount) ProtoMessage Uses

func (*ScanConfig_Authentication_CustomAccount) ProtoMessage()

func (*ScanConfig_Authentication_CustomAccount) ProtoReflect Uses

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

func (*ScanConfig_Authentication_CustomAccount) Reset Uses

func (x *ScanConfig_Authentication_CustomAccount) Reset()

func (*ScanConfig_Authentication_CustomAccount) String Uses

func (x *ScanConfig_Authentication_CustomAccount) String() string

type ScanConfig_Authentication_CustomAccount_ Uses

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 Uses

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.

func (*ScanConfig_Authentication_GoogleAccount) Descriptor Uses

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

Deprecated: Use ScanConfig_Authentication_GoogleAccount.ProtoReflect.Descriptor instead.

func (*ScanConfig_Authentication_GoogleAccount) GetPassword Uses

func (x *ScanConfig_Authentication_GoogleAccount) GetPassword() string

func (*ScanConfig_Authentication_GoogleAccount) GetUsername Uses

func (x *ScanConfig_Authentication_GoogleAccount) GetUsername() string

func (*ScanConfig_Authentication_GoogleAccount) ProtoMessage Uses

func (*ScanConfig_Authentication_GoogleAccount) ProtoMessage()

func (*ScanConfig_Authentication_GoogleAccount) ProtoReflect Uses

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

func (*ScanConfig_Authentication_GoogleAccount) Reset Uses

func (x *ScanConfig_Authentication_GoogleAccount) Reset()

func (*ScanConfig_Authentication_GoogleAccount) String Uses

func (x *ScanConfig_Authentication_GoogleAccount) String() string

type ScanConfig_Authentication_GoogleAccount_ Uses

type ScanConfig_Authentication_GoogleAccount_ struct {
    // Authentication using a Google account.
    GoogleAccount *ScanConfig_Authentication_GoogleAccount `protobuf:"bytes,1,opt,name=google_account,json=googleAccount,proto3,oneof"`
}

type ScanConfig_Schedule Uses

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 *timestamp.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 Uses

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

Deprecated: Use ScanConfig_Schedule.ProtoReflect.Descriptor instead.

func (*ScanConfig_Schedule) GetIntervalDurationDays Uses

func (x *ScanConfig_Schedule) GetIntervalDurationDays() int32

func (*ScanConfig_Schedule) GetScheduleTime Uses

func (x *ScanConfig_Schedule) GetScheduleTime() *timestamp.Timestamp

func (*ScanConfig_Schedule) ProtoMessage Uses

func (*ScanConfig_Schedule) ProtoMessage()

func (*ScanConfig_Schedule) ProtoReflect Uses

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

func (*ScanConfig_Schedule) Reset Uses

func (x *ScanConfig_Schedule) Reset()

func (*ScanConfig_Schedule) String Uses

func (x *ScanConfig_Schedule) String() string

type ScanConfig_TargetPlatform Uses

type ScanConfig_TargetPlatform int32

Cloud platforms supported by Cloud Web Security Scanner.

const (
    // The target platform is unknown. Requests with this enum value will be
    // rejected with INVALID_ARGUMENT error.
    ScanConfig_TARGET_PLATFORM_UNSPECIFIED ScanConfig_TargetPlatform = 0
    // Google App Engine service.
    ScanConfig_APP_ENGINE ScanConfig_TargetPlatform = 1
    // Google Compute Engine service.
    ScanConfig_COMPUTE ScanConfig_TargetPlatform = 2
)

func (ScanConfig_TargetPlatform) Descriptor Uses

func (ScanConfig_TargetPlatform) Descriptor() protoreflect.EnumDescriptor

func (ScanConfig_TargetPlatform) Enum Uses

func (x ScanConfig_TargetPlatform) Enum() *ScanConfig_TargetPlatform

func (ScanConfig_TargetPlatform) EnumDescriptor Uses

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

Deprecated: Use ScanConfig_TargetPlatform.Descriptor instead.

func (ScanConfig_TargetPlatform) Number Uses

func (x ScanConfig_TargetPlatform) Number() protoreflect.EnumNumber

func (ScanConfig_TargetPlatform) String Uses

func (x ScanConfig_TargetPlatform) String() string

func (ScanConfig_TargetPlatform) Type Uses

func (ScanConfig_TargetPlatform) Type() protoreflect.EnumType

type ScanConfig_UserAgent Uses

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 Uses

func (ScanConfig_UserAgent) Descriptor() protoreflect.EnumDescriptor

func (ScanConfig_UserAgent) Enum Uses

func (x ScanConfig_UserAgent) Enum() *ScanConfig_UserAgent

func (ScanConfig_UserAgent) EnumDescriptor Uses

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

Deprecated: Use ScanConfig_UserAgent.Descriptor instead.

func (ScanConfig_UserAgent) Number Uses

func (x ScanConfig_UserAgent) Number() protoreflect.EnumNumber

func (ScanConfig_UserAgent) String Uses

func (x ScanConfig_UserAgent) String() string

func (ScanConfig_UserAgent) Type Uses

func (ScanConfig_UserAgent) Type() protoreflect.EnumType

type ScanRun Uses

type ScanRun struct {

    // 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"`
    // The execution state of the ScanRun.
    ExecutionState ScanRun_ExecutionState `protobuf:"varint,2,opt,name=execution_state,json=executionState,proto3,enum=google.cloud.websecurityscanner.v1alpha.ScanRun_ExecutionState" json:"execution_state,omitempty"`
    // The result state of the ScanRun. This field is only available after the
    // execution state reaches "FINISHED".
    ResultState ScanRun_ResultState `protobuf:"varint,3,opt,name=result_state,json=resultState,proto3,enum=google.cloud.websecurityscanner.v1alpha.ScanRun_ResultState" json:"result_state,omitempty"`
    // The time at which the ScanRun started.
    StartTime *timestamp.Timestamp `protobuf:"bytes,4,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"`
    // The time at which the ScanRun reached termination state - that the ScanRun
    // is either finished or stopped by user.
    EndTime *timestamp.Timestamp `protobuf:"bytes,5,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"`
    // 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"`
    // 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"`
    // Whether the scan run has found any vulnerabilities.
    HasVulnerabilities bool `protobuf:"varint,8,opt,name=has_vulnerabilities,json=hasVulnerabilities,proto3" json:"has_vulnerabilities,omitempty"`
    // 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"`
    // contains filtered or unexported fields
}

A ScanRun is a output-only resource representing an actual run of the scan.

func (*ScanRun) Descriptor Uses

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

Deprecated: Use ScanRun.ProtoReflect.Descriptor instead.

func (*ScanRun) GetEndTime Uses

func (x *ScanRun) GetEndTime() *timestamp.Timestamp

func (*ScanRun) GetExecutionState Uses

func (x *ScanRun) GetExecutionState() ScanRun_ExecutionState

func (*ScanRun) GetHasVulnerabilities Uses

func (x *ScanRun) GetHasVulnerabilities() bool

func (*ScanRun) GetName Uses

func (x *ScanRun) GetName() string

func (*ScanRun) GetProgressPercent Uses

func (x *ScanRun) GetProgressPercent() int32

func (*ScanRun) GetResultState Uses

func (x *ScanRun) GetResultState() ScanRun_ResultState

func (*ScanRun) GetStartTime Uses

func (x *ScanRun) GetStartTime() *timestamp.Timestamp

func (*ScanRun) GetUrlsCrawledCount Uses

func (x *ScanRun) GetUrlsCrawledCount() int64

func (*ScanRun) GetUrlsTestedCount Uses

func (x *ScanRun) GetUrlsTestedCount() int64

func (*ScanRun) ProtoMessage Uses

func (*ScanRun) ProtoMessage()

func (*ScanRun) ProtoReflect Uses

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

func (*ScanRun) Reset Uses

func (x *ScanRun) Reset()

func (*ScanRun) String Uses

func (x *ScanRun) String() string

type ScanRun_ExecutionState Uses

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 Uses

func (ScanRun_ExecutionState) Descriptor() protoreflect.EnumDescriptor

func (ScanRun_ExecutionState) Enum Uses

func (x ScanRun_ExecutionState) Enum() *ScanRun_ExecutionState

func (ScanRun_ExecutionState) EnumDescriptor Uses

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

Deprecated: Use ScanRun_ExecutionState.Descriptor instead.

func (ScanRun_ExecutionState) Number Uses

func (x ScanRun_ExecutionState) Number() protoreflect.EnumNumber

func (ScanRun_ExecutionState) String Uses

func (x ScanRun_ExecutionState) String() string

func (ScanRun_ExecutionState) Type Uses

func (ScanRun_ExecutionState) Type() protoreflect.EnumType

type ScanRun_ResultState Uses

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 Uses

func (ScanRun_ResultState) Descriptor() protoreflect.EnumDescriptor

func (ScanRun_ResultState) Enum Uses

func (x ScanRun_ResultState) Enum() *ScanRun_ResultState

func (ScanRun_ResultState) EnumDescriptor Uses

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

Deprecated: Use ScanRun_ResultState.Descriptor instead.

func (ScanRun_ResultState) Number Uses

func (x ScanRun_ResultState) Number() protoreflect.EnumNumber

func (ScanRun_ResultState) String Uses

func (x ScanRun_ResultState) String() string

func (ScanRun_ResultState) Type Uses

func (ScanRun_ResultState) Type() protoreflect.EnumType

type StartScanRunRequest Uses

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 Uses

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

Deprecated: Use StartScanRunRequest.ProtoReflect.Descriptor instead.

func (*StartScanRunRequest) GetName Uses

func (x *StartScanRunRequest) GetName() string

func (*StartScanRunRequest) ProtoMessage Uses

func (*StartScanRunRequest) ProtoMessage()

func (*StartScanRunRequest) ProtoReflect Uses

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

func (*StartScanRunRequest) Reset Uses

func (x *StartScanRunRequest) Reset()

func (*StartScanRunRequest) String Uses

func (x *StartScanRunRequest) String() string

type StopScanRunRequest Uses

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 Uses

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

Deprecated: Use StopScanRunRequest.ProtoReflect.Descriptor instead.

func (*StopScanRunRequest) GetName Uses

func (x *StopScanRunRequest) GetName() string

func (*StopScanRunRequest) ProtoMessage Uses

func (*StopScanRunRequest) ProtoMessage()

func (*StopScanRunRequest) ProtoReflect Uses

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

func (*StopScanRunRequest) Reset Uses

func (x *StopScanRunRequest) Reset()

func (*StopScanRunRequest) String Uses

func (x *StopScanRunRequest) String() string

type UnimplementedWebSecurityScannerServer Uses

type UnimplementedWebSecurityScannerServer struct {
}

UnimplementedWebSecurityScannerServer can be embedded to have forward compatible implementations.

func (*UnimplementedWebSecurityScannerServer) CreateScanConfig Uses

func (*UnimplementedWebSecurityScannerServer) CreateScanConfig(context.Context, *CreateScanConfigRequest) (*ScanConfig, error)

func (*UnimplementedWebSecurityScannerServer) DeleteScanConfig Uses

func (*UnimplementedWebSecurityScannerServer) DeleteScanConfig(context.Context, *DeleteScanConfigRequest) (*empty.Empty, error)

func (*UnimplementedWebSecurityScannerServer) GetFinding Uses

func (*UnimplementedWebSecurityScannerServer) GetFinding(context.Context, *GetFindingRequest) (*Finding, error)

func (*UnimplementedWebSecurityScannerServer) GetScanConfig Uses

func (*UnimplementedWebSecurityScannerServer) GetScanConfig(context.Context, *GetScanConfigRequest) (*ScanConfig, error)

func (*UnimplementedWebSecurityScannerServer) GetScanRun Uses

func (*UnimplementedWebSecurityScannerServer) GetScanRun(context.Context, *GetScanRunRequest) (*ScanRun, error)

func (*UnimplementedWebSecurityScannerServer) ListCrawledUrls Uses

func (*UnimplementedWebSecurityScannerServer) ListCrawledUrls(context.Context, *ListCrawledUrlsRequest) (*ListCrawledUrlsResponse, error)

func (*UnimplementedWebSecurityScannerServer) ListFindingTypeStats Uses

func (*UnimplementedWebSecurityScannerServer) ListFindingTypeStats(context.Context, *ListFindingTypeStatsRequest) (*ListFindingTypeStatsResponse, error)

func (*UnimplementedWebSecurityScannerServer) ListFindings Uses

func (*UnimplementedWebSecurityScannerServer) ListFindings(context.Context, *ListFindingsRequest) (*ListFindingsResponse, error)

func (*UnimplementedWebSecurityScannerServer) ListScanConfigs Uses

func (*UnimplementedWebSecurityScannerServer) ListScanConfigs(context.Context, *ListScanConfigsRequest) (*ListScanConfigsResponse, error)

func (*UnimplementedWebSecurityScannerServer) ListScanRuns Uses

func (*UnimplementedWebSecurityScannerServer) ListScanRuns(context.Context, *ListScanRunsRequest) (*ListScanRunsResponse, error)

func (*UnimplementedWebSecurityScannerServer) StartScanRun Uses

func (*UnimplementedWebSecurityScannerServer) StartScanRun(context.Context, *StartScanRunRequest) (*ScanRun, error)

func (*UnimplementedWebSecurityScannerServer) StopScanRun Uses

func (*UnimplementedWebSecurityScannerServer) StopScanRun(context.Context, *StopScanRunRequest) (*ScanRun, error)

func (*UnimplementedWebSecurityScannerServer) UpdateScanConfig Uses

func (*UnimplementedWebSecurityScannerServer) UpdateScanConfig(context.Context, *UpdateScanConfigRequest) (*ScanConfig, error)

type UpdateScanConfigRequest Uses

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 *field_mask.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 Uses

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

Deprecated: Use UpdateScanConfigRequest.ProtoReflect.Descriptor instead.

func (*UpdateScanConfigRequest) GetScanConfig Uses

func (x *UpdateScanConfigRequest) GetScanConfig() *ScanConfig

func (*UpdateScanConfigRequest) GetUpdateMask Uses

func (x *UpdateScanConfigRequest) GetUpdateMask() *field_mask.FieldMask

func (*UpdateScanConfigRequest) ProtoMessage Uses

func (*UpdateScanConfigRequest) ProtoMessage()

func (*UpdateScanConfigRequest) ProtoReflect Uses

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

func (*UpdateScanConfigRequest) Reset Uses

func (x *UpdateScanConfigRequest) Reset()

func (*UpdateScanConfigRequest) String Uses

func (x *UpdateScanConfigRequest) String() string

type ViolatingResource Uses

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 Uses

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

Deprecated: Use ViolatingResource.ProtoReflect.Descriptor instead.

func (*ViolatingResource) GetContentType Uses

func (x *ViolatingResource) GetContentType() string

func (*ViolatingResource) GetResourceUrl Uses

func (x *ViolatingResource) GetResourceUrl() string

func (*ViolatingResource) ProtoMessage Uses

func (*ViolatingResource) ProtoMessage()

func (*ViolatingResource) ProtoReflect Uses

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

func (*ViolatingResource) Reset Uses

func (x *ViolatingResource) Reset()

func (*ViolatingResource) String Uses

func (x *ViolatingResource) String() string

type VulnerableHeaders Uses

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 Uses

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

Deprecated: Use VulnerableHeaders.ProtoReflect.Descriptor instead.

func (*VulnerableHeaders) GetHeaders Uses

func (x *VulnerableHeaders) GetHeaders() []*VulnerableHeaders_Header

func (*VulnerableHeaders) GetMissingHeaders Uses

func (x *VulnerableHeaders) GetMissingHeaders() []*VulnerableHeaders_Header

func (*VulnerableHeaders) ProtoMessage Uses

func (*VulnerableHeaders) ProtoMessage()

func (*VulnerableHeaders) ProtoReflect Uses

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

func (*VulnerableHeaders) Reset Uses

func (x *VulnerableHeaders) Reset()

func (*VulnerableHeaders) String Uses

func (x *VulnerableHeaders) String() string

type VulnerableHeaders_Header Uses

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 Uses

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

Deprecated: Use VulnerableHeaders_Header.ProtoReflect.Descriptor instead.

func (*VulnerableHeaders_Header) GetName Uses

func (x *VulnerableHeaders_Header) GetName() string

func (*VulnerableHeaders_Header) GetValue Uses

func (x *VulnerableHeaders_Header) GetValue() string

func (*VulnerableHeaders_Header) ProtoMessage Uses

func (*VulnerableHeaders_Header) ProtoMessage()

func (*VulnerableHeaders_Header) ProtoReflect Uses

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

func (*VulnerableHeaders_Header) Reset Uses

func (x *VulnerableHeaders_Header) Reset()

func (*VulnerableHeaders_Header) String Uses

func (x *VulnerableHeaders_Header) String() string

type VulnerableParameters Uses

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 Uses

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

Deprecated: Use VulnerableParameters.ProtoReflect.Descriptor instead.

func (*VulnerableParameters) GetParameterNames Uses

func (x *VulnerableParameters) GetParameterNames() []string

func (*VulnerableParameters) ProtoMessage Uses

func (*VulnerableParameters) ProtoMessage()

func (*VulnerableParameters) ProtoReflect Uses

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

func (*VulnerableParameters) Reset Uses

func (x *VulnerableParameters) Reset()

func (*VulnerableParameters) String Uses

func (x *VulnerableParameters) String() string

type WebSecurityScannerClient Uses

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) (*empty.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 Uses

func NewWebSecurityScannerClient(cc grpc.ClientConnInterface) WebSecurityScannerClient

type WebSecurityScannerServer Uses

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) (*empty.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 Uses

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"`
    // contains filtered or unexported fields
}

Information reported for an XSS.

func (*Xss) Descriptor Uses

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

Deprecated: Use Xss.ProtoReflect.Descriptor instead.

func (*Xss) GetErrorMessage Uses

func (x *Xss) GetErrorMessage() string

func (*Xss) GetStackTraces Uses

func (x *Xss) GetStackTraces() []string

func (*Xss) ProtoMessage Uses

func (*Xss) ProtoMessage()

func (*Xss) ProtoReflect Uses

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

func (*Xss) Reset Uses

func (x *Xss) Reset()

func (*Xss) String Uses

func (x *Xss) String() string

Package websecurityscanner imports 13 packages (graph). Updated 2020-07-22. Refresh now. Tools for package owners.