Copyright | (c) 2015-2016 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
- Service Configuration
- OAuth Scopes
- API Declaration
- Resources
- websecurityscanner.projects.scanConfigs.create
- websecurityscanner.projects.scanConfigs.delete
- websecurityscanner.projects.scanConfigs.get
- websecurityscanner.projects.scanConfigs.list
- websecurityscanner.projects.scanConfigs.patch
- websecurityscanner.projects.scanConfigs.scanRuns.crawledUrls.list
- websecurityscanner.projects.scanConfigs.scanRuns.findingTypeStats.list
- websecurityscanner.projects.scanConfigs.scanRuns.findings.get
- websecurityscanner.projects.scanConfigs.scanRuns.findings.list
- websecurityscanner.projects.scanConfigs.scanRuns.get
- websecurityscanner.projects.scanConfigs.scanRuns.list
- websecurityscanner.projects.scanConfigs.scanRuns.stop
- websecurityscanner.projects.scanConfigs.start
- Types
- FindingTypeStats
- ListFindingsResponse
- StopScanRunRequest
- ScanRunErrorTraceCode
- ScanConfigError
- Schedule
- Finding
- Empty
- ScanRunWarningTrace
- ListFindingTypeStatsResponse
- GoogleAccount
- Xss
- Authentication
- ListCrawledURLsResponse
- VulnerableParameters
- CrawledURL
- OutdatedLibrary
- ListScanRunsResponse
- Header
- ScanRunErrorTrace
- ListScanConfigsResponse
- StartScanRunRequest
- Xgafv
- CustomAccount
- ScanConfigUserAgent
- ScanConfig
- ScanRunWarningTraceCode
- ScanConfigExportToSecurityCommandCenter
- ScanConfigErrorCode
- ScanRunResultState
- VulnerableHeaders
- ViolatingResource
- ScanRunExecutionState
- Form
- ScanRun
Scans your Compute and App Engine apps for common web vulnerabilities.
Synopsis
- webSecurityScannerService :: ServiceConfig
- cloudPlatformScope :: Proxy '["https://www.googleapis.com/auth/cloud-platform"]
- type WebSecurityScannerAPI = ProjectsScanConfigsScanRunsFindingTypeStatsListResource :<|> (ProjectsScanConfigsScanRunsCrawledURLsListResource :<|> (ProjectsScanConfigsScanRunsFindingsListResource :<|> (ProjectsScanConfigsScanRunsFindingsGetResource :<|> (ProjectsScanConfigsScanRunsListResource :<|> (ProjectsScanConfigsScanRunsGetResource :<|> (ProjectsScanConfigsScanRunsStopResource :<|> (ProjectsScanConfigsListResource :<|> (ProjectsScanConfigsStartResource :<|> (ProjectsScanConfigsPatchResource :<|> (ProjectsScanConfigsGetResource :<|> (ProjectsScanConfigsCreateResource :<|> ProjectsScanConfigsDeleteResource)))))))))))
- module Network.Google.Resource.WebSecurityScanner.Projects.ScanConfigs.Create
- module Network.Google.Resource.WebSecurityScanner.Projects.ScanConfigs.Delete
- module Network.Google.Resource.WebSecurityScanner.Projects.ScanConfigs.Get
- module Network.Google.Resource.WebSecurityScanner.Projects.ScanConfigs.List
- module Network.Google.Resource.WebSecurityScanner.Projects.ScanConfigs.Patch
- module Network.Google.Resource.WebSecurityScanner.Projects.ScanConfigs.ScanRuns.CrawledURLs.List
- module Network.Google.Resource.WebSecurityScanner.Projects.ScanConfigs.ScanRuns.FindingTypeStats.List
- module Network.Google.Resource.WebSecurityScanner.Projects.ScanConfigs.ScanRuns.Findings.Get
- module Network.Google.Resource.WebSecurityScanner.Projects.ScanConfigs.ScanRuns.Findings.List
- module Network.Google.Resource.WebSecurityScanner.Projects.ScanConfigs.ScanRuns.Get
- module Network.Google.Resource.WebSecurityScanner.Projects.ScanConfigs.ScanRuns.List
- module Network.Google.Resource.WebSecurityScanner.Projects.ScanConfigs.ScanRuns.Stop
- module Network.Google.Resource.WebSecurityScanner.Projects.ScanConfigs.Start
- data FindingTypeStats
- findingTypeStats :: FindingTypeStats
- ftsFindingCount :: Lens' FindingTypeStats (Maybe Int32)
- ftsFindingType :: Lens' FindingTypeStats (Maybe Text)
- data ListFindingsResponse
- listFindingsResponse :: ListFindingsResponse
- lfrNextPageToken :: Lens' ListFindingsResponse (Maybe Text)
- lfrFindings :: Lens' ListFindingsResponse [Finding]
- data StopScanRunRequest
- stopScanRunRequest :: StopScanRunRequest
- data ScanRunErrorTraceCode
- data ScanConfigError
- scanConfigError :: ScanConfigError
- sceFieldName :: Lens' ScanConfigError (Maybe Text)
- sceCode :: Lens' ScanConfigError (Maybe ScanConfigErrorCode)
- data Schedule
- schedule :: Schedule
- sScheduleTime :: Lens' Schedule (Maybe UTCTime)
- sIntervalDurationDays :: Lens' Schedule (Maybe Int32)
- data Finding
- finding :: Finding
- fFinalURL :: Lens' Finding (Maybe Text)
- fHTTPMethod :: Lens' Finding (Maybe Text)
- fReProductionURL :: Lens' Finding (Maybe Text)
- fTrackingId :: Lens' Finding (Maybe Text)
- fBody :: Lens' Finding (Maybe Text)
- fXss :: Lens' Finding (Maybe Xss)
- fVulnerableParameters :: Lens' Finding (Maybe VulnerableParameters)
- fOutdatedLibrary :: Lens' Finding (Maybe OutdatedLibrary)
- fFuzzedURL :: Lens' Finding (Maybe Text)
- fName :: Lens' Finding (Maybe Text)
- fFindingType :: Lens' Finding (Maybe Text)
- fVulnerableHeaders :: Lens' Finding (Maybe VulnerableHeaders)
- fViolatingResource :: Lens' Finding (Maybe ViolatingResource)
- fForm :: Lens' Finding (Maybe Form)
- fFrameURL :: Lens' Finding (Maybe Text)
- fDescription :: Lens' Finding (Maybe Text)
- data Empty
- empty :: Empty
- data ScanRunWarningTrace
- scanRunWarningTrace :: ScanRunWarningTrace
- srwtCode :: Lens' ScanRunWarningTrace (Maybe ScanRunWarningTraceCode)
- data ListFindingTypeStatsResponse
- listFindingTypeStatsResponse :: ListFindingTypeStatsResponse
- lftsrFindingTypeStats :: Lens' ListFindingTypeStatsResponse [FindingTypeStats]
- data GoogleAccount
- googleAccount :: GoogleAccount
- gaUsername :: Lens' GoogleAccount (Maybe Text)
- gaPassword :: Lens' GoogleAccount (Maybe Text)
- data Xss
- xss :: Xss
- xStackTraces :: Lens' Xss [Text]
- xErrorMessage :: Lens' Xss (Maybe Text)
- data Authentication
- authentication :: Authentication
- aGoogleAccount :: Lens' Authentication (Maybe GoogleAccount)
- aCustomAccount :: Lens' Authentication (Maybe CustomAccount)
- data ListCrawledURLsResponse
- listCrawledURLsResponse :: ListCrawledURLsResponse
- lcurNextPageToken :: Lens' ListCrawledURLsResponse (Maybe Text)
- lcurCrawledURLs :: Lens' ListCrawledURLsResponse [CrawledURL]
- data VulnerableParameters
- vulnerableParameters :: VulnerableParameters
- vpParameterNames :: Lens' VulnerableParameters [Text]
- data CrawledURL
- crawledURL :: CrawledURL
- cuHTTPMethod :: Lens' CrawledURL (Maybe Text)
- cuBody :: Lens' CrawledURL (Maybe Text)
- cuURL :: Lens' CrawledURL (Maybe Text)
- data OutdatedLibrary
- outdatedLibrary :: OutdatedLibrary
- olLearnMoreURLs :: Lens' OutdatedLibrary [Text]
- olVersion :: Lens' OutdatedLibrary (Maybe Text)
- olLibraryName :: Lens' OutdatedLibrary (Maybe Text)
- data ListScanRunsResponse
- listScanRunsResponse :: ListScanRunsResponse
- lsrrNextPageToken :: Lens' ListScanRunsResponse (Maybe Text)
- lsrrScanRuns :: Lens' ListScanRunsResponse [ScanRun]
- data Header
- header :: Header
- hValue :: Lens' Header (Maybe Text)
- hName :: Lens' Header (Maybe Text)
- data ScanRunErrorTrace
- scanRunErrorTrace :: ScanRunErrorTrace
- sretMostCommonHTTPErrorCode :: Lens' ScanRunErrorTrace (Maybe Int32)
- sretScanConfigError :: Lens' ScanRunErrorTrace (Maybe ScanConfigError)
- sretCode :: Lens' ScanRunErrorTrace (Maybe ScanRunErrorTraceCode)
- data ListScanConfigsResponse
- listScanConfigsResponse :: ListScanConfigsResponse
- lscrNextPageToken :: Lens' ListScanConfigsResponse (Maybe Text)
- lscrScanConfigs :: Lens' ListScanConfigsResponse [ScanConfig]
- data StartScanRunRequest
- startScanRunRequest :: StartScanRunRequest
- data Xgafv
- data CustomAccount
- customAccount :: CustomAccount
- caLoginURL :: Lens' CustomAccount (Maybe Text)
- caUsername :: Lens' CustomAccount (Maybe Text)
- caPassword :: Lens' CustomAccount (Maybe Text)
- data ScanConfigUserAgent
- data ScanConfig
- scanConfig :: ScanConfig
- scLatestRun :: Lens' ScanConfig (Maybe ScanRun)
- scSchedule :: Lens' ScanConfig (Maybe Schedule)
- scTargetPlatforms :: Lens' ScanConfig [Text]
- scStartingURLs :: Lens' ScanConfig [Text]
- scAuthentication :: Lens' ScanConfig (Maybe Authentication)
- scMaxQps :: Lens' ScanConfig (Maybe Int32)
- scName :: Lens' ScanConfig (Maybe Text)
- scExportToSecurityCommandCenter :: Lens' ScanConfig (Maybe ScanConfigExportToSecurityCommandCenter)
- scDisplayName :: Lens' ScanConfig (Maybe Text)
- scUserAgent :: Lens' ScanConfig (Maybe ScanConfigUserAgent)
- scBlackListPatterns :: Lens' ScanConfig [Text]
- data ScanRunWarningTraceCode
- data ScanConfigExportToSecurityCommandCenter
- data ScanConfigErrorCode
- = SCECCodeUnspecified
- | SCECOK
- | SCECInternalError
- | SCECAppEngineAPIBackendError
- | SCECAppEngineAPINotAccessible
- | SCECAppEngineDefaultHostMissing
- | SCECAppEngineSeedURLNotAllowed
- | SCECCannotUseGoogleComAccount
- | SCECCannotUseOwnerAccount
- | SCECComputeAPIBackendError
- | SCECComputeAPINotAccessible
- | SCECCustomLoginURLDoesNotBelongToCurrentProject
- | SCECCustomLoginURLMalformed
- | SCECCustomLoginURLMAppedToNonRoutableAddress
- | SCECCustomLoginURLMAppedToUnreservedAddress
- | SCECCustomLoginURLHasNonRoutableIPAddress
- | SCECCustomLoginURLHasUnreservedIPAddress
- | SCECDuplicateScanName
- | SCECInvalidFieldValue
- | SCECFailedToAuthenticateToTarget
- | SCECFindingTypeUnspecified
- | SCECForBiddenToScanCompute
- | SCECMalformedFilter
- | SCECMalformedResourceName
- | SCECProjectInactive
- | SCECRequiredField
- | SCECResourceNameInconsistent
- | SCECScanAlreadyRunning
- | SCECScanNotRunning
- | SCECSeedURLDoesNotBelongToCurrentProject
- | SCECSeedURLMalformed
- | SCECSeedURLMAppedToNonRoutableAddress
- | SCECSeedURLMAppedToUnreservedAddress
- | SCECSeedURLHasNonRoutableIPAddress
- | SCECSeedURLIPAddressNotSupportedForAppEngine
- | SCECSeedURLHasUnreservedIPAddress
- | SCECServiceAccountNotConfigured
- | SCECTooManyScans
- | SCECUnableToResolveProjectInfo
- | SCECUnsupportedBlackListPatternFormat
- | SCECUnsupportedFilter
- | SCECUnsupportedFindingType
- | SCECUnsupportedURLScheme
- data ScanRunResultState
- data VulnerableHeaders
- vulnerableHeaders :: VulnerableHeaders
- vhMissingHeaders :: Lens' VulnerableHeaders [Header]
- vhHeaders :: Lens' VulnerableHeaders [Header]
- data ViolatingResource
- violatingResource :: ViolatingResource
- vrContentType :: Lens' ViolatingResource (Maybe Text)
- vrResourceURL :: Lens' ViolatingResource (Maybe Text)
- data ScanRunExecutionState
- data Form
- form :: Form
- fActionURI :: Lens' Form (Maybe Text)
- fFields :: Lens' Form [Text]
- data ScanRun
- scanRun :: ScanRun
- srStartTime :: Lens' ScanRun (Maybe UTCTime)
- srHasVulnerabilities :: Lens' ScanRun (Maybe Bool)
- srWarningTraces :: Lens' ScanRun [ScanRunWarningTrace]
- srResultState :: Lens' ScanRun (Maybe ScanRunResultState)
- srProgressPercent :: Lens' ScanRun (Maybe Int32)
- srURLsCrawledCount :: Lens' ScanRun (Maybe Int64)
- srURLsTestedCount :: Lens' ScanRun (Maybe Int64)
- srName :: Lens' ScanRun (Maybe Text)
- srEndTime :: Lens' ScanRun (Maybe UTCTime)
- srExecutionState :: Lens' ScanRun (Maybe ScanRunExecutionState)
- srErrorTrace :: Lens' ScanRun (Maybe ScanRunErrorTrace)
Service Configuration
webSecurityScannerService :: ServiceConfig Source #
Default request referring to version v1beta
of the Web Security Scanner API. This contains the host and root path used as a starting point for constructing service requests.
OAuth Scopes
cloudPlatformScope :: Proxy '["https://www.googleapis.com/auth/cloud-platform"] Source #
View and manage your data across Google Cloud Platform services
API Declaration
type WebSecurityScannerAPI = ProjectsScanConfigsScanRunsFindingTypeStatsListResource :<|> (ProjectsScanConfigsScanRunsCrawledURLsListResource :<|> (ProjectsScanConfigsScanRunsFindingsListResource :<|> (ProjectsScanConfigsScanRunsFindingsGetResource :<|> (ProjectsScanConfigsScanRunsListResource :<|> (ProjectsScanConfigsScanRunsGetResource :<|> (ProjectsScanConfigsScanRunsStopResource :<|> (ProjectsScanConfigsListResource :<|> (ProjectsScanConfigsStartResource :<|> (ProjectsScanConfigsPatchResource :<|> (ProjectsScanConfigsGetResource :<|> (ProjectsScanConfigsCreateResource :<|> ProjectsScanConfigsDeleteResource))))))))))) Source #
Represents the entirety of the methods and resources available for the Web Security Scanner API service.
Resources
websecurityscanner.projects.scanConfigs.create
websecurityscanner.projects.scanConfigs.delete
websecurityscanner.projects.scanConfigs.get
websecurityscanner.projects.scanConfigs.list
websecurityscanner.projects.scanConfigs.patch
websecurityscanner.projects.scanConfigs.scanRuns.crawledUrls.list
websecurityscanner.projects.scanConfigs.scanRuns.findingTypeStats.list
module Network.Google.Resource.WebSecurityScanner.Projects.ScanConfigs.ScanRuns.FindingTypeStats.List
websecurityscanner.projects.scanConfigs.scanRuns.findings.get
websecurityscanner.projects.scanConfigs.scanRuns.findings.list
websecurityscanner.projects.scanConfigs.scanRuns.get
websecurityscanner.projects.scanConfigs.scanRuns.list
websecurityscanner.projects.scanConfigs.scanRuns.stop
websecurityscanner.projects.scanConfigs.start
Types
FindingTypeStats
data FindingTypeStats Source #
A FindingTypeStats resource represents stats regarding a specific FindingType of Findings under a given ScanRun.
See: findingTypeStats
smart constructor.
Instances
findingTypeStats :: FindingTypeStats Source #
Creates a value of FindingTypeStats
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
ftsFindingCount :: Lens' FindingTypeStats (Maybe Int32) Source #
Output only. The count of findings belonging to this finding type.
ftsFindingType :: Lens' FindingTypeStats (Maybe Text) Source #
Output only. The finding type associated with the stats.
ListFindingsResponse
data ListFindingsResponse Source #
Response for the `ListFindings` method.
See: listFindingsResponse
smart constructor.
Instances
listFindingsResponse :: ListFindingsResponse Source #
Creates a value of ListFindingsResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
lfrNextPageToken :: Lens' ListFindingsResponse (Maybe Text) Source #
Token to retrieve the next page of results, or empty if there are no more results in the list.
lfrFindings :: Lens' ListFindingsResponse [Finding] Source #
The list of Findings returned.
StopScanRunRequest
data StopScanRunRequest Source #
Request for the `StopScanRun` method.
See: stopScanRunRequest
smart constructor.
Instances
stopScanRunRequest :: StopScanRunRequest Source #
Creates a value of StopScanRunRequest
with the minimum fields required to make a request.
ScanRunErrorTraceCode
data ScanRunErrorTraceCode Source #
Output only. Indicates the error reason code.
CodeUnspecified |
|
InternalError |
|
ScanConfigIssue |
|
AuthenticationConfigIssue |
|
TimedOutWhileScanning |
|
TooManyRedirects |
|
TooManyHTTPErrors |
|
Instances
ScanConfigError
data ScanConfigError Source #
Defines a custom error message used by CreateScanConfig and UpdateScanConfig APIs when scan configuration validation fails. It is also reported as part of a ScanRunErrorTrace message if scan validation fails due to a scan configuration error.
See: scanConfigError
smart constructor.
Instances
scanConfigError :: ScanConfigError Source #
Creates a value of ScanConfigError
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
sceFieldName :: Lens' ScanConfigError (Maybe Text) Source #
Output only. Indicates the full name of the ScanConfig field that triggers this error, for example "scan_config.max_qps". This field is provided for troubleshooting purposes only and its actual value can change in the future.
sceCode :: Lens' ScanConfigError (Maybe ScanConfigErrorCode) Source #
Output only. Indicates the reason code for a configuration failure.
Schedule
Scan schedule configuration.
See: schedule
smart constructor.
Instances
Eq Schedule Source # | |
Data Schedule Source # | |
Defined in Network.Google.WebSecurityScanner.Types.Product gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Schedule -> c Schedule # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Schedule # toConstr :: Schedule -> Constr # dataTypeOf :: Schedule -> DataType # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c Schedule) # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Schedule) # gmapT :: (forall b. Data b => b -> b) -> Schedule -> Schedule # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Schedule -> r # gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Schedule -> r # gmapQ :: (forall d. Data d => d -> u) -> Schedule -> [u] # gmapQi :: Int -> (forall d. Data d => d -> u) -> Schedule -> u # gmapM :: Monad m => (forall d. Data d => d -> m d) -> Schedule -> m Schedule # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Schedule -> m Schedule # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Schedule -> m Schedule # | |
Show Schedule Source # | |
Generic Schedule Source # | |
ToJSON Schedule Source # | |
FromJSON Schedule Source # | |
type Rep Schedule Source # | |
Defined in Network.Google.WebSecurityScanner.Types.Product type Rep Schedule = D1 (MetaData "Schedule" "Network.Google.WebSecurityScanner.Types.Product" "gogol-websecurityscanner-0.5.0-e0ydSHOVAJ6GE1G5P38Yh" False) (C1 (MetaCons "Schedule'" PrefixI True) (S1 (MetaSel (Just "_sScheduleTime") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe DateTime')) :*: S1 (MetaSel (Just "_sIntervalDurationDays") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Int32))))) |
Creates a value of Schedule
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
sScheduleTime :: Lens' Schedule (Maybe UTCTime) Source #
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.
sIntervalDurationDays :: Lens' Schedule (Maybe Int32) Source #
Required. The duration of time between executions in days.
Finding
A Finding resource represents a vulnerability instance identified during a ScanRun.
See: finding
smart constructor.
Instances
Creates a value of Finding
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
fFinalURL :: Lens' Finding (Maybe Text) Source #
Output only. The URL where the browser lands when the vulnerability is detected.
fHTTPMethod :: Lens' Finding (Maybe Text) Source #
Output only. The http method of the request that triggered the vulnerability, in uppercase.
fReProductionURL :: Lens' Finding (Maybe Text) Source #
Output only. The URL containing human-readable payload that user can leverage to reproduce the vulnerability.
fTrackingId :: Lens' Finding (Maybe Text) Source #
Output only. The tracking ID uniquely identifies a vulnerability instance across multiple ScanRuns.
fBody :: Lens' Finding (Maybe Text) Source #
Output only. The body of the request that triggered the vulnerability.
fXss :: Lens' Finding (Maybe Xss) Source #
Output only. An addon containing information reported for an XSS, if any.
fVulnerableParameters :: Lens' Finding (Maybe VulnerableParameters) Source #
Output only. An addon containing information about request parameters which were found to be vulnerable.
fOutdatedLibrary :: Lens' Finding (Maybe OutdatedLibrary) Source #
Output only. An addon containing information about outdated libraries.
fFuzzedURL :: Lens' Finding (Maybe Text) Source #
Output only. The URL produced by the server-side fuzzer and used in the request that triggered the vulnerability.
fName :: Lens' Finding (Maybe Text) Source #
Output only. The resource name of the Finding. The name follows the format of 'projects/{projectId}/scanConfigs/{scanConfigId}/scanruns/{scanRunId}/findings/{findingId}'. The finding IDs are generated by the system.
fFindingType :: Lens' Finding (Maybe Text) Source #
Output only. The type of the Finding. Detailed and up-to-date information on findings can be found here: https://cloud.google.com/security-scanner/docs/scan-result-details
fVulnerableHeaders :: Lens' Finding (Maybe VulnerableHeaders) Source #
Output only. An addon containing information about vulnerable or missing HTTP headers.
fViolatingResource :: Lens' Finding (Maybe ViolatingResource) Source #
Output only. An addon containing detailed information regarding any resource causing the vulnerability such as JavaScript sources, image, audio files, etc.
fForm :: Lens' Finding (Maybe Form) Source #
Output only. An addon containing information reported for a vulnerability with an HTML form, if any.
fFrameURL :: Lens' Finding (Maybe Text) Source #
Output only. If the vulnerability was originated from nested IFrame, the immediate parent IFrame is reported.
fDescription :: Lens' Finding (Maybe Text) Source #
Output only. The description of the vulnerability.
Empty
A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); } The JSON representation for `Empty` is empty JSON object `{}`.
See: empty
smart constructor.
Instances
Eq Empty Source # | |
Data Empty Source # | |
Defined in Network.Google.WebSecurityScanner.Types.Product gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Empty -> c Empty # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Empty # dataTypeOf :: Empty -> DataType # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c Empty) # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Empty) # gmapT :: (forall b. Data b => b -> b) -> Empty -> Empty # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Empty -> r # gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Empty -> r # gmapQ :: (forall d. Data d => d -> u) -> Empty -> [u] # gmapQi :: Int -> (forall d. Data d => d -> u) -> Empty -> u # gmapM :: Monad m => (forall d. Data d => d -> m d) -> Empty -> m Empty # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Empty -> m Empty # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Empty -> m Empty # | |
Show Empty Source # | |
Generic Empty Source # | |
ToJSON Empty Source # | |
FromJSON Empty Source # | |
type Rep Empty Source # | |
ScanRunWarningTrace
data ScanRunWarningTrace Source #
Output only. Defines a warning trace message for ScanRun. Warning traces provide customers with useful information that helps make the scanning process more effective.
See: scanRunWarningTrace
smart constructor.
Instances
scanRunWarningTrace :: ScanRunWarningTrace Source #
Creates a value of ScanRunWarningTrace
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
srwtCode :: Lens' ScanRunWarningTrace (Maybe ScanRunWarningTraceCode) Source #
Output only. Indicates the warning code.
ListFindingTypeStatsResponse
data ListFindingTypeStatsResponse Source #
Response for the `ListFindingTypeStats` method.
See: listFindingTypeStatsResponse
smart constructor.
Instances
listFindingTypeStatsResponse :: ListFindingTypeStatsResponse Source #
Creates a value of ListFindingTypeStatsResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
lftsrFindingTypeStats :: Lens' ListFindingTypeStatsResponse [FindingTypeStats] Source #
The list of FindingTypeStats returned.
GoogleAccount
data GoogleAccount Source #
Describes authentication configuration that uses a Google account.
See: googleAccount
smart constructor.
Instances
googleAccount :: GoogleAccount Source #
Creates a value of GoogleAccount
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
gaUsername :: Lens' GoogleAccount (Maybe Text) Source #
Required. The user name of the Google account.
gaPassword :: Lens' GoogleAccount (Maybe Text) Source #
Input only. Required. The password of the Google account. The credential is stored encrypted and not returned in any response nor included in audit logs.
Xss
Information reported for an XSS.
See: xss
smart constructor.
Instances
Eq Xss Source # | |
Data Xss Source # | |
Defined in Network.Google.WebSecurityScanner.Types.Product gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Xss -> c Xss # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Xss # dataTypeOf :: Xss -> DataType # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c Xss) # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Xss) # gmapT :: (forall b. Data b => b -> b) -> Xss -> Xss # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Xss -> r # gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Xss -> r # gmapQ :: (forall d. Data d => d -> u) -> Xss -> [u] # gmapQi :: Int -> (forall d. Data d => d -> u) -> Xss -> u # gmapM :: Monad m => (forall d. Data d => d -> m d) -> Xss -> m Xss # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Xss -> m Xss # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Xss -> m Xss # | |
Show Xss Source # | |
Generic Xss Source # | |
ToJSON Xss Source # | |
FromJSON Xss Source # | |
type Rep Xss Source # | |
Defined in Network.Google.WebSecurityScanner.Types.Product type Rep Xss = D1 (MetaData "Xss" "Network.Google.WebSecurityScanner.Types.Product" "gogol-websecurityscanner-0.5.0-e0ydSHOVAJ6GE1G5P38Yh" False) (C1 (MetaCons "Xss'" PrefixI True) (S1 (MetaSel (Just "_xStackTraces") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Text])) :*: S1 (MetaSel (Just "_xErrorMessage") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) |
Creates a value of Xss
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
xErrorMessage :: Lens' Xss (Maybe Text) Source #
An error message generated by a javascript breakage.
Authentication
data Authentication Source #
Scan authentication configuration.
See: authentication
smart constructor.
Instances
authentication :: Authentication Source #
Creates a value of Authentication
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
aGoogleAccount :: Lens' Authentication (Maybe GoogleAccount) Source #
Authentication using a Google account.
aCustomAccount :: Lens' Authentication (Maybe CustomAccount) Source #
Authentication using a custom account.
ListCrawledURLsResponse
data ListCrawledURLsResponse Source #
Response for the `ListCrawledUrls` method.
See: listCrawledURLsResponse
smart constructor.
Instances
listCrawledURLsResponse :: ListCrawledURLsResponse Source #
Creates a value of ListCrawledURLsResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
lcurNextPageToken :: Lens' ListCrawledURLsResponse (Maybe Text) Source #
Token to retrieve the next page of results, or empty if there are no more results in the list.
lcurCrawledURLs :: Lens' ListCrawledURLsResponse [CrawledURL] Source #
The list of CrawledUrls returned.
VulnerableParameters
data VulnerableParameters Source #
Information about vulnerable request parameters.
See: vulnerableParameters
smart constructor.
Instances
vulnerableParameters :: VulnerableParameters Source #
Creates a value of VulnerableParameters
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
vpParameterNames :: Lens' VulnerableParameters [Text] Source #
The vulnerable parameter names.
CrawledURL
data CrawledURL Source #
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.
See: crawledURL
smart constructor.
Instances
crawledURL :: CrawledURL Source #
Creates a value of CrawledURL
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
cuHTTPMethod :: Lens' CrawledURL (Maybe Text) Source #
Output only. The http method of the request that was used to visit the URL, in uppercase.
cuBody :: Lens' CrawledURL (Maybe Text) Source #
Output only. The body of the request that was used to visit the URL.
OutdatedLibrary
data OutdatedLibrary Source #
Information reported for an outdated library.
See: outdatedLibrary
smart constructor.
Instances
outdatedLibrary :: OutdatedLibrary Source #
Creates a value of OutdatedLibrary
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
olLearnMoreURLs :: Lens' OutdatedLibrary [Text] Source #
URLs to learn more information about the vulnerabilities in the library.
olLibraryName :: Lens' OutdatedLibrary (Maybe Text) Source #
The name of the outdated library.
ListScanRunsResponse
data ListScanRunsResponse Source #
Response for the `ListScanRuns` method.
See: listScanRunsResponse
smart constructor.
Instances
listScanRunsResponse :: ListScanRunsResponse Source #
Creates a value of ListScanRunsResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
lsrrNextPageToken :: Lens' ListScanRunsResponse (Maybe Text) Source #
Token to retrieve the next page of results, or empty if there are no more results in the list.
lsrrScanRuns :: Lens' ListScanRunsResponse [ScanRun] Source #
The list of ScanRuns returned.
Header
Describes a HTTP Header.
See: header
smart constructor.
Instances
Eq Header Source # | |
Data Header Source # | |
Defined in Network.Google.WebSecurityScanner.Types.Product gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Header -> c Header # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Header # toConstr :: Header -> Constr # dataTypeOf :: Header -> DataType # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c Header) # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Header) # gmapT :: (forall b. Data b => b -> b) -> Header -> Header # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Header -> r # gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Header -> r # gmapQ :: (forall d. Data d => d -> u) -> Header -> [u] # gmapQi :: Int -> (forall d. Data d => d -> u) -> Header -> u # gmapM :: Monad m => (forall d. Data d => d -> m d) -> Header -> m Header # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Header -> m Header # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Header -> m Header # | |
Show Header Source # | |
Generic Header Source # | |
ToJSON Header Source # | |
FromJSON Header Source # | |
type Rep Header Source # | |
Defined in Network.Google.WebSecurityScanner.Types.Product type Rep Header = D1 (MetaData "Header" "Network.Google.WebSecurityScanner.Types.Product" "gogol-websecurityscanner-0.5.0-e0ydSHOVAJ6GE1G5P38Yh" False) (C1 (MetaCons "Header'" PrefixI True) (S1 (MetaSel (Just "_hValue") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_hName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) |
ScanRunErrorTrace
data ScanRunErrorTrace Source #
Output only. Defines an error trace message for a ScanRun.
See: scanRunErrorTrace
smart constructor.
Instances
scanRunErrorTrace :: ScanRunErrorTrace Source #
Creates a value of ScanRunErrorTrace
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
sretMostCommonHTTPErrorCode :: Lens' ScanRunErrorTrace (Maybe Int32) Source #
Output only. If the scan encounters TOO_MANY_HTTP_ERRORS, this field indicates the most common HTTP error code, if such is available. For example, if this code is 404, the scan has encountered too many NOT_FOUND responses.
sretScanConfigError :: Lens' ScanRunErrorTrace (Maybe ScanConfigError) Source #
Output only. If the scan encounters SCAN_CONFIG_ISSUE error, this field has the error message encountered during scan configuration validation that is performed before each scan run.
sretCode :: Lens' ScanRunErrorTrace (Maybe ScanRunErrorTraceCode) Source #
Output only. Indicates the error reason code.
ListScanConfigsResponse
data ListScanConfigsResponse Source #
Response for the `ListScanConfigs` method.
See: listScanConfigsResponse
smart constructor.
Instances
listScanConfigsResponse :: ListScanConfigsResponse Source #
Creates a value of ListScanConfigsResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
lscrNextPageToken :: Lens' ListScanConfigsResponse (Maybe Text) Source #
Token to retrieve the next page of results, or empty if there are no more results in the list.
lscrScanConfigs :: Lens' ListScanConfigsResponse [ScanConfig] Source #
The list of ScanConfigs returned.
StartScanRunRequest
data StartScanRunRequest Source #
Request for the `StartScanRun` method.
See: startScanRunRequest
smart constructor.
Instances
startScanRunRequest :: StartScanRunRequest Source #
Creates a value of StartScanRunRequest
with the minimum fields required to make a request.
Xgafv
V1 error format.
Instances
CustomAccount
data CustomAccount Source #
Describes authentication configuration that uses a custom account.
See: customAccount
smart constructor.
Instances
customAccount :: CustomAccount Source #
Creates a value of CustomAccount
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
caLoginURL :: Lens' CustomAccount (Maybe Text) Source #
Required. The login form URL of the website.
caUsername :: Lens' CustomAccount (Maybe Text) Source #
Required. The user name of the custom account.
caPassword :: Lens' CustomAccount (Maybe Text) Source #
Input only. Required. The password of the custom account. The credential is stored encrypted and not returned in any response nor included in audit logs.
ScanConfigUserAgent
data ScanConfigUserAgent Source #
The user agent used during scanning.
UserAgentUnspecified |
|
ChromeLinux |
|
ChromeAndroid |
|
SafariIPhone |
|
Instances
ScanConfig
data ScanConfig Source #
A ScanConfig resource contains the configurations to launch a scan. next id: 12
See: scanConfig
smart constructor.
Instances
scanConfig :: ScanConfig Source #
Creates a value of ScanConfig
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
scLatestRun :: Lens' ScanConfig (Maybe ScanRun) Source #
Latest ScanRun if available.
scSchedule :: Lens' ScanConfig (Maybe Schedule) Source #
The schedule of the ScanConfig.
scTargetPlatforms :: Lens' ScanConfig [Text] Source #
Set of Cloud Platforms targeted by the scan. If empty, APP_ENGINE will be used as a default.
scStartingURLs :: Lens' ScanConfig [Text] Source #
Required. The starting URLs from which the scanner finds site pages.
scAuthentication :: Lens' ScanConfig (Maybe Authentication) Source #
The authentication configuration. If specified, service will use the authentication configuration during scanning.
scMaxQps :: Lens' ScanConfig (Maybe Int32) Source #
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.
scName :: Lens' ScanConfig (Maybe Text) Source #
The resource name of the ScanConfig. The name follows the format of 'projects/{projectId}/scanConfigs/{scanConfigId}'. The ScanConfig IDs are generated by the system.
scExportToSecurityCommandCenter :: Lens' ScanConfig (Maybe ScanConfigExportToSecurityCommandCenter) Source #
Controls export of scan configurations and results to Cloud Security Command Center.
scDisplayName :: Lens' ScanConfig (Maybe Text) Source #
Required. The user provided display name of the ScanConfig.
scUserAgent :: Lens' ScanConfig (Maybe ScanConfigUserAgent) Source #
The user agent used during scanning.
scBlackListPatterns :: Lens' ScanConfig [Text] Source #
The blacklist URL patterns as described in https://cloud.google.com/security-scanner/docs/excluded-urls
ScanRunWarningTraceCode
data ScanRunWarningTraceCode Source #
Output only. Indicates the warning code.
SRWTCCodeUnspecified |
|
SRWTCInsufficientCrawlResults |
|
SRWTCTooManyCrawlResults |
|
SRWTCTooManyFuzzTasks |
|
SRWTCBlockedByIap |
|
Instances
ScanConfigExportToSecurityCommandCenter
data ScanConfigExportToSecurityCommandCenter Source #
Controls export of scan configurations and results to Cloud Security Command Center.
ExportToSecurityCommandCenterUnspecified |
|
Enabled |
|
Disabled |
|
Instances
ScanConfigErrorCode
data ScanConfigErrorCode Source #
Output only. Indicates the reason code for a configuration failure.
SCECCodeUnspecified |
|
SCECOK |
|
SCECInternalError |
|
SCECAppEngineAPIBackendError |
|
SCECAppEngineAPINotAccessible |
|
SCECAppEngineDefaultHostMissing |
|
SCECAppEngineSeedURLNotAllowed |
|
SCECCannotUseGoogleComAccount |
|
SCECCannotUseOwnerAccount |
|
SCECComputeAPIBackendError |
|
SCECComputeAPINotAccessible |
|
SCECCustomLoginURLDoesNotBelongToCurrentProject |
|
SCECCustomLoginURLMalformed |
|
SCECCustomLoginURLMAppedToNonRoutableAddress |
|
SCECCustomLoginURLMAppedToUnreservedAddress |
|
SCECCustomLoginURLHasNonRoutableIPAddress |
|
SCECCustomLoginURLHasUnreservedIPAddress |
|
SCECDuplicateScanName |
|
SCECInvalidFieldValue |
|
SCECFailedToAuthenticateToTarget |
|
SCECFindingTypeUnspecified |
|
SCECForBiddenToScanCompute |
|
SCECMalformedFilter |
|
SCECMalformedResourceName |
|
SCECProjectInactive |
|
SCECRequiredField |
|
SCECResourceNameInconsistent |
|
SCECScanAlreadyRunning |
|
SCECScanNotRunning |
|
SCECSeedURLDoesNotBelongToCurrentProject |
|
SCECSeedURLMalformed |
|
SCECSeedURLMAppedToNonRoutableAddress |
|
SCECSeedURLMAppedToUnreservedAddress |
|
SCECSeedURLHasNonRoutableIPAddress |
|
SCECSeedURLIPAddressNotSupportedForAppEngine |
|
SCECSeedURLHasUnreservedIPAddress |
|
SCECServiceAccountNotConfigured |
|
SCECTooManyScans |
|
SCECUnableToResolveProjectInfo |
|
SCECUnsupportedBlackListPatternFormat |
|
SCECUnsupportedFilter |
|
SCECUnsupportedFindingType |
|
SCECUnsupportedURLScheme |
|
Instances
ScanRunResultState
data ScanRunResultState Source #
Output only. The result state of the ScanRun. This field is only available after the execution state reaches "FINISHED".
ResultStateUnspecified |
|
Success |
|
Error' |
|
Killed |
|
Instances
VulnerableHeaders
data VulnerableHeaders Source #
Information about vulnerable or missing HTTP Headers.
See: vulnerableHeaders
smart constructor.
Instances
vulnerableHeaders :: VulnerableHeaders Source #
Creates a value of VulnerableHeaders
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
vhMissingHeaders :: Lens' VulnerableHeaders [Header] Source #
List of missing headers.
ViolatingResource
data ViolatingResource Source #
Information regarding any resource causing the vulnerability such as JavaScript sources, image, audio files, etc.
See: violatingResource
smart constructor.
Instances
violatingResource :: ViolatingResource Source #
Creates a value of ViolatingResource
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
vrContentType :: Lens' ViolatingResource (Maybe Text) Source #
The MIME type of this resource.
vrResourceURL :: Lens' ViolatingResource (Maybe Text) Source #
URL of this violating resource.
ScanRunExecutionState
data ScanRunExecutionState Source #
Output only. The execution state of the ScanRun.
ExecutionStateUnspecified |
|
Queued |
|
Scanning |
|
Finished |
|
Instances
Form
! Information about a vulnerability with an HTML.
See: form
smart constructor.
Instances
Eq Form Source # | |
Data Form Source # | |
Defined in Network.Google.WebSecurityScanner.Types.Product gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Form -> c Form # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Form # dataTypeOf :: Form -> DataType # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c Form) # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Form) # gmapT :: (forall b. Data b => b -> b) -> Form -> Form # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Form -> r # gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Form -> r # gmapQ :: (forall d. Data d => d -> u) -> Form -> [u] # gmapQi :: Int -> (forall d. Data d => d -> u) -> Form -> u # gmapM :: Monad m => (forall d. Data d => d -> m d) -> Form -> m Form # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Form -> m Form # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Form -> m Form # | |
Show Form Source # | |
Generic Form Source # | |
ToJSON Form Source # | |
FromJSON Form Source # | |
type Rep Form Source # | |
Defined in Network.Google.WebSecurityScanner.Types.Product type Rep Form = D1 (MetaData "Form" "Network.Google.WebSecurityScanner.Types.Product" "gogol-websecurityscanner-0.5.0-e0ydSHOVAJ6GE1G5P38Yh" False) (C1 (MetaCons "Form'" PrefixI True) (S1 (MetaSel (Just "_fActionURI") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_fFields") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Text])))) |
Creates a value of Form
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
ScanRun
A ScanRun is a output-only resource representing an actual run of the scan. Next id: 12
See: scanRun
smart constructor.
Instances
Creates a value of ScanRun
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
srStartTime :: Lens' ScanRun (Maybe UTCTime) Source #
Output only. The time at which the ScanRun started.
srHasVulnerabilities :: Lens' ScanRun (Maybe Bool) Source #
Output only. Whether the scan run has found any vulnerabilities.
srWarningTraces :: Lens' ScanRun [ScanRunWarningTrace] Source #
Output only. A list of warnings, if such are encountered during this scan run.
srResultState :: Lens' ScanRun (Maybe ScanRunResultState) Source #
Output only. The result state of the ScanRun. This field is only available after the execution state reaches "FINISHED".
srProgressPercent :: Lens' ScanRun (Maybe Int32) Source #
Output only. The percentage of total completion ranging from 0 to 100. If the scan is in queue, the value is 0. If the scan is running, the value ranges from 0 to 100. If the scan is finished, the value is 100.
srURLsCrawledCount :: Lens' ScanRun (Maybe Int64) Source #
Output only. The number of URLs crawled during this ScanRun. If the scan is in progress, the value represents the number of URLs crawled up to now.
srURLsTestedCount :: Lens' ScanRun (Maybe Int64) Source #
Output only. The number of URLs tested during this ScanRun. If the scan is in progress, the value represents the number of URLs tested up to now. The number of URLs tested is usually larger than the number URLS crawled because typically a crawled URL is tested with multiple test payloads.
srName :: Lens' ScanRun (Maybe Text) Source #
Output only. The resource name of the ScanRun. The name follows the format of 'projects/{projectId}/scanConfigs/{scanConfigId}/scanRuns/{scanRunId}'. The ScanRun IDs are generated by the system.
srEndTime :: Lens' ScanRun (Maybe UTCTime) Source #
Output only. The time at which the ScanRun reached termination state - that the ScanRun is either finished or stopped by user.
srExecutionState :: Lens' ScanRun (Maybe ScanRunExecutionState) Source #
Output only. The execution state of the ScanRun.
srErrorTrace :: Lens' ScanRun (Maybe ScanRunErrorTrace) Source #
Output only. If result_state is an ERROR, this field provides the primary reason for scan's termination and more details, if such are available.