AuditManager / Client / get_evidence_by_evidence_folder
get_evidence_by_evidence_folder#
- AuditManager.Client.get_evidence_by_evidence_folder(**kwargs)#
Gets 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 )
- Parameters:
assessmentId (string) –
[REQUIRED]
The identifier for the assessment.
controlSetId (string) –
[REQUIRED]
The identifier for the control set.
evidenceFolderId (string) –
[REQUIRED]
The unique identifier for the folder that the evidence is stored in.
nextToken (string) – The pagination token that’s used to fetch the next set of results.
maxResults (integer) – Represents the maximum number of results on a page or for an API request call.
- Return type:
dict
- Returns:
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.
Audit Manager classes the resource as non-compliant if Security Hub reports a Fail result, or if Config reports a Non-compliant result.
Audit Manager classes the resource as compliant if Security Hub reports a Pass result, or if Config reports a Compliant result.
If a compliance check isn’t available or applicable, then no compliance evaluation can be made for that resource. This is the case if a resource assessment uses Config or Security Hub as the underlying data source type, but those services aren’t enabled. This is also the case if the resource assessment uses an underlying data source type that doesn’t support compliance checks (such as manual evidence, Amazon Web Services API calls, or CloudTrail).
attributes (dict) –
The names and values that are used by the evidence event. This includes an attribute name (such as
allowUsersToChangePassword
) and value (such astrue
orfalse
).(string) –
(string) –
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.
Audit Manager classes evidence as non-compliant if Security Hub reports a Fail result, or if Config reports a Non-compliant result.
Audit Manager classes evidence as compliant if Security Hub reports a Pass result, or if Config reports a Compliant result.
If a compliance check isn’t available or applicable, then no compliance evaluation can be made for that evidence. This is the case if the evidence uses Config or Security Hub as the underlying data source type, but those services aren’t enabled. This is also the case if the evidence uses an underlying data source type that doesn’t support compliance checks (such as manual evidence, Amazon Web Services API calls, or CloudTrail).
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