Skip to content

Update Control

auditmanager_update_control R Documentation

Updates a custom control in Audit Manager

Description

Updates a custom control in Audit Manager.

Usage

auditmanager_update_control(controlId, name, description,
  testingInformation, actionPlanTitle, actionPlanInstructions,
  controlMappingSources)

Arguments

controlId

[required] The identifier for the control.

name

[required] The name of the updated control.

description

The optional description of the control.

testingInformation

The steps that you should follow to determine if the control is met.

actionPlanTitle

The title of the action plan for remediating the control.

actionPlanInstructions

The recommended actions to carry out if the control isn't fulfilled.

controlMappingSources

[required] The data mapping sources for the control.

Value

A list with the following syntax:

list(
  control = list(
    arn = "string",
    id = "string",
    type = "Standard"|"Custom",
    name = "string",
    description = "string",
    testingInformation = "string",
    actionPlanTitle = "string",
    actionPlanInstructions = "string",
    controlSources = "string",
    controlMappingSources = list(
      list(
        sourceId = "string",
        sourceName = "string",
        sourceDescription = "string",
        sourceSetUpOption = "System_Controls_Mapping"|"Procedural_Controls_Mapping",
        sourceType = "AWS_Cloudtrail"|"AWS_Config"|"AWS_Security_Hub"|"AWS_API_Call"|"MANUAL",
        sourceKeyword = list(
          keywordInputType = "SELECT_FROM_LIST"|"UPLOAD_FILE"|"INPUT_TEXT",
          keywordValue = "string"
        ),
        sourceFrequency = "DAILY"|"WEEKLY"|"MONTHLY",
        troubleshootingText = "string"
      )
    ),
    createdAt = as.POSIXct(
      "2015-01-01"
    ),
    lastUpdatedAt = as.POSIXct(
      "2015-01-01"
    ),
    createdBy = "string",
    lastUpdatedBy = "string",
    tags = list(
      "string"
    )
  )
)

Request syntax

svc$update_control(
  controlId = "string",
  name = "string",
  description = "string",
  testingInformation = "string",
  actionPlanTitle = "string",
  actionPlanInstructions = "string",
  controlMappingSources = list(
    list(
      sourceId = "string",
      sourceName = "string",
      sourceDescription = "string",
      sourceSetUpOption = "System_Controls_Mapping"|"Procedural_Controls_Mapping",
      sourceType = "AWS_Cloudtrail"|"AWS_Config"|"AWS_Security_Hub"|"AWS_API_Call"|"MANUAL",
      sourceKeyword = list(
        keywordInputType = "SELECT_FROM_LIST"|"UPLOAD_FILE"|"INPUT_TEXT",
        keywordValue = "string"
      ),
      sourceFrequency = "DAILY"|"WEEKLY"|"MONTHLY",
      troubleshootingText = "string"
    )
  )
)