Skip to content

Update Assessment Framework

auditmanager_update_assessment_framework R Documentation

Updates a custom framework in Audit Manager

Description

Updates a custom framework in Audit Manager.

Usage

auditmanager_update_assessment_framework(frameworkId, name, description,
  complianceType, controlSets)

Arguments

frameworkId

[required] The unique identifier for the framework.

name

[required] The name of the framework to be updated.

description

The description of the updated framework.

complianceType

The compliance type that the new custom framework supports, such as CIS or HIPAA.

controlSets

[required] The control sets that are associated with the framework.

The Controls object returns a partial response when called through Framework APIs. For a complete Controls object, use get_control.

Value

A list with the following syntax:

list(
  framework = list(
    arn = "string",
    id = "string",
    name = "string",
    type = "Standard"|"Custom",
    complianceType = "string",
    description = "string",
    logo = "string",
    controlSources = "string",
    controlSets = list(
      list(
        id = "string",
        name = "string",
        controls = list(
          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"
          )
        )
      )
    ),
    createdAt = as.POSIXct(
      "2015-01-01"
    ),
    lastUpdatedAt = as.POSIXct(
      "2015-01-01"
    ),
    createdBy = "string",
    lastUpdatedBy = "string",
    tags = list(
      "string"
    )
  )
)

Request syntax

svc$update_assessment_framework(
  frameworkId = "string",
  name = "string",
  description = "string",
  complianceType = "string",
  controlSets = list(
    list(
      id = "string",
      name = "string",
      controls = list(
        list(
          id = "string"
        )
      )
    )
  )
)