Note: You are viewing the documentation for an older major version of the AWS CLI (version 1).

AWS CLI version 2, the latest major version of AWS CLI, is now stable and recommended for general use. To view this page for the AWS CLI version 2, click here. For more information see the AWS CLI version 2 installation instructions and migration guide.

[ aws . auditmanager ]

get-evidence-folders-by-assessment-control

Description

Returns a list of evidence folders that are associated with a specified control of an assessment in Audit Manager.

See also: AWS API Documentation

See 'aws help' for descriptions of global parameters.

Synopsis

  get-evidence-folders-by-assessment-control
--assessment-id <value>
--control-set-id <value>
--control-id <value>
[--next-token <value>]
[--max-results <value>]
[--cli-input-json <value>]
[--generate-cli-skeleton <value>]

Options

--assessment-id (string)

The identifier for the assessment.

--control-set-id (string)

The identifier for the control set.

--control-id (string)

The identifier for the control.

--next-token (string)

The pagination token that's used to fetch the next set of results.

--max-results (integer)

Represents the maximum number of results on a page or for an API request call.

--cli-input-json (string) Performs service operation based on the JSON string provided. The JSON string follows the format provided by --generate-cli-skeleton. If other arguments are provided on the command line, the CLI values will override the JSON-provided values. It is not possible to pass arbitrary binary values using a JSON-provided value as the string will be taken literally.

--generate-cli-skeleton (string) Prints a JSON skeleton to standard output without sending an API request. If provided with no value or the value input, prints a sample input JSON that can be used as an argument for --cli-input-json. If provided with the value output, it validates the command inputs and returns a sample output JSON for that command.

See 'aws help' for descriptions of global parameters.

Output

evidenceFolders -> (list)

The list of evidence folders that the GetEvidenceFoldersByAssessmentControl API returned.

(structure)

The folder where Audit Manager stores evidence for an assessment.

name -> (string)

The name of the evidence folder.

date -> (timestamp)

The date when the first evidence was added to the evidence folder.

assessmentId -> (string)

The identifier for the assessment.

controlSetId -> (string)

The identifier for the control set.

controlId -> (string)

The unique identifier for the control.

id -> (string)

The identifier for the folder that the evidence is stored in.

dataSource -> (string)

The Amazon Web Service that the evidence was collected from.

author -> (string)

The name of the user who created the evidence folder.

totalEvidence -> (integer)

The total amount of evidence in the evidence folder.

assessmentReportSelectionCount -> (integer)

The total count of evidence that's included in the assessment report.

controlName -> (string)

The name of the control.

evidenceResourcesIncludedCount -> (integer)

The amount of evidence that's included in the evidence folder.

evidenceByTypeConfigurationDataCount -> (integer)

The number of evidence that falls under the configuration data category. This evidence is collected from configuration snapshots of other Amazon Web Services such as Amazon EC2, Amazon S3, or IAM.

evidenceByTypeManualCount -> (integer)

The number of evidence that falls under the manual category. This evidence is imported manually.

evidenceByTypeComplianceCheckCount -> (integer)

The number of evidence that falls under the compliance check category. This evidence is collected from Config or Security Hub.

evidenceByTypeComplianceCheckIssuesCount -> (integer)

The total number of issues that were reported directly from Security Hub, Config, or both.

evidenceByTypeUserActivityCount -> (integer)

The number of evidence that falls under the user activity category. This evidence is collected from CloudTrail logs.

evidenceAwsServiceSourceCount -> (integer)

The total number of Amazon Web Services resources that were assessed to generate the evidence.

nextToken -> (string)

The pagination token that's used to fetch the next set of results.