Creates a scan configuration for code security scanning¶
Description¶
Creates a scan configuration for code security scanning.
Usage¶
Arguments¶
-
name[required] The name of the scan configuration.
-
level[required] The security level for the scan configuration.
-
configuration[required] The configuration settings for the code security scan.
-
scopeSettingsThe scope settings that define which repositories will be scanned. Include this parameter to create a default scan configuration. Otherwise Amazon Inspector creates a general scan configuration.
A default scan configuration automatically applies to all existing and future projects imported into Amazon Inspector. Use the
batch_associate_code_security_scan_configurationoperation to associate a general scan configuration with projects. -
tagsThe tags to apply to the scan configuration.
Value¶
A list with the following syntax:
Request syntax¶
svc$create_code_security_scan_configuration(
name = "string",
level = "ORGANIZATION"|"ACCOUNT",
configuration = list(
periodicScanConfiguration = list(
frequency = "WEEKLY"|"MONTHLY"|"NEVER",
frequencyExpression = "string"
),
continuousIntegrationScanConfiguration = list(
supportedEvents = list(
"PULL_REQUEST"|"PUSH"
)
),
ruleSetCategories = list(
"SAST"|"IAC"|"SCA"
)
),
scopeSettings = list(
projectSelectionScope = "ALL"
),
tags = list(
"string"
)
)