AuditManager / Client / validate_assessment_report_integrity

validate_assessment_report_integrity#

AuditManager.Client.validate_assessment_report_integrity(**kwargs)#

Validates the integrity of an assessment report in Audit Manager.

See also: AWS API Documentation

Request Syntax

response = client.validate_assessment_report_integrity(
    s3RelativePath='string'
)
Parameters:

s3RelativePath (string) –

[REQUIRED]

The relative path of the Amazon S3 bucket that the assessment report is stored in.

Return type:

dict

Returns:

Response Syntax

{
    'signatureValid': True|False,
    'signatureAlgorithm': 'string',
    'signatureDateTime': 'string',
    'signatureKeyId': 'string',
    'validationErrors': [
        'string',
    ]
}

Response Structure

  • (dict) –

    • signatureValid (boolean) –

      Specifies whether the signature key is valid.

    • signatureAlgorithm (string) –

      The signature algorithm that’s used to code sign the assessment report file.

    • signatureDateTime (string) –

      The date and time signature that specifies when the assessment report was created.

    • signatureKeyId (string) –

      The unique identifier for the validation signature key.

    • validationErrors (list) –

      Represents any errors that occurred when validating the assessment report.

      • (string) –

Exceptions

  • AuditManager.Client.exceptions.ValidationException

  • AuditManager.Client.exceptions.AccessDeniedException

  • AuditManager.Client.exceptions.InternalServerException

  • AuditManager.Client.exceptions.ResourceNotFoundException