create_assessment_report
¶
create_assessment_report(
name: AssessmentReportName,
assessment_id: UUID,
*,
config_overrides: Optional[AuditManagerClientConfig] = None,
description: Optional[AssessmentReportDescription] = None,
query_statement: Optional[QueryStatement] = None,
) -> CreateAssessmentReportResponse
Creates an assessment report for the specified assessment.
Parameters:
-
name(AssessmentReportName) –The name of the new assessment report.
-
description(Optional[AssessmentReportDescription], default:None) –The description of the assessment report.
-
assessment_id(UUID) –The identifier for the assessment.
-
query_statement(Optional[QueryStatement], default:None) –A SQL statement that represents an evidence finder query.
Provide this parameter when you want to generate an assessment report from the results of an evidence finder search query. When you use this parameter, Audit Manager generates a one-time report using only the evidence from the query output. This report does not include any assessment evidence that was manually added to a report using the console, or associated with a report using the API.
To use this parameter, the enablementStatus of evidence finder must be
ENABLED.For examples and help resolving
queryStatementvalidation exceptions, see Troubleshooting evidence finder issues in the Audit Manager User Guide.
Raises:
-
AccessDeniedException–Your account isn't registered with Audit Manager. Check the delegated administrator setup on the Audit Manager settings page, and try again.
-
InternalServerException–An internal service error occurred during the processing of your request. Try again later.
-
ResourceNotFoundException–The resource that's specified in the request can't be found.
-
ValidationException–The request has invalid or missing parameters.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_auditmanager/_services/audit_manager.py
888 889 890 891 892 893 894 895 896 897 898 899 900 901 902 903 904 905 906 907 908 909 910 911 912 913 914 915 916 917 918 919 920 921 922 923 924 925 926 927 928 929 930 931 932 933 934 935 936 937 938 939 940 941 942 943 944 945 946 947 948 949 950 951 952 953 954 955 956 957 958 959 960 961 962 963 964 965 966 967 968 969 970 971 972 | |