Versions in this module Expand all Collapse all v0 v0.25.2 May 21, 2020 Changes in this version + const CloudPlatformScope + type Authentication struct + CustomAccount *CustomAccount + ForceSendFields []string + GoogleAccount *GoogleAccount + IapCredential *IapCredential + NullFields []string + func (s *Authentication) MarshalJSON() ([]byte, error) + type CrawledUrl struct + Body string + ForceSendFields []string + HttpMethod string + NullFields []string + Url string + func (s *CrawledUrl) MarshalJSON() ([]byte, error) + type CustomAccount struct + ForceSendFields []string + LoginUrl string + NullFields []string + Password string + Username string + func (s *CustomAccount) MarshalJSON() ([]byte, error) + type Empty struct + type Finding struct + Body string + Description string + FinalUrl string + FindingType string + ForceSendFields []string + Form *Form + FrameUrl string + FuzzedUrl string + HttpMethod string + Name string + NullFields []string + OutdatedLibrary *OutdatedLibrary + ReproductionUrl string + Severity string + TrackingId string + ViolatingResource *ViolatingResource + VulnerableHeaders *VulnerableHeaders + VulnerableParameters *VulnerableParameters + Xss *Xss + func (s *Finding) MarshalJSON() ([]byte, error) + type FindingTypeStats struct + FindingCount int64 + FindingType string + ForceSendFields []string + NullFields []string + func (s *FindingTypeStats) MarshalJSON() ([]byte, error) + type Form struct + ActionUri string + Fields []string + ForceSendFields []string + NullFields []string + func (s *Form) MarshalJSON() ([]byte, error) + type GoogleAccount struct + ForceSendFields []string + NullFields []string + Password string + Username string + func (s *GoogleAccount) MarshalJSON() ([]byte, error) + type Header struct + ForceSendFields []string + Name string + NullFields []string + Value string + func (s *Header) MarshalJSON() ([]byte, error) + type IapCredential struct + ForceSendFields []string + IapTestServiceAccountInfo *IapTestServiceAccountInfo + NullFields []string + func (s *IapCredential) MarshalJSON() ([]byte, error) + type IapTestServiceAccountInfo struct + ForceSendFields []string + NullFields []string + TargetAudienceClientId string + func (s *IapTestServiceAccountInfo) MarshalJSON() ([]byte, error) + type ListCrawledUrlsResponse struct + CrawledUrls []*CrawledUrl + ForceSendFields []string + NextPageToken string + NullFields []string + func (s *ListCrawledUrlsResponse) MarshalJSON() ([]byte, error) + type ListFindingTypeStatsResponse struct + FindingTypeStats []*FindingTypeStats + ForceSendFields []string + NullFields []string + func (s *ListFindingTypeStatsResponse) MarshalJSON() ([]byte, error) + type ListFindingsResponse struct + Findings []*Finding + ForceSendFields []string + NextPageToken string + NullFields []string + func (s *ListFindingsResponse) MarshalJSON() ([]byte, error) + type ListScanConfigsResponse struct + ForceSendFields []string + NextPageToken string + NullFields []string + ScanConfigs []*ScanConfig + func (s *ListScanConfigsResponse) MarshalJSON() ([]byte, error) + type ListScanRunsResponse struct + ForceSendFields []string + NextPageToken string + NullFields []string + ScanRuns []*ScanRun + func (s *ListScanRunsResponse) MarshalJSON() ([]byte, error) + type OutdatedLibrary struct + ForceSendFields []string + LearnMoreUrls []string + LibraryName string + NullFields []string + Version string + func (s *OutdatedLibrary) MarshalJSON() ([]byte, error) + type ProjectsScanConfigsCreateCall struct + func (c *ProjectsScanConfigsCreateCall) Context(ctx context.Context) *ProjectsScanConfigsCreateCall + func (c *ProjectsScanConfigsCreateCall) Do(opts ...googleapi.CallOption) (*ScanConfig, error) + func (c *ProjectsScanConfigsCreateCall) Fields(s ...googleapi.Field) *ProjectsScanConfigsCreateCall + func (c *ProjectsScanConfigsCreateCall) Header() http.Header + type ProjectsScanConfigsDeleteCall struct + func (c *ProjectsScanConfigsDeleteCall) Context(ctx context.Context) *ProjectsScanConfigsDeleteCall + func (c *ProjectsScanConfigsDeleteCall) Do(opts ...googleapi.CallOption) (*Empty, error) + func (c *ProjectsScanConfigsDeleteCall) Fields(s ...googleapi.Field) *ProjectsScanConfigsDeleteCall + func (c *ProjectsScanConfigsDeleteCall) Header() http.Header + type ProjectsScanConfigsGetCall struct + func (c *ProjectsScanConfigsGetCall) Context(ctx context.Context) *ProjectsScanConfigsGetCall + func (c *ProjectsScanConfigsGetCall) Do(opts ...googleapi.CallOption) (*ScanConfig, error) + func (c *ProjectsScanConfigsGetCall) Fields(s ...googleapi.Field) *ProjectsScanConfigsGetCall + func (c *ProjectsScanConfigsGetCall) Header() http.Header + func (c *ProjectsScanConfigsGetCall) IfNoneMatch(entityTag string) *ProjectsScanConfigsGetCall + type ProjectsScanConfigsListCall struct + func (c *ProjectsScanConfigsListCall) Context(ctx context.Context) *ProjectsScanConfigsListCall + func (c *ProjectsScanConfigsListCall) Do(opts ...googleapi.CallOption) (*ListScanConfigsResponse, error) + func (c *ProjectsScanConfigsListCall) Fields(s ...googleapi.Field) *ProjectsScanConfigsListCall + func (c *ProjectsScanConfigsListCall) Header() http.Header + func (c *ProjectsScanConfigsListCall) IfNoneMatch(entityTag string) *ProjectsScanConfigsListCall + func (c *ProjectsScanConfigsListCall) PageSize(pageSize int64) *ProjectsScanConfigsListCall + func (c *ProjectsScanConfigsListCall) PageToken(pageToken string) *ProjectsScanConfigsListCall + func (c *ProjectsScanConfigsListCall) Pages(ctx context.Context, f func(*ListScanConfigsResponse) error) error + type ProjectsScanConfigsPatchCall struct + func (c *ProjectsScanConfigsPatchCall) Context(ctx context.Context) *ProjectsScanConfigsPatchCall + func (c *ProjectsScanConfigsPatchCall) Do(opts ...googleapi.CallOption) (*ScanConfig, error) + func (c *ProjectsScanConfigsPatchCall) Fields(s ...googleapi.Field) *ProjectsScanConfigsPatchCall + func (c *ProjectsScanConfigsPatchCall) Header() http.Header + func (c *ProjectsScanConfigsPatchCall) UpdateMask(updateMask string) *ProjectsScanConfigsPatchCall + type ProjectsScanConfigsScanRunsCrawledUrlsListCall struct + func (c *ProjectsScanConfigsScanRunsCrawledUrlsListCall) Context(ctx context.Context) *ProjectsScanConfigsScanRunsCrawledUrlsListCall + func (c *ProjectsScanConfigsScanRunsCrawledUrlsListCall) Do(opts ...googleapi.CallOption) (*ListCrawledUrlsResponse, error) + func (c *ProjectsScanConfigsScanRunsCrawledUrlsListCall) Fields(s ...googleapi.Field) *ProjectsScanConfigsScanRunsCrawledUrlsListCall + func (c *ProjectsScanConfigsScanRunsCrawledUrlsListCall) Header() http.Header + func (c *ProjectsScanConfigsScanRunsCrawledUrlsListCall) IfNoneMatch(entityTag string) *ProjectsScanConfigsScanRunsCrawledUrlsListCall + func (c *ProjectsScanConfigsScanRunsCrawledUrlsListCall) PageSize(pageSize int64) *ProjectsScanConfigsScanRunsCrawledUrlsListCall + func (c *ProjectsScanConfigsScanRunsCrawledUrlsListCall) PageToken(pageToken string) *ProjectsScanConfigsScanRunsCrawledUrlsListCall + func (c *ProjectsScanConfigsScanRunsCrawledUrlsListCall) Pages(ctx context.Context, f func(*ListCrawledUrlsResponse) error) error + type ProjectsScanConfigsScanRunsCrawledUrlsService struct + func NewProjectsScanConfigsScanRunsCrawledUrlsService(s *Service) *ProjectsScanConfigsScanRunsCrawledUrlsService + func (r *ProjectsScanConfigsScanRunsCrawledUrlsService) List(parent string) *ProjectsScanConfigsScanRunsCrawledUrlsListCall + type ProjectsScanConfigsScanRunsFindingTypeStatsListCall struct + func (c *ProjectsScanConfigsScanRunsFindingTypeStatsListCall) Context(ctx context.Context) *ProjectsScanConfigsScanRunsFindingTypeStatsListCall + func (c *ProjectsScanConfigsScanRunsFindingTypeStatsListCall) Do(opts ...googleapi.CallOption) (*ListFindingTypeStatsResponse, error) + func (c *ProjectsScanConfigsScanRunsFindingTypeStatsListCall) Fields(s ...googleapi.Field) *ProjectsScanConfigsScanRunsFindingTypeStatsListCall + func (c *ProjectsScanConfigsScanRunsFindingTypeStatsListCall) Header() http.Header + func (c *ProjectsScanConfigsScanRunsFindingTypeStatsListCall) IfNoneMatch(entityTag string) *ProjectsScanConfigsScanRunsFindingTypeStatsListCall + type ProjectsScanConfigsScanRunsFindingTypeStatsService struct + func NewProjectsScanConfigsScanRunsFindingTypeStatsService(s *Service) *ProjectsScanConfigsScanRunsFindingTypeStatsService + func (r *ProjectsScanConfigsScanRunsFindingTypeStatsService) List(parent string) *ProjectsScanConfigsScanRunsFindingTypeStatsListCall + type ProjectsScanConfigsScanRunsFindingsGetCall struct + func (c *ProjectsScanConfigsScanRunsFindingsGetCall) Context(ctx context.Context) *ProjectsScanConfigsScanRunsFindingsGetCall + func (c *ProjectsScanConfigsScanRunsFindingsGetCall) Do(opts ...googleapi.CallOption) (*Finding, error) + func (c *ProjectsScanConfigsScanRunsFindingsGetCall) Fields(s ...googleapi.Field) *ProjectsScanConfigsScanRunsFindingsGetCall + func (c *ProjectsScanConfigsScanRunsFindingsGetCall) Header() http.Header + func (c *ProjectsScanConfigsScanRunsFindingsGetCall) IfNoneMatch(entityTag string) *ProjectsScanConfigsScanRunsFindingsGetCall + type ProjectsScanConfigsScanRunsFindingsListCall struct + func (c *ProjectsScanConfigsScanRunsFindingsListCall) Context(ctx context.Context) *ProjectsScanConfigsScanRunsFindingsListCall + func (c *ProjectsScanConfigsScanRunsFindingsListCall) Do(opts ...googleapi.CallOption) (*ListFindingsResponse, error) + func (c *ProjectsScanConfigsScanRunsFindingsListCall) Fields(s ...googleapi.Field) *ProjectsScanConfigsScanRunsFindingsListCall + func (c *ProjectsScanConfigsScanRunsFindingsListCall) Filter(filter string) *ProjectsScanConfigsScanRunsFindingsListCall + func (c *ProjectsScanConfigsScanRunsFindingsListCall) Header() http.Header + func (c *ProjectsScanConfigsScanRunsFindingsListCall) IfNoneMatch(entityTag string) *ProjectsScanConfigsScanRunsFindingsListCall + func (c *ProjectsScanConfigsScanRunsFindingsListCall) PageSize(pageSize int64) *ProjectsScanConfigsScanRunsFindingsListCall + func (c *ProjectsScanConfigsScanRunsFindingsListCall) PageToken(pageToken string) *ProjectsScanConfigsScanRunsFindingsListCall + func (c *ProjectsScanConfigsScanRunsFindingsListCall) Pages(ctx context.Context, f func(*ListFindingsResponse) error) error + type ProjectsScanConfigsScanRunsFindingsService struct + func NewProjectsScanConfigsScanRunsFindingsService(s *Service) *ProjectsScanConfigsScanRunsFindingsService + func (r *ProjectsScanConfigsScanRunsFindingsService) Get(name string) *ProjectsScanConfigsScanRunsFindingsGetCall + func (r *ProjectsScanConfigsScanRunsFindingsService) List(parent string) *ProjectsScanConfigsScanRunsFindingsListCall + type ProjectsScanConfigsScanRunsGetCall struct + func (c *ProjectsScanConfigsScanRunsGetCall) Context(ctx context.Context) *ProjectsScanConfigsScanRunsGetCall + func (c *ProjectsScanConfigsScanRunsGetCall) Do(opts ...googleapi.CallOption) (*ScanRun, error) + func (c *ProjectsScanConfigsScanRunsGetCall) Fields(s ...googleapi.Field) *ProjectsScanConfigsScanRunsGetCall + func (c *ProjectsScanConfigsScanRunsGetCall) Header() http.Header + func (c *ProjectsScanConfigsScanRunsGetCall) IfNoneMatch(entityTag string) *ProjectsScanConfigsScanRunsGetCall + type ProjectsScanConfigsScanRunsListCall struct + func (c *ProjectsScanConfigsScanRunsListCall) Context(ctx context.Context) *ProjectsScanConfigsScanRunsListCall + func (c *ProjectsScanConfigsScanRunsListCall) Do(opts ...googleapi.CallOption) (*ListScanRunsResponse, error) + func (c *ProjectsScanConfigsScanRunsListCall) Fields(s ...googleapi.Field) *ProjectsScanConfigsScanRunsListCall + func (c *ProjectsScanConfigsScanRunsListCall) Header() http.Header + func (c *ProjectsScanConfigsScanRunsListCall) IfNoneMatch(entityTag string) *ProjectsScanConfigsScanRunsListCall + func (c *ProjectsScanConfigsScanRunsListCall) PageSize(pageSize int64) *ProjectsScanConfigsScanRunsListCall + func (c *ProjectsScanConfigsScanRunsListCall) PageToken(pageToken string) *ProjectsScanConfigsScanRunsListCall + func (c *ProjectsScanConfigsScanRunsListCall) Pages(ctx context.Context, f func(*ListScanRunsResponse) error) error + type ProjectsScanConfigsScanRunsService struct + CrawledUrls *ProjectsScanConfigsScanRunsCrawledUrlsService + FindingTypeStats *ProjectsScanConfigsScanRunsFindingTypeStatsService + Findings *ProjectsScanConfigsScanRunsFindingsService + func NewProjectsScanConfigsScanRunsService(s *Service) *ProjectsScanConfigsScanRunsService + func (r *ProjectsScanConfigsScanRunsService) Get(name string) *ProjectsScanConfigsScanRunsGetCall + func (r *ProjectsScanConfigsScanRunsService) List(parent string) *ProjectsScanConfigsScanRunsListCall + func (r *ProjectsScanConfigsScanRunsService) Stop(name string, stopscanrunrequest *StopScanRunRequest) *ProjectsScanConfigsScanRunsStopCall + type ProjectsScanConfigsScanRunsStopCall struct + func (c *ProjectsScanConfigsScanRunsStopCall) Context(ctx context.Context) *ProjectsScanConfigsScanRunsStopCall + func (c *ProjectsScanConfigsScanRunsStopCall) Do(opts ...googleapi.CallOption) (*ScanRun, error) + func (c *ProjectsScanConfigsScanRunsStopCall) Fields(s ...googleapi.Field) *ProjectsScanConfigsScanRunsStopCall + func (c *ProjectsScanConfigsScanRunsStopCall) Header() http.Header + type ProjectsScanConfigsService struct + ScanRuns *ProjectsScanConfigsScanRunsService + func NewProjectsScanConfigsService(s *Service) *ProjectsScanConfigsService + func (r *ProjectsScanConfigsService) Create(parent string, scanconfig *ScanConfig) *ProjectsScanConfigsCreateCall + func (r *ProjectsScanConfigsService) Delete(name string) *ProjectsScanConfigsDeleteCall + func (r *ProjectsScanConfigsService) Get(name string) *ProjectsScanConfigsGetCall + func (r *ProjectsScanConfigsService) List(parent string) *ProjectsScanConfigsListCall + func (r *ProjectsScanConfigsService) Patch(name string, scanconfig *ScanConfig) *ProjectsScanConfigsPatchCall + func (r *ProjectsScanConfigsService) Start(name string, startscanrunrequest *StartScanRunRequest) *ProjectsScanConfigsStartCall + type ProjectsScanConfigsStartCall struct + func (c *ProjectsScanConfigsStartCall) Context(ctx context.Context) *ProjectsScanConfigsStartCall + func (c *ProjectsScanConfigsStartCall) Do(opts ...googleapi.CallOption) (*ScanRun, error) + func (c *ProjectsScanConfigsStartCall) Fields(s ...googleapi.Field) *ProjectsScanConfigsStartCall + func (c *ProjectsScanConfigsStartCall) Header() http.Header + type ProjectsService struct + ScanConfigs *ProjectsScanConfigsService + func NewProjectsService(s *Service) *ProjectsService + type ScanConfig struct + Authentication *Authentication + BlacklistPatterns []string + DisplayName string + ExportToSecurityCommandCenter string + ForceSendFields []string + ManagedScan bool + MaxQps int64 + Name string + NullFields []string + RiskLevel string + Schedule *Schedule + StartingUrls []string + StaticIpScan bool + UserAgent string + func (s *ScanConfig) MarshalJSON() ([]byte, error) + type ScanConfigError struct + Code string + FieldName string + ForceSendFields []string + NullFields []string + func (s *ScanConfigError) MarshalJSON() ([]byte, error) + type ScanRun struct + EndTime string + ErrorTrace *ScanRunErrorTrace + ExecutionState string + ForceSendFields []string + HasVulnerabilities bool + Name string + NullFields []string + ProgressPercent int64 + ResultState string + StartTime string + UrlsCrawledCount int64 + UrlsTestedCount int64 + WarningTraces []*ScanRunWarningTrace + func (s *ScanRun) MarshalJSON() ([]byte, error) + type ScanRunErrorTrace struct + Code string + ForceSendFields []string + MostCommonHttpErrorCode int64 + NullFields []string + ScanConfigError *ScanConfigError + func (s *ScanRunErrorTrace) MarshalJSON() ([]byte, error) + type ScanRunWarningTrace struct + Code string + ForceSendFields []string + NullFields []string + func (s *ScanRunWarningTrace) MarshalJSON() ([]byte, error) + type Schedule struct + ForceSendFields []string + IntervalDurationDays int64 + NullFields []string + ScheduleTime string + func (s *Schedule) MarshalJSON() ([]byte, error) + type Service struct + BasePath string + Projects *ProjectsService + UserAgent string + func New(client *http.Client) (*Service, error) + func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, error) + type StartScanRunRequest struct + type StopScanRunRequest struct + type ViolatingResource struct + ContentType string + ForceSendFields []string + NullFields []string + ResourceUrl string + func (s *ViolatingResource) MarshalJSON() ([]byte, error) + type VulnerableHeaders struct + ForceSendFields []string + Headers []*Header + MissingHeaders []*Header + NullFields []string + func (s *VulnerableHeaders) MarshalJSON() ([]byte, error) + type VulnerableParameters struct + ForceSendFields []string + NullFields []string + ParameterNames []string + func (s *VulnerableParameters) MarshalJSON() ([]byte, error) + type Xss struct + AttackVector string + ErrorMessage string + ForceSendFields []string + NullFields []string + StackTraces []string + StoredXssSeedingUrl string + func (s *Xss) MarshalJSON() ([]byte, error)