Amazon Audit Manager Evidence API

Operations for managing audit evidence

GitHub OpenAPI
Business capability
Audit Execution Management BC-140.20

Operations 4

POST /assessments/{assessmentId}/controlSets/{controlSetId}/controls/{controlId}/evidence Batch Import Evidence To Assessment Control #
GET /assessments/{assessmentId}/controlSets/{controlSetId}/evidenceFolders/{evidenceFolderId}/evidence/{evidenceId} Get Evidence #
GET /assessments/{assessmentId}/controlSets/{controlSetId}/evidenceFolders/{evidenceFolderId}/evidence Get Evidence By Evidence Folder #
GET /assessments/{assessmentId}/evidenceFolders-by-assessment-control/{controlSetId}/{controlId} Get Evidence Folders By Assessment Control #

Specifications

Examples

Schemas & Data

Other Resources

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/amazon-audit-manager:amazon-audit-manager-evidence-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

amazon-audit-manager-evidence-api-openapi.yml Raw ↑
openapi: 3.1.0
info:
  title: AWS Audit Manager Evidence API
  version: '2017-07-25'
  description: Generated from AWS's published Smithy model for AWS Audit Manager. 4 operation(s).
  contact:
    name: Amazon Web Services
    url: https://aws.amazon.com/contact-us/
  license:
    name: Apache 2.0
    identifier: Apache-2.0
    url: https://github.com/aws/api-models-aws/blob/main/LICENSE
servers:
- url: https://auditmanager.{region}.amazonaws.com
  variables:
    region:
      default: us-east-1
security:
- sigv4: []
paths:
  /assessments/{assessmentId}/controlSets/{controlSetId}/controls/{controlId}/evidence:
    post:
      operationId: BatchImportEvidenceToAssessmentControl
      summary: Batch Import Evidence To Assessment Control
      description: 'Adds one or more pieces of evidence to a control in an Audit Manager assessment. You can import manual
        evidence from any S3 bucket by specifying the S3 URI of the object. You can also upload a file from your browser,
        or enter plain text in response to a risk assessment question. The following restrictions apply to this action: manualEvidence
        can be only one of the following: evidenceFileName, s3ResourcePath, or textResponse Maximum size of an individual
        evidence file: 100 MB Number of daily manual evidence uploads per control: 100 Supported file formats: See Supported
        file types for manual evidence in the Audit Manager User Guide For more information about Audit Manager service restrictions,
        see Quotas and restrictions for Audit Manager.'
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/BatchImportEvidenceToAssessmentControlResponse'
        '403':
          description: AccessDeniedException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AccessDeniedException'
        '500':
          description: InternalServerException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/InternalServerException'
        '404':
          description: ResourceNotFoundException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ResourceNotFoundException'
        '429':
          description: ThrottlingException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ThrottlingException'
        '400':
          description: ValidationException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ValidationException'
      parameters:
      - name: assessmentId
        in: path
        required: true
        schema:
          type: string
        description: The identifier for the assessment.
      - name: controlSetId
        in: path
        required: true
        schema:
          type: string
        description: The identifier for the control set.
      - name: controlId
        in: path
        required: true
        schema:
          type: string
        description: The identifier for the control.
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties:
                manualEvidence:
                  type: array
                  items:
                    $ref: '#/components/schemas/ManualEvidence'
                  description: The list of manual evidence objects.
              required:
              - manualEvidence
      tags:
      - Evidence
  /assessments/{assessmentId}/controlSets/{controlSetId}/evidenceFolders/{evidenceFolderId}/evidence/{evidenceId}:
    get:
      operationId: GetEvidence
      summary: Get Evidence
      description: Gets information about a specified evidence item.
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GetEvidenceResponse'
        '403':
          description: AccessDeniedException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AccessDeniedException'
        '500':
          description: InternalServerException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/InternalServerException'
        '404':
          description: ResourceNotFoundException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ResourceNotFoundException'
        '400':
          description: ValidationException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ValidationException'
      parameters:
      - name: assessmentId
        in: path
        required: true
        schema:
          type: string
        description: The unique identifier for the assessment.
      - name: controlSetId
        in: path
        required: true
        schema:
          type: string
        description: The unique identifier for the control set.
      - name: evidenceFolderId
        in: path
        required: true
        schema:
          type: string
        description: The unique identifier for the folder that the evidence is stored in.
      - name: evidenceId
        in: path
        required: true
        schema:
          type: string
        description: The unique identifier for the evidence.
      tags:
      - Evidence
  /assessments/{assessmentId}/controlSets/{controlSetId}/evidenceFolders/{evidenceFolderId}/evidence:
    get:
      operationId: GetEvidenceByEvidenceFolder
      summary: Get Evidence By Evidence Folder
      description: Gets all evidence from a specified evidence folder in Audit Manager.
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GetEvidenceByEvidenceFolderResponse'
        '403':
          description: AccessDeniedException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AccessDeniedException'
        '500':
          description: InternalServerException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/InternalServerException'
        '404':
          description: ResourceNotFoundException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ResourceNotFoundException'
        '400':
          description: ValidationException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ValidationException'
      parameters:
      - name: assessmentId
        in: path
        required: true
        schema:
          type: string
        description: The identifier for the assessment.
      - name: controlSetId
        in: path
        required: true
        schema:
          type: string
        description: The identifier for the control set.
      - name: evidenceFolderId
        in: path
        required: true
        schema:
          type: string
        description: The unique identifier for the folder that the evidence is stored in.
      - name: nextToken
        in: query
        schema:
          type: string
        description: The pagination token that's used to fetch the next set of results.
      - name: maxResults
        in: query
        schema:
          type: integer
        description: Represents the maximum number of results on a page or for an API request call.
      tags:
      - Evidence
  /assessments/{assessmentId}/evidenceFolders-by-assessment-control/{controlSetId}/{controlId}:
    get:
      operationId: GetEvidenceFoldersByAssessmentControl
      summary: Get Evidence Folders By Assessment Control
      description: Gets a list of evidence folders that are associated with a specified control in an Audit Manager assessment.
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GetEvidenceFoldersByAssessmentControlResponse'
        '403':
          description: AccessDeniedException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AccessDeniedException'
        '500':
          description: InternalServerException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/InternalServerException'
        '404':
          description: ResourceNotFoundException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ResourceNotFoundException'
        '400':
          description: ValidationException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ValidationException'
      parameters:
      - name: assessmentId
        in: path
        required: true
        schema:
          type: string
        description: The identifier for the assessment.
      - name: controlSetId
        in: path
        required: true
        schema:
          type: string
        description: The identifier for the control set.
      - name: controlId
        in: path
        required: true
        schema:
          type: string
        description: The identifier for the control.
      - name: nextToken
        in: query
        schema:
          type: string
        description: The pagination token that's used to fetch the next set of results.
      - name: maxResults
        in: query
        schema:
          type: integer
        description: Represents the maximum number of results on a page or for an API request call.
      tags:
      - Evidence
components:
  securitySchemes:
    sigv4:
      type: apiKey
      in: header
      name: Authorization
      description: AWS Signature Version 4. The Authorization header carries an AWS4-HMAC-SHA256 signature over the canonical
        request, with X-Amz-Date (and X-Amz-Security-Token for temporary credentials). Not a bearer token.
      x-aws-sigv4:
        signingName: auditmanager
  schemas:
    AccessDeniedException:
      type: object
      properties:
        message:
          type: string
      required:
      - message
    AssessmentEvidenceFolder:
      type: object
      properties:
        name:
          type: string
          description: The name of the evidence folder.
        date:
          type: string
          format: date-time
          description: The date when the first evidence was added to the evidence folder.
        assessmentId:
          type: string
          description: The identifier for the assessment.
        controlSetId:
          type: string
          description: The identifier for the control set.
        controlId:
          type: string
          description: The unique identifier for the control.
        id:
          type: string
          description: The identifier for the folder that the evidence is stored in.
        dataSource:
          type: string
          description: The Amazon Web Services service that the evidence was collected from.
        author:
          type: string
          description: The name of the user who created the evidence folder.
        totalEvidence:
          type: integer
          description: The total amount of evidence in the evidence folder.
        assessmentReportSelectionCount:
          type: integer
          description: The total count of evidence that's included in the assessment report.
        controlName:
          type: string
          description: The name of the control.
        evidenceResourcesIncludedCount:
          type: integer
          description: The amount of evidence that's included in the evidence folder.
        evidenceByTypeConfigurationDataCount:
          type: integer
          description: The number of evidence that falls under the configuration data category. This evidence is collected
            from configuration snapshots of other Amazon Web Services services such as Amazon EC2, Amazon S3, or IAM.
        evidenceByTypeManualCount:
          type: integer
          description: The number of evidence that falls under the manual category. This evidence is imported manually.
        evidenceByTypeComplianceCheckCount:
          type: integer
          description: The number of evidence that falls under the compliance check category. This evidence is collected from
            Config or Security Hub CSPM.
        evidenceByTypeComplianceCheckIssuesCount:
          type: integer
          description: The total number of issues that were reported directly from Security Hub CSPM, Config, or both.
        evidenceByTypeUserActivityCount:
          type: integer
          description: The number of evidence that falls under the user activity category. This evidence is collected from
            CloudTrail logs.
        evidenceAwsServiceSourceCount:
          type: integer
          description: The total number of Amazon Web Services resources that were assessed to generate the evidence.
    BatchImportEvidenceToAssessmentControlError:
      type: object
      properties:
        manualEvidence:
          $ref: '#/components/schemas/ManualEvidence'
        errorCode:
          type: string
          description: The error code that the BatchImportEvidenceToAssessmentControl API returned.
        errorMessage:
          type: string
          description: The error message that the BatchImportEvidenceToAssessmentControl API returned.
    BatchImportEvidenceToAssessmentControlResponse:
      type: object
      properties:
        errors:
          type: array
          items:
            $ref: '#/components/schemas/BatchImportEvidenceToAssessmentControlError'
          description: A list of errors that the BatchImportEvidenceToAssessmentControl API returned.
    Evidence:
      type: object
      properties:
        dataSource:
          type: string
          description: The data source where the evidence was collected from.
        evidenceAwsAccountId:
          type: string
          description: The identifier for the Amazon Web Services account.
        time:
          type: string
          format: date-time
          description: The timestamp that represents when the evidence was collected.
        eventSource:
          type: string
          description: The Amazon Web Services service that the evidence is collected from.
        eventName:
          type: string
          description: The name of the evidence event.
        evidenceByType:
          type: string
          description: The type of automated evidence.
        resourcesIncluded:
          type: array
          items:
            $ref: '#/components/schemas/Resource'
          description: The list of resources that are assessed to generate the evidence.
        attributes:
          type: object
          additionalProperties:
            type: string
          description: 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:
          type: string
          description: The unique identifier for the user or role that's associated with the evidence.
        complianceCheck:
          type: string
          description: The evaluation status for automated evidence that falls under the compliance check category. Audit
            Manager classes evidence as non-compliant if Security Hub CSPM reports a Fail result, or if Config reports a Non-compliant
            result. Audit Manager classes evidence as compliant if Security Hub CSPM 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 CSPM as the underlying data
            source type, but those services aren't
        awsOrganization:
          type: string
          description: The Amazon Web Services account that the evidence is collected from, and its organization path.
        awsAccountId:
          type: string
          description: The identifier for the Amazon Web Services account.
        evidenceFolderId:
          type: string
          description: The identifier for the folder that the evidence is stored in.
        id:
          type: string
          description: The identifier for the evidence.
        assessmentReportSelection:
          type: string
          description: Specifies whether the evidence is included in the assessment report.
    GetEvidenceByEvidenceFolderResponse:
      type: object
      properties:
        evidence:
          type: array
          items:
            $ref: '#/components/schemas/Evidence'
          description: The list of evidence that the GetEvidenceByEvidenceFolder API returned.
        nextToken:
          type: string
          description: The pagination token that's used to fetch the next set of results.
    GetEvidenceFoldersByAssessmentControlResponse:
      type: object
      properties:
        evidenceFolders:
          type: array
          items:
            $ref: '#/components/schemas/AssessmentEvidenceFolder'
          description: The list of evidence folders that the GetEvidenceFoldersByAssessmentControl API returned.
        nextToken:
          type: string
          description: The pagination token that's used to fetch the next set of results.
    GetEvidenceResponse:
      type: object
      properties:
        evidence:
          $ref: '#/components/schemas/Evidence'
    InternalServerException:
      type: object
      properties:
        message:
          type: string
      required:
      - message
    ManualEvidence:
      type: object
      properties:
        s3ResourcePath:
          type: string
          description: The S3 URL of the object that's imported as manual evidence.
        textResponse:
          type: string
          description: The plain text response that's entered and saved as manual evidence.
        evidenceFileName:
          type: string
          description: The name of the file that's uploaded as manual evidence. This name is populated using the evidenceFileName
            value from the GetEvidenceFileUploadUrl API response.
    Resource:
      type: object
      properties:
        arn:
          type: string
          description: The Amazon Resource Name (ARN) for the resource.
        value:
          type: string
          description: The value of the resource.
        complianceCheck:
          type: string
          description: 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 CSPM reports a Fail result, or if Config reports
            a Non-compliant result. Audit Manager classes the resource as compliant if Security Hub CSPM 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
            CSPM as the underlying data source type, but
    ResourceNotFoundException:
      type: object
      properties:
        message:
          type: string
        resourceId:
          type: string
          description: The unique identifier for the resource.
        resourceType:
          type: string
          description: The type of resource that's affected by the error.
      required:
      - message
      - resourceId
      - resourceType
    ThrottlingException:
      type: object
      properties:
        message:
          type: string
      required:
      - message
    ValidationException:
      type: object
      properties:
        message:
          type: string
        reason:
          type: string
          enum:
          - unknownOperation
          - cannotParse
          - fieldValidationFailed
          - other
          description: The reason the request failed validation.
        fields:
          type: array
          items:
            $ref: '#/components/schemas/ValidationExceptionField'
          description: The fields that caused the error, if applicable.
      required:
      - message
    ValidationExceptionField:
      type: object
      properties:
        name:
          type: string
          description: The name of the validation error.
        message:
          type: string
          description: The body of the error message.
      required:
      - name
      - message
x-provenance:
  method: harvested
  publisher: Amazon Web Services
  source: https://raw.githubusercontent.com/aws/api-models-aws/3cd98287b471c106254abd89279cc87308d38bfd/models/auditmanager/service/2017-07-25/auditmanager-2017-07-25.json
  note: converted by smithy-to-openapi.py from AWS's Smithy model (roadmap#1001)