Google Cloud Native is in preview. Google Cloud Classic is fully supported.
google-native.websecurityscanner/v1alpha.ScanConfig
Explore with Pulumi AI
Google Cloud Native is in preview. Google Cloud Classic is fully supported.
Creates a new ScanConfig.
Create ScanConfig Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new ScanConfig(name: string, args: ScanConfigArgs, opts?: CustomResourceOptions);
@overload
def ScanConfig(resource_name: str,
args: ScanConfigArgs,
opts: Optional[ResourceOptions] = None)
@overload
def ScanConfig(resource_name: str,
opts: Optional[ResourceOptions] = None,
display_name: Optional[str] = None,
starting_urls: Optional[Sequence[str]] = None,
authentication: Optional[AuthenticationArgs] = None,
blacklist_patterns: Optional[Sequence[str]] = None,
latest_run: Optional[ScanRunArgs] = None,
max_qps: Optional[int] = None,
name: Optional[str] = None,
project: Optional[str] = None,
schedule: Optional[ScheduleArgs] = None,
target_platforms: Optional[Sequence[ScanConfigTargetPlatformsItem]] = None,
user_agent: Optional[ScanConfigUserAgent] = None)
func NewScanConfig(ctx *Context, name string, args ScanConfigArgs, opts ...ResourceOption) (*ScanConfig, error)
public ScanConfig(string name, ScanConfigArgs args, CustomResourceOptions? opts = null)
public ScanConfig(String name, ScanConfigArgs args)
public ScanConfig(String name, ScanConfigArgs args, CustomResourceOptions options)
type: google-native:websecurityscanner/v1alpha:ScanConfig
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args ScanConfigArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args ScanConfigArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args ScanConfigArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args ScanConfigArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args ScanConfigArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var google_nativeScanConfigResource = new GoogleNative.WebSecurityScanner.V1Alpha.ScanConfig("google-nativeScanConfigResource", new()
{
DisplayName = "string",
StartingUrls = new[]
{
"string",
},
Authentication = new GoogleNative.WebSecurityScanner.V1Alpha.Inputs.AuthenticationArgs
{
CustomAccount = new GoogleNative.WebSecurityScanner.V1Alpha.Inputs.CustomAccountArgs
{
LoginUrl = "string",
Password = "string",
Username = "string",
},
GoogleAccount = new GoogleNative.WebSecurityScanner.V1Alpha.Inputs.GoogleAccountArgs
{
Password = "string",
Username = "string",
},
},
BlacklistPatterns = new[]
{
"string",
},
LatestRun = new GoogleNative.WebSecurityScanner.V1Alpha.Inputs.ScanRunArgs
{
EndTime = "string",
ExecutionState = GoogleNative.WebSecurityScanner.V1Alpha.ScanRunExecutionState.ExecutionStateUnspecified,
HasVulnerabilities = false,
Name = "string",
ProgressPercent = 0,
ResultState = GoogleNative.WebSecurityScanner.V1Alpha.ScanRunResultState.ResultStateUnspecified,
StartTime = "string",
UrlsCrawledCount = "string",
UrlsTestedCount = "string",
},
MaxQps = 0,
Name = "string",
Project = "string",
Schedule = new GoogleNative.WebSecurityScanner.V1Alpha.Inputs.ScheduleArgs
{
IntervalDurationDays = 0,
ScheduleTime = "string",
},
TargetPlatforms = new[]
{
GoogleNative.WebSecurityScanner.V1Alpha.ScanConfigTargetPlatformsItem.TargetPlatformUnspecified,
},
UserAgent = GoogleNative.WebSecurityScanner.V1Alpha.ScanConfigUserAgent.UserAgentUnspecified,
});
example, err := websecurityscannerv1alpha.NewScanConfig(ctx, "google-nativeScanConfigResource", &websecurityscannerv1alpha.ScanConfigArgs{
DisplayName: pulumi.String("string"),
StartingUrls: pulumi.StringArray{
pulumi.String("string"),
},
Authentication: &websecurityscanner.AuthenticationArgs{
CustomAccount: &websecurityscanner.CustomAccountArgs{
LoginUrl: pulumi.String("string"),
Password: pulumi.String("string"),
Username: pulumi.String("string"),
},
GoogleAccount: &websecurityscanner.GoogleAccountArgs{
Password: pulumi.String("string"),
Username: pulumi.String("string"),
},
},
BlacklistPatterns: pulumi.StringArray{
pulumi.String("string"),
},
LatestRun: &websecurityscanner.ScanRunArgs{
EndTime: pulumi.String("string"),
ExecutionState: websecurityscannerv1alpha.ScanRunExecutionStateExecutionStateUnspecified,
HasVulnerabilities: pulumi.Bool(false),
Name: pulumi.String("string"),
ProgressPercent: pulumi.Int(0),
ResultState: websecurityscannerv1alpha.ScanRunResultStateResultStateUnspecified,
StartTime: pulumi.String("string"),
UrlsCrawledCount: pulumi.String("string"),
UrlsTestedCount: pulumi.String("string"),
},
MaxQps: pulumi.Int(0),
Name: pulumi.String("string"),
Project: pulumi.String("string"),
Schedule: &websecurityscanner.ScheduleArgs{
IntervalDurationDays: pulumi.Int(0),
ScheduleTime: pulumi.String("string"),
},
TargetPlatforms: websecurityscanner.ScanConfigTargetPlatformsItemArray{
websecurityscannerv1alpha.ScanConfigTargetPlatformsItemTargetPlatformUnspecified,
},
UserAgent: websecurityscannerv1alpha.ScanConfigUserAgentUserAgentUnspecified,
})
var google_nativeScanConfigResource = new ScanConfig("google-nativeScanConfigResource", ScanConfigArgs.builder()
.displayName("string")
.startingUrls("string")
.authentication(AuthenticationArgs.builder()
.customAccount(CustomAccountArgs.builder()
.loginUrl("string")
.password("string")
.username("string")
.build())
.googleAccount(GoogleAccountArgs.builder()
.password("string")
.username("string")
.build())
.build())
.blacklistPatterns("string")
.latestRun(ScanRunArgs.builder()
.endTime("string")
.executionState("EXECUTION_STATE_UNSPECIFIED")
.hasVulnerabilities(false)
.name("string")
.progressPercent(0)
.resultState("RESULT_STATE_UNSPECIFIED")
.startTime("string")
.urlsCrawledCount("string")
.urlsTestedCount("string")
.build())
.maxQps(0)
.name("string")
.project("string")
.schedule(ScheduleArgs.builder()
.intervalDurationDays(0)
.scheduleTime("string")
.build())
.targetPlatforms("TARGET_PLATFORM_UNSPECIFIED")
.userAgent("USER_AGENT_UNSPECIFIED")
.build());
google_native_scan_config_resource = google_native.websecurityscanner.v1alpha.ScanConfig("google-nativeScanConfigResource",
display_name="string",
starting_urls=["string"],
authentication={
"custom_account": {
"login_url": "string",
"password": "string",
"username": "string",
},
"google_account": {
"password": "string",
"username": "string",
},
},
blacklist_patterns=["string"],
latest_run={
"end_time": "string",
"execution_state": google_native.websecurityscanner.v1alpha.ScanRunExecutionState.EXECUTION_STATE_UNSPECIFIED,
"has_vulnerabilities": False,
"name": "string",
"progress_percent": 0,
"result_state": google_native.websecurityscanner.v1alpha.ScanRunResultState.RESULT_STATE_UNSPECIFIED,
"start_time": "string",
"urls_crawled_count": "string",
"urls_tested_count": "string",
},
max_qps=0,
name="string",
project="string",
schedule={
"interval_duration_days": 0,
"schedule_time": "string",
},
target_platforms=[google_native.websecurityscanner.v1alpha.ScanConfigTargetPlatformsItem.TARGET_PLATFORM_UNSPECIFIED],
user_agent=google_native.websecurityscanner.v1alpha.ScanConfigUserAgent.USER_AGENT_UNSPECIFIED)
const google_nativeScanConfigResource = new google_native.websecurityscanner.v1alpha.ScanConfig("google-nativeScanConfigResource", {
displayName: "string",
startingUrls: ["string"],
authentication: {
customAccount: {
loginUrl: "string",
password: "string",
username: "string",
},
googleAccount: {
password: "string",
username: "string",
},
},
blacklistPatterns: ["string"],
latestRun: {
endTime: "string",
executionState: google_native.websecurityscanner.v1alpha.ScanRunExecutionState.ExecutionStateUnspecified,
hasVulnerabilities: false,
name: "string",
progressPercent: 0,
resultState: google_native.websecurityscanner.v1alpha.ScanRunResultState.ResultStateUnspecified,
startTime: "string",
urlsCrawledCount: "string",
urlsTestedCount: "string",
},
maxQps: 0,
name: "string",
project: "string",
schedule: {
intervalDurationDays: 0,
scheduleTime: "string",
},
targetPlatforms: [google_native.websecurityscanner.v1alpha.ScanConfigTargetPlatformsItem.TargetPlatformUnspecified],
userAgent: google_native.websecurityscanner.v1alpha.ScanConfigUserAgent.UserAgentUnspecified,
});
type: google-native:websecurityscanner/v1alpha:ScanConfig
properties:
authentication:
customAccount:
loginUrl: string
password: string
username: string
googleAccount:
password: string
username: string
blacklistPatterns:
- string
displayName: string
latestRun:
endTime: string
executionState: EXECUTION_STATE_UNSPECIFIED
hasVulnerabilities: false
name: string
progressPercent: 0
resultState: RESULT_STATE_UNSPECIFIED
startTime: string
urlsCrawledCount: string
urlsTestedCount: string
maxQps: 0
name: string
project: string
schedule:
intervalDurationDays: 0
scheduleTime: string
startingUrls:
- string
targetPlatforms:
- TARGET_PLATFORM_UNSPECIFIED
userAgent: USER_AGENT_UNSPECIFIED
ScanConfig Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The ScanConfig resource accepts the following input properties:
- Display
Name string - The user provided display name of the ScanConfig.
- Starting
Urls List<string> - The starting URLs from which the scanner finds site pages.
- Authentication
Pulumi.
Google Native. Web Security Scanner. V1Alpha. Inputs. Authentication - The authentication configuration. If specified, service will use the authentication configuration during scanning.
- Blacklist
Patterns List<string> - The excluded URL patterns as described in https://cloud.google.com/security-command-center/docs/how-to-use-web-security-scanner#excluding_urls
- Latest
Run Pulumi.Google Native. Web Security Scanner. V1Alpha. Inputs. Scan Run - Latest ScanRun if available.
- Max
Qps int - 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.
- Name string
- The resource name of the ScanConfig. The name follows the format of 'projects/{projectId}/scanConfigs/{scanConfigId}'. The ScanConfig IDs are generated by the system.
- Project string
- Schedule
Pulumi.
Google Native. Web Security Scanner. V1Alpha. Inputs. Schedule - The schedule of the ScanConfig.
- Target
Platforms List<Pulumi.Google Native. Web Security Scanner. V1Alpha. Scan Config Target Platforms Item> - Set of Google Cloud platforms targeted by the scan. If empty, APP_ENGINE will be used as a default.
- User
Agent Pulumi.Google Native. Web Security Scanner. V1Alpha. Scan Config User Agent - The user agent used during scanning.
- Display
Name string - The user provided display name of the ScanConfig.
- Starting
Urls []string - The starting URLs from which the scanner finds site pages.
- Authentication
Authentication
Args - The authentication configuration. If specified, service will use the authentication configuration during scanning.
- Blacklist
Patterns []string - The excluded URL patterns as described in https://cloud.google.com/security-command-center/docs/how-to-use-web-security-scanner#excluding_urls
- Latest
Run ScanRun Args - Latest ScanRun if available.
- Max
Qps int - 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.
- Name string
- The resource name of the ScanConfig. The name follows the format of 'projects/{projectId}/scanConfigs/{scanConfigId}'. The ScanConfig IDs are generated by the system.
- Project string
- Schedule
Schedule
Args - The schedule of the ScanConfig.
- Target
Platforms []ScanConfig Target Platforms Item - Set of Google Cloud platforms targeted by the scan. If empty, APP_ENGINE will be used as a default.
- User
Agent ScanConfig User Agent - The user agent used during scanning.
- display
Name String - The user provided display name of the ScanConfig.
- starting
Urls List<String> - The starting URLs from which the scanner finds site pages.
- authentication Authentication
- The authentication configuration. If specified, service will use the authentication configuration during scanning.
- blacklist
Patterns List<String> - The excluded URL patterns as described in https://cloud.google.com/security-command-center/docs/how-to-use-web-security-scanner#excluding_urls
- latest
Run ScanRun - Latest ScanRun if available.
- max
Qps Integer - 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.
- name String
- The resource name of the ScanConfig. The name follows the format of 'projects/{projectId}/scanConfigs/{scanConfigId}'. The ScanConfig IDs are generated by the system.
- project String
- schedule Schedule
- The schedule of the ScanConfig.
- target
Platforms List<ScanConfig Target Platforms Item> - Set of Google Cloud platforms targeted by the scan. If empty, APP_ENGINE will be used as a default.
- user
Agent ScanConfig User Agent - The user agent used during scanning.
- display
Name string - The user provided display name of the ScanConfig.
- starting
Urls string[] - The starting URLs from which the scanner finds site pages.
- authentication Authentication
- The authentication configuration. If specified, service will use the authentication configuration during scanning.
- blacklist
Patterns string[] - The excluded URL patterns as described in https://cloud.google.com/security-command-center/docs/how-to-use-web-security-scanner#excluding_urls
- latest
Run ScanRun - Latest ScanRun if available.
- max
Qps number - 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.
- name string
- The resource name of the ScanConfig. The name follows the format of 'projects/{projectId}/scanConfigs/{scanConfigId}'. The ScanConfig IDs are generated by the system.
- project string
- schedule Schedule
- The schedule of the ScanConfig.
- target
Platforms ScanConfig Target Platforms Item[] - Set of Google Cloud platforms targeted by the scan. If empty, APP_ENGINE will be used as a default.
- user
Agent ScanConfig User Agent - The user agent used during scanning.
- display_
name str - The user provided display name of the ScanConfig.
- starting_
urls Sequence[str] - The starting URLs from which the scanner finds site pages.
- authentication
Authentication
Args - The authentication configuration. If specified, service will use the authentication configuration during scanning.
- blacklist_
patterns Sequence[str] - The excluded URL patterns as described in https://cloud.google.com/security-command-center/docs/how-to-use-web-security-scanner#excluding_urls
- latest_
run ScanRun Args - Latest ScanRun if available.
- max_
qps int - 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.
- name str
- The resource name of the ScanConfig. The name follows the format of 'projects/{projectId}/scanConfigs/{scanConfigId}'. The ScanConfig IDs are generated by the system.
- project str
- schedule
Schedule
Args - The schedule of the ScanConfig.
- target_
platforms Sequence[ScanConfig Target Platforms Item] - Set of Google Cloud platforms targeted by the scan. If empty, APP_ENGINE will be used as a default.
- user_
agent ScanConfig User Agent - The user agent used during scanning.
- display
Name String - The user provided display name of the ScanConfig.
- starting
Urls List<String> - The starting URLs from which the scanner finds site pages.
- authentication Property Map
- The authentication configuration. If specified, service will use the authentication configuration during scanning.
- blacklist
Patterns List<String> - The excluded URL patterns as described in https://cloud.google.com/security-command-center/docs/how-to-use-web-security-scanner#excluding_urls
- latest
Run Property Map - Latest ScanRun if available.
- max
Qps Number - 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.
- name String
- The resource name of the ScanConfig. The name follows the format of 'projects/{projectId}/scanConfigs/{scanConfigId}'. The ScanConfig IDs are generated by the system.
- project String
- schedule Property Map
- The schedule of the ScanConfig.
- target
Platforms List<"TARGET_PLATFORM_UNSPECIFIED" | "APP_ENGINE" | "COMPUTE" | "CLOUD_RUN" | "CLOUD_FUNCTIONS"> - Set of Google Cloud platforms targeted by the scan. If empty, APP_ENGINE will be used as a default.
- user
Agent "USER_AGENT_UNSPECIFIED" | "CHROME_LINUX" | "CHROME_ANDROID" | "SAFARI_IPHONE" - The user agent used during scanning.
Outputs
All input properties are implicitly available as output properties. Additionally, the ScanConfig resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Id string
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
- id string
- The provider-assigned unique ID for this managed resource.
- id str
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
Supporting Types
Authentication, AuthenticationArgs
- Custom
Account Pulumi.Google Native. Web Security Scanner. V1Alpha. Inputs. Custom Account - Authentication using a custom account.
- Google
Account Pulumi.Google Native. Web Security Scanner. V1Alpha. Inputs. Google Account - Authentication using a Google account.
- Custom
Account CustomAccount - Authentication using a custom account.
- Google
Account GoogleAccount - Authentication using a Google account.
- custom
Account CustomAccount - Authentication using a custom account.
- google
Account GoogleAccount - Authentication using a Google account.
- custom
Account CustomAccount - Authentication using a custom account.
- google
Account GoogleAccount - Authentication using a Google account.
- custom_
account CustomAccount - Authentication using a custom account.
- google_
account GoogleAccount - Authentication using a Google account.
- custom
Account Property Map - Authentication using a custom account.
- google
Account Property Map - Authentication using a Google account.
AuthenticationResponse, AuthenticationResponseArgs
- Custom
Account Pulumi.Google Native. Web Security Scanner. V1Alpha. Inputs. Custom Account Response - Authentication using a custom account.
- Google
Account Pulumi.Google Native. Web Security Scanner. V1Alpha. Inputs. Google Account Response - Authentication using a Google account.
- Custom
Account CustomAccount Response - Authentication using a custom account.
- Google
Account GoogleAccount Response - Authentication using a Google account.
- custom
Account CustomAccount Response - Authentication using a custom account.
- google
Account GoogleAccount Response - Authentication using a Google account.
- custom
Account CustomAccount Response - Authentication using a custom account.
- google
Account GoogleAccount Response - Authentication using a Google account.
- custom_
account CustomAccount Response - Authentication using a custom account.
- google_
account GoogleAccount Response - Authentication using a Google account.
- custom
Account Property Map - Authentication using a custom account.
- google
Account Property Map - Authentication using a Google account.
CustomAccount, CustomAccountArgs
CustomAccountResponse, CustomAccountResponseArgs
GoogleAccount, GoogleAccountArgs
GoogleAccountResponse, GoogleAccountResponseArgs
ScanConfigTargetPlatformsItem, ScanConfigTargetPlatformsItemArgs
- Target
Platform Unspecified - TARGET_PLATFORM_UNSPECIFIEDThe target platform is unknown. Requests with this enum value will be rejected with INVALID_ARGUMENT error.
- App
Engine - APP_ENGINEGoogle App Engine service.
- Compute
- COMPUTEGoogle Compute Engine service.
- Cloud
Run - CLOUD_RUNGoogle Cloud Run service.
- Cloud
Functions - CLOUD_FUNCTIONSGoogle Cloud Function service.
- Scan
Config Target Platforms Item Target Platform Unspecified - TARGET_PLATFORM_UNSPECIFIEDThe target platform is unknown. Requests with this enum value will be rejected with INVALID_ARGUMENT error.
- Scan
Config Target Platforms Item App Engine - APP_ENGINEGoogle App Engine service.
- Scan
Config Target Platforms Item Compute - COMPUTEGoogle Compute Engine service.
- Scan
Config Target Platforms Item Cloud Run - CLOUD_RUNGoogle Cloud Run service.
- Scan
Config Target Platforms Item Cloud Functions - CLOUD_FUNCTIONSGoogle Cloud Function service.
- Target
Platform Unspecified - TARGET_PLATFORM_UNSPECIFIEDThe target platform is unknown. Requests with this enum value will be rejected with INVALID_ARGUMENT error.
- App
Engine - APP_ENGINEGoogle App Engine service.
- Compute
- COMPUTEGoogle Compute Engine service.
- Cloud
Run - CLOUD_RUNGoogle Cloud Run service.
- Cloud
Functions - CLOUD_FUNCTIONSGoogle Cloud Function service.
- Target
Platform Unspecified - TARGET_PLATFORM_UNSPECIFIEDThe target platform is unknown. Requests with this enum value will be rejected with INVALID_ARGUMENT error.
- App
Engine - APP_ENGINEGoogle App Engine service.
- Compute
- COMPUTEGoogle Compute Engine service.
- Cloud
Run - CLOUD_RUNGoogle Cloud Run service.
- Cloud
Functions - CLOUD_FUNCTIONSGoogle Cloud Function service.
- TARGET_PLATFORM_UNSPECIFIED
- TARGET_PLATFORM_UNSPECIFIEDThe target platform is unknown. Requests with this enum value will be rejected with INVALID_ARGUMENT error.
- APP_ENGINE
- APP_ENGINEGoogle App Engine service.
- COMPUTE
- COMPUTEGoogle Compute Engine service.
- CLOUD_RUN
- CLOUD_RUNGoogle Cloud Run service.
- CLOUD_FUNCTIONS
- CLOUD_FUNCTIONSGoogle Cloud Function service.
- "TARGET_PLATFORM_UNSPECIFIED"
- TARGET_PLATFORM_UNSPECIFIEDThe target platform is unknown. Requests with this enum value will be rejected with INVALID_ARGUMENT error.
- "APP_ENGINE"
- APP_ENGINEGoogle App Engine service.
- "COMPUTE"
- COMPUTEGoogle Compute Engine service.
- "CLOUD_RUN"
- CLOUD_RUNGoogle Cloud Run service.
- "CLOUD_FUNCTIONS"
- CLOUD_FUNCTIONSGoogle Cloud Function service.
ScanConfigUserAgent, ScanConfigUserAgentArgs
- User
Agent Unspecified - USER_AGENT_UNSPECIFIEDThe user agent is unknown. Service will default to CHROME_LINUX.
- Chrome
Linux - CHROME_LINUXChrome on Linux. This is the service default if unspecified.
- Chrome
Android - CHROME_ANDROIDChrome on Android.
- Safari
Iphone - SAFARI_IPHONESafari on IPhone.
- Scan
Config User Agent User Agent Unspecified - USER_AGENT_UNSPECIFIEDThe user agent is unknown. Service will default to CHROME_LINUX.
- Scan
Config User Agent Chrome Linux - CHROME_LINUXChrome on Linux. This is the service default if unspecified.
- Scan
Config User Agent Chrome Android - CHROME_ANDROIDChrome on Android.
- Scan
Config User Agent Safari Iphone - SAFARI_IPHONESafari on IPhone.
- User
Agent Unspecified - USER_AGENT_UNSPECIFIEDThe user agent is unknown. Service will default to CHROME_LINUX.
- Chrome
Linux - CHROME_LINUXChrome on Linux. This is the service default if unspecified.
- Chrome
Android - CHROME_ANDROIDChrome on Android.
- Safari
Iphone - SAFARI_IPHONESafari on IPhone.
- User
Agent Unspecified - USER_AGENT_UNSPECIFIEDThe user agent is unknown. Service will default to CHROME_LINUX.
- Chrome
Linux - CHROME_LINUXChrome on Linux. This is the service default if unspecified.
- Chrome
Android - CHROME_ANDROIDChrome on Android.
- Safari
Iphone - SAFARI_IPHONESafari on IPhone.
- USER_AGENT_UNSPECIFIED
- USER_AGENT_UNSPECIFIEDThe user agent is unknown. Service will default to CHROME_LINUX.
- CHROME_LINUX
- CHROME_LINUXChrome on Linux. This is the service default if unspecified.
- CHROME_ANDROID
- CHROME_ANDROIDChrome on Android.
- SAFARI_IPHONE
- SAFARI_IPHONESafari on IPhone.
- "USER_AGENT_UNSPECIFIED"
- USER_AGENT_UNSPECIFIEDThe user agent is unknown. Service will default to CHROME_LINUX.
- "CHROME_LINUX"
- CHROME_LINUXChrome on Linux. This is the service default if unspecified.
- "CHROME_ANDROID"
- CHROME_ANDROIDChrome on Android.
- "SAFARI_IPHONE"
- SAFARI_IPHONESafari on IPhone.
ScanRun, ScanRunArgs
- End
Time string - The time at which the ScanRun reached termination state - that the ScanRun is either finished or stopped by user.
- Execution
State Pulumi.Google Native. Web Security Scanner. V1Alpha. Scan Run Execution State - The execution state of the ScanRun.
- Has
Vulnerabilities bool - Whether the scan run has found any vulnerabilities.
- Name string
- 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.
- Progress
Percent int - 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.
- Result
State Pulumi.Google Native. Web Security Scanner. V1Alpha. Scan Run Result State - The result state of the ScanRun. This field is only available after the execution state reaches "FINISHED".
- Start
Time string - The time at which the ScanRun started.
- Urls
Crawled stringCount - 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.
- Urls
Tested stringCount - 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.
- End
Time string - The time at which the ScanRun reached termination state - that the ScanRun is either finished or stopped by user.
- Execution
State ScanRun Execution State - The execution state of the ScanRun.
- Has
Vulnerabilities bool - Whether the scan run has found any vulnerabilities.
- Name string
- 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.
- Progress
Percent int - 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.
- Result
State ScanRun Result State - The result state of the ScanRun. This field is only available after the execution state reaches "FINISHED".
- Start
Time string - The time at which the ScanRun started.
- Urls
Crawled stringCount - 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.
- Urls
Tested stringCount - 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.
- end
Time String - The time at which the ScanRun reached termination state - that the ScanRun is either finished or stopped by user.
- execution
State ScanRun Execution State - The execution state of the ScanRun.
- has
Vulnerabilities Boolean - Whether the scan run has found any vulnerabilities.
- name String
- 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.
- progress
Percent Integer - 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.
- result
State ScanRun Result State - The result state of the ScanRun. This field is only available after the execution state reaches "FINISHED".
- start
Time String - The time at which the ScanRun started.
- urls
Crawled StringCount - 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.
- urls
Tested StringCount - 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.
- end
Time string - The time at which the ScanRun reached termination state - that the ScanRun is either finished or stopped by user.
- execution
State ScanRun Execution State - The execution state of the ScanRun.
- has
Vulnerabilities boolean - Whether the scan run has found any vulnerabilities.
- name string
- 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.
- progress
Percent number - 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.
- result
State ScanRun Result State - The result state of the ScanRun. This field is only available after the execution state reaches "FINISHED".
- start
Time string - The time at which the ScanRun started.
- urls
Crawled stringCount - 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.
- urls
Tested stringCount - 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.
- end_
time str - The time at which the ScanRun reached termination state - that the ScanRun is either finished or stopped by user.
- execution_
state ScanRun Execution State - The execution state of the ScanRun.
- has_
vulnerabilities bool - Whether the scan run has found any vulnerabilities.
- name str
- 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.
- progress_
percent int - 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.
- result_
state ScanRun Result State - The result state of the ScanRun. This field is only available after the execution state reaches "FINISHED".
- start_
time str - The time at which the ScanRun started.
- urls_
crawled_ strcount - 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.
- urls_
tested_ strcount - 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.
- end
Time String - The time at which the ScanRun reached termination state - that the ScanRun is either finished or stopped by user.
- execution
State "EXECUTION_STATE_UNSPECIFIED" | "QUEUED" | "SCANNING" | "FINISHED" - The execution state of the ScanRun.
- has
Vulnerabilities Boolean - Whether the scan run has found any vulnerabilities.
- name String
- 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.
- progress
Percent Number - 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.
- result
State "RESULT_STATE_UNSPECIFIED" | "SUCCESS" | "ERROR" | "KILLED" - The result state of the ScanRun. This field is only available after the execution state reaches "FINISHED".
- start
Time String - The time at which the ScanRun started.
- urls
Crawled StringCount - 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.
- urls
Tested StringCount - 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.
ScanRunExecutionState, ScanRunExecutionStateArgs
- Execution
State Unspecified - EXECUTION_STATE_UNSPECIFIEDRepresents an invalid state caused by internal server error. This value should never be returned.
- Queued
- QUEUEDThe scan is waiting in the queue.
- Scanning
- SCANNINGThe scan is in progress.
- Finished
- FINISHEDThe scan is either finished or stopped by user.
- Scan
Run Execution State Execution State Unspecified - EXECUTION_STATE_UNSPECIFIEDRepresents an invalid state caused by internal server error. This value should never be returned.
- Scan
Run Execution State Queued - QUEUEDThe scan is waiting in the queue.
- Scan
Run Execution State Scanning - SCANNINGThe scan is in progress.
- Scan
Run Execution State Finished - FINISHEDThe scan is either finished or stopped by user.
- Execution
State Unspecified - EXECUTION_STATE_UNSPECIFIEDRepresents an invalid state caused by internal server error. This value should never be returned.
- Queued
- QUEUEDThe scan is waiting in the queue.
- Scanning
- SCANNINGThe scan is in progress.
- Finished
- FINISHEDThe scan is either finished or stopped by user.
- Execution
State Unspecified - EXECUTION_STATE_UNSPECIFIEDRepresents an invalid state caused by internal server error. This value should never be returned.
- Queued
- QUEUEDThe scan is waiting in the queue.
- Scanning
- SCANNINGThe scan is in progress.
- Finished
- FINISHEDThe scan is either finished or stopped by user.
- EXECUTION_STATE_UNSPECIFIED
- EXECUTION_STATE_UNSPECIFIEDRepresents an invalid state caused by internal server error. This value should never be returned.
- QUEUED
- QUEUEDThe scan is waiting in the queue.
- SCANNING
- SCANNINGThe scan is in progress.
- FINISHED
- FINISHEDThe scan is either finished or stopped by user.
- "EXECUTION_STATE_UNSPECIFIED"
- EXECUTION_STATE_UNSPECIFIEDRepresents an invalid state caused by internal server error. This value should never be returned.
- "QUEUED"
- QUEUEDThe scan is waiting in the queue.
- "SCANNING"
- SCANNINGThe scan is in progress.
- "FINISHED"
- FINISHEDThe scan is either finished or stopped by user.
ScanRunResponse, ScanRunResponseArgs
- End
Time string - The time at which the ScanRun reached termination state - that the ScanRun is either finished or stopped by user.
- Execution
State string - The execution state of the ScanRun.
- Has
Vulnerabilities bool - Whether the scan run has found any vulnerabilities.
- Name string
- 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.
- Progress
Percent int - 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.
- Result
State string - The result state of the ScanRun. This field is only available after the execution state reaches "FINISHED".
- Start
Time string - The time at which the ScanRun started.
- Urls
Crawled stringCount - 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.
- Urls
Tested stringCount - 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.
- End
Time string - The time at which the ScanRun reached termination state - that the ScanRun is either finished or stopped by user.
- Execution
State string - The execution state of the ScanRun.
- Has
Vulnerabilities bool - Whether the scan run has found any vulnerabilities.
- Name string
- 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.
- Progress
Percent int - 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.
- Result
State string - The result state of the ScanRun. This field is only available after the execution state reaches "FINISHED".
- Start
Time string - The time at which the ScanRun started.
- Urls
Crawled stringCount - 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.
- Urls
Tested stringCount - 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.
- end
Time String - The time at which the ScanRun reached termination state - that the ScanRun is either finished or stopped by user.
- execution
State String - The execution state of the ScanRun.
- has
Vulnerabilities Boolean - Whether the scan run has found any vulnerabilities.
- name String
- 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.
- progress
Percent Integer - 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.
- result
State String - The result state of the ScanRun. This field is only available after the execution state reaches "FINISHED".
- start
Time String - The time at which the ScanRun started.
- urls
Crawled StringCount - 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.
- urls
Tested StringCount - 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.
- end
Time string - The time at which the ScanRun reached termination state - that the ScanRun is either finished or stopped by user.
- execution
State string - The execution state of the ScanRun.
- has
Vulnerabilities boolean - Whether the scan run has found any vulnerabilities.
- name string
- 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.
- progress
Percent number - 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.
- result
State string - The result state of the ScanRun. This field is only available after the execution state reaches "FINISHED".
- start
Time string - The time at which the ScanRun started.
- urls
Crawled stringCount - 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.
- urls
Tested stringCount - 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.
- end_
time str - The time at which the ScanRun reached termination state - that the ScanRun is either finished or stopped by user.
- execution_
state str - The execution state of the ScanRun.
- has_
vulnerabilities bool - Whether the scan run has found any vulnerabilities.
- name str
- 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.
- progress_
percent int - 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.
- result_
state str - The result state of the ScanRun. This field is only available after the execution state reaches "FINISHED".
- start_
time str - The time at which the ScanRun started.
- urls_
crawled_ strcount - 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.
- urls_
tested_ strcount - 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.
- end
Time String - The time at which the ScanRun reached termination state - that the ScanRun is either finished or stopped by user.
- execution
State String - The execution state of the ScanRun.
- has
Vulnerabilities Boolean - Whether the scan run has found any vulnerabilities.
- name String
- 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.
- progress
Percent Number - 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.
- result
State String - The result state of the ScanRun. This field is only available after the execution state reaches "FINISHED".
- start
Time String - The time at which the ScanRun started.
- urls
Crawled StringCount - 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.
- urls
Tested StringCount - 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.
ScanRunResultState, ScanRunResultStateArgs
- Result
State Unspecified - RESULT_STATE_UNSPECIFIEDDefault value. This value is returned when the ScanRun is not yet finished.
- Success
- SUCCESSThe scan finished without errors.
- Error
- ERRORThe scan finished with errors.
- Killed
- KILLEDThe scan was terminated by user.
- Scan
Run Result State Result State Unspecified - RESULT_STATE_UNSPECIFIEDDefault value. This value is returned when the ScanRun is not yet finished.
- Scan
Run Result State Success - SUCCESSThe scan finished without errors.
- Scan
Run Result State Error - ERRORThe scan finished with errors.
- Scan
Run Result State Killed - KILLEDThe scan was terminated by user.
- Result
State Unspecified - RESULT_STATE_UNSPECIFIEDDefault value. This value is returned when the ScanRun is not yet finished.
- Success
- SUCCESSThe scan finished without errors.
- Error
- ERRORThe scan finished with errors.
- Killed
- KILLEDThe scan was terminated by user.
- Result
State Unspecified - RESULT_STATE_UNSPECIFIEDDefault value. This value is returned when the ScanRun is not yet finished.
- Success
- SUCCESSThe scan finished without errors.
- Error
- ERRORThe scan finished with errors.
- Killed
- KILLEDThe scan was terminated by user.
- RESULT_STATE_UNSPECIFIED
- RESULT_STATE_UNSPECIFIEDDefault value. This value is returned when the ScanRun is not yet finished.
- SUCCESS
- SUCCESSThe scan finished without errors.
- ERROR
- ERRORThe scan finished with errors.
- KILLED
- KILLEDThe scan was terminated by user.
- "RESULT_STATE_UNSPECIFIED"
- RESULT_STATE_UNSPECIFIEDDefault value. This value is returned when the ScanRun is not yet finished.
- "SUCCESS"
- SUCCESSThe scan finished without errors.
- "ERROR"
- ERRORThe scan finished with errors.
- "KILLED"
- KILLEDThe scan was terminated by user.
Schedule, ScheduleArgs
- Interval
Duration intDays - The duration of time between executions in days.
- Schedule
Time string - 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.
- Interval
Duration intDays - The duration of time between executions in days.
- Schedule
Time string - 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.
- interval
Duration IntegerDays - The duration of time between executions in days.
- schedule
Time String - 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.
- interval
Duration numberDays - The duration of time between executions in days.
- schedule
Time string - 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.
- interval_
duration_ intdays - The duration of time between executions in days.
- schedule_
time str - 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.
- interval
Duration NumberDays - The duration of time between executions in days.
- schedule
Time String - 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.
ScheduleResponse, ScheduleResponseArgs
- Interval
Duration intDays - The duration of time between executions in days.
- Schedule
Time string - 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.
- Interval
Duration intDays - The duration of time between executions in days.
- Schedule
Time string - 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.
- interval
Duration IntegerDays - The duration of time between executions in days.
- schedule
Time String - 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.
- interval
Duration numberDays - The duration of time between executions in days.
- schedule
Time string - 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.
- interval_
duration_ intdays - The duration of time between executions in days.
- schedule_
time str - 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.
- interval
Duration NumberDays - The duration of time between executions in days.
- schedule
Time String - 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.
Package Details
- Repository
- Google Cloud Native pulumi/pulumi-google-native
- License
- Apache-2.0
Google Cloud Native is in preview. Google Cloud Classic is fully supported.