Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

AuditManager

import { AuditManager } from "https://aws-api.deno.dev/v0.4/services/auditmanager.ts?docs=full";
class AuditManager {
constructor(apiFactory: client.ApiFactory);
async associateAssessmentReportEvidenceFolder(params: AssociateAssessmentReportEvidenceFolderRequest, opts?: client.RequestOptions): Promise<void>;
async batchAssociateAssessmentReportEvidence(params: BatchAssociateAssessmentReportEvidenceRequest, opts?: client.RequestOptions): Promise<BatchAssociateAssessmentReportEvidenceResponse>;
async batchCreateDelegationByAssessment(params: BatchCreateDelegationByAssessmentRequest, opts?: client.RequestOptions): Promise<BatchCreateDelegationByAssessmentResponse>;
async batchDeleteDelegationByAssessment(params: BatchDeleteDelegationByAssessmentRequest, opts?: client.RequestOptions): Promise<BatchDeleteDelegationByAssessmentResponse>;
async batchImportEvidenceToAssessmentControl(params: BatchImportEvidenceToAssessmentControlRequest, opts?: client.RequestOptions): Promise<BatchImportEvidenceToAssessmentControlResponse>;
async createAssessment(params: CreateAssessmentRequest, opts?: client.RequestOptions): Promise<CreateAssessmentResponse>;
async createAssessmentFramework(params: CreateAssessmentFrameworkRequest, opts?: client.RequestOptions): Promise<CreateAssessmentFrameworkResponse>;
async createAssessmentReport(params: CreateAssessmentReportRequest, opts?: client.RequestOptions): Promise<CreateAssessmentReportResponse>;
async createControl(params: CreateControlRequest, opts?: client.RequestOptions): Promise<CreateControlResponse>;
async deleteAssessment(params: DeleteAssessmentRequest, opts?: client.RequestOptions): Promise<void>;
async deleteAssessmentFramework(params: DeleteAssessmentFrameworkRequest, opts?: client.RequestOptions): Promise<void>;
async deleteAssessmentFrameworkShare(params: DeleteAssessmentFrameworkShareRequest, opts?: client.RequestOptions): Promise<void>;
async deleteAssessmentReport(params: DeleteAssessmentReportRequest, opts?: client.RequestOptions): Promise<void>;
async deleteControl(params: DeleteControlRequest, opts?: client.RequestOptions): Promise<void>;
async deregisterAccount(opts?: client.RequestOptions): Promise<DeregisterAccountResponse>;
async deregisterOrganizationAdminAccount(params?: DeregisterOrganizationAdminAccountRequest, opts?: client.RequestOptions): Promise<void>;
async disassociateAssessmentReportEvidenceFolder(params: DisassociateAssessmentReportEvidenceFolderRequest, opts?: client.RequestOptions): Promise<void>;
async getAccountStatus(opts?: client.RequestOptions): Promise<GetAccountStatusResponse>;
async getAssessment(params: GetAssessmentRequest, opts?: client.RequestOptions): Promise<GetAssessmentResponse>;
async getAssessmentFramework(params: GetAssessmentFrameworkRequest, opts?: client.RequestOptions): Promise<GetAssessmentFrameworkResponse>;
async getAssessmentReportUrl(params: GetAssessmentReportUrlRequest, opts?: client.RequestOptions): Promise<GetAssessmentReportUrlResponse>;
async getChangeLogs(params: GetChangeLogsRequest, opts?: client.RequestOptions): Promise<GetChangeLogsResponse>;
async getControl(params: GetControlRequest, opts?: client.RequestOptions): Promise<GetControlResponse>;
async getDelegations(params?: GetDelegationsRequest, opts?: client.RequestOptions): Promise<GetDelegationsResponse>;
async getEvidence(params: GetEvidenceRequest, opts?: client.RequestOptions): Promise<GetEvidenceResponse>;
async getEvidenceByEvidenceFolder(params: GetEvidenceByEvidenceFolderRequest, opts?: client.RequestOptions): Promise<GetEvidenceByEvidenceFolderResponse>;
async getEvidenceFolder(params: GetEvidenceFolderRequest, opts?: client.RequestOptions): Promise<GetEvidenceFolderResponse>;
async getEvidenceFoldersByAssessment(params: GetEvidenceFoldersByAssessmentRequest, opts?: client.RequestOptions): Promise<GetEvidenceFoldersByAssessmentResponse>;
async getEvidenceFoldersByAssessmentControl(params: GetEvidenceFoldersByAssessmentControlRequest, opts?: client.RequestOptions): Promise<GetEvidenceFoldersByAssessmentControlResponse>;
async getInsights(opts?: client.RequestOptions): Promise<GetInsightsResponse>;
async getInsightsByAssessment(params: GetInsightsByAssessmentRequest, opts?: client.RequestOptions): Promise<GetInsightsByAssessmentResponse>;
async getOrganizationAdminAccount(opts?: client.RequestOptions): Promise<GetOrganizationAdminAccountResponse>;
async getServicesInScope(opts?: client.RequestOptions): Promise<GetServicesInScopeResponse>;
async getSettings(params: GetSettingsRequest, opts?: client.RequestOptions): Promise<GetSettingsResponse>;
async listAssessmentFrameworks(params: ListAssessmentFrameworksRequest, opts?: client.RequestOptions): Promise<ListAssessmentFrameworksResponse>;
async listAssessmentFrameworkShareRequests(params: ListAssessmentFrameworkShareRequestsRequest, opts?: client.RequestOptions): Promise<ListAssessmentFrameworkShareRequestsResponse>;
async listAssessmentReports(params?: ListAssessmentReportsRequest, opts?: client.RequestOptions): Promise<ListAssessmentReportsResponse>;
async listAssessments(params?: ListAssessmentsRequest, opts?: client.RequestOptions): Promise<ListAssessmentsResponse>;
async listControlDomainInsights(params?: ListControlDomainInsightsRequest, opts?: client.RequestOptions): Promise<ListControlDomainInsightsResponse>;
async listControlDomainInsightsByAssessment(params: ListControlDomainInsightsByAssessmentRequest, opts?: client.RequestOptions): Promise<ListControlDomainInsightsByAssessmentResponse>;
async listControlInsightsByControlDomain(params: ListControlInsightsByControlDomainRequest, opts?: client.RequestOptions): Promise<ListControlInsightsByControlDomainResponse>;
async listControls(params: ListControlsRequest, opts?: client.RequestOptions): Promise<ListControlsResponse>;
async listKeywordsForDataSource(params: ListKeywordsForDataSourceRequest, opts?: client.RequestOptions): Promise<ListKeywordsForDataSourceResponse>;
async listNotifications(params?: ListNotificationsRequest, opts?: client.RequestOptions): Promise<ListNotificationsResponse>;
async listTagsForResource(params: ListTagsForResourceRequest, opts?: client.RequestOptions): Promise<ListTagsForResourceResponse>;
async registerAccount(params?: RegisterAccountRequest, opts?: client.RequestOptions): Promise<RegisterAccountResponse>;
async registerOrganizationAdminAccount(params: RegisterOrganizationAdminAccountRequest, opts?: client.RequestOptions): Promise<RegisterOrganizationAdminAccountResponse>;
async startAssessmentFrameworkShare(params: StartAssessmentFrameworkShareRequest, opts?: client.RequestOptions): Promise<StartAssessmentFrameworkShareResponse>;
async tagResource(params: TagResourceRequest, opts?: client.RequestOptions): Promise<void>;
async untagResource(params: UntagResourceRequest, opts?: client.RequestOptions): Promise<void>;
async updateAssessment(params: UpdateAssessmentRequest, opts?: client.RequestOptions): Promise<UpdateAssessmentResponse>;
async updateAssessmentControl(params: UpdateAssessmentControlRequest, opts?: client.RequestOptions): Promise<UpdateAssessmentControlResponse>;
async updateAssessmentControlSetStatus(params: UpdateAssessmentControlSetStatusRequest, opts?: client.RequestOptions): Promise<UpdateAssessmentControlSetStatusResponse>;
async updateAssessmentFramework(params: UpdateAssessmentFrameworkRequest, opts?: client.RequestOptions): Promise<UpdateAssessmentFrameworkResponse>;
async updateAssessmentFrameworkShare(params: UpdateAssessmentFrameworkShareRequest, opts?: client.RequestOptions): Promise<UpdateAssessmentFrameworkShareResponse>;
async updateAssessmentStatus(params: UpdateAssessmentStatusRequest, opts?: client.RequestOptions): Promise<UpdateAssessmentStatusResponse>;
async updateControl(params: UpdateControlRequest, opts?: client.RequestOptions): Promise<UpdateControlResponse>;
async updateSettings(params?: UpdateSettingsRequest, opts?: client.RequestOptions): Promise<UpdateSettingsResponse>;
async validateAssessmentReportIntegrity(params: ValidateAssessmentReportIntegrityRequest, opts?: client.RequestOptions): Promise<ValidateAssessmentReportIntegrityResponse>;
 
static ApiMetadata: client.ApiMetadata;
}

§Constructors

§
new AuditManager(apiFactory: client.ApiFactory)
[src]

§Methods

§
associateAssessmentReportEvidenceFolder(params: AssociateAssessmentReportEvidenceFolderRequest, opts?: client.RequestOptions): Promise<void>
[src]

Associates an evidence folder to an assessment report in an Audit Manager assessment.

§

Associates a list of evidence to an assessment report in an Audit Manager assessment.

§

Creates a batch of delegations for an assessment in Audit Manager.

§

Deletes a batch of delegations for an assessment in Audit Manager.

§

Disassociates a list of evidence from an assessment report in Audit Manager.

§

Uploads one or more pieces of evidence to a control in an Audit Manager assessment. You can upload manual evidence from any Amazon Simple Storage Service (Amazon S3) bucket by specifying the S3 URI of the evidence.

You must upload manual evidence to your S3 bucket before you can upload it to your assessment. For instructions, see CreateBucket and PutObject in the Amazon Simple Storage Service API Reference.

The following restrictions apply to this action:

  • 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.

§

Creates an assessment in Audit Manager.

§

Creates a custom framework in Audit Manager.

§

Creates an assessment report for the specified assessment.

§

Creates a new custom control in Audit Manager.

§
deleteAssessment(params: DeleteAssessmentRequest, opts?: client.RequestOptions): Promise<void>
[src]

Deletes an assessment in Audit Manager.

§
deleteAssessmentFramework(params: DeleteAssessmentFrameworkRequest, opts?: client.RequestOptions): Promise<void>
[src]

Deletes a custom framework in Audit Manager.

§
deleteAssessmentFrameworkShare(params: DeleteAssessmentFrameworkShareRequest, opts?: client.RequestOptions): Promise<void>
[src]

Deletes a share request for a custom framework in Audit Manager.

§
deleteAssessmentReport(params: DeleteAssessmentReportRequest, opts?: client.RequestOptions): Promise<void>
[src]

Deletes an assessment report in Audit Manager.

When you run the DeleteAssessmentReport operation, Audit Manager attempts to delete the following data:

  1. The specified assessment report that’s stored in your S3 bucket
  2. The associated metadata that’s stored in Audit Manager

If Audit Manager can’t access the assessment report in your S3 bucket, the report isn’t deleted. In this event, the DeleteAssessmentReport operation doesn’t fail. Instead, it proceeds to delete the associated metadata only. You must then delete the assessment report from the S3 bucket yourself.

This scenario happens when Audit Manager receives a 403 (Forbidden) or 404 (Not Found) error from Amazon S3. To avoid this, make sure that your S3 bucket is available, and that you configured the correct permissions for Audit Manager to delete resources in your S3 bucket. For an example permissions policy that you can use, see Assessment report destination permissions in the Audit Manager User Guide. For information about the issues that could cause a 403 (Forbidden) or 404 (Not Found) error from Amazon S3, see List of Error Codes in the Amazon Simple Storage Service API Reference.

§
deleteControl(params: DeleteControlRequest, opts?: client.RequestOptions): Promise<void>
[src]

Deletes a custom control in Audit Manager.

§
deregisterAccount(opts?: client.RequestOptions): Promise<DeregisterAccountResponse>
[src]

Deregisters an account in Audit Manager.

Note: Before you deregister, you can use the UpdateSettings API operation to set your preferred data retention policy. By default, Audit Manager retains your data. If you want to delete your data, you can use the DeregistrationPolicy attribute to request the deletion of your data. For more information about data retention, see Data Protection in the Audit Manager User Guide.

§
deregisterOrganizationAdminAccount(params?: DeregisterOrganizationAdminAccountRequest, opts?: client.RequestOptions): Promise<void>
[src]

Removes the specified Amazon Web Services account as a delegated administrator for Audit Manager.

When you remove a delegated administrator from your Audit Manager settings, you continue to have access to the evidence that you previously collected under that account. This is also the case when you deregister a delegated administrator from Organizations. However, Audit Manager stops collecting and attaching evidence to that delegated administrator account moving forward.

! IMPORTANT: ! Keep in mind the following cleanup task if you use evidence finder: ! Before you use your management account to remove a delegated administrator, make sure that the current delegated administrator account signs in to Audit Manager and disables evidence finder first. ! Disabling evidence finder automatically deletes the event data store that was created in their account when they enabled evidence finder. ! If this task isn’t completed, the event data store remains in their account. ! In this case, we recommend that the original delegated administrator goes to CloudTrail Lake and manually deletes the event data store. ! This cleanup task is necessary to ensure that you don't end up with multiple event data stores. ! Audit Manager ignores an unused event data store after you remove or change a delegated administrator account. ! However, the unused event data store continues to incur storage costs from CloudTrail Lake if you don't delete it.

When you deregister a delegated administrator account for Audit Manager, the data for that account isn’t deleted. If you want to delete resource data for a delegated administrator account, you must perform that task separately before you deregister the account. Either, you can do this in the Audit Manager console. Or, you can use one of the delete API operations that are provided by Audit Manager.

To delete your Audit Manager resource data, see the following instructions:

At this time, Audit Manager doesn't provide an option to delete evidence for a specific delegated administrator. Instead, when your management account deregisters Audit Manager, we perform a cleanup for the current delegated administrator account at the time of deregistration.

§
disassociateAssessmentReportEvidenceFolder(params: DisassociateAssessmentReportEvidenceFolderRequest, opts?: client.RequestOptions): Promise<void>
[src]

Disassociates an evidence folder from the specified assessment report in Audit Manager.

§
getAccountStatus(opts?: client.RequestOptions): Promise<GetAccountStatusResponse>
[src]

Returns the registration status of an account in Audit Manager.

§

Returns an assessment from Audit Manager.

§

Returns a framework from Audit Manager.

§

Returns the URL of an assessment report in Audit Manager.

§

Returns a list of changelogs from Audit Manager.

§

Returns a control from Audit Manager.

§

Returns a list of delegations from an audit owner to a delegate.

§

Returns evidence from Audit Manager.

§

Returns all evidence from a specified evidence folder in Audit Manager.

§

Returns an evidence folder from the specified assessment in Audit Manager.

§

Returns the evidence folders from a specified assessment in Audit Manager.

§

Returns a list of evidence folders that are associated with a specified control in an Audit Manager assessment.

§
getInsights(opts?: client.RequestOptions): Promise<GetInsightsResponse>
[src]

Gets the latest analytics data for all your current active assessments.

§

Gets the latest analytics data for a specific active assessment.

§
getOrganizationAdminAccount(opts?: client.RequestOptions): Promise<GetOrganizationAdminAccountResponse>
[src]

Returns the name of the delegated Amazon Web Services administrator account for the organization.

§
getServicesInScope(opts?: client.RequestOptions): Promise<GetServicesInScopeResponse>
[src]

Returns a list of all of the Amazon Web Services that you can choose to include in your assessment. When you create an assessment, specify which of these services you want to include to narrow the assessment's scope.

§

Returns the settings for the specified Amazon Web Services account.

§

Lists the latest analytics data for controls within a specific control domain and a specific active assessment.

Note: Control insights are listed only if the control belongs to the control domain and assessment that was specified. Moreover, the control must have collected evidence on the lastUpdated date of controlInsightsByAssessment. If neither of these conditions are met, no data is listed for that control.

§

Returns a list of the frameworks that are available in the Audit Manager framework library.

§

Returns a list of sent or received share requests for custom frameworks in Audit Manager.

§

Returns a list of assessment reports created in Audit Manager.

§

Returns a list of current and past assessments from Audit Manager.

§

Lists the latest analytics data for control domains across all of your active assessments.

Note: A control domain is listed only if at least one of the controls within that domain collected evidence on the lastUpdated date of controlDomainInsights. If this condition isn’t met, no data is listed for that control domain.

§

Lists analytics data for control domains within a specified active assessment.

Note: A control domain is listed only if at least one of the controls within that domain collected evidence on the lastUpdated date of controlDomainInsights. If this condition isn’t met, no data is listed for that domain.

§

Lists the latest analytics data for controls within a specific control domain across all active assessments.

Note: Control insights are listed only if the control belongs to the control domain that was specified and the control collected evidence on the lastUpdated date of controlInsightsMetadata. If neither of these conditions are met, no data is listed for that control.

§

Returns a list of controls from Audit Manager.

§

Returns a list of keywords that are pre-mapped to the specified control data source.

§

Returns a list of all Audit Manager notifications.

§

Returns a list of tags for the specified resource in Audit Manager.

§

Enables Audit Manager for the specified Amazon Web Services account.

§

Enables an Amazon Web Services account within the organization as the delegated administrator for Audit Manager.

§

Creates a share request for a custom framework in Audit Manager.

The share request specifies a recipient and notifies them that a custom framework is available. Recipients have 120 days to accept or decline the request. If no action is taken, the share request expires.

When you create a share request, Audit Manager stores a snapshot of your custom framework in the US East (N. Virginia) Amazon Web Services Region. Audit Manager also stores a backup of the same snapshot in the US West (Oregon) Amazon Web Services Region.

Audit Manager deletes the snapshot and the backup snapshot when one of the following events occurs:

  • The sender revokes the share request.
  • The recipient declines the share request.
  • The recipient encounters an error and doesn't successfully accept the share request.
  • The share request expires before the recipient responds to the request.

When a sender resends a share request, the snapshot is replaced with an updated version that corresponds with the latest version of the custom framework.

When a recipient accepts a share request, the snapshot is replicated into their Amazon Web Services account under the Amazon Web Services Region that was specified in the share request.

! IMPORTANT: ! When you invoke the StartAssessmentFrameworkShare API, you are about to share a custom framework with another Amazon Web Services account. ! You may not share a custom framework that is derived from a standard framework if the standard framework is designated as not eligible for sharing by Amazon Web Services, unless you have obtained permission to do so from the owner of the standard framework. ! To learn more about which standard frameworks are eligible for sharing, see Framework sharing eligibility in the Audit Manager User Guide.

§
tagResource(params: TagResourceRequest, opts?: client.RequestOptions): Promise<void>
[src]

Tags the specified resource in Audit Manager.

§
untagResource(params: UntagResourceRequest, opts?: client.RequestOptions): Promise<void>
[src]

Removes a tag from a resource in Audit Manager.

§

Edits an Audit Manager assessment.

§

Updates a control within an assessment in Audit Manager.

§

Updates the status of a control set in an Audit Manager assessment.

§

Updates a custom framework in Audit Manager.

§

Updates a share request for a custom framework in Audit Manager.

§

Updates the status of an assessment in Audit Manager.

§

Updates a custom control in Audit Manager.

§

Updates Audit Manager settings for the current account.

§

Validates the integrity of an assessment report in Audit Manager.

§Static Properties