Skip to content

Get Configuration

inspector2_get_configuration R Documentation

Retrieves setting configurations for Inspector scans

Description

Retrieves setting configurations for Inspector scans.

Usage

inspector2_get_configuration()

Value

A list with the following syntax:

list(
  ec2Configuration = list(
    scanModeState = list(
      scanMode = "EC2_SSM_AGENT_BASED"|"EC2_HYBRID",
      scanModeStatus = "SUCCESS"|"PENDING"
    )
  ),
  ecrConfiguration = list(
    rescanDurationState = list(
      pullDateRescanDuration = "DAYS_14"|"DAYS_30"|"DAYS_60"|"DAYS_90"|"DAYS_180",
      rescanDuration = "LIFETIME"|"DAYS_30"|"DAYS_180"|"DAYS_14"|"DAYS_60"|"DAYS_90",
      status = "SUCCESS"|"PENDING"|"FAILED",
      updatedAt = as.POSIXct(
        "2015-01-01"
      )
    )
  )
)

Request syntax

svc$get_configuration()