Package-level declarations

Types

Link copied to clipboard
data class AuthenticationResponse(val customAccount: CustomAccountResponse, val googleAccount: GoogleAccountResponse, val iapCredential: IapCredentialResponse)

Scan authentication configuration.

Link copied to clipboard
data class CustomAccountResponse(val loginUrl: String, val password: String, val username: String)

Describes authentication configuration that uses a custom account.

Link copied to clipboard
data class GetScanConfigResult(val authentication: AuthenticationResponse, val blacklistPatterns: List<String>, val displayName: String, val exportToSecurityCommandCenter: String, val ignoreHttpStatusErrors: Boolean, val latestRun: ScanRunResponse, val managedScan: Boolean, val maxQps: Int, val name: String, val riskLevel: String, val schedule: ScheduleResponse, val startingUrls: List<String>, val staticIpScan: Boolean, val targetPlatforms: List<String>, val userAgent: String)
Link copied to clipboard
data class GoogleAccountResponse(val password: String, val username: String)

Describes authentication configuration that uses a Google account.

Link copied to clipboard
data class IapCredentialResponse(val iapTestServiceAccountInfo: IapTestServiceAccountInfoResponse)

Describes authentication configuration for Identity-Aware-Proxy (IAP).

Link copied to clipboard
data class IapTestServiceAccountInfoResponse(val targetAudienceClientId: String)

Describes authentication configuration when Web-Security-Scanner service account is added in Identity-Aware-Proxy (IAP) access policies.

Link copied to clipboard
data class ScanConfigErrorResponse(val code: String, val fieldName: String)

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.

Link copied to clipboard
data class ScanRunErrorTraceResponse(val code: String, val mostCommonHttpErrorCode: Int, val scanConfigError: ScanConfigErrorResponse)

Output only. Defines an error trace message for a ScanRun.

Link copied to clipboard
data class ScanRunResponse(val endTime: String, val errorTrace: ScanRunErrorTraceResponse, val executionState: String, val hasVulnerabilities: Boolean, val name: String, val progressPercent: Int, val resultState: String, val startTime: String, val urlsCrawledCount: String, val urlsTestedCount: String, val warningTraces: List<ScanRunWarningTraceResponse>)

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

Link copied to clipboard
data class ScanRunWarningTraceResponse(val code: String)

Output only. Defines a warning trace message for ScanRun. Warning traces provide customers with useful information that helps make the scanning process more effective.

Link copied to clipboard
data class ScheduleResponse(val intervalDurationDays: Int, val scheduleTime: String)

Scan schedule configuration.