# Importing ComplyForm Evidence into AWS Audit Manager

## Prerequisites

- AWS account with Audit Manager enabled
- AWS CLI configured with `auditmanager:*` permissions
- ComplyForm Audit Manager export file (`audit-manager-evidence.json`)

## Steps

1. **Create a custom assessment framework** (one-time setup):

   ```bash
   aws auditmanager create-assessment-framework \
     --name "ComplyForm - {{ framework_name }}" \
     --control-sets file://control-sets.json
   ```

2. **Create an assessment** from the framework:

   ```bash
   aws auditmanager create-assessment \
     --name "ComplyForm Scan $(date +%Y-%m-%d)" \
     --framework-id {{ framework_id }} \
     --assessment-reports-destination bucket={{ s3_bucket }} \
     --scope awsAccounts=[{id={{ account_id }}}]
   ```

3. **Upload evidence** to the assessment:

   ```bash
   complyform export audit-manager \
     --assessment-id {{ assessment_id }} \
     --file=audit-manager-evidence.json
   ```

4. **Verify** in the AWS Console under Audit Manager > Assessments.

## Notes

- Evidence is mapped to Audit Manager control domains based on compliance framework controls.
- Manual evidence items are flagged for human review.
- Assessment reports can be generated directly from the AWS Console.
