Skip to content

Retrieves information about a specific code security scan

Description

Retrieves information about a specific code security scan.

Usage

inspector2_get_code_security_scan(resource, scanId)

Arguments

  • resource

    [required] The resource identifier for the code repository that was scanned.

  • scanId

    [required] The unique identifier of the scan to retrieve.

Value

A list with the following syntax:

list(
  scanId = "string",
  resource = list(
    projectId = "string"
  ),
  accountId = "string",
  status = "IN_PROGRESS"|"SUCCESSFUL"|"FAILED"|"SKIPPED",
  statusReason = "string",
  createdAt = as.POSIXct(
    "2015-01-01"
  ),
  updatedAt = as.POSIXct(
    "2015-01-01"
  ),
  lastCommitId = "string"
)

Request syntax

svc$get_code_security_scan(
  resource = list(
    projectId = "string"
  ),
  scanId = "string"
)