1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190 |
- import {Request} from '../lib/request';
- import {Response} from '../lib/response';
- import {AWSError} from '../lib/error';
- import {Service} from '../lib/service';
- import {ServiceConfigurationOptions} from '../lib/service';
- import {ConfigBase as Config} from '../lib/config-base';
- interface Blob {}
- declare class AuditManager extends Service {
- /**
- * Constructs a service object. This object has one method for each API operation.
- */
- constructor(options?: AuditManager.Types.ClientConfiguration)
- config: Config & AuditManager.Types.ClientConfiguration;
- /**
- * Associates an evidence folder to an assessment report in an Audit Manager assessment.
- */
- associateAssessmentReportEvidenceFolder(params: AuditManager.Types.AssociateAssessmentReportEvidenceFolderRequest, callback?: (err: AWSError, data: AuditManager.Types.AssociateAssessmentReportEvidenceFolderResponse) => void): Request<AuditManager.Types.AssociateAssessmentReportEvidenceFolderResponse, AWSError>;
- /**
- * Associates an evidence folder to an assessment report in an Audit Manager assessment.
- */
- associateAssessmentReportEvidenceFolder(callback?: (err: AWSError, data: AuditManager.Types.AssociateAssessmentReportEvidenceFolderResponse) => void): Request<AuditManager.Types.AssociateAssessmentReportEvidenceFolderResponse, AWSError>;
- /**
- * Associates a list of evidence to an assessment report in an Audit Manager assessment.
- */
- batchAssociateAssessmentReportEvidence(params: AuditManager.Types.BatchAssociateAssessmentReportEvidenceRequest, callback?: (err: AWSError, data: AuditManager.Types.BatchAssociateAssessmentReportEvidenceResponse) => void): Request<AuditManager.Types.BatchAssociateAssessmentReportEvidenceResponse, AWSError>;
- /**
- * Associates a list of evidence to an assessment report in an Audit Manager assessment.
- */
- batchAssociateAssessmentReportEvidence(callback?: (err: AWSError, data: AuditManager.Types.BatchAssociateAssessmentReportEvidenceResponse) => void): Request<AuditManager.Types.BatchAssociateAssessmentReportEvidenceResponse, AWSError>;
- /**
- * Creates a batch of delegations for an assessment in Audit Manager.
- */
- batchCreateDelegationByAssessment(params: AuditManager.Types.BatchCreateDelegationByAssessmentRequest, callback?: (err: AWSError, data: AuditManager.Types.BatchCreateDelegationByAssessmentResponse) => void): Request<AuditManager.Types.BatchCreateDelegationByAssessmentResponse, AWSError>;
- /**
- * Creates a batch of delegations for an assessment in Audit Manager.
- */
- batchCreateDelegationByAssessment(callback?: (err: AWSError, data: AuditManager.Types.BatchCreateDelegationByAssessmentResponse) => void): Request<AuditManager.Types.BatchCreateDelegationByAssessmentResponse, AWSError>;
- /**
- * Deletes a batch of delegations for an assessment in Audit Manager.
- */
- batchDeleteDelegationByAssessment(params: AuditManager.Types.BatchDeleteDelegationByAssessmentRequest, callback?: (err: AWSError, data: AuditManager.Types.BatchDeleteDelegationByAssessmentResponse) => void): Request<AuditManager.Types.BatchDeleteDelegationByAssessmentResponse, AWSError>;
- /**
- * Deletes a batch of delegations for an assessment in Audit Manager.
- */
- batchDeleteDelegationByAssessment(callback?: (err: AWSError, data: AuditManager.Types.BatchDeleteDelegationByAssessmentResponse) => void): Request<AuditManager.Types.BatchDeleteDelegationByAssessmentResponse, AWSError>;
- /**
- * Disassociates a list of evidence from an assessment report in Audit Manager.
- */
- batchDisassociateAssessmentReportEvidence(params: AuditManager.Types.BatchDisassociateAssessmentReportEvidenceRequest, callback?: (err: AWSError, data: AuditManager.Types.BatchDisassociateAssessmentReportEvidenceResponse) => void): Request<AuditManager.Types.BatchDisassociateAssessmentReportEvidenceResponse, AWSError>;
- /**
- * Disassociates a list of evidence from an assessment report in Audit Manager.
- */
- batchDisassociateAssessmentReportEvidence(callback?: (err: AWSError, data: AuditManager.Types.BatchDisassociateAssessmentReportEvidenceResponse) => void): Request<AuditManager.Types.BatchDisassociateAssessmentReportEvidenceResponse, AWSError>;
- /**
- * 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.
- */
- batchImportEvidenceToAssessmentControl(params: AuditManager.Types.BatchImportEvidenceToAssessmentControlRequest, callback?: (err: AWSError, data: AuditManager.Types.BatchImportEvidenceToAssessmentControlResponse) => void): Request<AuditManager.Types.BatchImportEvidenceToAssessmentControlResponse, AWSError>;
- /**
- * 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.
- */
- batchImportEvidenceToAssessmentControl(callback?: (err: AWSError, data: AuditManager.Types.BatchImportEvidenceToAssessmentControlResponse) => void): Request<AuditManager.Types.BatchImportEvidenceToAssessmentControlResponse, AWSError>;
- /**
- * Creates an assessment in Audit Manager.
- */
- createAssessment(params: AuditManager.Types.CreateAssessmentRequest, callback?: (err: AWSError, data: AuditManager.Types.CreateAssessmentResponse) => void): Request<AuditManager.Types.CreateAssessmentResponse, AWSError>;
- /**
- * Creates an assessment in Audit Manager.
- */
- createAssessment(callback?: (err: AWSError, data: AuditManager.Types.CreateAssessmentResponse) => void): Request<AuditManager.Types.CreateAssessmentResponse, AWSError>;
- /**
- * Creates a custom framework in Audit Manager.
- */
- createAssessmentFramework(params: AuditManager.Types.CreateAssessmentFrameworkRequest, callback?: (err: AWSError, data: AuditManager.Types.CreateAssessmentFrameworkResponse) => void): Request<AuditManager.Types.CreateAssessmentFrameworkResponse, AWSError>;
- /**
- * Creates a custom framework in Audit Manager.
- */
- createAssessmentFramework(callback?: (err: AWSError, data: AuditManager.Types.CreateAssessmentFrameworkResponse) => void): Request<AuditManager.Types.CreateAssessmentFrameworkResponse, AWSError>;
- /**
- * Creates an assessment report for the specified assessment.
- */
- createAssessmentReport(params: AuditManager.Types.CreateAssessmentReportRequest, callback?: (err: AWSError, data: AuditManager.Types.CreateAssessmentReportResponse) => void): Request<AuditManager.Types.CreateAssessmentReportResponse, AWSError>;
- /**
- * Creates an assessment report for the specified assessment.
- */
- createAssessmentReport(callback?: (err: AWSError, data: AuditManager.Types.CreateAssessmentReportResponse) => void): Request<AuditManager.Types.CreateAssessmentReportResponse, AWSError>;
- /**
- * Creates a new custom control in Audit Manager.
- */
- createControl(params: AuditManager.Types.CreateControlRequest, callback?: (err: AWSError, data: AuditManager.Types.CreateControlResponse) => void): Request<AuditManager.Types.CreateControlResponse, AWSError>;
- /**
- * Creates a new custom control in Audit Manager.
- */
- createControl(callback?: (err: AWSError, data: AuditManager.Types.CreateControlResponse) => void): Request<AuditManager.Types.CreateControlResponse, AWSError>;
- /**
- * Deletes an assessment in Audit Manager.
- */
- deleteAssessment(params: AuditManager.Types.DeleteAssessmentRequest, callback?: (err: AWSError, data: AuditManager.Types.DeleteAssessmentResponse) => void): Request<AuditManager.Types.DeleteAssessmentResponse, AWSError>;
- /**
- * Deletes an assessment in Audit Manager.
- */
- deleteAssessment(callback?: (err: AWSError, data: AuditManager.Types.DeleteAssessmentResponse) => void): Request<AuditManager.Types.DeleteAssessmentResponse, AWSError>;
- /**
- * Deletes a custom framework in Audit Manager.
- */
- deleteAssessmentFramework(params: AuditManager.Types.DeleteAssessmentFrameworkRequest, callback?: (err: AWSError, data: AuditManager.Types.DeleteAssessmentFrameworkResponse) => void): Request<AuditManager.Types.DeleteAssessmentFrameworkResponse, AWSError>;
- /**
- * Deletes a custom framework in Audit Manager.
- */
- deleteAssessmentFramework(callback?: (err: AWSError, data: AuditManager.Types.DeleteAssessmentFrameworkResponse) => void): Request<AuditManager.Types.DeleteAssessmentFrameworkResponse, AWSError>;
- /**
- * Deletes a share request for a custom framework in Audit Manager.
- */
- deleteAssessmentFrameworkShare(params: AuditManager.Types.DeleteAssessmentFrameworkShareRequest, callback?: (err: AWSError, data: AuditManager.Types.DeleteAssessmentFrameworkShareResponse) => void): Request<AuditManager.Types.DeleteAssessmentFrameworkShareResponse, AWSError>;
- /**
- * Deletes a share request for a custom framework in Audit Manager.
- */
- deleteAssessmentFrameworkShare(callback?: (err: AWSError, data: AuditManager.Types.DeleteAssessmentFrameworkShareResponse) => void): Request<AuditManager.Types.DeleteAssessmentFrameworkShareResponse, AWSError>;
- /**
- * Deletes an assessment report in Audit Manager. When you run the DeleteAssessmentReport operation, Audit Manager attempts to delete the following data: The specified assessment report that’s stored in your S3 bucket 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.
- */
- deleteAssessmentReport(params: AuditManager.Types.DeleteAssessmentReportRequest, callback?: (err: AWSError, data: AuditManager.Types.DeleteAssessmentReportResponse) => void): Request<AuditManager.Types.DeleteAssessmentReportResponse, AWSError>;
- /**
- * Deletes an assessment report in Audit Manager. When you run the DeleteAssessmentReport operation, Audit Manager attempts to delete the following data: The specified assessment report that’s stored in your S3 bucket 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.
- */
- deleteAssessmentReport(callback?: (err: AWSError, data: AuditManager.Types.DeleteAssessmentReportResponse) => void): Request<AuditManager.Types.DeleteAssessmentReportResponse, AWSError>;
- /**
- * Deletes a custom control in Audit Manager. When you invoke this operation, the custom control is deleted from any frameworks or assessments that it’s currently part of. As a result, Audit Manager will stop collecting evidence for that custom control in all of your assessments. This includes assessments that you previously created before you deleted the custom control.
- */
- deleteControl(params: AuditManager.Types.DeleteControlRequest, callback?: (err: AWSError, data: AuditManager.Types.DeleteControlResponse) => void): Request<AuditManager.Types.DeleteControlResponse, AWSError>;
- /**
- * Deletes a custom control in Audit Manager. When you invoke this operation, the custom control is deleted from any frameworks or assessments that it’s currently part of. As a result, Audit Manager will stop collecting evidence for that custom control in all of your assessments. This includes assessments that you previously created before you deleted the custom control.
- */
- deleteControl(callback?: (err: AWSError, data: AuditManager.Types.DeleteControlResponse) => void): Request<AuditManager.Types.DeleteControlResponse, AWSError>;
- /**
- * Deregisters an account in Audit Manager. 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.
- */
- deregisterAccount(params: AuditManager.Types.DeregisterAccountRequest, callback?: (err: AWSError, data: AuditManager.Types.DeregisterAccountResponse) => void): Request<AuditManager.Types.DeregisterAccountResponse, AWSError>;
- /**
- * Deregisters an account in Audit Manager. 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.
- */
- deregisterAccount(callback?: (err: AWSError, data: AuditManager.Types.DeregisterAccountResponse) => void): Request<AuditManager.Types.DeregisterAccountResponse, AWSError>;
- /**
- * 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. 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: DeleteAssessment (see also: Deleting an assessment in the Audit Manager User Guide) DeleteAssessmentFramework (see also: Deleting a custom framework in the Audit Manager User Guide) DeleteAssessmentFrameworkShare (see also: Deleting a share request in the Audit Manager User Guide) DeleteAssessmentReport (see also: Deleting an assessment report in the Audit Manager User Guide) DeleteControl (see also: Deleting a custom control in the Audit Manager User Guide) 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.
- */
- deregisterOrganizationAdminAccount(params: AuditManager.Types.DeregisterOrganizationAdminAccountRequest, callback?: (err: AWSError, data: AuditManager.Types.DeregisterOrganizationAdminAccountResponse) => void): Request<AuditManager.Types.DeregisterOrganizationAdminAccountResponse, AWSError>;
- /**
- * 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. 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: DeleteAssessment (see also: Deleting an assessment in the Audit Manager User Guide) DeleteAssessmentFramework (see also: Deleting a custom framework in the Audit Manager User Guide) DeleteAssessmentFrameworkShare (see also: Deleting a share request in the Audit Manager User Guide) DeleteAssessmentReport (see also: Deleting an assessment report in the Audit Manager User Guide) DeleteControl (see also: Deleting a custom control in the Audit Manager User Guide) 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.
- */
- deregisterOrganizationAdminAccount(callback?: (err: AWSError, data: AuditManager.Types.DeregisterOrganizationAdminAccountResponse) => void): Request<AuditManager.Types.DeregisterOrganizationAdminAccountResponse, AWSError>;
- /**
- * Disassociates an evidence folder from the specified assessment report in Audit Manager.
- */
- disassociateAssessmentReportEvidenceFolder(params: AuditManager.Types.DisassociateAssessmentReportEvidenceFolderRequest, callback?: (err: AWSError, data: AuditManager.Types.DisassociateAssessmentReportEvidenceFolderResponse) => void): Request<AuditManager.Types.DisassociateAssessmentReportEvidenceFolderResponse, AWSError>;
- /**
- * Disassociates an evidence folder from the specified assessment report in Audit Manager.
- */
- disassociateAssessmentReportEvidenceFolder(callback?: (err: AWSError, data: AuditManager.Types.DisassociateAssessmentReportEvidenceFolderResponse) => void): Request<AuditManager.Types.DisassociateAssessmentReportEvidenceFolderResponse, AWSError>;
- /**
- * Gets the registration status of an account in Audit Manager.
- */
- getAccountStatus(params: AuditManager.Types.GetAccountStatusRequest, callback?: (err: AWSError, data: AuditManager.Types.GetAccountStatusResponse) => void): Request<AuditManager.Types.GetAccountStatusResponse, AWSError>;
- /**
- * Gets the registration status of an account in Audit Manager.
- */
- getAccountStatus(callback?: (err: AWSError, data: AuditManager.Types.GetAccountStatusResponse) => void): Request<AuditManager.Types.GetAccountStatusResponse, AWSError>;
- /**
- * Gets information about a specified assessment.
- */
- getAssessment(params: AuditManager.Types.GetAssessmentRequest, callback?: (err: AWSError, data: AuditManager.Types.GetAssessmentResponse) => void): Request<AuditManager.Types.GetAssessmentResponse, AWSError>;
- /**
- * Gets information about a specified assessment.
- */
- getAssessment(callback?: (err: AWSError, data: AuditManager.Types.GetAssessmentResponse) => void): Request<AuditManager.Types.GetAssessmentResponse, AWSError>;
- /**
- * Gets information about a specified framework.
- */
- getAssessmentFramework(params: AuditManager.Types.GetAssessmentFrameworkRequest, callback?: (err: AWSError, data: AuditManager.Types.GetAssessmentFrameworkResponse) => void): Request<AuditManager.Types.GetAssessmentFrameworkResponse, AWSError>;
- /**
- * Gets information about a specified framework.
- */
- getAssessmentFramework(callback?: (err: AWSError, data: AuditManager.Types.GetAssessmentFrameworkResponse) => void): Request<AuditManager.Types.GetAssessmentFrameworkResponse, AWSError>;
- /**
- * Gets the URL of an assessment report in Audit Manager.
- */
- getAssessmentReportUrl(params: AuditManager.Types.GetAssessmentReportUrlRequest, callback?: (err: AWSError, data: AuditManager.Types.GetAssessmentReportUrlResponse) => void): Request<AuditManager.Types.GetAssessmentReportUrlResponse, AWSError>;
- /**
- * Gets the URL of an assessment report in Audit Manager.
- */
- getAssessmentReportUrl(callback?: (err: AWSError, data: AuditManager.Types.GetAssessmentReportUrlResponse) => void): Request<AuditManager.Types.GetAssessmentReportUrlResponse, AWSError>;
- /**
- * Gets a list of changelogs from Audit Manager.
- */
- getChangeLogs(params: AuditManager.Types.GetChangeLogsRequest, callback?: (err: AWSError, data: AuditManager.Types.GetChangeLogsResponse) => void): Request<AuditManager.Types.GetChangeLogsResponse, AWSError>;
- /**
- * Gets a list of changelogs from Audit Manager.
- */
- getChangeLogs(callback?: (err: AWSError, data: AuditManager.Types.GetChangeLogsResponse) => void): Request<AuditManager.Types.GetChangeLogsResponse, AWSError>;
- /**
- * Gets information about a specified control.
- */
- getControl(params: AuditManager.Types.GetControlRequest, callback?: (err: AWSError, data: AuditManager.Types.GetControlResponse) => void): Request<AuditManager.Types.GetControlResponse, AWSError>;
- /**
- * Gets information about a specified control.
- */
- getControl(callback?: (err: AWSError, data: AuditManager.Types.GetControlResponse) => void): Request<AuditManager.Types.GetControlResponse, AWSError>;
- /**
- * Gets a list of delegations from an audit owner to a delegate.
- */
- getDelegations(params: AuditManager.Types.GetDelegationsRequest, callback?: (err: AWSError, data: AuditManager.Types.GetDelegationsResponse) => void): Request<AuditManager.Types.GetDelegationsResponse, AWSError>;
- /**
- * Gets a list of delegations from an audit owner to a delegate.
- */
- getDelegations(callback?: (err: AWSError, data: AuditManager.Types.GetDelegationsResponse) => void): Request<AuditManager.Types.GetDelegationsResponse, AWSError>;
- /**
- * Gets information about a specified evidence item.
- */
- getEvidence(params: AuditManager.Types.GetEvidenceRequest, callback?: (err: AWSError, data: AuditManager.Types.GetEvidenceResponse) => void): Request<AuditManager.Types.GetEvidenceResponse, AWSError>;
- /**
- * Gets information about a specified evidence item.
- */
- getEvidence(callback?: (err: AWSError, data: AuditManager.Types.GetEvidenceResponse) => void): Request<AuditManager.Types.GetEvidenceResponse, AWSError>;
- /**
- * Gets all evidence from a specified evidence folder in Audit Manager.
- */
- getEvidenceByEvidenceFolder(params: AuditManager.Types.GetEvidenceByEvidenceFolderRequest, callback?: (err: AWSError, data: AuditManager.Types.GetEvidenceByEvidenceFolderResponse) => void): Request<AuditManager.Types.GetEvidenceByEvidenceFolderResponse, AWSError>;
- /**
- * Gets all evidence from a specified evidence folder in Audit Manager.
- */
- getEvidenceByEvidenceFolder(callback?: (err: AWSError, data: AuditManager.Types.GetEvidenceByEvidenceFolderResponse) => void): Request<AuditManager.Types.GetEvidenceByEvidenceFolderResponse, AWSError>;
- /**
- * Creates a presigned Amazon S3 URL that can be used to upload a file as manual evidence. For instructions on how to use this operation, see Upload a file from your browser in the Audit Manager User Guide. The following restrictions apply to this operation: 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.
- */
- getEvidenceFileUploadUrl(params: AuditManager.Types.GetEvidenceFileUploadUrlRequest, callback?: (err: AWSError, data: AuditManager.Types.GetEvidenceFileUploadUrlResponse) => void): Request<AuditManager.Types.GetEvidenceFileUploadUrlResponse, AWSError>;
- /**
- * Creates a presigned Amazon S3 URL that can be used to upload a file as manual evidence. For instructions on how to use this operation, see Upload a file from your browser in the Audit Manager User Guide. The following restrictions apply to this operation: 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.
- */
- getEvidenceFileUploadUrl(callback?: (err: AWSError, data: AuditManager.Types.GetEvidenceFileUploadUrlResponse) => void): Request<AuditManager.Types.GetEvidenceFileUploadUrlResponse, AWSError>;
- /**
- * Gets an evidence folder from a specified assessment in Audit Manager.
- */
- getEvidenceFolder(params: AuditManager.Types.GetEvidenceFolderRequest, callback?: (err: AWSError, data: AuditManager.Types.GetEvidenceFolderResponse) => void): Request<AuditManager.Types.GetEvidenceFolderResponse, AWSError>;
- /**
- * Gets an evidence folder from a specified assessment in Audit Manager.
- */
- getEvidenceFolder(callback?: (err: AWSError, data: AuditManager.Types.GetEvidenceFolderResponse) => void): Request<AuditManager.Types.GetEvidenceFolderResponse, AWSError>;
- /**
- * Gets the evidence folders from a specified assessment in Audit Manager.
- */
- getEvidenceFoldersByAssessment(params: AuditManager.Types.GetEvidenceFoldersByAssessmentRequest, callback?: (err: AWSError, data: AuditManager.Types.GetEvidenceFoldersByAssessmentResponse) => void): Request<AuditManager.Types.GetEvidenceFoldersByAssessmentResponse, AWSError>;
- /**
- * Gets the evidence folders from a specified assessment in Audit Manager.
- */
- getEvidenceFoldersByAssessment(callback?: (err: AWSError, data: AuditManager.Types.GetEvidenceFoldersByAssessmentResponse) => void): Request<AuditManager.Types.GetEvidenceFoldersByAssessmentResponse, AWSError>;
- /**
- * Gets a list of evidence folders that are associated with a specified control in an Audit Manager assessment.
- */
- getEvidenceFoldersByAssessmentControl(params: AuditManager.Types.GetEvidenceFoldersByAssessmentControlRequest, callback?: (err: AWSError, data: AuditManager.Types.GetEvidenceFoldersByAssessmentControlResponse) => void): Request<AuditManager.Types.GetEvidenceFoldersByAssessmentControlResponse, AWSError>;
- /**
- * Gets a list of evidence folders that are associated with a specified control in an Audit Manager assessment.
- */
- getEvidenceFoldersByAssessmentControl(callback?: (err: AWSError, data: AuditManager.Types.GetEvidenceFoldersByAssessmentControlResponse) => void): Request<AuditManager.Types.GetEvidenceFoldersByAssessmentControlResponse, AWSError>;
- /**
- * Gets the latest analytics data for all your current active assessments.
- */
- getInsights(params: AuditManager.Types.GetInsightsRequest, callback?: (err: AWSError, data: AuditManager.Types.GetInsightsResponse) => void): Request<AuditManager.Types.GetInsightsResponse, AWSError>;
- /**
- * Gets the latest analytics data for all your current active assessments.
- */
- getInsights(callback?: (err: AWSError, data: AuditManager.Types.GetInsightsResponse) => void): Request<AuditManager.Types.GetInsightsResponse, AWSError>;
- /**
- * Gets the latest analytics data for a specific active assessment.
- */
- getInsightsByAssessment(params: AuditManager.Types.GetInsightsByAssessmentRequest, callback?: (err: AWSError, data: AuditManager.Types.GetInsightsByAssessmentResponse) => void): Request<AuditManager.Types.GetInsightsByAssessmentResponse, AWSError>;
- /**
- * Gets the latest analytics data for a specific active assessment.
- */
- getInsightsByAssessment(callback?: (err: AWSError, data: AuditManager.Types.GetInsightsByAssessmentResponse) => void): Request<AuditManager.Types.GetInsightsByAssessmentResponse, AWSError>;
- /**
- * Gets the name of the delegated Amazon Web Services administrator account for a specified organization.
- */
- getOrganizationAdminAccount(params: AuditManager.Types.GetOrganizationAdminAccountRequest, callback?: (err: AWSError, data: AuditManager.Types.GetOrganizationAdminAccountResponse) => void): Request<AuditManager.Types.GetOrganizationAdminAccountResponse, AWSError>;
- /**
- * Gets the name of the delegated Amazon Web Services administrator account for a specified organization.
- */
- getOrganizationAdminAccount(callback?: (err: AWSError, data: AuditManager.Types.GetOrganizationAdminAccountResponse) => void): Request<AuditManager.Types.GetOrganizationAdminAccountResponse, AWSError>;
- /**
- * Gets 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.
- */
- getServicesInScope(params: AuditManager.Types.GetServicesInScopeRequest, callback?: (err: AWSError, data: AuditManager.Types.GetServicesInScopeResponse) => void): Request<AuditManager.Types.GetServicesInScopeResponse, AWSError>;
- /**
- * Gets 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.
- */
- getServicesInScope(callback?: (err: AWSError, data: AuditManager.Types.GetServicesInScopeResponse) => void): Request<AuditManager.Types.GetServicesInScopeResponse, AWSError>;
- /**
- * Gets the settings for a specified Amazon Web Services account.
- */
- getSettings(params: AuditManager.Types.GetSettingsRequest, callback?: (err: AWSError, data: AuditManager.Types.GetSettingsResponse) => void): Request<AuditManager.Types.GetSettingsResponse, AWSError>;
- /**
- * Gets the settings for a specified Amazon Web Services account.
- */
- getSettings(callback?: (err: AWSError, data: AuditManager.Types.GetSettingsResponse) => void): Request<AuditManager.Types.GetSettingsResponse, AWSError>;
- /**
- * Lists the latest analytics data for controls within a specific control domain and a specific active assessment. 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.
- */
- listAssessmentControlInsightsByControlDomain(params: AuditManager.Types.ListAssessmentControlInsightsByControlDomainRequest, callback?: (err: AWSError, data: AuditManager.Types.ListAssessmentControlInsightsByControlDomainResponse) => void): Request<AuditManager.Types.ListAssessmentControlInsightsByControlDomainResponse, AWSError>;
- /**
- * Lists the latest analytics data for controls within a specific control domain and a specific active assessment. 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.
- */
- listAssessmentControlInsightsByControlDomain(callback?: (err: AWSError, data: AuditManager.Types.ListAssessmentControlInsightsByControlDomainResponse) => void): Request<AuditManager.Types.ListAssessmentControlInsightsByControlDomainResponse, AWSError>;
- /**
- * Returns a list of sent or received share requests for custom frameworks in Audit Manager.
- */
- listAssessmentFrameworkShareRequests(params: AuditManager.Types.ListAssessmentFrameworkShareRequestsRequest, callback?: (err: AWSError, data: AuditManager.Types.ListAssessmentFrameworkShareRequestsResponse) => void): Request<AuditManager.Types.ListAssessmentFrameworkShareRequestsResponse, AWSError>;
- /**
- * Returns a list of sent or received share requests for custom frameworks in Audit Manager.
- */
- listAssessmentFrameworkShareRequests(callback?: (err: AWSError, data: AuditManager.Types.ListAssessmentFrameworkShareRequestsResponse) => void): Request<AuditManager.Types.ListAssessmentFrameworkShareRequestsResponse, AWSError>;
- /**
- * Returns a list of the frameworks that are available in the Audit Manager framework library.
- */
- listAssessmentFrameworks(params: AuditManager.Types.ListAssessmentFrameworksRequest, callback?: (err: AWSError, data: AuditManager.Types.ListAssessmentFrameworksResponse) => void): Request<AuditManager.Types.ListAssessmentFrameworksResponse, AWSError>;
- /**
- * Returns a list of the frameworks that are available in the Audit Manager framework library.
- */
- listAssessmentFrameworks(callback?: (err: AWSError, data: AuditManager.Types.ListAssessmentFrameworksResponse) => void): Request<AuditManager.Types.ListAssessmentFrameworksResponse, AWSError>;
- /**
- * Returns a list of assessment reports created in Audit Manager.
- */
- listAssessmentReports(params: AuditManager.Types.ListAssessmentReportsRequest, callback?: (err: AWSError, data: AuditManager.Types.ListAssessmentReportsResponse) => void): Request<AuditManager.Types.ListAssessmentReportsResponse, AWSError>;
- /**
- * Returns a list of assessment reports created in Audit Manager.
- */
- listAssessmentReports(callback?: (err: AWSError, data: AuditManager.Types.ListAssessmentReportsResponse) => void): Request<AuditManager.Types.ListAssessmentReportsResponse, AWSError>;
- /**
- * Returns a list of current and past assessments from Audit Manager.
- */
- listAssessments(params: AuditManager.Types.ListAssessmentsRequest, callback?: (err: AWSError, data: AuditManager.Types.ListAssessmentsResponse) => void): Request<AuditManager.Types.ListAssessmentsResponse, AWSError>;
- /**
- * Returns a list of current and past assessments from Audit Manager.
- */
- listAssessments(callback?: (err: AWSError, data: AuditManager.Types.ListAssessmentsResponse) => void): Request<AuditManager.Types.ListAssessmentsResponse, AWSError>;
- /**
- * Lists the latest analytics data for control domains across all of your active assessments. 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.
- */
- listControlDomainInsights(params: AuditManager.Types.ListControlDomainInsightsRequest, callback?: (err: AWSError, data: AuditManager.Types.ListControlDomainInsightsResponse) => void): Request<AuditManager.Types.ListControlDomainInsightsResponse, AWSError>;
- /**
- * Lists the latest analytics data for control domains across all of your active assessments. 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.
- */
- listControlDomainInsights(callback?: (err: AWSError, data: AuditManager.Types.ListControlDomainInsightsResponse) => void): Request<AuditManager.Types.ListControlDomainInsightsResponse, AWSError>;
- /**
- * Lists analytics data for control domains within a specified active assessment. 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.
- */
- listControlDomainInsightsByAssessment(params: AuditManager.Types.ListControlDomainInsightsByAssessmentRequest, callback?: (err: AWSError, data: AuditManager.Types.ListControlDomainInsightsByAssessmentResponse) => void): Request<AuditManager.Types.ListControlDomainInsightsByAssessmentResponse, AWSError>;
- /**
- * Lists analytics data for control domains within a specified active assessment. 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.
- */
- listControlDomainInsightsByAssessment(callback?: (err: AWSError, data: AuditManager.Types.ListControlDomainInsightsByAssessmentResponse) => void): Request<AuditManager.Types.ListControlDomainInsightsByAssessmentResponse, AWSError>;
- /**
- * Lists the latest analytics data for controls within a specific control domain across all active assessments. 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.
- */
- listControlInsightsByControlDomain(params: AuditManager.Types.ListControlInsightsByControlDomainRequest, callback?: (err: AWSError, data: AuditManager.Types.ListControlInsightsByControlDomainResponse) => void): Request<AuditManager.Types.ListControlInsightsByControlDomainResponse, AWSError>;
- /**
- * Lists the latest analytics data for controls within a specific control domain across all active assessments. 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.
- */
- listControlInsightsByControlDomain(callback?: (err: AWSError, data: AuditManager.Types.ListControlInsightsByControlDomainResponse) => void): Request<AuditManager.Types.ListControlInsightsByControlDomainResponse, AWSError>;
- /**
- * Returns a list of controls from Audit Manager.
- */
- listControls(params: AuditManager.Types.ListControlsRequest, callback?: (err: AWSError, data: AuditManager.Types.ListControlsResponse) => void): Request<AuditManager.Types.ListControlsResponse, AWSError>;
- /**
- * Returns a list of controls from Audit Manager.
- */
- listControls(callback?: (err: AWSError, data: AuditManager.Types.ListControlsResponse) => void): Request<AuditManager.Types.ListControlsResponse, AWSError>;
- /**
- * Returns a list of keywords that are pre-mapped to the specified control data source.
- */
- listKeywordsForDataSource(params: AuditManager.Types.ListKeywordsForDataSourceRequest, callback?: (err: AWSError, data: AuditManager.Types.ListKeywordsForDataSourceResponse) => void): Request<AuditManager.Types.ListKeywordsForDataSourceResponse, AWSError>;
- /**
- * Returns a list of keywords that are pre-mapped to the specified control data source.
- */
- listKeywordsForDataSource(callback?: (err: AWSError, data: AuditManager.Types.ListKeywordsForDataSourceResponse) => void): Request<AuditManager.Types.ListKeywordsForDataSourceResponse, AWSError>;
- /**
- * Returns a list of all Audit Manager notifications.
- */
- listNotifications(params: AuditManager.Types.ListNotificationsRequest, callback?: (err: AWSError, data: AuditManager.Types.ListNotificationsResponse) => void): Request<AuditManager.Types.ListNotificationsResponse, AWSError>;
- /**
- * Returns a list of all Audit Manager notifications.
- */
- listNotifications(callback?: (err: AWSError, data: AuditManager.Types.ListNotificationsResponse) => void): Request<AuditManager.Types.ListNotificationsResponse, AWSError>;
- /**
- * Returns a list of tags for the specified resource in Audit Manager.
- */
- listTagsForResource(params: AuditManager.Types.ListTagsForResourceRequest, callback?: (err: AWSError, data: AuditManager.Types.ListTagsForResourceResponse) => void): Request<AuditManager.Types.ListTagsForResourceResponse, AWSError>;
- /**
- * Returns a list of tags for the specified resource in Audit Manager.
- */
- listTagsForResource(callback?: (err: AWSError, data: AuditManager.Types.ListTagsForResourceResponse) => void): Request<AuditManager.Types.ListTagsForResourceResponse, AWSError>;
- /**
- * Enables Audit Manager for the specified Amazon Web Services account.
- */
- registerAccount(params: AuditManager.Types.RegisterAccountRequest, callback?: (err: AWSError, data: AuditManager.Types.RegisterAccountResponse) => void): Request<AuditManager.Types.RegisterAccountResponse, AWSError>;
- /**
- * Enables Audit Manager for the specified Amazon Web Services account.
- */
- registerAccount(callback?: (err: AWSError, data: AuditManager.Types.RegisterAccountResponse) => void): Request<AuditManager.Types.RegisterAccountResponse, AWSError>;
- /**
- * Enables an Amazon Web Services account within the organization as the delegated administrator for Audit Manager.
- */
- registerOrganizationAdminAccount(params: AuditManager.Types.RegisterOrganizationAdminAccountRequest, callback?: (err: AWSError, data: AuditManager.Types.RegisterOrganizationAdminAccountResponse) => void): Request<AuditManager.Types.RegisterOrganizationAdminAccountResponse, AWSError>;
- /**
- * Enables an Amazon Web Services account within the organization as the delegated administrator for Audit Manager.
- */
- registerOrganizationAdminAccount(callback?: (err: AWSError, data: AuditManager.Types.RegisterOrganizationAdminAccountResponse) => void): Request<AuditManager.Types.RegisterOrganizationAdminAccountResponse, AWSError>;
- /**
- * 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. 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.
- */
- startAssessmentFrameworkShare(params: AuditManager.Types.StartAssessmentFrameworkShareRequest, callback?: (err: AWSError, data: AuditManager.Types.StartAssessmentFrameworkShareResponse) => void): Request<AuditManager.Types.StartAssessmentFrameworkShareResponse, AWSError>;
- /**
- * 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. 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.
- */
- startAssessmentFrameworkShare(callback?: (err: AWSError, data: AuditManager.Types.StartAssessmentFrameworkShareResponse) => void): Request<AuditManager.Types.StartAssessmentFrameworkShareResponse, AWSError>;
- /**
- * Tags the specified resource in Audit Manager.
- */
- tagResource(params: AuditManager.Types.TagResourceRequest, callback?: (err: AWSError, data: AuditManager.Types.TagResourceResponse) => void): Request<AuditManager.Types.TagResourceResponse, AWSError>;
- /**
- * Tags the specified resource in Audit Manager.
- */
- tagResource(callback?: (err: AWSError, data: AuditManager.Types.TagResourceResponse) => void): Request<AuditManager.Types.TagResourceResponse, AWSError>;
- /**
- * Removes a tag from a resource in Audit Manager.
- */
- untagResource(params: AuditManager.Types.UntagResourceRequest, callback?: (err: AWSError, data: AuditManager.Types.UntagResourceResponse) => void): Request<AuditManager.Types.UntagResourceResponse, AWSError>;
- /**
- * Removes a tag from a resource in Audit Manager.
- */
- untagResource(callback?: (err: AWSError, data: AuditManager.Types.UntagResourceResponse) => void): Request<AuditManager.Types.UntagResourceResponse, AWSError>;
- /**
- * Edits an Audit Manager assessment.
- */
- updateAssessment(params: AuditManager.Types.UpdateAssessmentRequest, callback?: (err: AWSError, data: AuditManager.Types.UpdateAssessmentResponse) => void): Request<AuditManager.Types.UpdateAssessmentResponse, AWSError>;
- /**
- * Edits an Audit Manager assessment.
- */
- updateAssessment(callback?: (err: AWSError, data: AuditManager.Types.UpdateAssessmentResponse) => void): Request<AuditManager.Types.UpdateAssessmentResponse, AWSError>;
- /**
- * Updates a control within an assessment in Audit Manager.
- */
- updateAssessmentControl(params: AuditManager.Types.UpdateAssessmentControlRequest, callback?: (err: AWSError, data: AuditManager.Types.UpdateAssessmentControlResponse) => void): Request<AuditManager.Types.UpdateAssessmentControlResponse, AWSError>;
- /**
- * Updates a control within an assessment in Audit Manager.
- */
- updateAssessmentControl(callback?: (err: AWSError, data: AuditManager.Types.UpdateAssessmentControlResponse) => void): Request<AuditManager.Types.UpdateAssessmentControlResponse, AWSError>;
- /**
- * Updates the status of a control set in an Audit Manager assessment.
- */
- updateAssessmentControlSetStatus(params: AuditManager.Types.UpdateAssessmentControlSetStatusRequest, callback?: (err: AWSError, data: AuditManager.Types.UpdateAssessmentControlSetStatusResponse) => void): Request<AuditManager.Types.UpdateAssessmentControlSetStatusResponse, AWSError>;
- /**
- * Updates the status of a control set in an Audit Manager assessment.
- */
- updateAssessmentControlSetStatus(callback?: (err: AWSError, data: AuditManager.Types.UpdateAssessmentControlSetStatusResponse) => void): Request<AuditManager.Types.UpdateAssessmentControlSetStatusResponse, AWSError>;
- /**
- * Updates a custom framework in Audit Manager.
- */
- updateAssessmentFramework(params: AuditManager.Types.UpdateAssessmentFrameworkRequest, callback?: (err: AWSError, data: AuditManager.Types.UpdateAssessmentFrameworkResponse) => void): Request<AuditManager.Types.UpdateAssessmentFrameworkResponse, AWSError>;
- /**
- * Updates a custom framework in Audit Manager.
- */
- updateAssessmentFramework(callback?: (err: AWSError, data: AuditManager.Types.UpdateAssessmentFrameworkResponse) => void): Request<AuditManager.Types.UpdateAssessmentFrameworkResponse, AWSError>;
- /**
- * Updates a share request for a custom framework in Audit Manager.
- */
- updateAssessmentFrameworkShare(params: AuditManager.Types.UpdateAssessmentFrameworkShareRequest, callback?: (err: AWSError, data: AuditManager.Types.UpdateAssessmentFrameworkShareResponse) => void): Request<AuditManager.Types.UpdateAssessmentFrameworkShareResponse, AWSError>;
- /**
- * Updates a share request for a custom framework in Audit Manager.
- */
- updateAssessmentFrameworkShare(callback?: (err: AWSError, data: AuditManager.Types.UpdateAssessmentFrameworkShareResponse) => void): Request<AuditManager.Types.UpdateAssessmentFrameworkShareResponse, AWSError>;
- /**
- * Updates the status of an assessment in Audit Manager.
- */
- updateAssessmentStatus(params: AuditManager.Types.UpdateAssessmentStatusRequest, callback?: (err: AWSError, data: AuditManager.Types.UpdateAssessmentStatusResponse) => void): Request<AuditManager.Types.UpdateAssessmentStatusResponse, AWSError>;
- /**
- * Updates the status of an assessment in Audit Manager.
- */
- updateAssessmentStatus(callback?: (err: AWSError, data: AuditManager.Types.UpdateAssessmentStatusResponse) => void): Request<AuditManager.Types.UpdateAssessmentStatusResponse, AWSError>;
- /**
- * Updates a custom control in Audit Manager.
- */
- updateControl(params: AuditManager.Types.UpdateControlRequest, callback?: (err: AWSError, data: AuditManager.Types.UpdateControlResponse) => void): Request<AuditManager.Types.UpdateControlResponse, AWSError>;
- /**
- * Updates a custom control in Audit Manager.
- */
- updateControl(callback?: (err: AWSError, data: AuditManager.Types.UpdateControlResponse) => void): Request<AuditManager.Types.UpdateControlResponse, AWSError>;
- /**
- * Updates Audit Manager settings for the current account.
- */
- updateSettings(params: AuditManager.Types.UpdateSettingsRequest, callback?: (err: AWSError, data: AuditManager.Types.UpdateSettingsResponse) => void): Request<AuditManager.Types.UpdateSettingsResponse, AWSError>;
- /**
- * Updates Audit Manager settings for the current account.
- */
- updateSettings(callback?: (err: AWSError, data: AuditManager.Types.UpdateSettingsResponse) => void): Request<AuditManager.Types.UpdateSettingsResponse, AWSError>;
- /**
- * Validates the integrity of an assessment report in Audit Manager.
- */
- validateAssessmentReportIntegrity(params: AuditManager.Types.ValidateAssessmentReportIntegrityRequest, callback?: (err: AWSError, data: AuditManager.Types.ValidateAssessmentReportIntegrityResponse) => void): Request<AuditManager.Types.ValidateAssessmentReportIntegrityResponse, AWSError>;
- /**
- * Validates the integrity of an assessment report in Audit Manager.
- */
- validateAssessmentReportIntegrity(callback?: (err: AWSError, data: AuditManager.Types.ValidateAssessmentReportIntegrityResponse) => void): Request<AuditManager.Types.ValidateAssessmentReportIntegrityResponse, AWSError>;
- }
- declare namespace AuditManager {
- export interface AWSAccount {
- /**
- * The identifier for the Amazon Web Services account.
- */
- id?: AccountId;
- /**
- * The email address that's associated with the Amazon Web Services account.
- */
- emailAddress?: EmailAddress;
- /**
- * The name of the Amazon Web Services account.
- */
- name?: AccountName;
- }
- export type AWSAccounts = AWSAccount[];
- export interface AWSService {
- /**
- * The name of the Amazon Web Service.
- */
- serviceName?: AWSServiceName;
- }
- export type AWSServiceName = string;
- export type AWSServices = AWSService[];
- export type AccountId = string;
- export type AccountName = string;
- export type AccountStatus = "ACTIVE"|"INACTIVE"|"PENDING_ACTIVATION"|string;
- export type ActionEnum = "CREATE"|"UPDATE_METADATA"|"ACTIVE"|"INACTIVE"|"DELETE"|"UNDER_REVIEW"|"REVIEWED"|"IMPORT_EVIDENCE"|string;
- export type ActionPlanInstructions = string;
- export type ActionPlanTitle = string;
- export interface Assessment {
- /**
- * The Amazon Resource Name (ARN) of the assessment.
- */
- arn?: AuditManagerArn;
- /**
- * The Amazon Web Services account that's associated with the assessment.
- */
- awsAccount?: AWSAccount;
- /**
- * The metadata for the assessment.
- */
- metadata?: AssessmentMetadata;
- /**
- * The framework that the assessment was created from.
- */
- framework?: AssessmentFramework;
- /**
- * The tags that are associated with the assessment.
- */
- tags?: TagMap;
- }
- export interface AssessmentControl {
- /**
- * The identifier for the control.
- */
- id?: UUID;
- /**
- * The name of the control.
- */
- name?: ControlName;
- /**
- * The description of the control.
- */
- description?: ControlDescription;
- /**
- * The status of the control.
- */
- status?: ControlStatus;
- /**
- * The response of the control.
- */
- response?: ControlResponse;
- /**
- * The list of comments that's attached to the control.
- */
- comments?: ControlComments;
- /**
- * The list of data sources for the evidence.
- */
- evidenceSources?: EvidenceSources;
- /**
- * The amount of evidence that's collected for the control.
- */
- evidenceCount?: Integer;
- /**
- * The amount of evidence in the assessment report.
- */
- assessmentReportEvidenceCount?: Integer;
- }
- export interface AssessmentControlSet {
- /**
- * The identifier of the control set in the assessment. This is the control set name in a plain string format.
- */
- id?: ControlSetId;
- /**
- * The description for the control set.
- */
- description?: NonEmptyString;
- /**
- * The current status of the control set.
- */
- status?: ControlSetStatus;
- /**
- * The roles that are associated with the control set.
- */
- roles?: Roles;
- /**
- * The list of controls that's contained with the control set.
- */
- controls?: AssessmentControls;
- /**
- * The delegations that are associated with the control set.
- */
- delegations?: Delegations;
- /**
- * The total number of evidence objects that are retrieved automatically for the control set.
- */
- systemEvidenceCount?: Integer;
- /**
- * The total number of evidence objects that are uploaded manually to the control set.
- */
- manualEvidenceCount?: Integer;
- }
- export type AssessmentControlSets = AssessmentControlSet[];
- export type AssessmentControls = AssessmentControl[];
- export type AssessmentDescription = string;
- export interface AssessmentEvidenceFolder {
- /**
- * The name of the evidence folder.
- */
- name?: AssessmentEvidenceFolderName;
- /**
- * The date when the first evidence was added to the evidence folder.
- */
- date?: Timestamp;
- /**
- * The identifier for the assessment.
- */
- assessmentId?: UUID;
- /**
- * The identifier for the control set.
- */
- controlSetId?: ControlSetId;
- /**
- * The unique identifier for the control.
- */
- controlId?: UUID;
- /**
- * The identifier for the folder that the evidence is stored in.
- */
- id?: UUID;
- /**
- * The Amazon Web Service that the evidence was collected from.
- */
- dataSource?: String;
- /**
- * The name of the user who created the evidence folder.
- */
- author?: String;
- /**
- * The total amount of evidence in the evidence folder.
- */
- totalEvidence?: Integer;
- /**
- * The total count of evidence that's included in the assessment report.
- */
- assessmentReportSelectionCount?: Integer;
- /**
- * The name of the control.
- */
- controlName?: ControlName;
- /**
- * The amount of evidence that's included in the evidence folder.
- */
- evidenceResourcesIncludedCount?: Integer;
- /**
- * The number of evidence that falls under the configuration data category. This evidence is collected from configuration snapshots of other Amazon Web Services such as Amazon EC2, Amazon S3, or IAM.
- */
- evidenceByTypeConfigurationDataCount?: Integer;
- /**
- * The number of evidence that falls under the manual category. This evidence is imported manually.
- */
- evidenceByTypeManualCount?: Integer;
- /**
- * The number of evidence that falls under the compliance check category. This evidence is collected from Config or Security Hub.
- */
- evidenceByTypeComplianceCheckCount?: Integer;
- /**
- * The total number of issues that were reported directly from Security Hub, Config, or both.
- */
- evidenceByTypeComplianceCheckIssuesCount?: Integer;
- /**
- * The number of evidence that falls under the user activity category. This evidence is collected from CloudTrail logs.
- */
- evidenceByTypeUserActivityCount?: Integer;
- /**
- * The total number of Amazon Web Services resources that were assessed to generate the evidence.
- */
- evidenceAwsServiceSourceCount?: Integer;
- }
- export type AssessmentEvidenceFolderName = string;
- export type AssessmentEvidenceFolders = AssessmentEvidenceFolder[];
- export interface AssessmentFramework {
- /**
- * The unique identifier for the framework.
- */
- id?: UUID;
- /**
- * The Amazon Resource Name (ARN) of the framework.
- */
- arn?: AuditManagerArn;
- metadata?: FrameworkMetadata;
- /**
- * The control sets that are associated with the framework.
- */
- controlSets?: AssessmentControlSets;
- }
- export type AssessmentFrameworkDescription = string;
- export interface AssessmentFrameworkMetadata {
- /**
- * The Amazon Resource Name (ARN) of the framework.
- */
- arn?: AuditManagerArn;
- /**
- * The unique identifier for the framework.
- */
- id?: UUID;
- /**
- * The framework type, such as a standard framework or a custom framework.
- */
- type?: FrameworkType;
- /**
- * The name of the framework.
- */
- name?: FrameworkName;
- /**
- * The description of the framework.
- */
- description?: FrameworkDescription;
- /**
- * The logo that's associated with the framework.
- */
- logo?: Filename;
- /**
- * The compliance type that the new custom framework supports, such as CIS or HIPAA.
- */
- complianceType?: ComplianceType;
- /**
- * The number of controls that are associated with the framework.
- */
- controlsCount?: ControlsCount;
- /**
- * The number of control sets that are associated with the framework.
- */
- controlSetsCount?: ControlSetsCount;
- /**
- * The time when the framework was created.
- */
- createdAt?: Timestamp;
- /**
- * The time when the framework was most recently updated.
- */
- lastUpdatedAt?: Timestamp;
- }
- export interface AssessmentFrameworkShareRequest {
- /**
- * The unique identifier for the share request.
- */
- id?: UUID;
- /**
- * The unique identifier for the shared custom framework.
- */
- frameworkId?: UUID;
- /**
- * The name of the custom framework that the share request is for.
- */
- frameworkName?: FrameworkName;
- /**
- * The description of the shared custom framework.
- */
- frameworkDescription?: FrameworkDescription;
- /**
- * The status of the share request.
- */
- status?: ShareRequestStatus;
- /**
- * The Amazon Web Services account of the sender.
- */
- sourceAccount?: AccountId;
- /**
- * The Amazon Web Services account of the recipient.
- */
- destinationAccount?: AccountId;
- /**
- * The Amazon Web Services Region of the recipient.
- */
- destinationRegion?: Region;
- /**
- * The time when the share request expires.
- */
- expirationTime?: Timestamp;
- /**
- * The time when the share request was created.
- */
- creationTime?: Timestamp;
- /**
- * Specifies when the share request was last updated.
- */
- lastUpdated?: Timestamp;
- /**
- * An optional comment from the sender about the share request.
- */
- comment?: ShareRequestComment;
- /**
- * The number of standard controls that are part of the shared custom framework.
- */
- standardControlsCount?: NullableInteger;
- /**
- * The number of custom controls that are part of the shared custom framework.
- */
- customControlsCount?: NullableInteger;
- /**
- * The compliance type that the shared custom framework supports, such as CIS or HIPAA.
- */
- complianceType?: ComplianceType;
- }
- export type AssessmentFrameworkShareRequestList = AssessmentFrameworkShareRequest[];
- export interface AssessmentMetadata {
- /**
- * The name of the assessment.
- */
- name?: AssessmentName;
- /**
- * The unique identifier for the assessment.
- */
- id?: UUID;
- /**
- * The description of the assessment.
- */
- description?: AssessmentDescription;
- /**
- * The name of the compliance standard that's related to the assessment, such as PCI-DSS.
- */
- complianceType?: ComplianceType;
- /**
- * The overall status of the assessment.
- */
- status?: AssessmentStatus;
- /**
- * The destination that evidence reports are stored in for the assessment.
- */
- assessmentReportsDestination?: AssessmentReportsDestination;
- /**
- * The wrapper of Amazon Web Services accounts and services that are in scope for the assessment.
- */
- scope?: Scope;
- /**
- * The roles that are associated with the assessment.
- */
- roles?: Roles;
- /**
- * The delegations that are associated with the assessment.
- */
- delegations?: Delegations;
- /**
- * Specifies when the assessment was created.
- */
- creationTime?: Timestamp;
- /**
- * The time of the most recent update.
- */
- lastUpdated?: Timestamp;
- }
- export interface AssessmentMetadataItem {
- /**
- * The name of the assessment.
- */
- name?: AssessmentName;
- /**
- * The unique identifier for the assessment.
- */
- id?: UUID;
- /**
- * The name of the compliance standard that's related to the assessment, such as PCI-DSS.
- */
- complianceType?: ComplianceType;
- /**
- * The current status of the assessment.
- */
- status?: AssessmentStatus;
- /**
- * The roles that are associated with the assessment.
- */
- roles?: Roles;
- /**
- * The delegations that are associated with the assessment.
- */
- delegations?: Delegations;
- /**
- * Specifies when the assessment was created.
- */
- creationTime?: Timestamp;
- /**
- * The time of the most recent update.
- */
- lastUpdated?: Timestamp;
- }
- export type AssessmentName = string;
- export interface AssessmentReport {
- /**
- * The unique identifier for the assessment report.
- */
- id?: UUID;
- /**
- * The name that's given to the assessment report.
- */
- name?: AssessmentReportName;
- /**
- * The description of the specified assessment report.
- */
- description?: AssessmentReportDescription;
- /**
- * The identifier for the specified Amazon Web Services account.
- */
- awsAccountId?: AccountId;
- /**
- * The identifier for the specified assessment.
- */
- assessmentId?: UUID;
- /**
- * The name of the associated assessment.
- */
- assessmentName?: AssessmentName;
- /**
- * The name of the user who created the assessment report.
- */
- author?: Username;
- /**
- * The current status of the specified assessment report.
- */
- status?: AssessmentReportStatus;
- /**
- * Specifies when the assessment report was created.
- */
- creationTime?: Timestamp;
- }
- export type AssessmentReportDescription = string;
- export type AssessmentReportDestinationType = "S3"|string;
- export interface AssessmentReportEvidenceError {
- /**
- * The identifier for the evidence.
- */
- evidenceId?: UUID;
- /**
- * The error code that was returned.
- */
- errorCode?: ErrorCode;
- /**
- * The error message that was returned.
- */
- errorMessage?: ErrorMessage;
- }
- export type AssessmentReportEvidenceErrors = AssessmentReportEvidenceError[];
- export interface AssessmentReportMetadata {
- /**
- * The unique identifier for the assessment report.
- */
- id?: UUID;
- /**
- * The name of the assessment report.
- */
- name?: AssessmentReportName;
- /**
- * The description of the assessment report.
- */
- description?: AssessmentReportDescription;
- /**
- * The unique identifier for the associated assessment.
- */
- assessmentId?: UUID;
- /**
- * The name of the associated assessment.
- */
- assessmentName?: AssessmentName;
- /**
- * The name of the user who created the assessment report.
- */
- author?: Username;
- /**
- * The current status of the assessment report.
- */
- status?: AssessmentReportStatus;
- /**
- * Specifies when the assessment report was created.
- */
- creationTime?: Timestamp;
- }
- export type AssessmentReportName = string;
- export type AssessmentReportStatus = "COMPLETE"|"IN_PROGRESS"|"FAILED"|string;
- export interface AssessmentReportsDestination {
- /**
- * The destination type, such as Amazon S3.
- */
- destinationType?: AssessmentReportDestinationType;
- /**
- * The destination bucket where Audit Manager stores assessment reports.
- */
- destination?: S3Url;
- }
- export type AssessmentReportsMetadata = AssessmentReportMetadata[];
- export type AssessmentStatus = "ACTIVE"|"INACTIVE"|string;
- export interface AssociateAssessmentReportEvidenceFolderRequest {
- /**
- * The identifier for the assessment.
- */
- assessmentId: UUID;
- /**
- * The identifier for the folder that the evidence is stored in.
- */
- evidenceFolderId: UUID;
- }
- export interface AssociateAssessmentReportEvidenceFolderResponse {
- }
- export type AuditManagerArn = string;
- export interface BatchAssociateAssessmentReportEvidenceRequest {
- /**
- * The identifier for the assessment.
- */
- assessmentId: UUID;
- /**
- * The identifier for the folder that the evidence is stored in.
- */
- evidenceFolderId: UUID;
- /**
- * The list of evidence identifiers.
- */
- evidenceIds: EvidenceIds;
- }
- export interface BatchAssociateAssessmentReportEvidenceResponse {
- /**
- * The list of evidence identifiers.
- */
- evidenceIds?: EvidenceIds;
- /**
- * A list of errors that the BatchAssociateAssessmentReportEvidence API returned.
- */
- errors?: AssessmentReportEvidenceErrors;
- }
- export interface BatchCreateDelegationByAssessmentError {
- /**
- * The API request to batch create delegations in Audit Manager.
- */
- createDelegationRequest?: CreateDelegationRequest;
- /**
- * The error code that the BatchCreateDelegationByAssessment API returned.
- */
- errorCode?: ErrorCode;
- /**
- * The error message that the BatchCreateDelegationByAssessment API returned.
- */
- errorMessage?: ErrorMessage;
- }
- export type BatchCreateDelegationByAssessmentErrors = BatchCreateDelegationByAssessmentError[];
- export interface BatchCreateDelegationByAssessmentRequest {
- /**
- * The API request to batch create delegations in Audit Manager.
- */
- createDelegationRequests: CreateDelegationRequests;
- /**
- * The identifier for the assessment.
- */
- assessmentId: UUID;
- }
- export interface BatchCreateDelegationByAssessmentResponse {
- /**
- * The delegations that are associated with the assessment.
- */
- delegations?: Delegations;
- /**
- * A list of errors that the BatchCreateDelegationByAssessment API returned.
- */
- errors?: BatchCreateDelegationByAssessmentErrors;
- }
- export interface BatchDeleteDelegationByAssessmentError {
- /**
- * The identifier for the delegation.
- */
- delegationId?: UUID;
- /**
- * The error code that the BatchDeleteDelegationByAssessment API returned.
- */
- errorCode?: ErrorCode;
- /**
- * The error message that the BatchDeleteDelegationByAssessment API returned.
- */
- errorMessage?: ErrorMessage;
- }
- export type BatchDeleteDelegationByAssessmentErrors = BatchDeleteDelegationByAssessmentError[];
- export interface BatchDeleteDelegationByAssessmentRequest {
- /**
- * The identifiers for the delegations.
- */
- delegationIds: DelegationIds;
- /**
- * The identifier for the assessment.
- */
- assessmentId: UUID;
- }
- export interface BatchDeleteDelegationByAssessmentResponse {
- /**
- * A list of errors that the BatchDeleteDelegationByAssessment API returned.
- */
- errors?: BatchDeleteDelegationByAssessmentErrors;
- }
- export interface BatchDisassociateAssessmentReportEvidenceRequest {
- /**
- * The identifier for the assessment.
- */
- assessmentId: UUID;
- /**
- * The identifier for the folder that the evidence is stored in.
- */
- evidenceFolderId: UUID;
- /**
- * The list of evidence identifiers.
- */
- evidenceIds: EvidenceIds;
- }
- export interface BatchDisassociateAssessmentReportEvidenceResponse {
- /**
- * The identifier for the evidence.
- */
- evidenceIds?: EvidenceIds;
- /**
- * A list of errors that the BatchDisassociateAssessmentReportEvidence API returned.
- */
- errors?: AssessmentReportEvidenceErrors;
- }
- export interface BatchImportEvidenceToAssessmentControlError {
- /**
- * Manual evidence that can't be collected automatically by Audit Manager.
- */
- manualEvidence?: ManualEvidence;
- /**
- * The error code that the BatchImportEvidenceToAssessmentControl API returned.
- */
- errorCode?: ErrorCode;
- /**
- * The error message that the BatchImportEvidenceToAssessmentControl API returned.
- */
- errorMessage?: ErrorMessage;
- }
- export type BatchImportEvidenceToAssessmentControlErrors = BatchImportEvidenceToAssessmentControlError[];
- export interface BatchImportEvidenceToAssessmentControlRequest {
- /**
- * The identifier for the assessment.
- */
- assessmentId: UUID;
- /**
- * The identifier for the control set.
- */
- controlSetId: ControlSetId;
- /**
- * The identifier for the control.
- */
- controlId: UUID;
- /**
- * The list of manual evidence objects.
- */
- manualEvidence: ManualEvidenceList;
- }
- export interface BatchImportEvidenceToAssessmentControlResponse {
- /**
- * A list of errors that the BatchImportEvidenceToAssessmentControl API returned.
- */
- errors?: BatchImportEvidenceToAssessmentControlErrors;
- }
- export type Boolean = boolean;
- export interface ChangeLog {
- /**
- * The object that was changed, such as an assessment, control, or control set.
- */
- objectType?: ObjectTypeEnum;
- /**
- * The name of the object that changed. This could be the name of an assessment, control, or control set.
- */
- objectName?: NonEmptyString;
- /**
- * The action that was performed.
- */
- action?: ActionEnum;
- /**
- * The time when the action was performed and the changelog record was created.
- */
- createdAt?: Timestamp;
- /**
- * The user or role that performed the action.
- */
- createdBy?: IamArn;
- }
- export type ChangeLogs = ChangeLog[];
- export type CloudTrailArn = string;
- export type ComplianceType = string;
- export interface Control {
- /**
- * The Amazon Resource Name (ARN) of the control.
- */
- arn?: AuditManagerArn;
- /**
- * The unique identifier for the control.
- */
- id?: UUID;
- /**
- * Specifies whether the control is a standard control or a custom control.
- */
- type?: ControlType;
- /**
- * The name of the control.
- */
- name?: ControlName;
- /**
- * The description of the control.
- */
- description?: ControlDescription;
- /**
- * The steps that you should follow to determine if the control has been satisfied.
- */
- testingInformation?: TestingInformation;
- /**
- * The title of the action plan for remediating the control.
- */
- actionPlanTitle?: ActionPlanTitle;
- /**
- * The recommended actions to carry out if the control isn't fulfilled.
- */
- actionPlanInstructions?: ActionPlanInstructions;
- /**
- * The data source types that determine where Audit Manager collects evidence from for the control.
- */
- controlSources?: ControlSources;
- /**
- * The data mapping sources for the control.
- */
- controlMappingSources?: ControlMappingSources;
- /**
- * The time when the control was created.
- */
- createdAt?: Timestamp;
- /**
- * The time when the control was most recently updated.
- */
- lastUpdatedAt?: Timestamp;
- /**
- * The user or role that created the control.
- */
- createdBy?: CreatedBy;
- /**
- * The user or role that most recently updated the control.
- */
- lastUpdatedBy?: LastUpdatedBy;
- /**
- * The tags associated with the control.
- */
- tags?: TagMap;
- }
- export interface ControlComment {
- /**
- * The name of the user who authored the comment.
- */
- authorName?: Username;
- /**
- * The body text of a control comment.
- */
- commentBody?: ControlCommentBody;
- /**
- * The time when the comment was posted.
- */
- postedDate?: Timestamp;
- }
- export type ControlCommentBody = string;
- export type ControlComments = ControlComment[];
- export type ControlDescription = string;
- export interface ControlDomainInsights {
- /**
- * The name of the control domain.
- */
- name?: NonEmptyString;
- /**
- * The unique identifier for the control domain.
- */
- id?: UUID;
- /**
- * The number of controls in the control domain that collected non-compliant evidence on the lastUpdated date.
- */
- controlsCountByNoncompliantEvidence?: NullableInteger;
- /**
- * The total number of controls in the control domain.
- */
- totalControlsCount?: NullableInteger;
- /**
- * A breakdown of the compliance check status for the evidence that’s associated with the control domain.
- */
- evidenceInsights?: EvidenceInsights;
- /**
- * The time when the control domain insights were last updated.
- */
- lastUpdated?: Timestamp;
- }
- export type ControlDomainInsightsList = ControlDomainInsights[];
- export type ControlInsightsMetadata = ControlInsightsMetadataItem[];
- export type ControlInsightsMetadataByAssessment = ControlInsightsMetadataByAssessmentItem[];
- export interface ControlInsightsMetadataByAssessmentItem {
- /**
- * The name of the assessment control.
- */
- name?: NonEmptyString;
- /**
- * The unique identifier for the assessment control.
- */
- id?: UUID;
- /**
- * A breakdown of the compliance check status for the evidence that’s associated with the assessment control.
- */
- evidenceInsights?: EvidenceInsights;
- /**
- * The name of the control set that the assessment control belongs to.
- */
- controlSetName?: NonEmptyString;
- /**
- * The time when the assessment control insights were last updated.
- */
- lastUpdated?: Timestamp;
- }
- export interface ControlInsightsMetadataItem {
- /**
- * The name of the control.
- */
- name?: NonEmptyString;
- /**
- * The unique identifier for the control.
- */
- id?: UUID;
- /**
- * A breakdown of the compliance check status for the evidence that’s associated with the control.
- */
- evidenceInsights?: EvidenceInsights;
- /**
- * The time when the control insights were last updated.
- */
- lastUpdated?: Timestamp;
- }
- export interface ControlMappingSource {
- /**
- * The unique identifier for the source.
- */
- sourceId?: UUID;
- /**
- * The name of the source.
- */
- sourceName?: SourceName;
- /**
- * The description of the source.
- */
- sourceDescription?: SourceDescription;
- /**
- * The setup option for the data source. This option reflects if the evidence collection is automated or manual.
- */
- sourceSetUpOption?: SourceSetUpOption;
- /**
- * Specifies one of the five data source types for evidence collection.
- */
- sourceType?: SourceType;
- sourceKeyword?: SourceKeyword;
- /**
- * Specifies how often evidence is collected from the control mapping source.
- */
- sourceFrequency?: SourceFrequency;
- /**
- * The instructions for troubleshooting the control.
- */
- troubleshootingText?: TroubleshootingText;
- }
- export type ControlMappingSources = ControlMappingSource[];
- export interface ControlMetadata {
- /**
- * The Amazon Resource Name (ARN) of the control.
- */
- arn?: AuditManagerArn;
- /**
- * The unique identifier for the control.
- */
- id?: UUID;
- /**
- * The name of the control.
- */
- name?: ControlName;
- /**
- * The data source that determines where Audit Manager collects evidence from for the control.
- */
- controlSources?: ControlSources;
- /**
- * The time when the control was created.
- */
- createdAt?: Timestamp;
- /**
- * The time when the control was most recently updated.
- */
- lastUpdatedAt?: Timestamp;
- }
- export type ControlMetadataList = ControlMetadata[];
- export type ControlName = string;
- export type ControlResponse = "MANUAL"|"AUTOMATE"|"DEFER"|"IGNORE"|string;
- export interface ControlSet {
- /**
- * The identifier of the control set in the assessment. This is the control set name in a plain string format.
- */
- id?: UUID;
- /**
- * The name of the control set.
- */
- name?: ControlSetName;
- /**
- * The list of controls within the control set.
- */
- controls?: Controls;
- }
- export type ControlSetId = string;
- export type ControlSetName = string;
- export type ControlSetStatus = "ACTIVE"|"UNDER_REVIEW"|"REVIEWED"|string;
- export type ControlSets = ControlSet[];
- export type ControlSetsCount = number;
- export type ControlSources = string;
- export type ControlStatus = "UNDER_REVIEW"|"REVIEWED"|"INACTIVE"|string;
- export type ControlType = "Standard"|"Custom"|string;
- export type Controls = Control[];
- export type ControlsCount = number;
- export interface CreateAssessmentFrameworkControl {
- /**
- * The unique identifier of the control.
- */
- id: UUID;
- }
- export interface CreateAssessmentFrameworkControlSet {
- /**
- * The name of the control set.
- */
- name: ControlSetName;
- /**
- * The list of controls within the control set. This doesn't contain the control set ID.
- */
- controls?: CreateAssessmentFrameworkControls;
- }
- export type CreateAssessmentFrameworkControlSets = CreateAssessmentFrameworkControlSet[];
- export type CreateAssessmentFrameworkControls = CreateAssessmentFrameworkControl[];
- export interface CreateAssessmentFrameworkRequest {
- /**
- * The name of the new custom framework.
- */
- name: FrameworkName;
- /**
- * An optional description for the new custom framework.
- */
- description?: FrameworkDescription;
- /**
- * The compliance type that the new custom framework supports, such as CIS or HIPAA.
- */
- complianceType?: ComplianceType;
- /**
- * The control sets that are associated with the framework.
- */
- controlSets: CreateAssessmentFrameworkControlSets;
- /**
- * The tags that are associated with the framework.
- */
- tags?: TagMap;
- }
- export interface CreateAssessmentFrameworkResponse {
- /**
- * The name of the new framework that the CreateAssessmentFramework API returned.
- */
- framework?: Framework;
- }
- export interface CreateAssessmentReportRequest {
- /**
- * The name of the new assessment report.
- */
- name: AssessmentReportName;
- /**
- * The description of the assessment report.
- */
- description?: AssessmentReportDescription;
- /**
- * The identifier for the assessment.
- */
- assessmentId: UUID;
- /**
- * 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 queryStatement validation exceptions, see Troubleshooting evidence finder issues in the Audit Manager User Guide.
- */
- queryStatement?: QueryStatement;
- }
- export interface CreateAssessmentReportResponse {
- /**
- * The new assessment report that the CreateAssessmentReport API returned.
- */
- assessmentReport?: AssessmentReport;
- }
- export interface CreateAssessmentRequest {
- /**
- * The name of the assessment to be created.
- */
- name: AssessmentName;
- /**
- * The optional description of the assessment to be created.
- */
- description?: AssessmentDescription;
- /**
- * The assessment report storage destination for the assessment that's being created.
- */
- assessmentReportsDestination: AssessmentReportsDestination;
- scope: Scope;
- /**
- * The list of roles for the assessment.
- */
- roles: Roles;
- /**
- * The identifier for the framework that the assessment will be created from.
- */
- frameworkId: UUID;
- /**
- * The tags that are associated with the assessment.
- */
- tags?: TagMap;
- }
- export interface CreateAssessmentResponse {
- assessment?: Assessment;
- }
- export interface CreateControlMappingSource {
- /**
- * The name of the control mapping data source.
- */
- sourceName?: SourceName;
- /**
- * The description of the data source that determines where Audit Manager collects evidence from for the control.
- */
- sourceDescription?: SourceDescription;
- /**
- * The setup option for the data source, which reflects if the evidence collection is automated or manual.
- */
- sourceSetUpOption?: SourceSetUpOption;
- /**
- * Specifies one of the five types of data sources for evidence collection.
- */
- sourceType?: SourceType;
- sourceKeyword?: SourceKeyword;
- /**
- * Specifies how often evidence is collected from the control mapping source.
- */
- sourceFrequency?: SourceFrequency;
- /**
- * The instructions for troubleshooting the control.
- */
- troubleshootingText?: TroubleshootingText;
- }
- export type CreateControlMappingSources = CreateControlMappingSource[];
- export interface CreateControlRequest {
- /**
- * The name of the control.
- */
- name: ControlName;
- /**
- * The description of the control.
- */
- description?: ControlDescription;
- /**
- * The steps to follow to determine if the control is satisfied.
- */
- testingInformation?: TestingInformation;
- /**
- * The title of the action plan for remediating the control.
- */
- actionPlanTitle?: ActionPlanTitle;
- /**
- * The recommended actions to carry out if the control isn't fulfilled.
- */
- actionPlanInstructions?: ActionPlanInstructions;
- /**
- * The data mapping sources for the control.
- */
- controlMappingSources: CreateControlMappingSources;
- /**
- * The tags that are associated with the control.
- */
- tags?: TagMap;
- }
- export interface CreateControlResponse {
- /**
- * The new control that the CreateControl API returned.
- */
- control?: Control;
- }
- export interface CreateDelegationRequest {
- /**
- * A comment that's related to the delegation request.
- */
- comment?: DelegationComment;
- /**
- * The unique identifier for the control set.
- */
- controlSetId?: ControlSetId;
- /**
- * The Amazon Resource Name (ARN) of the IAM role.
- */
- roleArn?: IamArn;
- /**
- * The type of customer persona. In CreateAssessment, roleType can only be PROCESS_OWNER. In UpdateSettings, roleType can only be PROCESS_OWNER. In BatchCreateDelegationByAssessment, roleType can only be RESOURCE_OWNER.
- */
- roleType?: RoleType;
- }
- export type CreateDelegationRequests = CreateDelegationRequest[];
- export type CreatedBy = string;
- export interface DefaultExportDestination {
- /**
- * The destination type, such as Amazon S3.
- */
- destinationType?: ExportDestinationType;
- /**
- * The destination bucket where Audit Manager stores exported files.
- */
- destination?: S3Url;
- }
- export interface Delegation {
- /**
- * The unique identifier for the delegation.
- */
- id?: UUID;
- /**
- * The name of the assessment that's associated with the delegation.
- */
- assessmentName?: AssessmentName;
- /**
- * The identifier for the assessment that's associated with the delegation.
- */
- assessmentId?: UUID;
- /**
- * The status of the delegation.
- */
- status?: DelegationStatus;
- /**
- * The Amazon Resource Name (ARN) of the IAM role.
- */
- roleArn?: IamArn;
- /**
- * The type of customer persona. In CreateAssessment, roleType can only be PROCESS_OWNER. In UpdateSettings, roleType can only be PROCESS_OWNER. In BatchCreateDelegationByAssessment, roleType can only be RESOURCE_OWNER.
- */
- roleType?: RoleType;
- /**
- * Specifies when the delegation was created.
- */
- creationTime?: Timestamp;
- /**
- * Specifies when the delegation was last updated.
- */
- lastUpdated?: Timestamp;
- /**
- * The identifier for the control set that's associated with the delegation.
- */
- controlSetId?: ControlSetId;
- /**
- * The comment that's related to the delegation.
- */
- comment?: DelegationComment;
- /**
- * The user or role that created the delegation.
- */
- createdBy?: CreatedBy;
- }
- export type DelegationComment = string;
- export type DelegationIds = UUID[];
- export interface DelegationMetadata {
- /**
- * The unique identifier for the delegation.
- */
- id?: UUID;
- /**
- * The name of the associated assessment.
- */
- assessmentName?: AssessmentName;
- /**
- * The unique identifier for the assessment.
- */
- assessmentId?: UUID;
- /**
- * The current status of the delegation.
- */
- status?: DelegationStatus;
- /**
- * The Amazon Resource Name (ARN) of the IAM role.
- */
- roleArn?: IamArn;
- /**
- * Specifies when the delegation was created.
- */
- creationTime?: Timestamp;
- /**
- * Specifies the name of the control set that was delegated for review.
- */
- controlSetName?: NonEmptyString;
- }
- export type DelegationMetadataList = DelegationMetadata[];
- export type DelegationStatus = "IN_PROGRESS"|"UNDER_REVIEW"|"COMPLETE"|string;
- export type Delegations = Delegation[];
- export interface DeleteAssessmentFrameworkRequest {
- /**
- * The identifier for the custom framework.
- */
- frameworkId: UUID;
- }
- export interface DeleteAssessmentFrameworkResponse {
- }
- export interface DeleteAssessmentFrameworkShareRequest {
- /**
- * The unique identifier for the share request to be deleted.
- */
- requestId: UUID;
- /**
- * Specifies whether the share request is a sent request or a received request.
- */
- requestType: ShareRequestType;
- }
- export interface DeleteAssessmentFrameworkShareResponse {
- }
- export interface DeleteAssessmentReportRequest {
- /**
- * The unique identifier for the assessment.
- */
- assessmentId: UUID;
- /**
- * The unique identifier for the assessment report.
- */
- assessmentReportId: UUID;
- }
- export interface DeleteAssessmentReportResponse {
- }
- export interface DeleteAssessmentRequest {
- /**
- * The identifier for the assessment.
- */
- assessmentId: UUID;
- }
- export interface DeleteAssessmentResponse {
- }
- export interface DeleteControlRequest {
- /**
- * The unique identifier for the control.
- */
- controlId: UUID;
- }
- export interface DeleteControlResponse {
- }
- export type DeleteResources = "ALL"|"DEFAULT"|string;
- export interface DeregisterAccountRequest {
- }
- export interface DeregisterAccountResponse {
- /**
- * The registration status of the account.
- */
- status?: AccountStatus;
- }
- export interface DeregisterOrganizationAdminAccountRequest {
- /**
- * The identifier for the administrator account.
- */
- adminAccountId?: AccountId;
- }
- export interface DeregisterOrganizationAdminAccountResponse {
- }
- export interface DeregistrationPolicy {
- /**
- * Specifies which Audit Manager data will be deleted when you deregister Audit Manager. If you set the value to ALL, all of your data is deleted within seven days of deregistration. If you set the value to DEFAULT, none of your data is deleted at the time of deregistration. However, keep in mind that the Audit Manager data retention policy still applies. As a result, any evidence data will be deleted two years after its creation date. Your other Audit Manager resources will continue to exist indefinitely.
- */
- deleteResources?: DeleteResources;
- }
- export interface DisassociateAssessmentReportEvidenceFolderRequest {
- /**
- * The unique identifier for the assessment.
- */
- assessmentId: UUID;
- /**
- * The unique identifier for the folder that the evidence is stored in.
- */
- evidenceFolderId: UUID;
- }
- export interface DisassociateAssessmentReportEvidenceFolderResponse {
- }
- export type EmailAddress = string;
- export type ErrorCode = string;
- export type ErrorMessage = string;
- export type EventName = string;
- export interface Evidence {
- /**
- * The data source where the evidence was collected from.
- */
- dataSource?: String;
- /**
- * The identifier for the Amazon Web Services account.
- */
- evidenceAwsAccountId?: AccountId;
- /**
- * The timestamp that represents when the evidence was collected.
- */
- time?: Timestamp;
- /**
- * The Amazon Web Service that the evidence is collected from.
- */
- eventSource?: AWSServiceName;
- /**
- * The name of the evidence event.
- */
- eventName?: EventName;
- /**
- * The type of automated evidence.
- */
- evidenceByType?: String;
- /**
- * The list of resources that are assessed to generate the evidence.
- */
- resourcesIncluded?: Resources;
- /**
- * 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).
- */
- attributes?: EvidenceAttributes;
- /**
- * The unique identifier for the user or role that's associated with the evidence.
- */
- iamId?: IamArn;
- /**
- * The evaluation status for automated evidence that falls under the compliance check category. Audit Manager classes evidence as non-compliant if Security Hub reports a Fail result, or if Config reports a Non-compliant result. Audit Manager classes evidence as compliant if Security Hub 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 as the underlying data source type, but those services aren't enabled. This is also the case if the evidence uses an underlying data source type that doesn't support compliance checks (such as manual evidence, Amazon Web Services API calls, or CloudTrail).
- */
- complianceCheck?: String;
- /**
- * The Amazon Web Services account that the evidence is collected from, and its organization path.
- */
- awsOrganization?: String;
- /**
- * The identifier for the Amazon Web Services account.
- */
- awsAccountId?: AccountId;
- /**
- * The identifier for the folder that the evidence is stored in.
- */
- evidenceFolderId?: UUID;
- /**
- * The identifier for the evidence.
- */
- id?: UUID;
- /**
- * Specifies whether the evidence is included in the assessment report.
- */
- assessmentReportSelection?: String;
- }
- export type EvidenceAttributeKey = string;
- export type EvidenceAttributeValue = string;
- export type EvidenceAttributes = {[key: string]: EvidenceAttributeValue};
- export type EvidenceFinderBackfillStatus = "NOT_STARTED"|"IN_PROGRESS"|"COMPLETED"|string;
- export interface EvidenceFinderEnablement {
- /**
- * The Amazon Resource Name (ARN) of the CloudTrail Lake event data store that’s used by evidence finder. The event data store is the lake of evidence data that evidence finder runs queries against.
- */
- eventDataStoreArn?: CloudTrailArn;
- /**
- * The current status of the evidence finder feature and the related event data store. ENABLE_IN_PROGRESS means that you requested to enable evidence finder. An event data store is currently being created to support evidence finder queries. ENABLED means that an event data store was successfully created and evidence finder is enabled. We recommend that you wait 7 days until the event data store is backfilled with your past two years’ worth of evidence data. You can use evidence finder in the meantime, but not all data might be available until the backfill is complete. DISABLE_IN_PROGRESS means that you requested to disable evidence finder, and your request is pending the deletion of the event data store. DISABLED means that you have permanently disabled evidence finder and the event data store has been deleted. You can't re-enable evidence finder after this point.
- */
- enablementStatus?: EvidenceFinderEnablementStatus;
- /**
- * The current status of the evidence data backfill process. The backfill starts after you enable evidence finder. During this task, Audit Manager populates an event data store with your past two years’ worth of evidence data so that your evidence can be queried. NOT_STARTED means that the backfill hasn’t started yet. IN_PROGRESS means that the backfill is in progress. This can take up to 7 days to complete, depending on the amount of evidence data. COMPLETED means that the backfill is complete. All of your past evidence is now queryable.
- */
- backfillStatus?: EvidenceFinderBackfillStatus;
- /**
- * Represents any errors that occurred when enabling or disabling evidence finder.
- */
- error?: ErrorMessage;
- }
- export type EvidenceFinderEnablementStatus = "ENABLED"|"DISABLED"|"ENABLE_IN_PROGRESS"|"DISABLE_IN_PROGRESS"|string;
- export type EvidenceIds = UUID[];
- export interface EvidenceInsights {
- /**
- * The number of compliance check evidence that Audit Manager classified as non-compliant. This includes evidence that was collected from Security Hub with a Fail ruling, or collected from Config with a Non-compliant ruling.
- */
- noncompliantEvidenceCount?: NullableInteger;
- /**
- * The number of compliance check evidence that Audit Manager classified as compliant. This includes evidence that was collected from Security Hub with a Pass ruling, or collected from Config with a Compliant ruling.
- */
- compliantEvidenceCount?: NullableInteger;
- /**
- * The number of evidence that a compliance check ruling isn't available for. Evidence is inconclusive when the associated control uses Security Hub or Config as a data source but you didn't enable those services. This is also the case when a control uses a data source that doesn’t support compliance checks (for example, manual evidence, API calls, or CloudTrail). If evidence has a compliance check status of not applicable in the console, it's classified as inconclusive in EvidenceInsights data.
- */
- inconclusiveEvidenceCount?: NullableInteger;
- }
- export type EvidenceList = Evidence[];
- export type EvidenceSources = NonEmptyString[];
- export type ExportDestinationType = "S3"|string;
- export type Filename = string;
- export interface Framework {
- /**
- * The Amazon Resource Name (ARN) of the framework.
- */
- arn?: AuditManagerArn;
- /**
- * The unique identifier for the framework.
- */
- id?: UUID;
- /**
- * The name of the framework.
- */
- name?: FrameworkName;
- /**
- * Specifies whether the framework is a standard framework or a custom framework.
- */
- type?: FrameworkType;
- /**
- * The compliance type that the framework supports, such as CIS or HIPAA.
- */
- complianceType?: ComplianceType;
- /**
- * The description of the framework.
- */
- description?: FrameworkDescription;
- /**
- * The logo that's associated with the framework.
- */
- logo?: Filename;
- /**
- * The control data sources where Audit Manager collects evidence from.
- */
- controlSources?: ControlSources;
- /**
- * The control sets that are associated with the framework.
- */
- controlSets?: ControlSets;
- /**
- * The time when the framework was created.
- */
- createdAt?: Timestamp;
- /**
- * The time when the framework was most recently updated.
- */
- lastUpdatedAt?: Timestamp;
- /**
- * The user or role that created the framework.
- */
- createdBy?: CreatedBy;
- /**
- * The user or role that most recently updated the framework.
- */
- lastUpdatedBy?: LastUpdatedBy;
- /**
- * The tags that are associated with the framework.
- */
- tags?: TagMap;
- }
- export type FrameworkDescription = string;
- export interface FrameworkMetadata {
- /**
- * The name of the framework.
- */
- name?: AssessmentName;
- /**
- * The description of the framework.
- */
- description?: AssessmentFrameworkDescription;
- /**
- * The logo that's associated with the framework.
- */
- logo?: Filename;
- /**
- * The compliance standard that's associated with the framework. For example, this could be PCI DSS or HIPAA.
- */
- complianceType?: ComplianceType;
- }
- export type FrameworkMetadataList = AssessmentFrameworkMetadata[];
- export type FrameworkName = string;
- export type FrameworkType = "Standard"|"Custom"|string;
- export type GenericArn = string;
- export interface GetAccountStatusRequest {
- }
- export interface GetAccountStatusResponse {
- /**
- * The status of the Amazon Web Services account.
- */
- status?: AccountStatus;
- }
- export interface GetAssessmentFrameworkRequest {
- /**
- * The identifier for the framework.
- */
- frameworkId: UUID;
- }
- export interface GetAssessmentFrameworkResponse {
- /**
- * The framework that the GetAssessmentFramework API returned.
- */
- framework?: Framework;
- }
- export interface GetAssessmentReportUrlRequest {
- /**
- * The unique identifier for the assessment report.
- */
- assessmentReportId: UUID;
- /**
- * The unique identifier for the assessment.
- */
- assessmentId: UUID;
- }
- export interface GetAssessmentReportUrlResponse {
- preSignedUrl?: URL;
- }
- export interface GetAssessmentRequest {
- /**
- * The unique identifier for the assessment.
- */
- assessmentId: UUID;
- }
- export interface GetAssessmentResponse {
- assessment?: Assessment;
- userRole?: Role;
- }
- export interface GetChangeLogsRequest {
- /**
- * The unique identifier for the assessment.
- */
- assessmentId: UUID;
- /**
- * The unique identifier for the control set.
- */
- controlSetId?: ControlSetId;
- /**
- * The unique identifier for the control.
- */
- controlId?: UUID;
- /**
- * The pagination token that's used to fetch the next set of results.
- */
- nextToken?: Token;
- /**
- * Represents the maximum number of results on a page or for an API request call.
- */
- maxResults?: MaxResults;
- }
- export interface GetChangeLogsResponse {
- /**
- * The list of user activity for the control.
- */
- changeLogs?: ChangeLogs;
- /**
- * The pagination token that's used to fetch the next set of results.
- */
- nextToken?: Token;
- }
- export interface GetControlRequest {
- /**
- * The identifier for the control.
- */
- controlId: UUID;
- }
- export interface GetControlResponse {
- /**
- * The details of the control that the GetControl API returned.
- */
- control?: Control;
- }
- export interface GetDelegationsRequest {
- /**
- * The pagination token that's used to fetch the next set of results.
- */
- nextToken?: Token;
- /**
- * Represents the maximum number of results on a page or for an API request call.
- */
- maxResults?: MaxResults;
- }
- export interface GetDelegationsResponse {
- /**
- * The list of delegations that the GetDelegations API returned.
- */
- delegations?: DelegationMetadataList;
- /**
- * The pagination token that's used to fetch the next set of results.
- */
- nextToken?: Token;
- }
- export interface GetEvidenceByEvidenceFolderRequest {
- /**
- * The identifier for the assessment.
- */
- assessmentId: UUID;
- /**
- * The identifier for the control set.
- */
- controlSetId: ControlSetId;
- /**
- * The unique identifier for the folder that the evidence is stored in.
- */
- evidenceFolderId: UUID;
- /**
- * The pagination token that's used to fetch the next set of results.
- */
- nextToken?: Token;
- /**
- * Represents the maximum number of results on a page or for an API request call.
- */
- maxResults?: MaxResults;
- }
- export interface GetEvidenceByEvidenceFolderResponse {
- /**
- * The list of evidence that the GetEvidenceByEvidenceFolder API returned.
- */
- evidence?: EvidenceList;
- /**
- * The pagination token that's used to fetch the next set of results.
- */
- nextToken?: Token;
- }
- export interface GetEvidenceFileUploadUrlRequest {
- /**
- * The file that you want to upload. For a list of supported file formats, see Supported file types for manual evidence in the Audit Manager User Guide.
- */
- fileName: ManualEvidenceLocalFileName;
- }
- export interface GetEvidenceFileUploadUrlResponse {
- /**
- * The name of the uploaded manual evidence file that the presigned URL was generated for.
- */
- evidenceFileName?: NonEmptyString;
- /**
- * The presigned URL that was generated.
- */
- uploadUrl?: NonEmptyString;
- }
- export interface GetEvidenceFolderRequest {
- /**
- * The unique identifier for the assessment.
- */
- assessmentId: UUID;
- /**
- * The unique identifier for the control set.
- */
- controlSetId: ControlSetId;
- /**
- * The unique identifier for the folder that the evidence is stored in.
- */
- evidenceFolderId: UUID;
- }
- export interface GetEvidenceFolderResponse {
- /**
- * The folder that the evidence is stored in.
- */
- evidenceFolder?: AssessmentEvidenceFolder;
- }
- export interface GetEvidenceFoldersByAssessmentControlRequest {
- /**
- * The identifier for the assessment.
- */
- assessmentId: UUID;
- /**
- * The identifier for the control set.
- */
- controlSetId: ControlSetId;
- /**
- * The identifier for the control.
- */
- controlId: UUID;
- /**
- * The pagination token that's used to fetch the next set of results.
- */
- nextToken?: Token;
- /**
- * Represents the maximum number of results on a page or for an API request call.
- */
- maxResults?: MaxResults;
- }
- export interface GetEvidenceFoldersByAssessmentControlResponse {
- /**
- * The list of evidence folders that the GetEvidenceFoldersByAssessmentControl API returned.
- */
- evidenceFolders?: AssessmentEvidenceFolders;
- /**
- * The pagination token that's used to fetch the next set of results.
- */
- nextToken?: Token;
- }
- export interface GetEvidenceFoldersByAssessmentRequest {
- /**
- * The unique identifier for the assessment.
- */
- assessmentId: UUID;
- /**
- * The pagination token that's used to fetch the next set of results.
- */
- nextToken?: Token;
- /**
- * Represents the maximum number of results on a page or for an API request call.
- */
- maxResults?: MaxResults;
- }
- export interface GetEvidenceFoldersByAssessmentResponse {
- /**
- * The list of evidence folders that the GetEvidenceFoldersByAssessment API returned.
- */
- evidenceFolders?: AssessmentEvidenceFolders;
- /**
- * The pagination token that's used to fetch the next set of results.
- */
- nextToken?: Token;
- }
- export interface GetEvidenceRequest {
- /**
- * The unique identifier for the assessment.
- */
- assessmentId: UUID;
- /**
- * The unique identifier for the control set.
- */
- controlSetId: ControlSetId;
- /**
- * The unique identifier for the folder that the evidence is stored in.
- */
- evidenceFolderId: UUID;
- /**
- * The unique identifier for the evidence.
- */
- evidenceId: UUID;
- }
- export interface GetEvidenceResponse {
- /**
- * The evidence that the GetEvidence API returned.
- */
- evidence?: Evidence;
- }
- export interface GetInsightsByAssessmentRequest {
- /**
- * The unique identifier for the assessment.
- */
- assessmentId: UUID;
- }
- export interface GetInsightsByAssessmentResponse {
- /**
- * The assessment analytics data that the GetInsightsByAssessment API returned.
- */
- insights?: InsightsByAssessment;
- }
- export interface GetInsightsRequest {
- }
- export interface GetInsightsResponse {
- /**
- * The analytics data that the GetInsights API returned.
- */
- insights?: Insights;
- }
- export interface GetOrganizationAdminAccountRequest {
- }
- export interface GetOrganizationAdminAccountResponse {
- /**
- * The identifier for the administrator account.
- */
- adminAccountId?: AccountId;
- /**
- * The identifier for the organization.
- */
- organizationId?: organizationId;
- }
- export interface GetServicesInScopeRequest {
- }
- export interface GetServicesInScopeResponse {
- /**
- * The metadata that's associated with the Amazon Web Service.
- */
- serviceMetadata?: ServiceMetadataList;
- }
- export interface GetSettingsRequest {
- /**
- * The list of setting attribute enum values.
- */
- attribute: SettingAttribute;
- }
- export interface GetSettingsResponse {
- /**
- * The settings object that holds all supported Audit Manager settings.
- */
- settings?: Settings;
- }
- export type HyperlinkName = string;
- export type IamArn = string;
- export interface Insights {
- /**
- * The number of active assessments in Audit Manager.
- */
- activeAssessmentsCount?: NullableInteger;
- /**
- * The number of compliance check evidence that Audit Manager classified as non-compliant on the lastUpdated date. This includes evidence that was collected from Security Hub with a Fail ruling, or collected from Config with a Non-compliant ruling.
- */
- noncompliantEvidenceCount?: NullableInteger;
- /**
- * The number of compliance check evidence that Audit Manager classified as compliant on the lastUpdated date. This includes evidence that was collected from Security Hub with a Pass ruling, or collected from Config with a Compliant ruling.
- */
- compliantEvidenceCount?: NullableInteger;
- /**
- * The number of evidence without a compliance check ruling. Evidence is inconclusive when the associated control uses Security Hub or Config as a data source but you didn't enable those services. This is also the case when a control uses a data source that doesn’t support compliance checks (for example: manual evidence, API calls, or CloudTrail). If evidence has a compliance check status of not applicable, it's classed as inconclusive in Insights data.
- */
- inconclusiveEvidenceCount?: NullableInteger;
- /**
- * The number of assessment controls that collected non-compliant evidence on the lastUpdated date.
- */
- assessmentControlsCountByNoncompliantEvidence?: NullableInteger;
- /**
- * The total number of controls across all active assessments.
- */
- totalAssessmentControlsCount?: NullableInteger;
- /**
- * The time when the cross-assessment insights were last updated.
- */
- lastUpdated?: Timestamp;
- }
- export interface InsightsByAssessment {
- /**
- * The number of compliance check evidence that Audit Manager classified as non-compliant. This includes evidence that was collected from Security Hub with a Fail ruling, or collected from Config with a Non-compliant ruling.
- */
- noncompliantEvidenceCount?: NullableInteger;
- /**
- * The number of compliance check evidence that Audit Manager classified as compliant. This includes evidence that was collected from Security Hub with a Pass ruling, or collected from Config with a Compliant ruling.
- */
- compliantEvidenceCount?: NullableInteger;
- /**
- * The amount of evidence without a compliance check ruling. Evidence is inconclusive if the associated control uses Security Hub or Config as a data source and you didn't enable those services. This is also the case if a control uses a data source that doesn’t support compliance checks (for example, manual evidence, API calls, or CloudTrail). If evidence has a compliance check status of not applicable, it's classified as inconclusive in InsightsByAssessment data.
- */
- inconclusiveEvidenceCount?: NullableInteger;
- /**
- * The number of assessment controls that collected non-compliant evidence on the lastUpdated date.
- */
- assessmentControlsCountByNoncompliantEvidence?: NullableInteger;
- /**
- * The total number of controls in the assessment.
- */
- totalAssessmentControlsCount?: NullableInteger;
- /**
- * The time when the assessment insights were last updated.
- */
- lastUpdated?: Timestamp;
- }
- export type Integer = number;
- export type KeywordInputType = "SELECT_FROM_LIST"|"UPLOAD_FILE"|"INPUT_TEXT"|string;
- export type KeywordValue = string;
- export type Keywords = KeywordValue[];
- export type KmsKey = string;
- export type LastUpdatedBy = string;
- export interface ListAssessmentControlInsightsByControlDomainRequest {
- /**
- * The unique identifier for the control domain.
- */
- controlDomainId: UUID;
- /**
- * The unique identifier for the active assessment.
- */
- assessmentId: UUID;
- /**
- * The pagination token that's used to fetch the next set of results.
- */
- nextToken?: Token;
- /**
- * Represents the maximum number of results on a page or for an API request call.
- */
- maxResults?: MaxResults;
- }
- export interface ListAssessmentControlInsightsByControlDomainResponse {
- /**
- * The assessment control analytics data that the ListAssessmentControlInsightsByControlDomain API returned.
- */
- controlInsightsByAssessment?: ControlInsightsMetadataByAssessment;
- /**
- * The pagination token that's used to fetch the next set of results.
- */
- nextToken?: Token;
- }
- export interface ListAssessmentFrameworkShareRequestsRequest {
- /**
- * Specifies whether the share request is a sent request or a received request.
- */
- requestType: ShareRequestType;
- /**
- * The pagination token that's used to fetch the next set of results.
- */
- nextToken?: Token;
- /**
- * Represents the maximum number of results on a page or for an API request call.
- */
- maxResults?: MaxResults;
- }
- export interface ListAssessmentFrameworkShareRequestsResponse {
- /**
- * The list of share requests that the ListAssessmentFrameworkShareRequests API returned.
- */
- assessmentFrameworkShareRequests?: AssessmentFrameworkShareRequestList;
- /**
- * The pagination token that's used to fetch the next set of results.
- */
- nextToken?: Token;
- }
- export interface ListAssessmentFrameworksRequest {
- /**
- * The type of framework, such as a standard framework or a custom framework.
- */
- frameworkType: FrameworkType;
- /**
- * The pagination token that's used to fetch the next set of results.
- */
- nextToken?: Token;
- /**
- * Represents the maximum number of results on a page or for an API request call.
- */
- maxResults?: MaxResults;
- }
- export interface ListAssessmentFrameworksResponse {
- /**
- * A list of metadata that the ListAssessmentFrameworks API returns for each framework.
- */
- frameworkMetadataList?: FrameworkMetadataList;
- /**
- * The pagination token that's used to fetch the next set of results.
- */
- nextToken?: Token;
- }
- export type ListAssessmentMetadata = AssessmentMetadataItem[];
- export interface ListAssessmentReportsRequest {
- /**
- * The pagination token that's used to fetch the next set of results.
- */
- nextToken?: Token;
- /**
- * Represents the maximum number of results on a page or for an API request call.
- */
- maxResults?: MaxResults;
- }
- export interface ListAssessmentReportsResponse {
- /**
- * The list of assessment reports that the ListAssessmentReports API returned.
- */
- assessmentReports?: AssessmentReportsMetadata;
- /**
- * The pagination token that's used to fetch the next set of results.
- */
- nextToken?: Token;
- }
- export interface ListAssessmentsRequest {
- /**
- * The current status of the assessment.
- */
- status?: AssessmentStatus;
- /**
- * The pagination token that's used to fetch the next set of results.
- */
- nextToken?: Token;
- /**
- * Represents the maximum number of results on a page or for an API request call.
- */
- maxResults?: MaxResults;
- }
- export interface ListAssessmentsResponse {
- /**
- * The metadata that the ListAssessments API returns for each assessment.
- */
- assessmentMetadata?: ListAssessmentMetadata;
- /**
- * The pagination token that's used to fetch the next set of results.
- */
- nextToken?: Token;
- }
- export interface ListControlDomainInsightsByAssessmentRequest {
- /**
- * The unique identifier for the active assessment.
- */
- assessmentId: UUID;
- /**
- * The pagination token that's used to fetch the next set of results.
- */
- nextToken?: Token;
- /**
- * Represents the maximum number of results on a page or for an API request call.
- */
- maxResults?: MaxResults;
- }
- export interface ListControlDomainInsightsByAssessmentResponse {
- /**
- * The control domain analytics data that the ListControlDomainInsightsByAssessment API returned.
- */
- controlDomainInsights?: ControlDomainInsightsList;
- /**
- * The pagination token that's used to fetch the next set of results.
- */
- nextToken?: Token;
- }
- export interface ListControlDomainInsightsRequest {
- /**
- * The pagination token that's used to fetch the next set of results.
- */
- nextToken?: Token;
- /**
- * Represents the maximum number of results on a page or for an API request call.
- */
- maxResults?: MaxResults;
- }
- export interface ListControlDomainInsightsResponse {
- /**
- * The control domain analytics data that the ListControlDomainInsights API returned.
- */
- controlDomainInsights?: ControlDomainInsightsList;
- /**
- * The pagination token that's used to fetch the next set of results.
- */
- nextToken?: Token;
- }
- export interface ListControlInsightsByControlDomainRequest {
- /**
- * The unique identifier for the control domain.
- */
- controlDomainId: UUID;
- /**
- * The pagination token that's used to fetch the next set of results.
- */
- nextToken?: Token;
- /**
- * Represents the maximum number of results on a page or for an API request call.
- */
- maxResults?: MaxResults;
- }
- export interface ListControlInsightsByControlDomainResponse {
- /**
- * The control analytics data that the ListControlInsightsByControlDomain API returned.
- */
- controlInsightsMetadata?: ControlInsightsMetadata;
- /**
- * The pagination token that's used to fetch the next set of results.
- */
- nextToken?: Token;
- }
- export interface ListControlsRequest {
- /**
- * The type of control, such as a standard control or a custom control.
- */
- controlType: ControlType;
- /**
- * The pagination token that's used to fetch the next set of results.
- */
- nextToken?: Token;
- /**
- * Represents the maximum number of results on a page or for an API request call.
- */
- maxResults?: MaxResults;
- }
- export interface ListControlsResponse {
- /**
- * A list of metadata that the ListControls API returns for each control.
- */
- controlMetadataList?: ControlMetadataList;
- /**
- * The pagination token that's used to fetch the next set of results.
- */
- nextToken?: Token;
- }
- export interface ListKeywordsForDataSourceRequest {
- /**
- * The control mapping data source that the keywords apply to.
- */
- source: SourceType;
- /**
- * The pagination token that's used to fetch the next set of results.
- */
- nextToken?: Token;
- /**
- * Represents the maximum number of results on a page or for an API request call.
- */
- maxResults?: MaxResults;
- }
- export interface ListKeywordsForDataSourceResponse {
- /**
- * The list of keywords for the event mapping source.
- */
- keywords?: Keywords;
- /**
- * The pagination token that's used to fetch the next set of results.
- */
- nextToken?: Token;
- }
- export interface ListNotificationsRequest {
- /**
- * The pagination token that's used to fetch the next set of results.
- */
- nextToken?: Token;
- /**
- * Represents the maximum number of results on a page or for an API request call.
- */
- maxResults?: MaxResults;
- }
- export interface ListNotificationsResponse {
- /**
- * The returned list of notifications.
- */
- notifications?: Notifications;
- /**
- * The pagination token that's used to fetch the next set of results.
- */
- nextToken?: Token;
- }
- export interface ListTagsForResourceRequest {
- /**
- * The Amazon Resource Name (ARN) of the resource.
- */
- resourceArn: AuditManagerArn;
- }
- export interface ListTagsForResourceResponse {
- /**
- * The list of tags that the ListTagsForResource API returned.
- */
- tags?: TagMap;
- }
- export interface ManualEvidence {
- /**
- * The S3 URL of the object that's imported as manual evidence.
- */
- s3ResourcePath?: S3Url;
- /**
- * The plain text response that's entered and saved as manual evidence.
- */
- textResponse?: ManualEvidenceTextResponse;
- /**
- * The name of the file that's uploaded as manual evidence. This name is populated using the evidenceFileName value from the GetEvidenceFileUploadUrl API response.
- */
- evidenceFileName?: ManualEvidenceLocalFileName;
- }
- export type ManualEvidenceList = ManualEvidence[];
- export type ManualEvidenceLocalFileName = string;
- export type ManualEvidenceTextResponse = string;
- export type MaxResults = number;
- export type NonEmptyString = string;
- export interface Notification {
- /**
- * The unique identifier for the notification.
- */
- id?: TimestampUUID;
- /**
- * The identifier for the assessment.
- */
- assessmentId?: UUID;
- /**
- * The name of the related assessment.
- */
- assessmentName?: AssessmentName;
- /**
- * The identifier for the control set.
- */
- controlSetId?: ControlSetId;
- /**
- * Specifies the name of the control set that the notification is about.
- */
- controlSetName?: NonEmptyString;
- /**
- * The description of the notification.
- */
- description?: NonEmptyString;
- /**
- * The time when the notification was sent.
- */
- eventTime?: Timestamp;
- /**
- * The sender of the notification.
- */
- source?: NonEmptyString;
- }
- export type Notifications = Notification[];
- export type NullableInteger = number;
- export type ObjectTypeEnum = "ASSESSMENT"|"CONTROL_SET"|"CONTROL"|"DELEGATION"|"ASSESSMENT_REPORT"|string;
- export type QueryStatement = string;
- export type Region = string;
- export interface RegisterAccountRequest {
- /**
- * The KMS key details.
- */
- kmsKey?: KmsKey;
- /**
- * The delegated administrator account for Audit Manager.
- */
- delegatedAdminAccount?: AccountId;
- }
- export interface RegisterAccountResponse {
- /**
- * The status of the account registration request.
- */
- status?: AccountStatus;
- }
- export interface RegisterOrganizationAdminAccountRequest {
- /**
- * The identifier for the delegated administrator account.
- */
- adminAccountId: AccountId;
- }
- export interface RegisterOrganizationAdminAccountResponse {
- /**
- * The identifier for the delegated administrator account.
- */
- adminAccountId?: AccountId;
- /**
- * The identifier for the organization.
- */
- organizationId?: organizationId;
- }
- export interface Resource {
- /**
- * The Amazon Resource Name (ARN) for the resource.
- */
- arn?: GenericArn;
- /**
- * The value of the resource.
- */
- value?: String;
- /**
- * 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 reports a Fail result, or if Config reports a Non-compliant result. Audit Manager classes the resource as compliant if Security Hub 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 as the underlying data source type, but those services aren't enabled. This is also the case if the resource assessment uses an underlying data source type that doesn't support compliance checks (such as manual evidence, Amazon Web Services API calls, or CloudTrail).
- */
- complianceCheck?: String;
- }
- export type Resources = Resource[];
- export interface Role {
- /**
- * The type of customer persona. In CreateAssessment, roleType can only be PROCESS_OWNER. In UpdateSettings, roleType can only be PROCESS_OWNER. In BatchCreateDelegationByAssessment, roleType can only be RESOURCE_OWNER.
- */
- roleType: RoleType;
- /**
- * The Amazon Resource Name (ARN) of the IAM role.
- */
- roleArn: IamArn;
- }
- export type RoleType = "PROCESS_OWNER"|"RESOURCE_OWNER"|string;
- export type Roles = Role[];
- export type S3Url = string;
- export type SNSTopic = string;
- export interface Scope {
- /**
- * The Amazon Web Services accounts that are included in the scope of the assessment.
- */
- awsAccounts?: AWSAccounts;
- /**
- * The Amazon Web Services services that are included in the scope of the assessment.
- */
- awsServices?: AWSServices;
- }
- export interface ServiceMetadata {
- /**
- * The name of the Amazon Web Service.
- */
- name?: AWSServiceName;
- /**
- * The display name of the Amazon Web Service.
- */
- displayName?: NonEmptyString;
- /**
- * The description of the Amazon Web Service.
- */
- description?: NonEmptyString;
- /**
- * The category that the Amazon Web Service belongs to, such as compute, storage, or database.
- */
- category?: NonEmptyString;
- }
- export type ServiceMetadataList = ServiceMetadata[];
- export type SettingAttribute = "ALL"|"IS_AWS_ORG_ENABLED"|"SNS_TOPIC"|"DEFAULT_ASSESSMENT_REPORTS_DESTINATION"|"DEFAULT_PROCESS_OWNERS"|"EVIDENCE_FINDER_ENABLEMENT"|"DEREGISTRATION_POLICY"|"DEFAULT_EXPORT_DESTINATION"|string;
- export interface Settings {
- /**
- * Specifies whether Organizations is enabled.
- */
- isAwsOrgEnabled?: Boolean;
- /**
- * The designated Amazon Simple Notification Service (Amazon SNS) topic.
- */
- snsTopic?: SNSTopic;
- /**
- * The default S3 destination bucket for storing assessment reports.
- */
- defaultAssessmentReportsDestination?: AssessmentReportsDestination;
- /**
- * The designated default audit owners.
- */
- defaultProcessOwners?: Roles;
- /**
- * The KMS key details.
- */
- kmsKey?: KmsKey;
- /**
- * The current evidence finder status and event data store details.
- */
- evidenceFinderEnablement?: EvidenceFinderEnablement;
- /**
- * The deregistration policy for your Audit Manager data. You can use this attribute to determine how your data is handled when you deregister Audit Manager.
- */
- deregistrationPolicy?: DeregistrationPolicy;
- /**
- * The default S3 destination bucket for storing evidence finder exports.
- */
- defaultExportDestination?: DefaultExportDestination;
- }
- export type ShareRequestAction = "ACCEPT"|"DECLINE"|"REVOKE"|string;
- export type ShareRequestComment = string;
- export type ShareRequestStatus = "ACTIVE"|"REPLICATING"|"SHARED"|"EXPIRING"|"FAILED"|"EXPIRED"|"DECLINED"|"REVOKED"|string;
- export type ShareRequestType = "SENT"|"RECEIVED"|string;
- export type SnsArn = string;
- export type SourceDescription = string;
- export type SourceFrequency = "DAILY"|"WEEKLY"|"MONTHLY"|string;
- export interface SourceKeyword {
- /**
- * The input method for the keyword. SELECT_FROM_LIST is used when mapping a data source for automated evidence. When keywordInputType is SELECT_FROM_LIST, a keyword must be selected to collect automated evidence. For example, this keyword can be a CloudTrail event name, a rule name for Config, a Security Hub control, or the name of an Amazon Web Services API call. UPLOAD_FILE and INPUT_TEXT are only used when mapping a data source for manual evidence. When keywordInputType is UPLOAD_FILE, a file must be uploaded as manual evidence. When keywordInputType is INPUT_TEXT, text must be entered as manual evidence.
- */
- keywordInputType?: KeywordInputType;
- /**
- * The value of the keyword that's used when mapping a control data source. For example, this can be a CloudTrail event name, a rule name for Config, a Security Hub control, or the name of an Amazon Web Services API call. If you’re mapping a data source to a rule in Config, the keywordValue that you specify depends on the type of rule: For managed rules, you can use the rule identifier as the keywordValue. You can find the rule identifier from the list of Config managed rules. For some rules, the rule identifier is different from the rule name. For example, the rule name restricted-ssh has the following rule identifier: INCOMING_SSH_DISABLED. Make sure to use the rule identifier, not the rule name. Keyword example for managed rules: Managed rule name: s3-bucket-acl-prohibited keywordValue: S3_BUCKET_ACL_PROHIBITED For custom rules, you form the keywordValue by adding the Custom_ prefix to the rule name. This prefix distinguishes the custom rule from a managed rule. Keyword example for custom rules: Custom rule name: my-custom-config-rule keywordValue: Custom_my-custom-config-rule For service-linked rules, you form the keywordValue by adding the Custom_ prefix to the rule name. In addition, you remove the suffix ID that appears at the end of the rule name. Keyword examples for service-linked rules: Service-linked rule name: CustomRuleForAccount-conformance-pack-szsm1uv0w keywordValue: Custom_CustomRuleForAccount-conformance-pack Service-linked rule name: OrgConfigRule-s3-bucket-versioning-enabled-dbgzf8ba keywordValue: Custom_OrgConfigRule-s3-bucket-versioning-enabled The keywordValue is case sensitive. If you enter a value incorrectly, Audit Manager might not recognize the data source mapping. As a result, you might not successfully collect evidence from that data source as intended. Keep in mind the following requirements, depending on the data source type that you're using. For Config: For managed rules, make sure that the keywordValue is the rule identifier in ALL_CAPS_WITH_UNDERSCORES. For example, CLOUDWATCH_LOG_GROUP_ENCRYPTED. For accuracy, we recommend that you reference the list of supported Config managed rules. For custom rules, make sure that the keywordValue has the Custom_ prefix followed by the custom rule name. The format of the custom rule name itself may vary. For accuracy, we recommend that you visit the Config console to verify your custom rule name. For Security Hub: The format varies for Security Hub control names. For accuracy, we recommend that you reference the list of supported Security Hub controls. For Amazon Web Services API calls: Make sure that the keywordValue is written as serviceprefix_ActionName. For example, iam_ListGroups. For accuracy, we recommend that you reference the list of supported API calls. For CloudTrail: Make sure that the keywordValue is written as serviceprefix_ActionName. For example, cloudtrail_StartLogging. For accuracy, we recommend that you review the Amazon Web Service prefix and action names in the Service Authorization Reference.
- */
- keywordValue?: KeywordValue;
- }
- export type SourceName = string;
- export type SourceSetUpOption = "System_Controls_Mapping"|"Procedural_Controls_Mapping"|string;
- export type SourceType = "AWS_Cloudtrail"|"AWS_Config"|"AWS_Security_Hub"|"AWS_API_Call"|"MANUAL"|string;
- export interface StartAssessmentFrameworkShareRequest {
- /**
- * The unique identifier for the custom framework to be shared.
- */
- frameworkId: UUID;
- /**
- * The Amazon Web Services account of the recipient.
- */
- destinationAccount: AccountId;
- /**
- * The Amazon Web Services Region of the recipient.
- */
- destinationRegion: Region;
- /**
- * An optional comment from the sender about the share request.
- */
- comment?: ShareRequestComment;
- }
- export interface StartAssessmentFrameworkShareResponse {
- /**
- * The share request that's created by the StartAssessmentFrameworkShare API.
- */
- assessmentFrameworkShareRequest?: AssessmentFrameworkShareRequest;
- }
- export type String = string;
- export type TagKey = string;
- export type TagKeyList = TagKey[];
- export type TagMap = {[key: string]: TagValue};
- export interface TagResourceRequest {
- /**
- * The Amazon Resource Name (ARN) of the resource.
- */
- resourceArn: AuditManagerArn;
- /**
- * The tags that are associated with the resource.
- */
- tags: TagMap;
- }
- export interface TagResourceResponse {
- }
- export type TagValue = string;
- export type TestingInformation = string;
- export type Timestamp = Date;
- export type TimestampUUID = string;
- export type Token = string;
- export type TroubleshootingText = string;
- export interface URL {
- /**
- * The name or word that's used as a hyperlink to the URL.
- */
- hyperlinkName?: HyperlinkName;
- /**
- * The unique identifier for the internet resource.
- */
- link?: UrlLink;
- }
- export type UUID = string;
- export interface UntagResourceRequest {
- /**
- * The Amazon Resource Name (ARN) of the specified resource.
- */
- resourceArn: AuditManagerArn;
- /**
- * The name or key of the tag.
- */
- tagKeys: TagKeyList;
- }
- export interface UntagResourceResponse {
- }
- export interface UpdateAssessmentControlRequest {
- /**
- * The unique identifier for the assessment.
- */
- assessmentId: UUID;
- /**
- * The unique identifier for the control set.
- */
- controlSetId: ControlSetId;
- /**
- * The unique identifier for the control.
- */
- controlId: UUID;
- /**
- * The status of the control.
- */
- controlStatus?: ControlStatus;
- /**
- * The comment body text for the control.
- */
- commentBody?: ControlCommentBody;
- }
- export interface UpdateAssessmentControlResponse {
- /**
- * The name of the updated control set that the UpdateAssessmentControl API returned.
- */
- control?: AssessmentControl;
- }
- export interface UpdateAssessmentControlSetStatusRequest {
- /**
- * The unique identifier for the assessment.
- */
- assessmentId: UUID;
- /**
- * The unique identifier for the control set.
- */
- controlSetId: String;
- /**
- * The status of the control set that's being updated.
- */
- status: ControlSetStatus;
- /**
- * The comment that's related to the status update.
- */
- comment: DelegationComment;
- }
- export interface UpdateAssessmentControlSetStatusResponse {
- /**
- * The name of the updated control set that the UpdateAssessmentControlSetStatus API returned.
- */
- controlSet?: AssessmentControlSet;
- }
- export interface UpdateAssessmentFrameworkControlSet {
- /**
- * The unique identifier for the control set.
- */
- id?: ControlSetName;
- /**
- * The name of the control set.
- */
- name: ControlSetName;
- /**
- * The list of controls that are contained within the control set.
- */
- controls: CreateAssessmentFrameworkControls;
- }
- export type UpdateAssessmentFrameworkControlSets = UpdateAssessmentFrameworkControlSet[];
- export interface UpdateAssessmentFrameworkRequest {
- /**
- * The unique identifier for the framework.
- */
- frameworkId: UUID;
- /**
- * The name of the framework to be updated.
- */
- name: FrameworkName;
- /**
- * The description of the updated framework.
- */
- description?: FrameworkDescription;
- /**
- * The compliance type that the new custom framework supports, such as CIS or HIPAA.
- */
- complianceType?: ComplianceType;
- /**
- * The control sets that are associated with the framework.
- */
- controlSets: UpdateAssessmentFrameworkControlSets;
- }
- export interface UpdateAssessmentFrameworkResponse {
- /**
- * The name of the framework.
- */
- framework?: Framework;
- }
- export interface UpdateAssessmentFrameworkShareRequest {
- /**
- * The unique identifier for the share request.
- */
- requestId: UUID;
- /**
- * Specifies whether the share request is a sent request or a received request.
- */
- requestType: ShareRequestType;
- /**
- * Specifies the update action for the share request.
- */
- action: ShareRequestAction;
- }
- export interface UpdateAssessmentFrameworkShareResponse {
- /**
- * The updated share request that's returned by the UpdateAssessmentFrameworkShare operation.
- */
- assessmentFrameworkShareRequest?: AssessmentFrameworkShareRequest;
- }
- export interface UpdateAssessmentRequest {
- /**
- * The unique identifier for the assessment.
- */
- assessmentId: UUID;
- /**
- * The name of the assessment to be updated.
- */
- assessmentName?: AssessmentName;
- /**
- * The description of the assessment.
- */
- assessmentDescription?: AssessmentDescription;
- /**
- * The scope of the assessment.
- */
- scope: Scope;
- /**
- * The assessment report storage destination for the assessment that's being updated.
- */
- assessmentReportsDestination?: AssessmentReportsDestination;
- /**
- * The list of roles for the assessment.
- */
- roles?: Roles;
- }
- export interface UpdateAssessmentResponse {
- /**
- * The response object for the UpdateAssessment API. This is the name of the updated assessment.
- */
- assessment?: Assessment;
- }
- export interface UpdateAssessmentStatusRequest {
- /**
- * The unique identifier for the assessment.
- */
- assessmentId: UUID;
- /**
- * The current status of the assessment.
- */
- status: AssessmentStatus;
- }
- export interface UpdateAssessmentStatusResponse {
- /**
- * The name of the updated assessment that the UpdateAssessmentStatus API returned.
- */
- assessment?: Assessment;
- }
- export interface UpdateControlRequest {
- /**
- * The identifier for the control.
- */
- controlId: UUID;
- /**
- * The name of the updated control.
- */
- name: ControlName;
- /**
- * The optional description of the control.
- */
- description?: ControlDescription;
- /**
- * The steps that you should follow to determine if the control is met.
- */
- testingInformation?: TestingInformation;
- /**
- * The title of the action plan for remediating the control.
- */
- actionPlanTitle?: ActionPlanTitle;
- /**
- * The recommended actions to carry out if the control isn't fulfilled.
- */
- actionPlanInstructions?: ActionPlanInstructions;
- /**
- * The data mapping sources for the control.
- */
- controlMappingSources: ControlMappingSources;
- }
- export interface UpdateControlResponse {
- /**
- * The name of the updated control set that the UpdateControl API returned.
- */
- control?: Control;
- }
- export interface UpdateSettingsRequest {
- /**
- * The Amazon Simple Notification Service (Amazon SNS) topic that Audit Manager sends notifications to.
- */
- snsTopic?: SnsArn;
- /**
- * The default S3 destination bucket for storing assessment reports.
- */
- defaultAssessmentReportsDestination?: AssessmentReportsDestination;
- /**
- * A list of the default audit owners.
- */
- defaultProcessOwners?: Roles;
- /**
- * The KMS key details.
- */
- kmsKey?: KmsKey;
- /**
- * Specifies whether the evidence finder feature is enabled. Change this attribute to enable or disable evidence finder. When you use this attribute to disable evidence finder, Audit Manager deletes the event data store that’s used to query your evidence data. As a result, you can’t re-enable evidence finder and use the feature again. Your only alternative is to deregister and then re-register Audit Manager.
- */
- evidenceFinderEnabled?: Boolean;
- /**
- * The deregistration policy for your Audit Manager data. You can use this attribute to determine how your data is handled when you deregister Audit Manager.
- */
- deregistrationPolicy?: DeregistrationPolicy;
- /**
- * The default S3 destination bucket for storing evidence finder exports.
- */
- defaultExportDestination?: DefaultExportDestination;
- }
- export interface UpdateSettingsResponse {
- /**
- * The current list of settings.
- */
- settings?: Settings;
- }
- export type UrlLink = string;
- export type Username = string;
- export interface ValidateAssessmentReportIntegrityRequest {
- /**
- * The relative path of the Amazon S3 bucket that the assessment report is stored in.
- */
- s3RelativePath: S3Url;
- }
- export interface ValidateAssessmentReportIntegrityResponse {
- /**
- * Specifies whether the signature key is valid.
- */
- signatureValid?: Boolean;
- /**
- * The signature algorithm that's used to code sign the assessment report file.
- */
- signatureAlgorithm?: String;
- /**
- * The date and time signature that specifies when the assessment report was created.
- */
- signatureDateTime?: String;
- /**
- * The unique identifier for the validation signature key.
- */
- signatureKeyId?: String;
- /**
- * Represents any errors that occurred when validating the assessment report.
- */
- validationErrors?: ValidationErrors;
- }
- export type ValidationErrors = NonEmptyString[];
- export type organizationId = string;
- /**
- * A string in YYYY-MM-DD format that represents the latest possible API version that can be used in this service. Specify 'latest' to use the latest possible version.
- */
- export type apiVersion = "2017-07-25"|"latest"|string;
- export interface ClientApiVersions {
- /**
- * A string in YYYY-MM-DD format that represents the latest possible API version that can be used in this service. Specify 'latest' to use the latest possible version.
- */
- apiVersion?: apiVersion;
- }
- export type ClientConfiguration = ServiceConfigurationOptions & ClientApiVersions;
- /**
- * Contains interfaces for use with the AuditManager client.
- */
- export import Types = AuditManager;
- }
- export = AuditManager;
|