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
- FindingTypeStats
- ListFindingsResponse
- StopScanRunRequest
- Schedule
- Finding
- Empty
- ListFindingTypeStatsResponse
- GoogleAccount
- Xss
- Authentication
- FindingFindingType
- ListCrawledURLsResponse
- VulnerableParameters
- CrawledURL
- OutdatedLibrary
- ListScanRunsResponse
- Header
- ListScanConfigsResponse
- StartScanRunRequest
- Xgafv
- CustomAccount
- ScanConfigUserAgent
- ScanConfig
- ScanRunResultState
- VulnerableHeaders
- ViolatingResource
- ScanRunExecutionState
- ScanRun
- FindingTypeStatsFindingType
Synopsis
- webSecurityScannerService :: ServiceConfig
- cloudPlatformScope :: Proxy '["https://www.googleapis.com/auth/cloud-platform"]
- data FindingTypeStats
- findingTypeStats :: FindingTypeStats
- ftsFindingCount :: Lens' FindingTypeStats (Maybe Int32)
- ftsFindingType :: Lens' FindingTypeStats (Maybe FindingTypeStatsFindingType)
- data ListFindingsResponse
- listFindingsResponse :: ListFindingsResponse
- lfrNextPageToken :: Lens' ListFindingsResponse (Maybe Text)
- lfrFindings :: Lens' ListFindingsResponse [Finding]
- data StopScanRunRequest
- stopScanRunRequest :: StopScanRunRequest
- 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 FindingFindingType)
- fVulnerableHeaders :: Lens' Finding (Maybe VulnerableHeaders)
- fViolatingResource :: Lens' Finding (Maybe ViolatingResource)
- fFrameURL :: Lens' Finding (Maybe Text)
- fDescription :: Lens' Finding (Maybe Text)
- data Empty
- empty :: Empty
- 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 FindingFindingType
- 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 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
- 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)
- scDisplayName :: Lens' ScanConfig (Maybe Text)
- scUserAgent :: Lens' ScanConfig (Maybe ScanConfigUserAgent)
- scBlackListPatterns :: Lens' ScanConfig [Text]
- 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 ScanRun
- scanRun :: ScanRun
- srStartTime :: Lens' ScanRun (Maybe UTCTime)
- srHasVulnerabilities :: Lens' ScanRun (Maybe Bool)
- 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)
- data FindingTypeStatsFindingType
Service Configuration
webSecurityScannerService :: ServiceConfig Source #
Default request referring to version v1alpha
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
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 FindingTypeStatsFindingType) 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.
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.4.0-JQyQ1sCwOLo6vYn7QejFAT" 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 FindingFindingType) Source #
Output only. The type of the Finding.
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.
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 # | |
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.4.0-JQyQ1sCwOLo6vYn7QejFAT" 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.
FindingFindingType
data FindingFindingType Source #
Output only. The type of the Finding.
FindingTypeUnspecified |
|
MixedContent |
|
OutdatedLibrary |
|
RoSettaFlash |
|
XssCallback |
|
XssError |
|
ClearTextPassword |
|
InvalidContentType |
|
XssAngularCallback |
|
InvalidHeader |
|
MisspelledSecurityHeaderName |
|
MismatchingSecurityHeaderValues |
|
Instances
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.4.0-JQyQ1sCwOLo6vYn7QejFAT" 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)))) |
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.
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:
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.
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
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
ScanRun
A ScanRun is a output-only resource representing an actual run of the scan.
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.
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.
FindingTypeStatsFindingType
data FindingTypeStatsFindingType Source #
Output only. The finding type associated with the stats.
FTSFTFindingTypeUnspecified |
|
FTSFTMixedContent |
|
FTSFTOutdatedLibrary |
|
FTSFTRoSettaFlash |
|
FTSFTXssCallback |
|
FTSFTXssError |
|
FTSFTClearTextPassword |
|
FTSFTInvalidContentType |
|
FTSFTXssAngularCallback |
|
FTSFTInvalidHeader |
|
FTSFTMisspelledSecurityHeaderName |
|
FTSFTMismatchingSecurityHeaderValues |
|