Skip to content

Create Control

auditmanager_create_control R Documentation

Creates a new custom control in Audit Manager

Description

Creates a new custom control in Audit Manager.

Usage

auditmanager_create_control(name, description, testingInformation,
  actionPlanTitle, actionPlanInstructions, controlMappingSources, tags)

Arguments

name

[required] The name of the control.

description

The description of the control.

testingInformation

The steps to follow to determine if the control is satisfied.

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.

tags

The tags that are associated with 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$create_control(
  name = "string",
  description = "string",
  testingInformation = "string",
  actionPlanTitle = "string",
  actionPlanInstructions = "string",
  controlMappingSources = list(
    list(
      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"
    )
  ),
  tags = list(
    "string"
  )
)