Skip to content

Update Assessment Control Set Status

auditmanager_update_assessment_control_set_status R Documentation

Updates the status of a control set in an Audit Manager assessment

Description

Updates the status of a control set in an Audit Manager assessment.

Usage

auditmanager_update_assessment_control_set_status(assessmentId,
  controlSetId, status, comment)

Arguments

assessmentId

[required] The unique identifier for the assessment.

controlSetId

[required] The unique identifier for the control set.

status

[required] The status of the control set that's being updated.

comment

[required] The comment that's related to the status update.

Value

A list with the following syntax:

list(
  controlSet = list(
    id = "string",
    description = "string",
    status = "ACTIVE"|"UNDER_REVIEW"|"REVIEWED",
    roles = list(
      list(
        roleType = "PROCESS_OWNER"|"RESOURCE_OWNER",
        roleArn = "string"
      )
    ),
    controls = list(
      list(
        id = "string",
        name = "string",
        description = "string",
        status = "UNDER_REVIEW"|"REVIEWED"|"INACTIVE",
        response = "MANUAL"|"AUTOMATE"|"DEFER"|"IGNORE",
        comments = list(
          list(
            authorName = "string",
            commentBody = "string",
            postedDate = as.POSIXct(
              "2015-01-01"
            )
          )
        ),
        evidenceSources = list(
          "string"
        ),
        evidenceCount = 123,
        assessmentReportEvidenceCount = 123
      )
    ),
    delegations = list(
      list(
        id = "string",
        assessmentName = "string",
        assessmentId = "string",
        status = "IN_PROGRESS"|"UNDER_REVIEW"|"COMPLETE",
        roleArn = "string",
        roleType = "PROCESS_OWNER"|"RESOURCE_OWNER",
        creationTime = as.POSIXct(
          "2015-01-01"
        ),
        lastUpdated = as.POSIXct(
          "2015-01-01"
        ),
        controlSetId = "string",
        comment = "string",
        createdBy = "string"
      )
    ),
    systemEvidenceCount = 123,
    manualEvidenceCount = 123
  )
)

Request syntax

svc$update_assessment_control_set_status(
  assessmentId = "string",
  controlSetId = "string",
  status = "ACTIVE"|"UNDER_REVIEW"|"REVIEWED",
  comment = "string"
)