Skip to content

List Image Scan Findings

imagebuilder_list_image_scan_findings R Documentation

Returns a list of image scan findings for your account

Description

Returns a list of image scan findings for your account.

Usage

imagebuilder_list_image_scan_findings(filters, maxResults, nextToken)

Arguments

filters

An array of name value pairs that you can use to filter your results. You can use the following filters to streamline results:

  • imageBuildVersionArn

  • imagePipelineArn

  • vulnerabilityId

  • severity

If you don't request a filter, then all findings in your account are listed.

maxResults

The maximum items to return in a request.

nextToken

A token to specify where to start paginating. This is the nextToken from a previously truncated response.

Value

A list with the following syntax:

list(
  requestId = "string",
  findings = list(
    list(
      awsAccountId = "string",
      imageBuildVersionArn = "string",
      imagePipelineArn = "string",
      type = "string",
      description = "string",
      title = "string",
      remediation = list(
        recommendation = list(
          text = "string",
          url = "string"
        )
      ),
      severity = "string",
      firstObservedAt = as.POSIXct(
        "2015-01-01"
      ),
      updatedAt = as.POSIXct(
        "2015-01-01"
      ),
      inspectorScore = 123.0,
      inspectorScoreDetails = list(
        adjustedCvss = list(
          scoreSource = "string",
          cvssSource = "string",
          version = "string",
          score = 123.0,
          scoringVector = "string",
          adjustments = list(
            list(
              metric = "string",
              reason = "string"
            )
          )
        )
      ),
      packageVulnerabilityDetails = list(
        vulnerabilityId = "string",
        vulnerablePackages = list(
          list(
            name = "string",
            version = "string",
            sourceLayerHash = "string",
            epoch = 123,
            release = "string",
            arch = "string",
            packageManager = "string",
            filePath = "string",
            fixedInVersion = "string",
            remediation = "string"
          )
        ),
        source = "string",
        cvss = list(
          list(
            baseScore = 123.0,
            scoringVector = "string",
            version = "string",
            source = "string"
          )
        ),
        relatedVulnerabilities = list(
          "string"
        ),
        sourceUrl = "string",
        vendorSeverity = "string",
        vendorCreatedAt = as.POSIXct(
          "2015-01-01"
        ),
        vendorUpdatedAt = as.POSIXct(
          "2015-01-01"
        ),
        referenceUrls = list(
          "string"
        )
      ),
      fixAvailable = "string"
    )
  ),
  nextToken = "string"
)

Request syntax

svc$list_image_scan_findings(
  filters = list(
    list(
      name = "string",
      values = list(
        "string"
      )
    )
  ),
  maxResults = 123,
  nextToken = "string"
)