get_change_logs

AuditManager.Client.get_change_logs(**kwargs)

Returns a list of changelogs from Audit Manager.

See also: AWS API Documentation

Request Syntax

response = client.get_change_logs(
    assessmentId='string',
    controlSetId='string',
    controlId='string',
    nextToken='string',
    maxResults=123
)
Parameters
  • assessmentId (string) --

    [REQUIRED]

    The unique identifier for the assessment.

  • controlSetId (string) -- The unique identifier for the control set.
  • controlId (string) -- The unique identifier for the control.
  • nextToken (string) -- The pagination token that's used to fetch the next set of results.
  • maxResults (integer) -- Represents the maximum number of results on a page or for an API request call.
Return type

dict

Returns

Response Syntax

{
    'changeLogs': [
        {
            'objectType': 'ASSESSMENT'|'CONTROL_SET'|'CONTROL'|'DELEGATION'|'ASSESSMENT_REPORT',
            'objectName': 'string',
            'action': 'CREATE'|'UPDATE_METADATA'|'ACTIVE'|'INACTIVE'|'DELETE'|'UNDER_REVIEW'|'REVIEWED'|'IMPORT_EVIDENCE',
            'createdAt': datetime(2015, 1, 1),
            'createdBy': 'string'
        },
    ],
    'nextToken': 'string'
}

Response Structure

  • (dict) --

    • changeLogs (list) --

      The list of user activity for the control.

      • (dict) --

        The record of a change within Audit Manager. For example, this could be the status change of an assessment or the delegation of a control set.

        • objectType (string) --

          The object that was changed, such as an assessment, control, or control set.

        • objectName (string) --

          The name of the object that changed. This could be the name of an assessment, control, or control set.

        • action (string) --

          The action that was performed.

        • createdAt (datetime) --

          The time when the action was performed and the changelog record was created.

        • createdBy (string) --

          The user or role that performed the action.

    • nextToken (string) --

      The pagination token that's used to fetch the next set of results.

Exceptions

  • AuditManager.Client.exceptions.AccessDeniedException
  • AuditManager.Client.exceptions.ResourceNotFoundException
  • AuditManager.Client.exceptions.ValidationException
  • AuditManager.Client.exceptions.InternalServerException