This package is deprecated. Active development has stopped. We recommend using the Google Cloud package instead.
published on Wednesday, Nov 29, 2023 by Pulumi
This package is deprecated. Active development has stopped. We recommend using the Google Cloud package instead.
published on Wednesday, Nov 29, 2023 by Pulumi
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,
max_qps: Optional[int] = None,
export_to_security_command_center: Optional[ScanConfigExportToSecurityCommandCenter] = None,
ignore_http_status_errors: Optional[bool] = None,
managed_scan: Optional[bool] = None,
authentication: Optional[AuthenticationArgs] = None,
name: Optional[str] = None,
project: Optional[str] = None,
risk_level: Optional[ScanConfigRiskLevel] = None,
schedule: Optional[ScheduleArgs] = None,
blacklist_patterns: Optional[Sequence[str]] = None,
static_ip_scan: Optional[bool] = 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/v1:ScanConfig
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
resource "google-native_websecurityscanner_v1_scan_config" "name" {
# resource properties
}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 scanConfigResource = new GoogleNative.WebSecurityScanner.V1.ScanConfig("scanConfigResource", new()
{
DisplayName = "string",
StartingUrls = new[]
{
"string",
},
MaxQps = 0,
ExportToSecurityCommandCenter = GoogleNative.WebSecurityScanner.V1.ScanConfigExportToSecurityCommandCenter.ExportToSecurityCommandCenterUnspecified,
IgnoreHttpStatusErrors = false,
ManagedScan = false,
Authentication = new GoogleNative.WebSecurityScanner.V1.Inputs.AuthenticationArgs
{
CustomAccount = new GoogleNative.WebSecurityScanner.V1.Inputs.CustomAccountArgs
{
LoginUrl = "string",
Password = "string",
Username = "string",
},
GoogleAccount = new GoogleNative.WebSecurityScanner.V1.Inputs.GoogleAccountArgs
{
Password = "string",
Username = "string",
},
IapCredential = new GoogleNative.WebSecurityScanner.V1.Inputs.IapCredentialArgs
{
IapTestServiceAccountInfo = new GoogleNative.WebSecurityScanner.V1.Inputs.IapTestServiceAccountInfoArgs
{
TargetAudienceClientId = "string",
},
},
},
Name = "string",
Project = "string",
RiskLevel = GoogleNative.WebSecurityScanner.V1.ScanConfigRiskLevel.RiskLevelUnspecified,
Schedule = new GoogleNative.WebSecurityScanner.V1.Inputs.ScheduleArgs
{
IntervalDurationDays = 0,
ScheduleTime = "string",
},
BlacklistPatterns = new[]
{
"string",
},
StaticIpScan = false,
UserAgent = GoogleNative.WebSecurityScanner.V1.ScanConfigUserAgent.UserAgentUnspecified,
});
example, err := websecurityscanner.NewScanConfig(ctx, "scanConfigResource", &websecurityscanner.ScanConfigArgs{
DisplayName: pulumi.String("string"),
StartingUrls: pulumi.StringArray{
pulumi.String("string"),
},
MaxQps: pulumi.Int(0),
ExportToSecurityCommandCenter: websecurityscanner.ScanConfigExportToSecurityCommandCenterExportToSecurityCommandCenterUnspecified,
IgnoreHttpStatusErrors: pulumi.Bool(false),
ManagedScan: pulumi.Bool(false),
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"),
},
IapCredential: &websecurityscanner.IapCredentialArgs{
IapTestServiceAccountInfo: &websecurityscanner.IapTestServiceAccountInfoArgs{
TargetAudienceClientId: pulumi.String("string"),
},
},
},
Name: pulumi.String("string"),
Project: pulumi.String("string"),
RiskLevel: websecurityscanner.ScanConfigRiskLevelRiskLevelUnspecified,
Schedule: &websecurityscanner.ScheduleArgs{
IntervalDurationDays: pulumi.Int(0),
ScheduleTime: pulumi.String("string"),
},
BlacklistPatterns: pulumi.StringArray{
pulumi.String("string"),
},
StaticIpScan: pulumi.Bool(false),
UserAgent: websecurityscanner.ScanConfigUserAgentUserAgentUnspecified,
})
resource "google-native_websecurityscanner_v1_scan_config" "scanConfigResource" {
lifecycle {
create_before_destroy = true
}
display_name = "string"
starting_urls = ["string"]
max_qps = 0
export_to_security_command_center = "EXPORT_TO_SECURITY_COMMAND_CENTER_UNSPECIFIED"
ignore_http_status_errors = false
managed_scan = false
authentication = {
custom_account = {
login_url = "string"
password = "string"
username = "string"
}
google_account = {
password = "string"
username = "string"
}
iap_credential = {
iap_test_service_account_info = {
target_audience_client_id = "string"
}
}
}
name = "string"
project = "string"
risk_level = "RISK_LEVEL_UNSPECIFIED"
schedule = {
interval_duration_days = 0
schedule_time = "string"
}
blacklist_patterns = ["string"]
static_ip_scan = false
user_agent = "USER_AGENT_UNSPECIFIED"
}
var scanConfigResource = new com.pulumi.googlenative.websecurityscanner_v1.ScanConfig("scanConfigResource", com.pulumi.googlenative.websecurityscanner_v1.ScanConfigArgs.builder()
.displayName("string")
.startingUrls("string")
.maxQps(0)
.exportToSecurityCommandCenter(com.pulumi.googlenative.websecurityscanner_v1.enums.ScanConfigExportToSecurityCommandCenter.ExportToSecurityCommandCenterUnspecified)
.ignoreHttpStatusErrors(false)
.managedScan(false)
.authentication(com.pulumi.googlenative.websecurityscanner_v1.inputs.AuthenticationArgs.builder()
.customAccount(com.pulumi.googlenative.websecurityscanner_v1.inputs.CustomAccountArgs.builder()
.loginUrl("string")
.password("string")
.username("string")
.build())
.googleAccount(com.pulumi.googlenative.websecurityscanner_v1.inputs.GoogleAccountArgs.builder()
.password("string")
.username("string")
.build())
.iapCredential(com.pulumi.googlenative.websecurityscanner_v1.inputs.IapCredentialArgs.builder()
.iapTestServiceAccountInfo(com.pulumi.googlenative.websecurityscanner_v1.inputs.IapTestServiceAccountInfoArgs.builder()
.targetAudienceClientId("string")
.build())
.build())
.build())
.name("string")
.project("string")
.riskLevel(com.pulumi.googlenative.websecurityscanner_v1.enums.ScanConfigRiskLevel.RiskLevelUnspecified)
.schedule(com.pulumi.googlenative.websecurityscanner_v1.inputs.ScheduleArgs.builder()
.intervalDurationDays(0)
.scheduleTime("string")
.build())
.blacklistPatterns("string")
.staticIpScan(false)
.userAgent(com.pulumi.googlenative.websecurityscanner_v1.enums.ScanConfigUserAgent.UserAgentUnspecified)
.build());
scan_config_resource = google_native.websecurityscanner.v1.ScanConfig("scanConfigResource",
display_name="string",
starting_urls=["string"],
max_qps=0,
export_to_security_command_center=google_native.websecurityscanner.v1.ScanConfigExportToSecurityCommandCenter.EXPORT_TO_SECURITY_COMMAND_CENTER_UNSPECIFIED,
ignore_http_status_errors=False,
managed_scan=False,
authentication={
"custom_account": {
"login_url": "string",
"password": "string",
"username": "string",
},
"google_account": {
"password": "string",
"username": "string",
},
"iap_credential": {
"iap_test_service_account_info": {
"target_audience_client_id": "string",
},
},
},
name="string",
project="string",
risk_level=google_native.websecurityscanner.v1.ScanConfigRiskLevel.RISK_LEVEL_UNSPECIFIED,
schedule={
"interval_duration_days": 0,
"schedule_time": "string",
},
blacklist_patterns=["string"],
static_ip_scan=False,
user_agent=google_native.websecurityscanner.v1.ScanConfigUserAgent.USER_AGENT_UNSPECIFIED)
const scanConfigResource = new google_native.websecurityscanner.v1.ScanConfig("scanConfigResource", {
displayName: "string",
startingUrls: ["string"],
maxQps: 0,
exportToSecurityCommandCenter: google_native.websecurityscanner.v1.ScanConfigExportToSecurityCommandCenter.ExportToSecurityCommandCenterUnspecified,
ignoreHttpStatusErrors: false,
managedScan: false,
authentication: {
customAccount: {
loginUrl: "string",
password: "string",
username: "string",
},
googleAccount: {
password: "string",
username: "string",
},
iapCredential: {
iapTestServiceAccountInfo: {
targetAudienceClientId: "string",
},
},
},
name: "string",
project: "string",
riskLevel: google_native.websecurityscanner.v1.ScanConfigRiskLevel.RiskLevelUnspecified,
schedule: {
intervalDurationDays: 0,
scheduleTime: "string",
},
blacklistPatterns: ["string"],
staticIpScan: false,
userAgent: google_native.websecurityscanner.v1.ScanConfigUserAgent.UserAgentUnspecified,
});
type: google-native:websecurityscanner/v1:ScanConfig
properties:
authentication:
customAccount:
loginUrl: string
password: string
username: string
googleAccount:
password: string
username: string
iapCredential:
iapTestServiceAccountInfo:
targetAudienceClientId: string
blacklistPatterns:
- string
displayName: string
exportToSecurityCommandCenter: EXPORT_TO_SECURITY_COMMAND_CENTER_UNSPECIFIED
ignoreHttpStatusErrors: false
managedScan: false
maxQps: 0
name: string
project: string
riskLevel: RISK_LEVEL_UNSPECIFIED
schedule:
intervalDurationDays: 0
scheduleTime: string
startingUrls:
- string
staticIpScan: false
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. V1. 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
- Export
To Pulumi.Security Command Center Google Native. Web Security Scanner. V1. Scan Config Export To Security Command Center - Controls export of scan configurations and results to Security Command Center.
- Ignore
Http boolStatus Errors - Whether to keep scanning even if most requests return HTTP error codes.
- Managed
Scan bool - Whether the scan config is managed by Web Security Scanner, output only.
- 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
- Risk
Level Pulumi.Google Native. Web Security Scanner. V1. Scan Config Risk Level - The risk level selected for the scan
- Schedule
Pulumi.
Google Native. Web Security Scanner. V1. Inputs. Schedule - The schedule of the ScanConfig.
- Static
Ip boolScan - Whether the scan configuration has enabled static IP address scan feature. If enabled, the scanner will access applications from static IP addresses.
- User
Agent Pulumi.Google Native. Web Security Scanner. V1. 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
- Export
To ScanSecurity Command Center Config Export To Security Command Center - Controls export of scan configurations and results to Security Command Center.
- Ignore
Http boolStatus Errors - Whether to keep scanning even if most requests return HTTP error codes.
- Managed
Scan bool - Whether the scan config is managed by Web Security Scanner, output only.
- 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
- Risk
Level ScanConfig Risk Level - The risk level selected for the scan
- Schedule
Schedule
Args - The schedule of the ScanConfig.
- Static
Ip boolScan - Whether the scan configuration has enabled static IP address scan feature. If enabled, the scanner will access applications from static IP addresses.
- 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 object
- 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
- export_
to_ "EXPORT_TO_SECURITY_COMMAND_CENTER_UNSPECIFIED" | "ENABLED" | "DISABLED"security_ command_ center - Controls export of scan configurations and results to Security Command Center.
- ignore_
http_ boolstatus_ errors - Whether to keep scanning even if most requests return HTTP error codes.
- managed_
scan bool - Whether the scan config is managed by Web Security Scanner, output only.
- 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
- risk_
level "RISK_LEVEL_UNSPECIFIED" | "NORMAL" | "LOW" - The risk level selected for the scan
- schedule object
- The schedule of the ScanConfig.
- static_
ip_ boolscan - Whether the scan configuration has enabled static IP address scan feature. If enabled, the scanner will access applications from static IP addresses.
- user_
agent "USER_AGENT_UNSPECIFIED" | "CHROME_LINUX" | "CHROME_ANDROID" | "SAFARI_IPHONE" - 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
- export
To ScanSecurity Command Center Config Export To Security Command Center - Controls export of scan configurations and results to Security Command Center.
- ignore
Http BooleanStatus Errors - Whether to keep scanning even if most requests return HTTP error codes.
- managed
Scan Boolean - Whether the scan config is managed by Web Security Scanner, output only.
- 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
- risk
Level ScanConfig Risk Level - The risk level selected for the scan
- schedule Schedule
- The schedule of the ScanConfig.
- static
Ip BooleanScan - Whether the scan configuration has enabled static IP address scan feature. If enabled, the scanner will access applications from static IP addresses.
- 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
- export
To ScanSecurity Command Center Config Export To Security Command Center - Controls export of scan configurations and results to Security Command Center.
- ignore
Http booleanStatus Errors - Whether to keep scanning even if most requests return HTTP error codes.
- managed
Scan boolean - Whether the scan config is managed by Web Security Scanner, output only.
- 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
- risk
Level ScanConfig Risk Level - The risk level selected for the scan
- schedule Schedule
- The schedule of the ScanConfig.
- static
Ip booleanScan - Whether the scan configuration has enabled static IP address scan feature. If enabled, the scanner will access applications from static IP addresses.
- 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
- export_
to_ Scansecurity_ command_ center Config Export To Security Command Center - Controls export of scan configurations and results to Security Command Center.
- ignore_
http_ boolstatus_ errors - Whether to keep scanning even if most requests return HTTP error codes.
- managed_
scan bool - Whether the scan config is managed by Web Security Scanner, output only.
- 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
- risk_
level ScanConfig Risk Level - The risk level selected for the scan
- schedule
Schedule
Args - The schedule of the ScanConfig.
- static_
ip_ boolscan - Whether the scan configuration has enabled static IP address scan feature. If enabled, the scanner will access applications from static IP addresses.
- 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
- export
To "EXPORT_TO_SECURITY_COMMAND_CENTER_UNSPECIFIED" | "ENABLED" | "DISABLED"Security Command Center - Controls export of scan configurations and results to Security Command Center.
- ignore
Http BooleanStatus Errors - Whether to keep scanning even if most requests return HTTP error codes.
- managed
Scan Boolean - Whether the scan config is managed by Web Security Scanner, output only.
- 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
- risk
Level "RISK_LEVEL_UNSPECIFIED" | "NORMAL" | "LOW" - The risk level selected for the scan
- schedule Property Map
- The schedule of the ScanConfig.
- static
Ip BooleanScan - Whether the scan configuration has enabled static IP address scan feature. If enabled, the scanner will access applications from static IP addresses.
- 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 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.
Look up Existing ScanConfig Resource
Get an existing ScanConfig resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, opts?: CustomResourceOptions): ScanConfig@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None) -> ScanConfigfunc GetScanConfig(ctx *Context, name string, id IDInput, state *ScanConfigState, opts ...ResourceOption) (*ScanConfig, error)public static ScanConfig Get(string name, Input<string> id, CustomResourceOptions? opts = null)public static ScanConfig get(String name, Output<String> id, CustomResourceOptions options)resources: existingScanConfig: type: google-native:websecurityscanner/v1:ScanConfig get: id: ${id}import {
to = google-native_websecurityscanner_v1_scan_config.example
id = "${id}"
}
- name string
- The unique name of the resulting resource.
- id Input<ID>
- The unique provider ID of the resource to look up.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resulting resource.
- id str
- The unique provider ID of the resource to look up.
- 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 resulting resource.
- id IDInput
- The unique provider ID of the resource to look up.
- state ScanConfigState
- Pass nil. This resource has no state arguments.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resulting resource.
- id Input<string>
- The unique provider ID of the resource to look up.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resulting resource.
- id Output<String>
- The unique provider ID of the resource to look up.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Supporting Types
Authentication, AuthenticationArgs
Scan authentication configuration.
- Custom
Account Pulumi.Google Native. Web Security Scanner. V1. Inputs. Custom Account - Authentication using a custom account.
- Google
Account Pulumi.Google Native. Web Security Scanner. V1. Inputs. Google Account - Authentication using a Google account.
- Iap
Credential Pulumi.Google Native. Web Security Scanner. V1. Inputs. Iap Credential - Authentication using Identity-Aware-Proxy (IAP).
- Custom
Account CustomAccount - Authentication using a custom account.
- Google
Account GoogleAccount - Authentication using a Google account.
- Iap
Credential IapCredential - Authentication using Identity-Aware-Proxy (IAP).
- custom_
account object - Authentication using a custom account.
- google_
account object - Authentication using a Google account.
- iap_
credential object - Authentication using Identity-Aware-Proxy (IAP).
- custom
Account CustomAccount - Authentication using a custom account.
- google
Account GoogleAccount - Authentication using a Google account.
- iap
Credential IapCredential - Authentication using Identity-Aware-Proxy (IAP).
- custom
Account CustomAccount - Authentication using a custom account.
- google
Account GoogleAccount - Authentication using a Google account.
- iap
Credential IapCredential - Authentication using Identity-Aware-Proxy (IAP).
- custom_
account CustomAccount - Authentication using a custom account.
- google_
account GoogleAccount - Authentication using a Google account.
- iap_
credential IapCredential - Authentication using Identity-Aware-Proxy (IAP).
- custom
Account Property Map - Authentication using a custom account.
- google
Account Property Map - Authentication using a Google account.
- iap
Credential Property Map - Authentication using Identity-Aware-Proxy (IAP).
AuthenticationResponse
Scan authentication configuration.
- Custom
Account Pulumi.Google Native. Web Security Scanner. V1. Inputs. Custom Account Response - Authentication using a custom account.
- Google
Account Pulumi.Google Native. Web Security Scanner. V1. Inputs. Google Account Response - Authentication using a Google account.
- Iap
Credential Pulumi.Google Native. Web Security Scanner. V1. Inputs. Iap Credential Response - Authentication using Identity-Aware-Proxy (IAP).
- Custom
Account CustomAccount Response - Authentication using a custom account.
- Google
Account GoogleAccount Response - Authentication using a Google account.
- Iap
Credential IapCredential Response - Authentication using Identity-Aware-Proxy (IAP).
- custom_
account object - Authentication using a custom account.
- google_
account object - Authentication using a Google account.
- iap_
credential object - Authentication using Identity-Aware-Proxy (IAP).
- custom
Account CustomAccount Response - Authentication using a custom account.
- google
Account GoogleAccount Response - Authentication using a Google account.
- iap
Credential IapCredential Response - Authentication using Identity-Aware-Proxy (IAP).
- custom
Account CustomAccount Response - Authentication using a custom account.
- google
Account GoogleAccount Response - Authentication using a Google account.
- iap
Credential IapCredential Response - Authentication using Identity-Aware-Proxy (IAP).
- custom_
account CustomAccount Response - Authentication using a custom account.
- google_
account GoogleAccount Response - Authentication using a Google account.
- iap_
credential IapCredential Response - Authentication using Identity-Aware-Proxy (IAP).
- custom
Account Property Map - Authentication using a custom account.
- google
Account Property Map - Authentication using a Google account.
- iap
Credential Property Map - Authentication using Identity-Aware-Proxy (IAP).
CustomAccount, CustomAccountArgs
Describes authentication configuration that uses a custom account.
CustomAccountResponse
Describes authentication configuration that uses a custom account.
GoogleAccount, GoogleAccountArgs
Describes authentication configuration that uses a Google account.
GoogleAccountResponse
Describes authentication configuration that uses a Google account.
IapCredential, IapCredentialArgs
Describes authentication configuration for Identity-Aware-Proxy (IAP).
- Iap
Test Pulumi.Service Account Info Google Native. Web Security Scanner. V1. Inputs. Iap Test Service Account Info - Authentication configuration when Web-Security-Scanner service account is added in Identity-Aware-Proxy (IAP) access policies.
- Iap
Test IapService Account Info Test Service Account Info - Authentication configuration when Web-Security-Scanner service account is added in Identity-Aware-Proxy (IAP) access policies.
- iap_
test_ objectservice_ account_ info - Authentication configuration when Web-Security-Scanner service account is added in Identity-Aware-Proxy (IAP) access policies.
- iap
Test IapService Account Info Test Service Account Info - Authentication configuration when Web-Security-Scanner service account is added in Identity-Aware-Proxy (IAP) access policies.
- iap
Test IapService Account Info Test Service Account Info - Authentication configuration when Web-Security-Scanner service account is added in Identity-Aware-Proxy (IAP) access policies.
- iap_
test_ Iapservice_ account_ info Test Service Account Info - Authentication configuration when Web-Security-Scanner service account is added in Identity-Aware-Proxy (IAP) access policies.
- iap
Test Property MapService Account Info - Authentication configuration when Web-Security-Scanner service account is added in Identity-Aware-Proxy (IAP) access policies.
IapCredentialResponse
Describes authentication configuration for Identity-Aware-Proxy (IAP).
- Iap
Test Pulumi.Service Account Info Google Native. Web Security Scanner. V1. Inputs. Iap Test Service Account Info Response - Authentication configuration when Web-Security-Scanner service account is added in Identity-Aware-Proxy (IAP) access policies.
- Iap
Test IapService Account Info Test Service Account Info Response - Authentication configuration when Web-Security-Scanner service account is added in Identity-Aware-Proxy (IAP) access policies.
- iap_
test_ objectservice_ account_ info - Authentication configuration when Web-Security-Scanner service account is added in Identity-Aware-Proxy (IAP) access policies.
- iap
Test IapService Account Info Test Service Account Info Response - Authentication configuration when Web-Security-Scanner service account is added in Identity-Aware-Proxy (IAP) access policies.
- iap
Test IapService Account Info Test Service Account Info Response - Authentication configuration when Web-Security-Scanner service account is added in Identity-Aware-Proxy (IAP) access policies.
- iap_
test_ Iapservice_ account_ info Test Service Account Info Response - Authentication configuration when Web-Security-Scanner service account is added in Identity-Aware-Proxy (IAP) access policies.
- iap
Test Property MapService Account Info - Authentication configuration when Web-Security-Scanner service account is added in Identity-Aware-Proxy (IAP) access policies.
IapTestServiceAccountInfo, IapTestServiceAccountInfoArgs
Describes authentication configuration when Web-Security-Scanner service account is added in Identity-Aware-Proxy (IAP) access policies.
- Target
Audience stringClient Id - Describes OAuth2 client id of resources protected by Identity-Aware-Proxy (IAP).
- Target
Audience stringClient Id - Describes OAuth2 client id of resources protected by Identity-Aware-Proxy (IAP).
- target_
audience_ stringclient_ id - Describes OAuth2 client id of resources protected by Identity-Aware-Proxy (IAP).
- target
Audience StringClient Id - Describes OAuth2 client id of resources protected by Identity-Aware-Proxy (IAP).
- target
Audience stringClient Id - Describes OAuth2 client id of resources protected by Identity-Aware-Proxy (IAP).
- target_
audience_ strclient_ id - Describes OAuth2 client id of resources protected by Identity-Aware-Proxy (IAP).
- target
Audience StringClient Id - Describes OAuth2 client id of resources protected by Identity-Aware-Proxy (IAP).
IapTestServiceAccountInfoResponse
Describes authentication configuration when Web-Security-Scanner service account is added in Identity-Aware-Proxy (IAP) access policies.
- Target
Audience stringClient Id - Describes OAuth2 client id of resources protected by Identity-Aware-Proxy (IAP).
- Target
Audience stringClient Id - Describes OAuth2 client id of resources protected by Identity-Aware-Proxy (IAP).
- target_
audience_ stringclient_ id - Describes OAuth2 client id of resources protected by Identity-Aware-Proxy (IAP).
- target
Audience StringClient Id - Describes OAuth2 client id of resources protected by Identity-Aware-Proxy (IAP).
- target
Audience stringClient Id - Describes OAuth2 client id of resources protected by Identity-Aware-Proxy (IAP).
- target_
audience_ strclient_ id - Describes OAuth2 client id of resources protected by Identity-Aware-Proxy (IAP).
- target
Audience StringClient Id - Describes OAuth2 client id of resources protected by Identity-Aware-Proxy (IAP).
ScanConfigExportToSecurityCommandCenter
Controls export of scan configurations and results to Security Command Center.
| Name | Value | Description |
|---|---|---|
| Export | EXPORT_TO_SECURITY_COMMAND_CENTER_UNSPECIFIED | Use default, which is ENABLED. |
| Enabled | ENABLED | Export results of this scan to Security Command Center. |
| Disabled | DISABLED | Do not export results of this scan to Security Command Center. |
| Name | Value | Description |
|---|---|---|
| Scan | EXPORT_TO_SECURITY_COMMAND_CENTER_UNSPECIFIED | Use default, which is ENABLED. |
| Scan | ENABLED | Export results of this scan to Security Command Center. |
| Scan | DISABLED | Do not export results of this scan to Security Command Center. |
| Value | Description |
|---|---|
EXPORT_TO_SECURITY_COMMAND_CENTER_UNSPECIFIED | Use default, which is ENABLED. |
ENABLED | Export results of this scan to Security Command Center. |
DISABLED | Do not export results of this scan to Security Command Center. |
| Name | Value | Description |
|---|---|---|
| Export | EXPORT_TO_SECURITY_COMMAND_CENTER_UNSPECIFIED | Use default, which is ENABLED. |
| Enabled | ENABLED | Export results of this scan to Security Command Center. |
| Disabled | DISABLED | Do not export results of this scan to Security Command Center. |
| Name | Value | Description |
|---|---|---|
| Export | EXPORT_TO_SECURITY_COMMAND_CENTER_UNSPECIFIED | Use default, which is ENABLED. |
| Enabled | ENABLED | Export results of this scan to Security Command Center. |
| Disabled | DISABLED | Do not export results of this scan to Security Command Center. |
| Name | Value | Description |
|---|---|---|
| EXPORT_TO_SECURITY_COMMAND_CENTER_UNSPECIFIED | EXPORT_TO_SECURITY_COMMAND_CENTER_UNSPECIFIED | Use default, which is ENABLED. |
| ENABLED | ENABLED | Export results of this scan to Security Command Center. |
| DISABLED | DISABLED | Do not export results of this scan to Security Command Center. |
| Value | Description |
|---|---|
EXPORT_TO_SECURITY_COMMAND_CENTER_UNSPECIFIED | Use default, which is ENABLED. |
ENABLED | Export results of this scan to Security Command Center. |
DISABLED | Do not export results of this scan to Security Command Center. |
ScanConfigRiskLevel
The risk level selected for the scan
| Name | Value | Description |
|---|---|---|
| Risk | RISK_LEVEL_UNSPECIFIED | Use default, which is NORMAL. |
| Normal | NORMAL | Normal scanning (Recommended) |
| Low | LOW | Lower impact scanning |
| Name | Value | Description |
|---|---|---|
| Scan | RISK_LEVEL_UNSPECIFIED | Use default, which is NORMAL. |
| Scan | NORMAL | Normal scanning (Recommended) |
| Scan | LOW | Lower impact scanning |
| Value | Description |
|---|---|
RISK_LEVEL_UNSPECIFIED | Use default, which is NORMAL. |
NORMAL | Normal scanning (Recommended) |
LOW | Lower impact scanning |
| Name | Value | Description |
|---|---|---|
| Risk | RISK_LEVEL_UNSPECIFIED | Use default, which is NORMAL. |
| Normal | NORMAL | Normal scanning (Recommended) |
| Low | LOW | Lower impact scanning |
| Name | Value | Description |
|---|---|---|
| Risk | RISK_LEVEL_UNSPECIFIED | Use default, which is NORMAL. |
| Normal | NORMAL | Normal scanning (Recommended) |
| Low | LOW | Lower impact scanning |
| Name | Value | Description |
|---|---|---|
| RISK_LEVEL_UNSPECIFIED | RISK_LEVEL_UNSPECIFIED | Use default, which is NORMAL. |
| NORMAL | NORMAL | Normal scanning (Recommended) |
| LOW | LOW | Lower impact scanning |
| Value | Description |
|---|---|
RISK_LEVEL_UNSPECIFIED | Use default, which is NORMAL. |
NORMAL | Normal scanning (Recommended) |
LOW | Lower impact scanning |
ScanConfigUserAgent
The user agent used during scanning.
| Name | Value | Description |
|---|---|---|
| User | USER_AGENT_UNSPECIFIED | The user agent is unknown. Service will default to CHROME_LINUX. |
| Chrome | CHROME_LINUX | Chrome on Linux. This is the service default if unspecified. |
| Chrome | CHROME_ANDROID | Chrome on Android. |
| Safari | SAFARI_IPHONE | Safari on IPhone. |
| Name | Value | Description |
|---|---|---|
| Scan | USER_AGENT_UNSPECIFIED | The user agent is unknown. Service will default to CHROME_LINUX. |
| Scan | CHROME_LINUX | Chrome on Linux. This is the service default if unspecified. |
| Scan | CHROME_ANDROID | Chrome on Android. |
| Scan | SAFARI_IPHONE | Safari on IPhone. |
| Value | Description |
|---|---|
USER_AGENT_UNSPECIFIED | The user agent is unknown. Service will default to CHROME_LINUX. |
CHROME_LINUX | Chrome on Linux. This is the service default if unspecified. |
CHROME_ANDROID | Chrome on Android. |
SAFARI_IPHONE | Safari on IPhone. |
| Name | Value | Description |
|---|---|---|
| User | USER_AGENT_UNSPECIFIED | The user agent is unknown. Service will default to CHROME_LINUX. |
| Chrome | CHROME_LINUX | Chrome on Linux. This is the service default if unspecified. |
| Chrome | CHROME_ANDROID | Chrome on Android. |
| Safari | SAFARI_IPHONE | Safari on IPhone. |
| Name | Value | Description |
|---|---|---|
| User | USER_AGENT_UNSPECIFIED | The user agent is unknown. Service will default to CHROME_LINUX. |
| Chrome | CHROME_LINUX | Chrome on Linux. This is the service default if unspecified. |
| Chrome | CHROME_ANDROID | Chrome on Android. |
| Safari | SAFARI_IPHONE | Safari on IPhone. |
| Name | Value | Description |
|---|---|---|
| USER_AGENT_UNSPECIFIED | USER_AGENT_UNSPECIFIED | The user agent is unknown. Service will default to CHROME_LINUX. |
| CHROME_LINUX | CHROME_LINUX | Chrome on Linux. This is the service default if unspecified. |
| CHROME_ANDROID | CHROME_ANDROID | Chrome on Android. |
| SAFARI_IPHONE | SAFARI_IPHONE | Safari on IPhone. |
| Value | Description |
|---|---|
USER_AGENT_UNSPECIFIED | The user agent is unknown. Service will default to CHROME_LINUX. |
CHROME_LINUX | Chrome on Linux. This is the service default if unspecified. |
CHROME_ANDROID | Chrome on Android. |
SAFARI_IPHONE | Safari on IPhone. |
Schedule, ScheduleArgs
Scan schedule configuration.
- 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_ 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 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
Scan schedule configuration.
- 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_ 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 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
This package is deprecated. Active development has stopped. We recommend using the Google Cloud package instead.
published on Wednesday, Nov 29, 2023 by Pulumi