Skip to content

Create Assessment Framework

auditmanager_create_assessment_framework R Documentation

Creates a custom framework in Audit Manager

Description

Creates a custom framework in Audit Manager.

Usage

auditmanager_create_assessment_framework(name, description,
  complianceType, controlSets, tags)

Arguments

name

[required] The name of the new custom framework.

description

An optional description for the new custom 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.

tags

The tags that are associated with the framework.

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$create_assessment_framework(
  name = "string",
  description = "string",
  complianceType = "string",
  controlSets = list(
    list(
      name = "string",
      controls = list(
        list(
          id = "string"
        )
      )
    )
  ),
  tags = list(
    "string"
  )
)