get_evidence_by_evidence_folder
(**kwargs)¶Returns all evidence from a specified evidence folder in Audit Manager.
See also: AWS API Documentation
Request Syntax
response = client.get_evidence_by_evidence_folder(
assessmentId='string',
controlSetId='string',
evidenceFolderId='string',
nextToken='string',
maxResults=123
)
[REQUIRED]
The identifier for the assessment.
[REQUIRED]
The identifier for the control set.
[REQUIRED]
The unique identifier for the folder that the evidence is stored in.
dict
Response Syntax
{
'evidence': [
{
'dataSource': 'string',
'evidenceAwsAccountId': 'string',
'time': datetime(2015, 1, 1),
'eventSource': 'string',
'eventName': 'string',
'evidenceByType': 'string',
'resourcesIncluded': [
{
'arn': 'string',
'value': 'string',
'complianceCheck': 'string'
},
],
'attributes': {
'string': 'string'
},
'iamId': 'string',
'complianceCheck': 'string',
'awsOrganization': 'string',
'awsAccountId': 'string',
'evidenceFolderId': 'string',
'id': 'string',
'assessmentReportSelection': 'string'
},
],
'nextToken': 'string'
}
Response Structure
(dict) --
evidence (list) --
The list of evidence that the GetEvidenceByEvidenceFolder
API returned.
(dict) --
A record that contains the information needed to demonstrate compliance with the requirements specified by a control. Examples of evidence include change activity invoked by a user, or a system configuration snapshot.
dataSource (string) --
The data source where the evidence was collected from.
evidenceAwsAccountId (string) --
The identifier for the Amazon Web Services account.
time (datetime) --
The timestamp that represents when the evidence was collected.
eventSource (string) --
The Amazon Web Service that the evidence is collected from.
eventName (string) --
The name of the evidence event.
evidenceByType (string) --
The type of automated evidence.
resourcesIncluded (list) --
The list of resources that are assessed to generate the evidence.
(dict) --
A system asset that's evaluated in an Audit Manager assessment.
arn (string) --
The Amazon Resource Name (ARN) for the resource.
value (string) --
The value of the resource.
complianceCheck (string) --
The evaluation status for a resource that was assessed when collecting compliance check evidence.
attributes (dict) --
The names and values that are used by the evidence event. This includes an attribute name (such as allowUsersToChangePassword
) and value (such as true
or false
).
iamId (string) --
The unique identifier for the user or role that's associated with the evidence.
complianceCheck (string) --
The evaluation status for automated evidence that falls under the compliance check category.
awsOrganization (string) --
The Amazon Web Services account that the evidence is collected from, and its organization path.
awsAccountId (string) --
The identifier for the Amazon Web Services account.
evidenceFolderId (string) --
The identifier for the folder that the evidence is stored in.
id (string) --
The identifier for the evidence.
assessmentReportSelection (string) --
Specifies whether the evidence is included in the assessment report.
nextToken (string) --
The pagination token that's used to fetch the next set of results.
Exceptions
AuditManager.Client.exceptions.ResourceNotFoundException
AuditManager.Client.exceptions.ValidationException
AuditManager.Client.exceptions.AccessDeniedException
AuditManager.Client.exceptions.InternalServerException