Start Code Security Scan
| inspector2_start_code_security_scan | R Documentation |
Initiates a code security scan on a specified repository¶
Description¶
Initiates a code security scan on a specified repository.
Usage¶
inspector2_start_code_security_scan(clientToken, resource)
Arguments¶
clientToken |
A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. |
resource |
[required] The resource identifier for the code repository to scan. |
Value¶
A list with the following syntax:
list(
scanId = "string",
status = "IN_PROGRESS"|"SUCCESSFUL"|"FAILED"|"SKIPPED"
)
Request syntax¶
svc$start_code_security_scan(
clientToken = "string",
resource = list(
projectId = "string"
)
)