Skip to content

Update Configuration

inspector2_update_configuration R Documentation

Updates setting configurations for your Amazon Inspector account

Description

Updates setting configurations for your Amazon Inspector account. When you use this API as an Amazon Inspector delegated administrator this updates the setting for all accounts you manage. Member accounts in an organization cannot update this setting.

Usage

inspector2_update_configuration(ec2Configuration, ecrConfiguration)

Arguments

ec2Configuration

Specifies how the Amazon EC2 automated scan will be updated for your environment.

ecrConfiguration

Specifies how the ECR automated re-scan will be updated for your environment.

Value

An empty list.

Request syntax

svc$update_configuration(
  ec2Configuration = list(
    scanMode = "EC2_SSM_AGENT_BASED"|"EC2_HYBRID"
  ),
  ecrConfiguration = list(
    pullDateRescanDuration = "DAYS_14"|"DAYS_30"|"DAYS_60"|"DAYS_90"|"DAYS_180",
    rescanDuration = "LIFETIME"|"DAYS_30"|"DAYS_180"|"DAYS_14"|"DAYS_60"|"DAYS_90"
  )
)