get_evidence(**kwargs)¶Returns evidence from Audit Manager.
See also: AWS API Documentation
Request Syntax
response = client.get_evidence(
    assessmentId='string',
    controlSetId='string',
    evidenceFolderId='string',
    evidenceId='string'
)
[REQUIRED]
The unique identifier for the assessment.
[REQUIRED]
The unique identifier for the control set.
[REQUIRED]
The unique identifier for the folder that the evidence is stored in.
[REQUIRED]
The unique identifier for the evidence.
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'
    }
}
Response Structure
(dict) --
evidence (dict) --
The evidence that the GetEvidence API returned.
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.
Exceptions
AuditManager.Client.exceptions.ResourceNotFoundExceptionAuditManager.Client.exceptions.ValidationExceptionAuditManager.Client.exceptions.AccessDeniedExceptionAuditManager.Client.exceptions.InternalServerException