Skip to content

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"|"Core",
    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"|"Common_Control"|"Core_Control",
        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"
    ),
    state = "ACTIVE"|"END_OF_SUPPORT"
  )
)

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"|"Common_Control"|"Core_Control",
      sourceKeyword = list(
        keywordInputType = "SELECT_FROM_LIST"|"UPLOAD_FILE"|"INPUT_TEXT",
        keywordValue = "string"
      ),
      sourceFrequency = "DAILY"|"WEEKLY"|"MONTHLY",
      troubleshootingText = "string"
    )
  )
)