Skip to content

List App Assessment Compliance Drifts

resiliencehub_list_app_assessment_compliance_drifts R Documentation

List of compliance drifts that were detected while running an assessment

Description

List of compliance drifts that were detected while running an assessment.

Usage

resiliencehub_list_app_assessment_compliance_drifts(assessmentArn,
  maxResults, nextToken)

Arguments

assessmentArn

[required] Amazon Resource Name (ARN) of the assessment. The format for this ARN is: arn:partition:resiliencehub:region:account:app-assessment/app-id. For more information about ARNs, see Amazon Resource Names (ARNs) in the Amazon Web Services General Reference guide.

maxResults

Indicates the maximum number of compliance drifts requested.

nextToken

Null, or the token from a previous call to get the next set of results.

Value

A list with the following syntax:

list(
  complianceDrifts = list(
    list(
      actualReferenceId = "string",
      actualValue = list(
        list(
          achievableRpoInSecs = 123,
          achievableRtoInSecs = 123,
          complianceStatus = "PolicyBreached"|"PolicyMet"|"NotApplicable"|"MissingPolicy",
          currentRpoInSecs = 123,
          currentRtoInSecs = 123,
          message = "string",
          rpoDescription = "string",
          rpoReferenceId = "string",
          rtoDescription = "string",
          rtoReferenceId = "string"
        )
      ),
      appId = "string",
      appVersion = "string",
      diffType = "NotEqual"|"Added"|"Removed",
      driftType = "ApplicationCompliance"|"AppComponentResiliencyComplianceStatus",
      entityId = "string",
      entityType = "string",
      expectedReferenceId = "string",
      expectedValue = list(
        list(
          achievableRpoInSecs = 123,
          achievableRtoInSecs = 123,
          complianceStatus = "PolicyBreached"|"PolicyMet"|"NotApplicable"|"MissingPolicy",
          currentRpoInSecs = 123,
          currentRtoInSecs = 123,
          message = "string",
          rpoDescription = "string",
          rpoReferenceId = "string",
          rtoDescription = "string",
          rtoReferenceId = "string"
        )
      )
    )
  ),
  nextToken = "string"
)

Request syntax

svc$list_app_assessment_compliance_drifts(
  assessmentArn = "string",
  maxResults = 123,
  nextToken = "string"
)