Skip to content

Search Vulnerabilities

inspector2_search_vulnerabilities R Documentation

Lists Amazon Inspector coverage details for a specific vulnerability

Description

Lists Amazon Inspector coverage details for a specific vulnerability.

Usage

inspector2_search_vulnerabilities(filterCriteria, nextToken)

Arguments

filterCriteria

[required] The criteria used to filter the results of a vulnerability search.

nextToken

A token to use for paginating results that are returned in the response. Set the value of this parameter to null for the first request to a list action. For subsequent calls, use the NextToken value returned from the previous request to continue listing results after the first page.

Value

A list with the following syntax:

list(
  nextToken = "string",
  vulnerabilities = list(
    list(
      atigData = list(
        firstSeen = as.POSIXct(
          "2015-01-01"
        ),
        lastSeen = as.POSIXct(
          "2015-01-01"
        ),
        targets = list(
          "string"
        ),
        ttps = list(
          "string"
        )
      ),
      cisaData = list(
        action = "string",
        dateAdded = as.POSIXct(
          "2015-01-01"
        ),
        dateDue = as.POSIXct(
          "2015-01-01"
        )
      ),
      cvss2 = list(
        baseScore = 123.0,
        scoringVector = "string"
      ),
      cvss3 = list(
        baseScore = 123.0,
        scoringVector = "string"
      ),
      cwes = list(
        "string"
      ),
      description = "string",
      detectionPlatforms = list(
        "string"
      ),
      epss = list(
        score = 123.0
      ),
      exploitObserved = list(
        firstSeen = as.POSIXct(
          "2015-01-01"
        ),
        lastSeen = as.POSIXct(
          "2015-01-01"
        )
      ),
      id = "string",
      referenceUrls = list(
        "string"
      ),
      relatedVulnerabilities = list(
        "string"
      ),
      source = "NVD",
      sourceUrl = "string",
      vendorCreatedAt = as.POSIXct(
        "2015-01-01"
      ),
      vendorSeverity = "string",
      vendorUpdatedAt = as.POSIXct(
        "2015-01-01"
      )
    )
  )
)

Request syntax

svc$search_vulnerabilities(
  filterCriteria = list(
    vulnerabilityIds = list(
      "string"
    )
  ),
  nextToken = "string"
)