123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122412341244125412641274128412941304131413241334134413541364137413841394140414141424143414441454146414741484149415041514152415341544155415641574158415941604161416241634164416541664167416841694170417141724173417441754176417741784179418041814182418341844185418641874188418941904191419241934194419541964197419841994200420142024203420442054206420742084209421042114212421342144215421642174218421942204221422242234224422542264227422842294230423142324233423442354236423742384239424042414242424342444245424642474248424942504251425242534254425542564257425842594260426142624263426442654266426742684269427042714272427342744275427642774278427942804281428242834284428542864287428842894290429142924293429442954296429742984299430043014302430343044305430643074308430943104311431243134314431543164317431843194320432143224323432443254326432743284329433043314332433343344335433643374338433943404341434243434344434543464347434843494350435143524353435443554356435743584359436043614362436343644365436643674368436943704371437243734374437543764377437843794380438143824383438443854386438743884389439043914392439343944395439643974398439944004401440244034404440544064407440844094410441144124413441444154416441744184419442044214422442344244425442644274428442944304431443244334434443544364437443844394440444144424443444444454446444744484449445044514452445344544455445644574458445944604461446244634464446544664467446844694470447144724473447444754476447744784479448044814482448344844485448644874488448944904491449244934494449544964497449844994500450145024503450445054506450745084509451045114512451345144515451645174518451945204521452245234524452545264527452845294530453145324533453445354536453745384539454045414542454345444545454645474548454945504551455245534554455545564557455845594560456145624563456445654566456745684569457045714572457345744575457645774578457945804581458245834584458545864587458845894590459145924593459445954596459745984599460046014602460346044605460646074608460946104611461246134614461546164617461846194620462146224623462446254626462746284629463046314632463346344635463646374638463946404641464246434644464546464647464846494650465146524653465446554656465746584659466046614662466346644665466646674668466946704671467246734674467546764677467846794680468146824683468446854686468746884689469046914692469346944695469646974698469947004701470247034704470547064707470847094710471147124713471447154716471747184719472047214722472347244725472647274728472947304731473247334734473547364737473847394740474147424743474447454746474747484749475047514752475347544755475647574758475947604761476247634764476547664767476847694770477147724773477447754776477747784779478047814782478347844785478647874788478947904791479247934794479547964797479847994800480148024803480448054806480748084809481048114812481348144815481648174818481948204821482248234824482548264827482848294830483148324833483448354836483748384839484048414842484348444845484648474848484948504851485248534854485548564857485848594860486148624863486448654866486748684869487048714872487348744875487648774878487948804881488248834884488548864887488848894890489148924893489448954896489748984899490049014902490349044905490649074908 |
- 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 Inspector2 extends Service {
- /**
- * Constructs a service object. This object has one method for each API operation.
- */
- constructor(options?: Inspector2.Types.ClientConfiguration)
- config: Config & Inspector2.Types.ClientConfiguration;
- /**
- * Associates an Amazon Web Services account with an Amazon Inspector delegated administrator. An HTTP 200 response indicates the association was successfully started, but doesn’t indicate whether it was completed. You can check if the association completed by using ListMembers for multiple accounts or GetMembers for a single account.
- */
- associateMember(params: Inspector2.Types.AssociateMemberRequest, callback?: (err: AWSError, data: Inspector2.Types.AssociateMemberResponse) => void): Request<Inspector2.Types.AssociateMemberResponse, AWSError>;
- /**
- * Associates an Amazon Web Services account with an Amazon Inspector delegated administrator. An HTTP 200 response indicates the association was successfully started, but doesn’t indicate whether it was completed. You can check if the association completed by using ListMembers for multiple accounts or GetMembers for a single account.
- */
- associateMember(callback?: (err: AWSError, data: Inspector2.Types.AssociateMemberResponse) => void): Request<Inspector2.Types.AssociateMemberResponse, AWSError>;
- /**
- * Retrieves the Amazon Inspector status of multiple Amazon Web Services accounts within your environment.
- */
- batchGetAccountStatus(params: Inspector2.Types.BatchGetAccountStatusRequest, callback?: (err: AWSError, data: Inspector2.Types.BatchGetAccountStatusResponse) => void): Request<Inspector2.Types.BatchGetAccountStatusResponse, AWSError>;
- /**
- * Retrieves the Amazon Inspector status of multiple Amazon Web Services accounts within your environment.
- */
- batchGetAccountStatus(callback?: (err: AWSError, data: Inspector2.Types.BatchGetAccountStatusResponse) => void): Request<Inspector2.Types.BatchGetAccountStatusResponse, AWSError>;
- /**
- * Retrieves code snippets from findings that Amazon Inspector detected code vulnerabilities in.
- */
- batchGetCodeSnippet(params: Inspector2.Types.BatchGetCodeSnippetRequest, callback?: (err: AWSError, data: Inspector2.Types.BatchGetCodeSnippetResponse) => void): Request<Inspector2.Types.BatchGetCodeSnippetResponse, AWSError>;
- /**
- * Retrieves code snippets from findings that Amazon Inspector detected code vulnerabilities in.
- */
- batchGetCodeSnippet(callback?: (err: AWSError, data: Inspector2.Types.BatchGetCodeSnippetResponse) => void): Request<Inspector2.Types.BatchGetCodeSnippetResponse, AWSError>;
- /**
- * Gets vulnerability details for findings.
- */
- batchGetFindingDetails(params: Inspector2.Types.BatchGetFindingDetailsRequest, callback?: (err: AWSError, data: Inspector2.Types.BatchGetFindingDetailsResponse) => void): Request<Inspector2.Types.BatchGetFindingDetailsResponse, AWSError>;
- /**
- * Gets vulnerability details for findings.
- */
- batchGetFindingDetails(callback?: (err: AWSError, data: Inspector2.Types.BatchGetFindingDetailsResponse) => void): Request<Inspector2.Types.BatchGetFindingDetailsResponse, AWSError>;
- /**
- * Gets free trial status for multiple Amazon Web Services accounts.
- */
- batchGetFreeTrialInfo(params: Inspector2.Types.BatchGetFreeTrialInfoRequest, callback?: (err: AWSError, data: Inspector2.Types.BatchGetFreeTrialInfoResponse) => void): Request<Inspector2.Types.BatchGetFreeTrialInfoResponse, AWSError>;
- /**
- * Gets free trial status for multiple Amazon Web Services accounts.
- */
- batchGetFreeTrialInfo(callback?: (err: AWSError, data: Inspector2.Types.BatchGetFreeTrialInfoResponse) => void): Request<Inspector2.Types.BatchGetFreeTrialInfoResponse, AWSError>;
- /**
- * Retrieves Amazon Inspector deep inspection activation status of multiple member accounts within your organization. You must be the delegated administrator of an organization in Amazon Inspector to use this API.
- */
- batchGetMemberEc2DeepInspectionStatus(params: Inspector2.Types.BatchGetMemberEc2DeepInspectionStatusRequest, callback?: (err: AWSError, data: Inspector2.Types.BatchGetMemberEc2DeepInspectionStatusResponse) => void): Request<Inspector2.Types.BatchGetMemberEc2DeepInspectionStatusResponse, AWSError>;
- /**
- * Retrieves Amazon Inspector deep inspection activation status of multiple member accounts within your organization. You must be the delegated administrator of an organization in Amazon Inspector to use this API.
- */
- batchGetMemberEc2DeepInspectionStatus(callback?: (err: AWSError, data: Inspector2.Types.BatchGetMemberEc2DeepInspectionStatusResponse) => void): Request<Inspector2.Types.BatchGetMemberEc2DeepInspectionStatusResponse, AWSError>;
- /**
- * Activates or deactivates Amazon Inspector deep inspection for the provided member accounts in your organization. You must be the delegated administrator of an organization in Amazon Inspector to use this API.
- */
- batchUpdateMemberEc2DeepInspectionStatus(params: Inspector2.Types.BatchUpdateMemberEc2DeepInspectionStatusRequest, callback?: (err: AWSError, data: Inspector2.Types.BatchUpdateMemberEc2DeepInspectionStatusResponse) => void): Request<Inspector2.Types.BatchUpdateMemberEc2DeepInspectionStatusResponse, AWSError>;
- /**
- * Activates or deactivates Amazon Inspector deep inspection for the provided member accounts in your organization. You must be the delegated administrator of an organization in Amazon Inspector to use this API.
- */
- batchUpdateMemberEc2DeepInspectionStatus(callback?: (err: AWSError, data: Inspector2.Types.BatchUpdateMemberEc2DeepInspectionStatusResponse) => void): Request<Inspector2.Types.BatchUpdateMemberEc2DeepInspectionStatusResponse, AWSError>;
- /**
- * Cancels the given findings report.
- */
- cancelFindingsReport(params: Inspector2.Types.CancelFindingsReportRequest, callback?: (err: AWSError, data: Inspector2.Types.CancelFindingsReportResponse) => void): Request<Inspector2.Types.CancelFindingsReportResponse, AWSError>;
- /**
- * Cancels the given findings report.
- */
- cancelFindingsReport(callback?: (err: AWSError, data: Inspector2.Types.CancelFindingsReportResponse) => void): Request<Inspector2.Types.CancelFindingsReportResponse, AWSError>;
- /**
- * Cancels a software bill of materials (SBOM) report.
- */
- cancelSbomExport(params: Inspector2.Types.CancelSbomExportRequest, callback?: (err: AWSError, data: Inspector2.Types.CancelSbomExportResponse) => void): Request<Inspector2.Types.CancelSbomExportResponse, AWSError>;
- /**
- * Cancels a software bill of materials (SBOM) report.
- */
- cancelSbomExport(callback?: (err: AWSError, data: Inspector2.Types.CancelSbomExportResponse) => void): Request<Inspector2.Types.CancelSbomExportResponse, AWSError>;
- /**
- * Creates a CIS scan configuration.
- */
- createCisScanConfiguration(params: Inspector2.Types.CreateCisScanConfigurationRequest, callback?: (err: AWSError, data: Inspector2.Types.CreateCisScanConfigurationResponse) => void): Request<Inspector2.Types.CreateCisScanConfigurationResponse, AWSError>;
- /**
- * Creates a CIS scan configuration.
- */
- createCisScanConfiguration(callback?: (err: AWSError, data: Inspector2.Types.CreateCisScanConfigurationResponse) => void): Request<Inspector2.Types.CreateCisScanConfigurationResponse, AWSError>;
- /**
- * Creates a filter resource using specified filter criteria. When the filter action is set to SUPPRESS this action creates a suppression rule.
- */
- createFilter(params: Inspector2.Types.CreateFilterRequest, callback?: (err: AWSError, data: Inspector2.Types.CreateFilterResponse) => void): Request<Inspector2.Types.CreateFilterResponse, AWSError>;
- /**
- * Creates a filter resource using specified filter criteria. When the filter action is set to SUPPRESS this action creates a suppression rule.
- */
- createFilter(callback?: (err: AWSError, data: Inspector2.Types.CreateFilterResponse) => void): Request<Inspector2.Types.CreateFilterResponse, AWSError>;
- /**
- * Creates a finding report. By default only ACTIVE findings are returned in the report. To see SUPRESSED or CLOSED findings you must specify a value for the findingStatus filter criteria.
- */
- createFindingsReport(params: Inspector2.Types.CreateFindingsReportRequest, callback?: (err: AWSError, data: Inspector2.Types.CreateFindingsReportResponse) => void): Request<Inspector2.Types.CreateFindingsReportResponse, AWSError>;
- /**
- * Creates a finding report. By default only ACTIVE findings are returned in the report. To see SUPRESSED or CLOSED findings you must specify a value for the findingStatus filter criteria.
- */
- createFindingsReport(callback?: (err: AWSError, data: Inspector2.Types.CreateFindingsReportResponse) => void): Request<Inspector2.Types.CreateFindingsReportResponse, AWSError>;
- /**
- * Creates a software bill of materials (SBOM) report.
- */
- createSbomExport(params: Inspector2.Types.CreateSbomExportRequest, callback?: (err: AWSError, data: Inspector2.Types.CreateSbomExportResponse) => void): Request<Inspector2.Types.CreateSbomExportResponse, AWSError>;
- /**
- * Creates a software bill of materials (SBOM) report.
- */
- createSbomExport(callback?: (err: AWSError, data: Inspector2.Types.CreateSbomExportResponse) => void): Request<Inspector2.Types.CreateSbomExportResponse, AWSError>;
- /**
- * Deletes a CIS scan configuration.
- */
- deleteCisScanConfiguration(params: Inspector2.Types.DeleteCisScanConfigurationRequest, callback?: (err: AWSError, data: Inspector2.Types.DeleteCisScanConfigurationResponse) => void): Request<Inspector2.Types.DeleteCisScanConfigurationResponse, AWSError>;
- /**
- * Deletes a CIS scan configuration.
- */
- deleteCisScanConfiguration(callback?: (err: AWSError, data: Inspector2.Types.DeleteCisScanConfigurationResponse) => void): Request<Inspector2.Types.DeleteCisScanConfigurationResponse, AWSError>;
- /**
- * Deletes a filter resource.
- */
- deleteFilter(params: Inspector2.Types.DeleteFilterRequest, callback?: (err: AWSError, data: Inspector2.Types.DeleteFilterResponse) => void): Request<Inspector2.Types.DeleteFilterResponse, AWSError>;
- /**
- * Deletes a filter resource.
- */
- deleteFilter(callback?: (err: AWSError, data: Inspector2.Types.DeleteFilterResponse) => void): Request<Inspector2.Types.DeleteFilterResponse, AWSError>;
- /**
- * Describe Amazon Inspector configuration settings for an Amazon Web Services organization.
- */
- describeOrganizationConfiguration(params: Inspector2.Types.DescribeOrganizationConfigurationRequest, callback?: (err: AWSError, data: Inspector2.Types.DescribeOrganizationConfigurationResponse) => void): Request<Inspector2.Types.DescribeOrganizationConfigurationResponse, AWSError>;
- /**
- * Describe Amazon Inspector configuration settings for an Amazon Web Services organization.
- */
- describeOrganizationConfiguration(callback?: (err: AWSError, data: Inspector2.Types.DescribeOrganizationConfigurationResponse) => void): Request<Inspector2.Types.DescribeOrganizationConfigurationResponse, AWSError>;
- /**
- * Disables Amazon Inspector scans for one or more Amazon Web Services accounts. Disabling all scan types in an account disables the Amazon Inspector service.
- */
- disable(params: Inspector2.Types.DisableRequest, callback?: (err: AWSError, data: Inspector2.Types.DisableResponse) => void): Request<Inspector2.Types.DisableResponse, AWSError>;
- /**
- * Disables Amazon Inspector scans for one or more Amazon Web Services accounts. Disabling all scan types in an account disables the Amazon Inspector service.
- */
- disable(callback?: (err: AWSError, data: Inspector2.Types.DisableResponse) => void): Request<Inspector2.Types.DisableResponse, AWSError>;
- /**
- * Disables the Amazon Inspector delegated administrator for your organization.
- */
- disableDelegatedAdminAccount(params: Inspector2.Types.DisableDelegatedAdminAccountRequest, callback?: (err: AWSError, data: Inspector2.Types.DisableDelegatedAdminAccountResponse) => void): Request<Inspector2.Types.DisableDelegatedAdminAccountResponse, AWSError>;
- /**
- * Disables the Amazon Inspector delegated administrator for your organization.
- */
- disableDelegatedAdminAccount(callback?: (err: AWSError, data: Inspector2.Types.DisableDelegatedAdminAccountResponse) => void): Request<Inspector2.Types.DisableDelegatedAdminAccountResponse, AWSError>;
- /**
- * Disassociates a member account from an Amazon Inspector delegated administrator.
- */
- disassociateMember(params: Inspector2.Types.DisassociateMemberRequest, callback?: (err: AWSError, data: Inspector2.Types.DisassociateMemberResponse) => void): Request<Inspector2.Types.DisassociateMemberResponse, AWSError>;
- /**
- * Disassociates a member account from an Amazon Inspector delegated administrator.
- */
- disassociateMember(callback?: (err: AWSError, data: Inspector2.Types.DisassociateMemberResponse) => void): Request<Inspector2.Types.DisassociateMemberResponse, AWSError>;
- /**
- * Enables Amazon Inspector scans for one or more Amazon Web Services accounts.
- */
- enable(params: Inspector2.Types.EnableRequest, callback?: (err: AWSError, data: Inspector2.Types.EnableResponse) => void): Request<Inspector2.Types.EnableResponse, AWSError>;
- /**
- * Enables Amazon Inspector scans for one or more Amazon Web Services accounts.
- */
- enable(callback?: (err: AWSError, data: Inspector2.Types.EnableResponse) => void): Request<Inspector2.Types.EnableResponse, AWSError>;
- /**
- * Enables the Amazon Inspector delegated administrator for your Organizations organization.
- */
- enableDelegatedAdminAccount(params: Inspector2.Types.EnableDelegatedAdminAccountRequest, callback?: (err: AWSError, data: Inspector2.Types.EnableDelegatedAdminAccountResponse) => void): Request<Inspector2.Types.EnableDelegatedAdminAccountResponse, AWSError>;
- /**
- * Enables the Amazon Inspector delegated administrator for your Organizations organization.
- */
- enableDelegatedAdminAccount(callback?: (err: AWSError, data: Inspector2.Types.EnableDelegatedAdminAccountResponse) => void): Request<Inspector2.Types.EnableDelegatedAdminAccountResponse, AWSError>;
- /**
- * Retrieves a CIS scan report.
- */
- getCisScanReport(params: Inspector2.Types.GetCisScanReportRequest, callback?: (err: AWSError, data: Inspector2.Types.GetCisScanReportResponse) => void): Request<Inspector2.Types.GetCisScanReportResponse, AWSError>;
- /**
- * Retrieves a CIS scan report.
- */
- getCisScanReport(callback?: (err: AWSError, data: Inspector2.Types.GetCisScanReportResponse) => void): Request<Inspector2.Types.GetCisScanReportResponse, AWSError>;
- /**
- * Retrieves CIS scan result details.
- */
- getCisScanResultDetails(params: Inspector2.Types.GetCisScanResultDetailsRequest, callback?: (err: AWSError, data: Inspector2.Types.GetCisScanResultDetailsResponse) => void): Request<Inspector2.Types.GetCisScanResultDetailsResponse, AWSError>;
- /**
- * Retrieves CIS scan result details.
- */
- getCisScanResultDetails(callback?: (err: AWSError, data: Inspector2.Types.GetCisScanResultDetailsResponse) => void): Request<Inspector2.Types.GetCisScanResultDetailsResponse, AWSError>;
- /**
- * Retrieves setting configurations for Inspector scans.
- */
- getConfiguration(params: Inspector2.Types.GetConfigurationRequest, callback?: (err: AWSError, data: Inspector2.Types.GetConfigurationResponse) => void): Request<Inspector2.Types.GetConfigurationResponse, AWSError>;
- /**
- * Retrieves setting configurations for Inspector scans.
- */
- getConfiguration(callback?: (err: AWSError, data: Inspector2.Types.GetConfigurationResponse) => void): Request<Inspector2.Types.GetConfigurationResponse, AWSError>;
- /**
- * Retrieves information about the Amazon Inspector delegated administrator for your organization.
- */
- getDelegatedAdminAccount(params: Inspector2.Types.GetDelegatedAdminAccountRequest, callback?: (err: AWSError, data: Inspector2.Types.GetDelegatedAdminAccountResponse) => void): Request<Inspector2.Types.GetDelegatedAdminAccountResponse, AWSError>;
- /**
- * Retrieves information about the Amazon Inspector delegated administrator for your organization.
- */
- getDelegatedAdminAccount(callback?: (err: AWSError, data: Inspector2.Types.GetDelegatedAdminAccountResponse) => void): Request<Inspector2.Types.GetDelegatedAdminAccountResponse, AWSError>;
- /**
- * Retrieves the activation status of Amazon Inspector deep inspection and custom paths associated with your account.
- */
- getEc2DeepInspectionConfiguration(params: Inspector2.Types.GetEc2DeepInspectionConfigurationRequest, callback?: (err: AWSError, data: Inspector2.Types.GetEc2DeepInspectionConfigurationResponse) => void): Request<Inspector2.Types.GetEc2DeepInspectionConfigurationResponse, AWSError>;
- /**
- * Retrieves the activation status of Amazon Inspector deep inspection and custom paths associated with your account.
- */
- getEc2DeepInspectionConfiguration(callback?: (err: AWSError, data: Inspector2.Types.GetEc2DeepInspectionConfigurationResponse) => void): Request<Inspector2.Types.GetEc2DeepInspectionConfigurationResponse, AWSError>;
- /**
- * Gets an encryption key.
- */
- getEncryptionKey(params: Inspector2.Types.GetEncryptionKeyRequest, callback?: (err: AWSError, data: Inspector2.Types.GetEncryptionKeyResponse) => void): Request<Inspector2.Types.GetEncryptionKeyResponse, AWSError>;
- /**
- * Gets an encryption key.
- */
- getEncryptionKey(callback?: (err: AWSError, data: Inspector2.Types.GetEncryptionKeyResponse) => void): Request<Inspector2.Types.GetEncryptionKeyResponse, AWSError>;
- /**
- * Gets the status of a findings report.
- */
- getFindingsReportStatus(params: Inspector2.Types.GetFindingsReportStatusRequest, callback?: (err: AWSError, data: Inspector2.Types.GetFindingsReportStatusResponse) => void): Request<Inspector2.Types.GetFindingsReportStatusResponse, AWSError>;
- /**
- * Gets the status of a findings report.
- */
- getFindingsReportStatus(callback?: (err: AWSError, data: Inspector2.Types.GetFindingsReportStatusResponse) => void): Request<Inspector2.Types.GetFindingsReportStatusResponse, AWSError>;
- /**
- * Gets member information for your organization.
- */
- getMember(params: Inspector2.Types.GetMemberRequest, callback?: (err: AWSError, data: Inspector2.Types.GetMemberResponse) => void): Request<Inspector2.Types.GetMemberResponse, AWSError>;
- /**
- * Gets member information for your organization.
- */
- getMember(callback?: (err: AWSError, data: Inspector2.Types.GetMemberResponse) => void): Request<Inspector2.Types.GetMemberResponse, AWSError>;
- /**
- * Gets details of a software bill of materials (SBOM) report.
- */
- getSbomExport(params: Inspector2.Types.GetSbomExportRequest, callback?: (err: AWSError, data: Inspector2.Types.GetSbomExportResponse) => void): Request<Inspector2.Types.GetSbomExportResponse, AWSError>;
- /**
- * Gets details of a software bill of materials (SBOM) report.
- */
- getSbomExport(callback?: (err: AWSError, data: Inspector2.Types.GetSbomExportResponse) => void): Request<Inspector2.Types.GetSbomExportResponse, AWSError>;
- /**
- * Lists the permissions an account has to configure Amazon Inspector.
- */
- listAccountPermissions(params: Inspector2.Types.ListAccountPermissionsRequest, callback?: (err: AWSError, data: Inspector2.Types.ListAccountPermissionsResponse) => void): Request<Inspector2.Types.ListAccountPermissionsResponse, AWSError>;
- /**
- * Lists the permissions an account has to configure Amazon Inspector.
- */
- listAccountPermissions(callback?: (err: AWSError, data: Inspector2.Types.ListAccountPermissionsResponse) => void): Request<Inspector2.Types.ListAccountPermissionsResponse, AWSError>;
- /**
- * Lists CIS scan configurations.
- */
- listCisScanConfigurations(params: Inspector2.Types.ListCisScanConfigurationsRequest, callback?: (err: AWSError, data: Inspector2.Types.ListCisScanConfigurationsResponse) => void): Request<Inspector2.Types.ListCisScanConfigurationsResponse, AWSError>;
- /**
- * Lists CIS scan configurations.
- */
- listCisScanConfigurations(callback?: (err: AWSError, data: Inspector2.Types.ListCisScanConfigurationsResponse) => void): Request<Inspector2.Types.ListCisScanConfigurationsResponse, AWSError>;
- /**
- * Lists scan results aggregated by checks.
- */
- listCisScanResultsAggregatedByChecks(params: Inspector2.Types.ListCisScanResultsAggregatedByChecksRequest, callback?: (err: AWSError, data: Inspector2.Types.ListCisScanResultsAggregatedByChecksResponse) => void): Request<Inspector2.Types.ListCisScanResultsAggregatedByChecksResponse, AWSError>;
- /**
- * Lists scan results aggregated by checks.
- */
- listCisScanResultsAggregatedByChecks(callback?: (err: AWSError, data: Inspector2.Types.ListCisScanResultsAggregatedByChecksResponse) => void): Request<Inspector2.Types.ListCisScanResultsAggregatedByChecksResponse, AWSError>;
- /**
- * Lists scan results aggregated by a target resource.
- */
- listCisScanResultsAggregatedByTargetResource(params: Inspector2.Types.ListCisScanResultsAggregatedByTargetResourceRequest, callback?: (err: AWSError, data: Inspector2.Types.ListCisScanResultsAggregatedByTargetResourceResponse) => void): Request<Inspector2.Types.ListCisScanResultsAggregatedByTargetResourceResponse, AWSError>;
- /**
- * Lists scan results aggregated by a target resource.
- */
- listCisScanResultsAggregatedByTargetResource(callback?: (err: AWSError, data: Inspector2.Types.ListCisScanResultsAggregatedByTargetResourceResponse) => void): Request<Inspector2.Types.ListCisScanResultsAggregatedByTargetResourceResponse, AWSError>;
- /**
- * Returns a CIS scan list.
- */
- listCisScans(params: Inspector2.Types.ListCisScansRequest, callback?: (err: AWSError, data: Inspector2.Types.ListCisScansResponse) => void): Request<Inspector2.Types.ListCisScansResponse, AWSError>;
- /**
- * Returns a CIS scan list.
- */
- listCisScans(callback?: (err: AWSError, data: Inspector2.Types.ListCisScansResponse) => void): Request<Inspector2.Types.ListCisScansResponse, AWSError>;
- /**
- * Lists coverage details for you environment.
- */
- listCoverage(params: Inspector2.Types.ListCoverageRequest, callback?: (err: AWSError, data: Inspector2.Types.ListCoverageResponse) => void): Request<Inspector2.Types.ListCoverageResponse, AWSError>;
- /**
- * Lists coverage details for you environment.
- */
- listCoverage(callback?: (err: AWSError, data: Inspector2.Types.ListCoverageResponse) => void): Request<Inspector2.Types.ListCoverageResponse, AWSError>;
- /**
- * Lists Amazon Inspector coverage statistics for your environment.
- */
- listCoverageStatistics(params: Inspector2.Types.ListCoverageStatisticsRequest, callback?: (err: AWSError, data: Inspector2.Types.ListCoverageStatisticsResponse) => void): Request<Inspector2.Types.ListCoverageStatisticsResponse, AWSError>;
- /**
- * Lists Amazon Inspector coverage statistics for your environment.
- */
- listCoverageStatistics(callback?: (err: AWSError, data: Inspector2.Types.ListCoverageStatisticsResponse) => void): Request<Inspector2.Types.ListCoverageStatisticsResponse, AWSError>;
- /**
- * Lists information about the Amazon Inspector delegated administrator of your organization.
- */
- listDelegatedAdminAccounts(params: Inspector2.Types.ListDelegatedAdminAccountsRequest, callback?: (err: AWSError, data: Inspector2.Types.ListDelegatedAdminAccountsResponse) => void): Request<Inspector2.Types.ListDelegatedAdminAccountsResponse, AWSError>;
- /**
- * Lists information about the Amazon Inspector delegated administrator of your organization.
- */
- listDelegatedAdminAccounts(callback?: (err: AWSError, data: Inspector2.Types.ListDelegatedAdminAccountsResponse) => void): Request<Inspector2.Types.ListDelegatedAdminAccountsResponse, AWSError>;
- /**
- * Lists the filters associated with your account.
- */
- listFilters(params: Inspector2.Types.ListFiltersRequest, callback?: (err: AWSError, data: Inspector2.Types.ListFiltersResponse) => void): Request<Inspector2.Types.ListFiltersResponse, AWSError>;
- /**
- * Lists the filters associated with your account.
- */
- listFilters(callback?: (err: AWSError, data: Inspector2.Types.ListFiltersResponse) => void): Request<Inspector2.Types.ListFiltersResponse, AWSError>;
- /**
- * Lists aggregated finding data for your environment based on specific criteria.
- */
- listFindingAggregations(params: Inspector2.Types.ListFindingAggregationsRequest, callback?: (err: AWSError, data: Inspector2.Types.ListFindingAggregationsResponse) => void): Request<Inspector2.Types.ListFindingAggregationsResponse, AWSError>;
- /**
- * Lists aggregated finding data for your environment based on specific criteria.
- */
- listFindingAggregations(callback?: (err: AWSError, data: Inspector2.Types.ListFindingAggregationsResponse) => void): Request<Inspector2.Types.ListFindingAggregationsResponse, AWSError>;
- /**
- * Lists findings for your environment.
- */
- listFindings(params: Inspector2.Types.ListFindingsRequest, callback?: (err: AWSError, data: Inspector2.Types.ListFindingsResponse) => void): Request<Inspector2.Types.ListFindingsResponse, AWSError>;
- /**
- * Lists findings for your environment.
- */
- listFindings(callback?: (err: AWSError, data: Inspector2.Types.ListFindingsResponse) => void): Request<Inspector2.Types.ListFindingsResponse, AWSError>;
- /**
- * List members associated with the Amazon Inspector delegated administrator for your organization.
- */
- listMembers(params: Inspector2.Types.ListMembersRequest, callback?: (err: AWSError, data: Inspector2.Types.ListMembersResponse) => void): Request<Inspector2.Types.ListMembersResponse, AWSError>;
- /**
- * List members associated with the Amazon Inspector delegated administrator for your organization.
- */
- listMembers(callback?: (err: AWSError, data: Inspector2.Types.ListMembersResponse) => void): Request<Inspector2.Types.ListMembersResponse, AWSError>;
- /**
- * Lists all tags attached to a given resource.
- */
- listTagsForResource(params: Inspector2.Types.ListTagsForResourceRequest, callback?: (err: AWSError, data: Inspector2.Types.ListTagsForResourceResponse) => void): Request<Inspector2.Types.ListTagsForResourceResponse, AWSError>;
- /**
- * Lists all tags attached to a given resource.
- */
- listTagsForResource(callback?: (err: AWSError, data: Inspector2.Types.ListTagsForResourceResponse) => void): Request<Inspector2.Types.ListTagsForResourceResponse, AWSError>;
- /**
- * Lists the Amazon Inspector usage totals over the last 30 days.
- */
- listUsageTotals(params: Inspector2.Types.ListUsageTotalsRequest, callback?: (err: AWSError, data: Inspector2.Types.ListUsageTotalsResponse) => void): Request<Inspector2.Types.ListUsageTotalsResponse, AWSError>;
- /**
- * Lists the Amazon Inspector usage totals over the last 30 days.
- */
- listUsageTotals(callback?: (err: AWSError, data: Inspector2.Types.ListUsageTotalsResponse) => void): Request<Inspector2.Types.ListUsageTotalsResponse, AWSError>;
- /**
- * Resets an encryption key. After the key is reset your resources will be encrypted by an Amazon Web Services owned key.
- */
- resetEncryptionKey(params: Inspector2.Types.ResetEncryptionKeyRequest, callback?: (err: AWSError, data: Inspector2.Types.ResetEncryptionKeyResponse) => void): Request<Inspector2.Types.ResetEncryptionKeyResponse, AWSError>;
- /**
- * Resets an encryption key. After the key is reset your resources will be encrypted by an Amazon Web Services owned key.
- */
- resetEncryptionKey(callback?: (err: AWSError, data: Inspector2.Types.ResetEncryptionKeyResponse) => void): Request<Inspector2.Types.ResetEncryptionKeyResponse, AWSError>;
- /**
- * Lists Amazon Inspector coverage details for a specific vulnerability.
- */
- searchVulnerabilities(params: Inspector2.Types.SearchVulnerabilitiesRequest, callback?: (err: AWSError, data: Inspector2.Types.SearchVulnerabilitiesResponse) => void): Request<Inspector2.Types.SearchVulnerabilitiesResponse, AWSError>;
- /**
- * Lists Amazon Inspector coverage details for a specific vulnerability.
- */
- searchVulnerabilities(callback?: (err: AWSError, data: Inspector2.Types.SearchVulnerabilitiesResponse) => void): Request<Inspector2.Types.SearchVulnerabilitiesResponse, AWSError>;
- /**
- * Sends a CIS session health. This API is used by the Amazon Inspector SSM plugin to communicate with the Amazon Inspector service. The Amazon Inspector SSM plugin calls this API to start a CIS scan session for the scan ID supplied by the service.
- */
- sendCisSessionHealth(params: Inspector2.Types.SendCisSessionHealthRequest, callback?: (err: AWSError, data: Inspector2.Types.SendCisSessionHealthResponse) => void): Request<Inspector2.Types.SendCisSessionHealthResponse, AWSError>;
- /**
- * Sends a CIS session health. This API is used by the Amazon Inspector SSM plugin to communicate with the Amazon Inspector service. The Amazon Inspector SSM plugin calls this API to start a CIS scan session for the scan ID supplied by the service.
- */
- sendCisSessionHealth(callback?: (err: AWSError, data: Inspector2.Types.SendCisSessionHealthResponse) => void): Request<Inspector2.Types.SendCisSessionHealthResponse, AWSError>;
- /**
- * Sends a CIS session telemetry. This API is used by the Amazon Inspector SSM plugin to communicate with the Amazon Inspector service. The Amazon Inspector SSM plugin calls this API to start a CIS scan session for the scan ID supplied by the service.
- */
- sendCisSessionTelemetry(params: Inspector2.Types.SendCisSessionTelemetryRequest, callback?: (err: AWSError, data: Inspector2.Types.SendCisSessionTelemetryResponse) => void): Request<Inspector2.Types.SendCisSessionTelemetryResponse, AWSError>;
- /**
- * Sends a CIS session telemetry. This API is used by the Amazon Inspector SSM plugin to communicate with the Amazon Inspector service. The Amazon Inspector SSM plugin calls this API to start a CIS scan session for the scan ID supplied by the service.
- */
- sendCisSessionTelemetry(callback?: (err: AWSError, data: Inspector2.Types.SendCisSessionTelemetryResponse) => void): Request<Inspector2.Types.SendCisSessionTelemetryResponse, AWSError>;
- /**
- * Starts a CIS session. This API is used by the Amazon Inspector SSM plugin to communicate with the Amazon Inspector service. The Amazon Inspector SSM plugin calls this API to start a CIS scan session for the scan ID supplied by the service.
- */
- startCisSession(params: Inspector2.Types.StartCisSessionRequest, callback?: (err: AWSError, data: Inspector2.Types.StartCisSessionResponse) => void): Request<Inspector2.Types.StartCisSessionResponse, AWSError>;
- /**
- * Starts a CIS session. This API is used by the Amazon Inspector SSM plugin to communicate with the Amazon Inspector service. The Amazon Inspector SSM plugin calls this API to start a CIS scan session for the scan ID supplied by the service.
- */
- startCisSession(callback?: (err: AWSError, data: Inspector2.Types.StartCisSessionResponse) => void): Request<Inspector2.Types.StartCisSessionResponse, AWSError>;
- /**
- * Stops a CIS session. This API is used by the Amazon Inspector SSM plugin to communicate with the Amazon Inspector service. The Amazon Inspector SSM plugin calls this API to start a CIS scan session for the scan ID supplied by the service.
- */
- stopCisSession(params: Inspector2.Types.StopCisSessionRequest, callback?: (err: AWSError, data: Inspector2.Types.StopCisSessionResponse) => void): Request<Inspector2.Types.StopCisSessionResponse, AWSError>;
- /**
- * Stops a CIS session. This API is used by the Amazon Inspector SSM plugin to communicate with the Amazon Inspector service. The Amazon Inspector SSM plugin calls this API to start a CIS scan session for the scan ID supplied by the service.
- */
- stopCisSession(callback?: (err: AWSError, data: Inspector2.Types.StopCisSessionResponse) => void): Request<Inspector2.Types.StopCisSessionResponse, AWSError>;
- /**
- * Adds tags to a resource.
- */
- tagResource(params: Inspector2.Types.TagResourceRequest, callback?: (err: AWSError, data: Inspector2.Types.TagResourceResponse) => void): Request<Inspector2.Types.TagResourceResponse, AWSError>;
- /**
- * Adds tags to a resource.
- */
- tagResource(callback?: (err: AWSError, data: Inspector2.Types.TagResourceResponse) => void): Request<Inspector2.Types.TagResourceResponse, AWSError>;
- /**
- * Removes tags from a resource.
- */
- untagResource(params: Inspector2.Types.UntagResourceRequest, callback?: (err: AWSError, data: Inspector2.Types.UntagResourceResponse) => void): Request<Inspector2.Types.UntagResourceResponse, AWSError>;
- /**
- * Removes tags from a resource.
- */
- untagResource(callback?: (err: AWSError, data: Inspector2.Types.UntagResourceResponse) => void): Request<Inspector2.Types.UntagResourceResponse, AWSError>;
- /**
- * Updates a CIS scan configuration.
- */
- updateCisScanConfiguration(params: Inspector2.Types.UpdateCisScanConfigurationRequest, callback?: (err: AWSError, data: Inspector2.Types.UpdateCisScanConfigurationResponse) => void): Request<Inspector2.Types.UpdateCisScanConfigurationResponse, AWSError>;
- /**
- * Updates a CIS scan configuration.
- */
- updateCisScanConfiguration(callback?: (err: AWSError, data: Inspector2.Types.UpdateCisScanConfigurationResponse) => void): Request<Inspector2.Types.UpdateCisScanConfigurationResponse, AWSError>;
- /**
- * Updates setting configurations for your Amazon Inspector account. When you use this API as an Amazon Inspector delegated administrator this updates the setting for all accounts you manage. Member accounts in an organization cannot update this setting.
- */
- updateConfiguration(params: Inspector2.Types.UpdateConfigurationRequest, callback?: (err: AWSError, data: Inspector2.Types.UpdateConfigurationResponse) => void): Request<Inspector2.Types.UpdateConfigurationResponse, AWSError>;
- /**
- * Updates setting configurations for your Amazon Inspector account. When you use this API as an Amazon Inspector delegated administrator this updates the setting for all accounts you manage. Member accounts in an organization cannot update this setting.
- */
- updateConfiguration(callback?: (err: AWSError, data: Inspector2.Types.UpdateConfigurationResponse) => void): Request<Inspector2.Types.UpdateConfigurationResponse, AWSError>;
- /**
- * Activates, deactivates Amazon Inspector deep inspection, or updates custom paths for your account.
- */
- updateEc2DeepInspectionConfiguration(params: Inspector2.Types.UpdateEc2DeepInspectionConfigurationRequest, callback?: (err: AWSError, data: Inspector2.Types.UpdateEc2DeepInspectionConfigurationResponse) => void): Request<Inspector2.Types.UpdateEc2DeepInspectionConfigurationResponse, AWSError>;
- /**
- * Activates, deactivates Amazon Inspector deep inspection, or updates custom paths for your account.
- */
- updateEc2DeepInspectionConfiguration(callback?: (err: AWSError, data: Inspector2.Types.UpdateEc2DeepInspectionConfigurationResponse) => void): Request<Inspector2.Types.UpdateEc2DeepInspectionConfigurationResponse, AWSError>;
- /**
- * Updates an encryption key. A ResourceNotFoundException means that an Amazon Web Services owned key is being used for encryption.
- */
- updateEncryptionKey(params: Inspector2.Types.UpdateEncryptionKeyRequest, callback?: (err: AWSError, data: Inspector2.Types.UpdateEncryptionKeyResponse) => void): Request<Inspector2.Types.UpdateEncryptionKeyResponse, AWSError>;
- /**
- * Updates an encryption key. A ResourceNotFoundException means that an Amazon Web Services owned key is being used for encryption.
- */
- updateEncryptionKey(callback?: (err: AWSError, data: Inspector2.Types.UpdateEncryptionKeyResponse) => void): Request<Inspector2.Types.UpdateEncryptionKeyResponse, AWSError>;
- /**
- * Specifies the action that is to be applied to the findings that match the filter.
- */
- updateFilter(params: Inspector2.Types.UpdateFilterRequest, callback?: (err: AWSError, data: Inspector2.Types.UpdateFilterResponse) => void): Request<Inspector2.Types.UpdateFilterResponse, AWSError>;
- /**
- * Specifies the action that is to be applied to the findings that match the filter.
- */
- updateFilter(callback?: (err: AWSError, data: Inspector2.Types.UpdateFilterResponse) => void): Request<Inspector2.Types.UpdateFilterResponse, AWSError>;
- /**
- * Updates the Amazon Inspector deep inspection custom paths for your organization. You must be an Amazon Inspector delegated administrator to use this API.
- */
- updateOrgEc2DeepInspectionConfiguration(params: Inspector2.Types.UpdateOrgEc2DeepInspectionConfigurationRequest, callback?: (err: AWSError, data: Inspector2.Types.UpdateOrgEc2DeepInspectionConfigurationResponse) => void): Request<Inspector2.Types.UpdateOrgEc2DeepInspectionConfigurationResponse, AWSError>;
- /**
- * Updates the Amazon Inspector deep inspection custom paths for your organization. You must be an Amazon Inspector delegated administrator to use this API.
- */
- updateOrgEc2DeepInspectionConfiguration(callback?: (err: AWSError, data: Inspector2.Types.UpdateOrgEc2DeepInspectionConfigurationResponse) => void): Request<Inspector2.Types.UpdateOrgEc2DeepInspectionConfigurationResponse, AWSError>;
- /**
- * Updates the configurations for your Amazon Inspector organization.
- */
- updateOrganizationConfiguration(params: Inspector2.Types.UpdateOrganizationConfigurationRequest, callback?: (err: AWSError, data: Inspector2.Types.UpdateOrganizationConfigurationResponse) => void): Request<Inspector2.Types.UpdateOrganizationConfigurationResponse, AWSError>;
- /**
- * Updates the configurations for your Amazon Inspector organization.
- */
- updateOrganizationConfiguration(callback?: (err: AWSError, data: Inspector2.Types.UpdateOrganizationConfigurationResponse) => void): Request<Inspector2.Types.UpdateOrganizationConfigurationResponse, AWSError>;
- }
- declare namespace Inspector2 {
- export interface Account {
- /**
- * The ID of the Amazon Web Services account.
- */
- accountId: AccountId;
- /**
- * Details of the status of Amazon Inspector scans by resource type.
- */
- resourceStatus: ResourceStatus;
- /**
- * The status of Amazon Inspector for the account.
- */
- status: Status;
- }
- export interface AccountAggregation {
- /**
- * The type of finding.
- */
- findingType?: AggregationFindingType;
- /**
- * The type of resource.
- */
- resourceType?: AggregationResourceType;
- /**
- * The value to sort by.
- */
- sortBy?: AccountSortBy;
- /**
- * The sort order (ascending or descending).
- */
- sortOrder?: SortOrder;
- }
- export interface AccountAggregationResponse {
- /**
- * The Amazon Web Services account ID.
- */
- accountId?: AccountId;
- /**
- * The number of findings by severity.
- */
- severityCounts?: SeverityCounts;
- }
- export type AccountId = string;
- export type AccountIdFilterList = CisStringFilter[];
- export type AccountIdSet = AccountId[];
- export type AccountList = Account[];
- export type AccountSortBy = "CRITICAL"|"HIGH"|"ALL"|string;
- export interface AccountState {
- /**
- * The Amazon Web Services account ID.
- */
- accountId: AccountId;
- /**
- * An object detailing which resources Amazon Inspector is enabled to scan for the account.
- */
- resourceState: ResourceState;
- /**
- * An object detailing the status of Amazon Inspector for the account.
- */
- state: State;
- }
- export type AccountStateList = AccountState[];
- export type AggCounts = number;
- export type AggregationFindingType = "NETWORK_REACHABILITY"|"PACKAGE_VULNERABILITY"|"CODE_VULNERABILITY"|string;
- export interface AggregationRequest {
- /**
- * An object that contains details about an aggregation request based on Amazon Web Services account IDs.
- */
- accountAggregation?: AccountAggregation;
- /**
- * An object that contains details about an aggregation request based on Amazon Machine Images (AMIs).
- */
- amiAggregation?: AmiAggregation;
- /**
- * An object that contains details about an aggregation request based on Amazon ECR container images.
- */
- awsEcrContainerAggregation?: AwsEcrContainerAggregation;
- /**
- * An object that contains details about an aggregation request based on Amazon EC2 instances.
- */
- ec2InstanceAggregation?: Ec2InstanceAggregation;
- /**
- * An object that contains details about an aggregation request based on finding types.
- */
- findingTypeAggregation?: FindingTypeAggregation;
- /**
- * An object that contains details about an aggregation request based on container image layers.
- */
- imageLayerAggregation?: ImageLayerAggregation;
- /**
- * Returns an object with findings aggregated by Amazon Web Services Lambda function.
- */
- lambdaFunctionAggregation?: LambdaFunctionAggregation;
- /**
- * Returns an object with findings aggregated by Amazon Web Services Lambda layer.
- */
- lambdaLayerAggregation?: LambdaLayerAggregation;
- /**
- * An object that contains details about an aggregation request based on operating system package type.
- */
- packageAggregation?: PackageAggregation;
- /**
- * An object that contains details about an aggregation request based on Amazon ECR repositories.
- */
- repositoryAggregation?: RepositoryAggregation;
- /**
- * An object that contains details about an aggregation request based on finding title.
- */
- titleAggregation?: TitleAggregation;
- }
- export type AggregationResourceType = "AWS_EC2_INSTANCE"|"AWS_ECR_CONTAINER_IMAGE"|"AWS_LAMBDA_FUNCTION"|string;
- export interface AggregationResponse {
- /**
- * An object that contains details about an aggregation response based on Amazon Web Services account IDs.
- */
- accountAggregation?: AccountAggregationResponse;
- /**
- * An object that contains details about an aggregation response based on Amazon Machine Images (AMIs).
- */
- amiAggregation?: AmiAggregationResponse;
- /**
- * An object that contains details about an aggregation response based on Amazon ECR container images.
- */
- awsEcrContainerAggregation?: AwsEcrContainerAggregationResponse;
- /**
- * An object that contains details about an aggregation response based on Amazon EC2 instances.
- */
- ec2InstanceAggregation?: Ec2InstanceAggregationResponse;
- /**
- * An object that contains details about an aggregation response based on finding types.
- */
- findingTypeAggregation?: FindingTypeAggregationResponse;
- /**
- * An object that contains details about an aggregation response based on container image layers.
- */
- imageLayerAggregation?: ImageLayerAggregationResponse;
- /**
- * An aggregation of findings by Amazon Web Services Lambda function.
- */
- lambdaFunctionAggregation?: LambdaFunctionAggregationResponse;
- /**
- * An aggregation of findings by Amazon Web Services Lambda layer.
- */
- lambdaLayerAggregation?: LambdaLayerAggregationResponse;
- /**
- * An object that contains details about an aggregation response based on operating system package type.
- */
- packageAggregation?: PackageAggregationResponse;
- /**
- * An object that contains details about an aggregation response based on Amazon ECR repositories.
- */
- repositoryAggregation?: RepositoryAggregationResponse;
- /**
- * An object that contains details about an aggregation response based on finding title.
- */
- titleAggregation?: TitleAggregationResponse;
- }
- export type AggregationResponseList = AggregationResponse[];
- export type AggregationType = "FINDING_TYPE"|"PACKAGE"|"TITLE"|"REPOSITORY"|"AMI"|"AWS_EC2_INSTANCE"|"AWS_ECR_CONTAINER"|"IMAGE_LAYER"|"ACCOUNT"|"AWS_LAMBDA_FUNCTION"|"LAMBDA_LAYER"|string;
- export interface AmiAggregation {
- /**
- * The IDs of AMIs to aggregate findings for.
- */
- amis?: StringFilterList;
- /**
- * The value to sort results by.
- */
- sortBy?: AmiSortBy;
- /**
- * The order to sort results by.
- */
- sortOrder?: SortOrder;
- }
- export interface AmiAggregationResponse {
- /**
- * The Amazon Web Services account ID for the AMI.
- */
- accountId?: AccountId;
- /**
- * The IDs of Amazon EC2 instances using this AMI.
- */
- affectedInstances?: Long;
- /**
- * The ID of the AMI that findings were aggregated for.
- */
- ami: AmiId;
- /**
- * An object that contains the count of matched findings per severity.
- */
- severityCounts?: SeverityCounts;
- }
- export type AmiId = string;
- export type AmiSortBy = "CRITICAL"|"HIGH"|"ALL"|"AFFECTED_INSTANCES"|string;
- export type Architecture = "X86_64"|"ARM64"|string;
- export type ArchitectureList = Architecture[];
- export type Arn = string;
- export interface AssociateMemberRequest {
- /**
- * The Amazon Web Services account ID of the member account to be associated.
- */
- accountId: AccountId;
- }
- export interface AssociateMemberResponse {
- /**
- * The Amazon Web Services account ID of the successfully associated member account.
- */
- accountId: AccountId;
- }
- export interface AtigData {
- /**
- * The date and time this vulnerability was first observed.
- */
- firstSeen?: FirstSeen;
- /**
- * The date and time this vulnerability was last observed.
- */
- lastSeen?: LastSeen;
- /**
- * The commercial sectors this vulnerability targets.
- */
- targets?: Targets;
- /**
- * The MITRE ATT&CK tactics, techniques, and procedures (TTPs) associated with vulnerability.
- */
- ttps?: Ttps;
- }
- export interface AutoEnable {
- /**
- * Represents whether Amazon EC2 scans are automatically enabled for new members of your Amazon Inspector organization.
- */
- ec2: Boolean;
- /**
- * Represents whether Amazon ECR scans are automatically enabled for new members of your Amazon Inspector organization.
- */
- ecr: Boolean;
- /**
- * Represents whether Amazon Web Services Lambda standard scans are automatically enabled for new members of your Amazon Inspector organization.
- */
- lambda?: Boolean;
- /**
- * Represents whether Lambda code scans are automatically enabled for new members of your Amazon Inspector organization. </p>
- */
- lambdaCode?: Boolean;
- }
- export interface AwsEc2InstanceDetails {
- /**
- * The IAM instance profile ARN of the Amazon EC2 instance.
- */
- iamInstanceProfileArn?: NonEmptyString;
- /**
- * The image ID of the Amazon EC2 instance.
- */
- imageId?: NonEmptyString;
- /**
- * The IPv4 addresses of the Amazon EC2 instance.
- */
- ipV4Addresses?: IpV4AddressList;
- /**
- * The IPv6 addresses of the Amazon EC2 instance.
- */
- ipV6Addresses?: IpV6AddressList;
- /**
- * The name of the key pair used to launch the Amazon EC2 instance.
- */
- keyName?: NonEmptyString;
- /**
- * The date and time the Amazon EC2 instance was launched at.
- */
- launchedAt?: DateTimeTimestamp;
- /**
- * The platform of the Amazon EC2 instance.
- */
- platform?: Platform;
- /**
- * The subnet ID of the Amazon EC2 instance.
- */
- subnetId?: NonEmptyString;
- /**
- * The type of the Amazon EC2 instance.
- */
- type?: NonEmptyString;
- /**
- * The VPC ID of the Amazon EC2 instance.
- */
- vpcId?: NonEmptyString;
- }
- export interface AwsEcrContainerAggregation {
- /**
- * The architecture of the containers.
- */
- architectures?: StringFilterList;
- /**
- * The image SHA values.
- */
- imageShas?: StringFilterList;
- /**
- * The image tags.
- */
- imageTags?: StringFilterList;
- /**
- * The container repositories.
- */
- repositories?: StringFilterList;
- /**
- * The container resource IDs.
- */
- resourceIds?: StringFilterList;
- /**
- * The value to sort by.
- */
- sortBy?: AwsEcrContainerSortBy;
- /**
- * The sort order (ascending or descending).
- */
- sortOrder?: SortOrder;
- }
- export interface AwsEcrContainerAggregationResponse {
- /**
- * The Amazon Web Services account ID of the account that owns the container.
- */
- accountId?: AccountId;
- /**
- * The architecture of the container.
- */
- architecture?: String;
- /**
- * The SHA value of the container image.
- */
- imageSha?: String;
- /**
- * The container image stags.
- */
- imageTags?: StringList;
- /**
- * The container repository.
- */
- repository?: String;
- /**
- * The resource ID of the container.
- */
- resourceId: NonEmptyString;
- /**
- * The number of finding by severity.
- */
- severityCounts?: SeverityCounts;
- }
- export interface AwsEcrContainerImageDetails {
- /**
- * The architecture of the Amazon ECR container image.
- */
- architecture?: NonEmptyString;
- /**
- * The image author of the Amazon ECR container image.
- */
- author?: String;
- /**
- * The image hash of the Amazon ECR container image.
- */
- imageHash: ImageHash;
- /**
- * The image tags attached to the Amazon ECR container image.
- */
- imageTags?: ImageTagList;
- /**
- * The platform of the Amazon ECR container image.
- */
- platform?: Platform;
- /**
- * The date and time the Amazon ECR container image was pushed.
- */
- pushedAt?: DateTimeTimestamp;
- /**
- * The registry for the Amazon ECR container image.
- */
- registry: NonEmptyString;
- /**
- * The name of the repository the Amazon ECR container image resides in.
- */
- repositoryName: NonEmptyString;
- }
- export type AwsEcrContainerSortBy = "CRITICAL"|"HIGH"|"ALL"|string;
- export interface AwsLambdaFunctionDetails {
- /**
- * The instruction set architecture that the Amazon Web Services Lambda function supports. Architecture is a string array with one of the valid values. The default architecture value is x86_64.
- */
- architectures?: ArchitectureList;
- /**
- * The SHA256 hash of the Amazon Web Services Lambda function's deployment package.
- */
- codeSha256: NonEmptyString;
- /**
- * The Amazon Web Services Lambda function's execution role.
- */
- executionRoleArn: ExecutionRoleArn;
- /**
- * The name of the Amazon Web Services Lambda function.
- */
- functionName: FunctionName;
- /**
- * The date and time that a user last updated the configuration, in ISO 8601 format
- */
- lastModifiedAt?: Timestamp;
- /**
- * The Amazon Web Services Lambda function's layers. A Lambda function can have up to five layers.
- */
- layers?: LayerList;
- /**
- * The type of deployment package. Set to Image for container image and set Zip for .zip file archive.
- */
- packageType?: PackageType;
- /**
- * The runtime environment for the Amazon Web Services Lambda function.
- */
- runtime: Runtime;
- /**
- * The version of the Amazon Web Services Lambda function.
- */
- version: Version;
- /**
- * The Amazon Web Services Lambda function's networking configuration.
- */
- vpcConfig?: LambdaVpcConfig;
- }
- export interface BatchGetAccountStatusRequest {
- /**
- * The 12-digit Amazon Web Services account IDs of the accounts to retrieve Amazon Inspector status for.
- */
- accountIds?: AccountIdSet;
- }
- export interface BatchGetAccountStatusResponse {
- /**
- * An array of objects that provide details on the status of Amazon Inspector for each of the requested accounts.
- */
- accounts: AccountStateList;
- /**
- * An array of objects detailing any accounts that failed to enable Amazon Inspector and why.
- */
- failedAccounts?: FailedAccountList;
- }
- export interface BatchGetCodeSnippetRequest {
- /**
- * An array of finding ARNs for the findings you want to retrieve code snippets from.
- */
- findingArns: BatchGetCodeSnippetRequestFindingArnsList;
- }
- export type BatchGetCodeSnippetRequestFindingArnsList = FindingArn[];
- export interface BatchGetCodeSnippetResponse {
- /**
- * The retrieved code snippets associated with the provided finding ARNs.
- */
- codeSnippetResults?: CodeSnippetResultList;
- /**
- * Any errors Amazon Inspector encountered while trying to retrieve the requested code snippets.
- */
- errors?: CodeSnippetErrorList;
- }
- export interface BatchGetFindingDetailsRequest {
- /**
- * A list of finding ARNs.
- */
- findingArns: FindingArnList;
- }
- export interface BatchGetFindingDetailsResponse {
- /**
- * Error information for findings that details could not be returned for.
- */
- errors?: FindingDetailsErrorList;
- /**
- * A finding's vulnerability details.
- */
- findingDetails?: FindingDetails;
- }
- export interface BatchGetFreeTrialInfoRequest {
- /**
- * The account IDs to get free trial status for.
- */
- accountIds: BatchGetFreeTrialInfoRequestAccountIdsList;
- }
- export type BatchGetFreeTrialInfoRequestAccountIdsList = MeteringAccountId[];
- export interface BatchGetFreeTrialInfoResponse {
- /**
- * An array of objects that provide Amazon Inspector free trial details for each of the requested accounts.
- */
- accounts: FreeTrialAccountInfoList;
- /**
- * An array of objects detailing any accounts that free trial data could not be returned for.
- */
- failedAccounts: FreeTrialInfoErrorList;
- }
- export interface BatchGetMemberEc2DeepInspectionStatusRequest {
- /**
- * The unique identifiers for the Amazon Web Services accounts to retrieve Amazon Inspector deep inspection activation status for. </p>
- */
- accountIds?: AccountIdSet;
- }
- export interface BatchGetMemberEc2DeepInspectionStatusResponse {
- /**
- * An array of objects that provide details on the activation status of Amazon Inspector deep inspection for each of the requested accounts. </p>
- */
- accountIds?: MemberAccountEc2DeepInspectionStatusStateList;
- /**
- * An array of objects that provide details on any accounts that failed to activate Amazon Inspector deep inspection and why. </p>
- */
- failedAccountIds?: FailedMemberAccountEc2DeepInspectionStatusStateList;
- }
- export interface BatchUpdateMemberEc2DeepInspectionStatusRequest {
- /**
- * The unique identifiers for the Amazon Web Services accounts to change Amazon Inspector deep inspection status for.
- */
- accountIds: MemberAccountEc2DeepInspectionStatusList;
- }
- export interface BatchUpdateMemberEc2DeepInspectionStatusResponse {
- /**
- * An array of objects that provide details for each of the accounts that Amazon Inspector deep inspection status was successfully changed for.
- */
- accountIds?: MemberAccountEc2DeepInspectionStatusStateList;
- /**
- * An array of objects that provide details for each of the accounts that Amazon Inspector deep inspection status could not be successfully changed for.
- */
- failedAccountIds?: FailedMemberAccountEc2DeepInspectionStatusStateList;
- }
- export type BenchmarkProfile = string;
- export type BenchmarkVersion = string;
- export type Boolean = boolean;
- export interface CancelFindingsReportRequest {
- /**
- * The ID of the report to be canceled.
- */
- reportId: ReportId;
- }
- export interface CancelFindingsReportResponse {
- /**
- * The ID of the canceled report.
- */
- reportId: ReportId;
- }
- export interface CancelSbomExportRequest {
- /**
- * The report ID of the SBOM export to cancel.
- */
- reportId: ReportId;
- }
- export interface CancelSbomExportResponse {
- /**
- * The report ID of the canceled SBOM export.
- */
- reportId?: ReportId;
- }
- export type CheckCount = number;
- export type CheckIdFilterList = CisStringFilter[];
- export type CisAccountIdList = AccountId[];
- export interface CisCheckAggregation {
- /**
- * The account ID for the CIS check.
- */
- accountId?: AccountId;
- /**
- * The description for the CIS check.
- */
- checkDescription?: String;
- /**
- * The check ID for the CIS check.
- */
- checkId?: String;
- /**
- * The CIS check level.
- */
- level?: CisSecurityLevel;
- /**
- * The CIS check platform.
- */
- platform?: String;
- /**
- * The scan ARN for the CIS check scan ARN.
- */
- scanArn: CisScanArn;
- /**
- * The CIS check status counts.
- */
- statusCounts?: StatusCounts;
- /**
- * The CIS check title.
- */
- title?: String;
- }
- export type CisCheckAggregationList = CisCheckAggregation[];
- export interface CisDateFilter {
- /**
- * The CIS date filter's earliest scan start time.
- */
- earliestScanStartTime?: Timestamp;
- /**
- * The CIS date filter's latest scan start time.
- */
- latestScanStartTime?: Timestamp;
- }
- export type CisFindingArn = string;
- export type CisFindingArnFilterList = CisStringFilter[];
- export type CisFindingStatus = "PASSED"|"FAILED"|"SKIPPED"|string;
- export type CisFindingStatusComparison = "EQUALS"|string;
- export interface CisFindingStatusFilter {
- /**
- * The comparison value of the CIS finding status filter.
- */
- comparison: CisFindingStatusComparison;
- /**
- * The value of the CIS finding status filter.
- */
- value: CisFindingStatus;
- }
- export type CisFindingStatusFilterList = CisFindingStatusFilter[];
- export interface CisNumberFilter {
- /**
- * The CIS number filter's lower inclusive.
- */
- lowerInclusive?: Integer;
- /**
- * The CIS number filter's upper inclusive.
- */
- upperInclusive?: Integer;
- }
- export type CisNumberFilterList = CisNumberFilter[];
- export type CisOwnerId = string;
- export type CisReportFormat = "PDF"|"CSV"|string;
- export type CisReportStatus = "SUCCEEDED"|"FAILED"|"IN_PROGRESS"|string;
- export type CisResultStatus = "PASSED"|"FAILED"|"SKIPPED"|string;
- export type CisResultStatusComparison = "EQUALS"|string;
- export interface CisResultStatusFilter {
- /**
- * The comparison value of the CIS result status filter.
- */
- comparison: CisResultStatusComparison;
- /**
- * The value of the CIS result status filter.
- */
- value: CisResultStatus;
- }
- export type CisResultStatusFilterList = CisResultStatusFilter[];
- export type CisRuleDetails = Buffer|Uint8Array|Blob|string;
- export type CisRuleStatus = "FAILED"|"PASSED"|"NOT_EVALUATED"|"INFORMATIONAL"|"UNKNOWN"|"NOT_APPLICABLE"|"ERROR"|string;
- export interface CisScan {
- /**
- * The CIS scan's failed checks.
- */
- failedChecks?: Integer;
- /**
- * The CIS scan's ARN.
- */
- scanArn: CisScanArn;
- /**
- * The CIS scan's configuration ARN.
- */
- scanConfigurationArn: CisScanConfigurationArn;
- /**
- * The CIS scan's date.
- */
- scanDate?: Timestamp;
- /**
- * The the name of the scan configuration that's associated with this scan.
- */
- scanName?: CisScanName;
- /**
- * The account or organization that schedules the CIS scan.
- */
- scheduledBy?: String;
- /**
- * The security level for the CIS scan. Security level refers to the Benchmark levels that CIS assigns to a profile.
- */
- securityLevel?: CisSecurityLevel;
- /**
- * The CIS scan's status.
- */
- status?: CisScanStatus;
- /**
- * The CIS scan's targets.
- */
- targets?: CisTargets;
- /**
- * The CIS scan's total checks.
- */
- totalChecks?: Integer;
- }
- export type CisScanArn = string;
- export type CisScanArnFilterList = CisStringFilter[];
- export interface CisScanConfiguration {
- /**
- * The CIS scan configuration's owner ID.
- */
- ownerId?: CisOwnerId;
- /**
- * The CIS scan configuration's scan configuration ARN.
- */
- scanConfigurationArn: CisScanConfigurationArn;
- /**
- * The name of the CIS scan configuration.
- */
- scanName?: CisScanName;
- /**
- * The CIS scan configuration's schedule.
- */
- schedule?: Schedule;
- /**
- * The CIS scan configuration's security level.
- */
- securityLevel?: CisSecurityLevel;
- /**
- * The CIS scan configuration's tags.
- */
- tags?: CisTagMap;
- /**
- * The CIS scan configuration's targets.
- */
- targets?: CisTargets;
- }
- export type CisScanConfigurationArn = string;
- export type CisScanConfigurationArnFilterList = CisStringFilter[];
- export type CisScanConfigurationList = CisScanConfiguration[];
- export type CisScanConfigurationsSortBy = "SCAN_NAME"|"SCAN_CONFIGURATION_ARN"|string;
- export type CisScanDateFilterList = CisDateFilter[];
- export type CisScanList = CisScan[];
- export type CisScanName = string;
- export type CisScanNameFilterList = CisStringFilter[];
- export interface CisScanResultDetails {
- /**
- * The CIS scan result details' account ID.
- */
- accountId?: AccountId;
- /**
- * The account ID that's associated with the CIS scan result details.
- */
- checkDescription?: String;
- /**
- * The CIS scan result details' check ID.
- */
- checkId?: String;
- /**
- * The CIS scan result details' finding ARN.
- */
- findingArn?: CisFindingArn;
- /**
- * The CIS scan result details' level.
- */
- level?: CisSecurityLevel;
- /**
- * The CIS scan result details' platform.
- */
- platform?: String;
- /**
- * The CIS scan result details' remediation.
- */
- remediation?: String;
- /**
- * The CIS scan result details' scan ARN.
- */
- scanArn: CisScanArn;
- /**
- * The CIS scan result details' status.
- */
- status?: CisFindingStatus;
- /**
- * The CIS scan result details' status reason.
- */
- statusReason?: String;
- /**
- * The CIS scan result details' target resource ID.
- */
- targetResourceId?: ResourceId;
- /**
- * The CIS scan result details' title.
- */
- title?: String;
- }
- export interface CisScanResultDetailsFilterCriteria {
- /**
- * The criteria's check ID filters.
- */
- checkIdFilters?: CheckIdFilterList;
- /**
- * The criteria's finding ARN filters.
- */
- findingArnFilters?: CisFindingArnFilterList;
- /**
- * The criteria's finding status filters.
- */
- findingStatusFilters?: CisFindingStatusFilterList;
- /**
- * The criteria's security level filters. . Security level refers to the Benchmark levels that CIS assigns to a profile.
- */
- securityLevelFilters?: CisSecurityLevelFilterList;
- /**
- * The criteria's title filters.
- */
- titleFilters?: TitleFilterList;
- }
- export type CisScanResultDetailsList = CisScanResultDetails[];
- export type CisScanResultDetailsSortBy = "CHECK_ID"|"STATUS"|string;
- export interface CisScanResultsAggregatedByChecksFilterCriteria {
- /**
- * The criteria's account ID filters.
- */
- accountIdFilters?: OneAccountIdFilterList;
- /**
- * The criteria's check ID filters.
- */
- checkIdFilters?: CheckIdFilterList;
- /**
- * The criteria's failed resources filters.
- */
- failedResourcesFilters?: CisNumberFilterList;
- /**
- * The criteria's platform filters.
- */
- platformFilters?: PlatformFilterList;
- /**
- * The criteria's security level filters.
- */
- securityLevelFilters?: CisSecurityLevelFilterList;
- /**
- * The criteria's title filters.
- */
- titleFilters?: TitleFilterList;
- }
- export type CisScanResultsAggregatedByChecksSortBy = "CHECK_ID"|"TITLE"|"PLATFORM"|"FAILED_COUNTS"|"SECURITY_LEVEL"|string;
- export interface CisScanResultsAggregatedByTargetResourceFilterCriteria {
- /**
- * The criteria's account ID filters.
- */
- accountIdFilters?: AccountIdFilterList;
- /**
- * The criteria's check ID filters.
- */
- checkIdFilters?: CheckIdFilterList;
- /**
- * The criteria's failed checks filters.
- */
- failedChecksFilters?: CisNumberFilterList;
- /**
- * The criteria's platform filters.
- */
- platformFilters?: PlatformFilterList;
- /**
- * The criteria's status filter.
- */
- statusFilters?: CisResultStatusFilterList;
- /**
- * The criteria's target resource ID filters.
- */
- targetResourceIdFilters?: ResourceIdFilterList;
- /**
- * The criteria's target resource tag filters.
- */
- targetResourceTagFilters?: ResourceTagFilterList;
- /**
- * The criteria's target status filters.
- */
- targetStatusFilters?: TargetStatusFilterList;
- /**
- * The criteria's target status reason filters.
- */
- targetStatusReasonFilters?: TargetStatusReasonFilterList;
- }
- export type CisScanResultsAggregatedByTargetResourceSortBy = "RESOURCE_ID"|"FAILED_COUNTS"|"ACCOUNT_ID"|"PLATFORM"|"TARGET_STATUS"|"TARGET_STATUS_REASON"|string;
- export type CisScanResultsMaxResults = number;
- export type CisScanStatus = "FAILED"|"COMPLETED"|"CANCELLED"|"IN_PROGRESS"|string;
- export type CisScanStatusComparison = "EQUALS"|string;
- export interface CisScanStatusFilter {
- /**
- * The filter comparison value.
- */
- comparison: CisScanStatusComparison;
- /**
- * The filter value.
- */
- value: CisScanStatus;
- }
- export type CisScanStatusFilterList = CisScanStatusFilter[];
- export type CisScheduledByFilterList = CisStringFilter[];
- export type CisSecurityLevel = "LEVEL_1"|"LEVEL_2"|string;
- export type CisSecurityLevelComparison = "EQUALS"|string;
- export interface CisSecurityLevelFilter {
- /**
- * The CIS security filter comparison value.
- */
- comparison: CisSecurityLevelComparison;
- /**
- * The CIS security filter value.
- */
- value: CisSecurityLevel;
- }
- export type CisSecurityLevelFilterList = CisSecurityLevelFilter[];
- export interface CisSessionMessage {
- /**
- * The CIS rule details for the CIS session message.
- */
- cisRuleDetails: CisRuleDetails;
- /**
- * The rule ID for the CIS session message.
- */
- ruleId: RuleId;
- /**
- * The status of the CIS session message.
- */
- status: CisRuleStatus;
- }
- export type CisSessionMessages = CisSessionMessage[];
- export type CisSortOrder = "ASC"|"DESC"|string;
- export type CisStringComparison = "EQUALS"|"PREFIX"|"NOT_EQUALS"|string;
- export interface CisStringFilter {
- /**
- * The comparison value of the CIS string filter.
- */
- comparison: CisStringComparison;
- /**
- * The value of the CIS string filter.
- */
- value: String;
- }
- export type CisTagMap = {[key: string]: MapValue};
- export interface CisTargetResourceAggregation {
- /**
- * The account ID for the CIS target resource.
- */
- accountId?: AccountId;
- /**
- * The platform for the CIS target resource.
- */
- platform?: String;
- /**
- * The scan ARN for the CIS target resource.
- */
- scanArn: CisScanArn;
- /**
- * The target resource status counts.
- */
- statusCounts?: StatusCounts;
- /**
- * The ID of the target resource.
- */
- targetResourceId?: ResourceId;
- /**
- * The tag for the target resource.
- */
- targetResourceTags?: TargetResourceTags;
- /**
- * The status of the target resource.
- */
- targetStatus?: CisTargetStatus;
- /**
- * The reason for the target resource.
- */
- targetStatusReason?: CisTargetStatusReason;
- }
- export type CisTargetResourceAggregationList = CisTargetResourceAggregation[];
- export type CisTargetStatus = "TIMED_OUT"|"CANCELLED"|"COMPLETED"|string;
- export type CisTargetStatusComparison = "EQUALS"|string;
- export interface CisTargetStatusFilter {
- /**
- * The comparison value of the CIS target status filter.
- */
- comparison: CisTargetStatusComparison;
- /**
- * The value of the CIS target status filter.
- */
- value: CisTargetStatus;
- }
- export type CisTargetStatusReason = "SCAN_IN_PROGRESS"|"UNSUPPORTED_OS"|"SSM_UNMANAGED"|string;
- export interface CisTargetStatusReasonFilter {
- /**
- * The comparison value of the CIS target status reason filter.
- */
- comparison: CisTargetStatusComparison;
- /**
- * The value of the CIS target status reason filter.
- */
- value: CisTargetStatusReason;
- }
- export interface CisTargets {
- /**
- * The CIS target account ids.
- */
- accountIds?: CisAccountIdList;
- /**
- * The CIS target resource tags.
- */
- targetResourceTags?: TargetResourceTags;
- }
- export type CisaAction = string;
- export interface CisaData {
- /**
- * The remediation action recommended by CISA for this vulnerability.
- */
- action?: CisaAction;
- /**
- * The date and time CISA added this vulnerability to their catalogue.
- */
- dateAdded?: CisaDateAdded;
- /**
- * The date and time CISA expects a fix to have been provided vulnerability.
- */
- dateDue?: CisaDateDue;
- }
- export type CisaDateAdded = Date;
- export type CisaDateDue = Date;
- export type ClientToken = string;
- export interface CodeFilePath {
- /**
- * The line number of the last line of code that a vulnerability was found in.
- */
- endLine: Integer;
- /**
- * The name of the file the code vulnerability was found in.
- */
- fileName: NonEmptyString;
- /**
- * The file path to the code that a vulnerability was found in.
- */
- filePath: NonEmptyString;
- /**
- * The line number of the first line of code that a vulnerability was found in.
- */
- startLine: Integer;
- }
- export interface CodeLine {
- /**
- * The content of a line of code
- */
- content: CodeLineContentString;
- /**
- * The line number that a section of code is located at.
- */
- lineNumber: Integer;
- }
- export type CodeLineContentString = string;
- export type CodeLineList = CodeLine[];
- export interface CodeSnippetError {
- /**
- * The error code for the error that prevented a code snippet from being retrieved.
- */
- errorCode: CodeSnippetErrorCode;
- /**
- * The error message received when Amazon Inspector failed to retrieve a code snippet.
- */
- errorMessage: NonEmptyString;
- /**
- * The ARN of the finding that a code snippet couldn't be retrieved for.
- */
- findingArn: FindingArn;
- }
- export type CodeSnippetErrorCode = "INTERNAL_ERROR"|"ACCESS_DENIED"|"CODE_SNIPPET_NOT_FOUND"|"INVALID_INPUT"|string;
- export type CodeSnippetErrorList = CodeSnippetError[];
- export interface CodeSnippetResult {
- /**
- * Contains information on the retrieved code snippet.
- */
- codeSnippet?: CodeLineList;
- /**
- * The line number of the last line of a code snippet.
- */
- endLine?: Integer;
- /**
- * The ARN of a finding that the code snippet is associated with.
- */
- findingArn?: FindingArn;
- /**
- * The line number of the first line of a code snippet.
- */
- startLine?: Integer;
- /**
- * Details of a suggested code fix.
- */
- suggestedFixes?: SuggestedFixes;
- }
- export type CodeSnippetResultList = CodeSnippetResult[];
- export interface CodeVulnerabilityDetails {
- /**
- * The Common Weakness Enumeration (CWE) item associated with the detected vulnerability.
- */
- cwes: CweList;
- /**
- * The ID for the Amazon CodeGuru detector associated with the finding. For more information on detectors see Amazon CodeGuru Detector Library.
- */
- detectorId: NonEmptyString;
- /**
- * The name of the detector used to identify the code vulnerability. For more information on detectors see CodeGuru Detector Library.
- */
- detectorName: NonEmptyString;
- /**
- * The detector tag associated with the vulnerability. Detector tags group related vulnerabilities by common themes or tactics. For a list of available tags by programming language, see Java tags, or Python tags.
- */
- detectorTags?: DetectorTagList;
- /**
- * Contains information on where the code vulnerability is located in your code.
- */
- filePath: CodeFilePath;
- /**
- * A URL containing supporting documentation about the code vulnerability detected.
- */
- referenceUrls?: ReferenceUrls;
- /**
- * The identifier for a rule that was used to detect the code vulnerability.
- */
- ruleId?: NonEmptyString;
- /**
- * The Amazon Resource Name (ARN) of the Lambda layer that the code vulnerability was detected in.
- */
- sourceLambdaLayerArn?: LambdaLayerArn;
- }
- export type Component = string;
- export type ComponentType = string;
- export interface ComputePlatform {
- /**
- * The compute platform product.
- */
- product?: Product;
- /**
- * The compute platform vendor.
- */
- vendor?: Vendor;
- /**
- * The compute platform version.
- */
- version?: PlatformVersion;
- }
- export interface Counts {
- /**
- * The number of resources.
- */
- count?: AggCounts;
- /**
- * The key associated with this group
- */
- groupKey?: GroupKey;
- }
- export type CountsList = Counts[];
- export interface CoverageDateFilter {
- /**
- * A timestamp representing the end of the time period to filter results by.
- */
- endInclusive?: DateTimeTimestamp;
- /**
- * A timestamp representing the start of the time period to filter results by.
- */
- startInclusive?: DateTimeTimestamp;
- }
- export type CoverageDateFilterList = CoverageDateFilter[];
- export interface CoverageFilterCriteria {
- /**
- * An array of Amazon Web Services account IDs to return coverage statistics for.
- */
- accountId?: CoverageStringFilterList;
- /**
- * The Amazon EC2 instance tags to filter on.
- */
- ec2InstanceTags?: CoverageMapFilterList;
- /**
- * The Amazon ECR image tags to filter on.
- */
- ecrImageTags?: CoverageStringFilterList;
- /**
- * The Amazon ECR repository name to filter on.
- */
- ecrRepositoryName?: CoverageStringFilterList;
- /**
- * The date an image was last pulled at.
- */
- imagePulledAt?: CoverageDateFilterList;
- /**
- * Returns coverage statistics for Amazon Web Services Lambda functions filtered by function names.
- */
- lambdaFunctionName?: CoverageStringFilterList;
- /**
- * Returns coverage statistics for Amazon Web Services Lambda functions filtered by runtime.
- */
- lambdaFunctionRuntime?: CoverageStringFilterList;
- /**
- * Returns coverage statistics for Amazon Web Services Lambda functions filtered by tag.
- */
- lambdaFunctionTags?: CoverageMapFilterList;
- /**
- * Filters Amazon Web Services resources based on whether Amazon Inspector has checked them for vulnerabilities within the specified time range.
- */
- lastScannedAt?: CoverageDateFilterList;
- /**
- * An array of Amazon Web Services resource IDs to return coverage statistics for.
- */
- resourceId?: CoverageStringFilterList;
- /**
- * An array of Amazon Web Services resource types to return coverage statistics for. The values can be AWS_EC2_INSTANCE, AWS_LAMBDA_FUNCTION, AWS_ECR_CONTAINER_IMAGE, AWS_ECR_REPOSITORY or AWS_ACCOUNT.
- */
- resourceType?: CoverageStringFilterList;
- /**
- * The filter to search for Amazon EC2 instance coverage by scan mode. Valid values are EC2_SSM_AGENT_BASED and EC2_HYBRID.
- */
- scanMode?: CoverageStringFilterList;
- /**
- * The scan status code to filter on. Valid values are: ValidationException, InternalServerException, ResourceNotFoundException, BadRequestException, and ThrottlingException.
- */
- scanStatusCode?: CoverageStringFilterList;
- /**
- * The scan status reason to filter on.
- */
- scanStatusReason?: CoverageStringFilterList;
- /**
- * An array of Amazon Inspector scan types to return coverage statistics for.
- */
- scanType?: CoverageStringFilterList;
- }
- export type CoverageMapComparison = "EQUALS"|string;
- export interface CoverageMapFilter {
- /**
- * The operator to compare coverage on.
- */
- comparison: CoverageMapComparison;
- /**
- * The tag key associated with the coverage map filter.
- */
- key: NonEmptyString;
- /**
- * The tag value associated with the coverage map filter.
- */
- value?: NonEmptyString;
- }
- export type CoverageMapFilterList = CoverageMapFilter[];
- export type CoverageResourceType = "AWS_EC2_INSTANCE"|"AWS_ECR_CONTAINER_IMAGE"|"AWS_ECR_REPOSITORY"|"AWS_LAMBDA_FUNCTION"|string;
- export type CoverageStringComparison = "EQUALS"|"NOT_EQUALS"|string;
- export interface CoverageStringFilter {
- /**
- * The operator to compare strings on.
- */
- comparison: CoverageStringComparison;
- /**
- * The value to compare strings on.
- */
- value: CoverageStringInput;
- }
- export type CoverageStringFilterList = CoverageStringFilter[];
- export type CoverageStringInput = string;
- export interface CoveredResource {
- /**
- * The Amazon Web Services account ID of the covered resource.
- */
- accountId: AccountId;
- /**
- * The date and time the resource was last checked for vulnerabilities.
- */
- lastScannedAt?: DateTimeTimestamp;
- /**
- * The ID of the covered resource.
- */
- resourceId: ResourceId;
- /**
- * An object that contains details about the metadata.
- */
- resourceMetadata?: ResourceScanMetadata;
- /**
- * The type of the covered resource.
- */
- resourceType: CoverageResourceType;
- /**
- * The scan method that is applied to the instance.
- */
- scanMode?: ScanMode;
- /**
- * The status of the scan covering the resource.
- */
- scanStatus?: ScanStatus;
- /**
- * The Amazon Inspector scan type covering the resource.
- */
- scanType: ScanType;
- }
- export type CoveredResources = CoveredResource[];
- export interface CreateCisScanConfigurationRequest {
- /**
- * The scan name for the CIS scan configuration.
- */
- scanName: CisScanName;
- /**
- * The schedule for the CIS scan configuration.
- */
- schedule: Schedule;
- /**
- * The security level for the CIS scan configuration. Security level refers to the Benchmark levels that CIS assigns to a profile.
- */
- securityLevel: CisSecurityLevel;
- /**
- * The tags for the CIS scan configuration.
- */
- tags?: CisTagMap;
- /**
- * The targets for the CIS scan configuration.
- */
- targets: CreateCisTargets;
- }
- export interface CreateCisScanConfigurationResponse {
- /**
- * The scan configuration ARN for the CIS scan configuration.
- */
- scanConfigurationArn?: CisScanConfigurationArn;
- }
- export interface CreateCisTargets {
- /**
- * The CIS target account ids.
- */
- accountIds: TargetAccountList;
- /**
- * The CIS target resource tags.
- */
- targetResourceTags: TargetResourceTags;
- }
- export interface CreateFilterRequest {
- /**
- * Defines the action that is to be applied to the findings that match the filter.
- */
- action: FilterAction;
- /**
- * A description of the filter.
- */
- description?: FilterDescription;
- /**
- * Defines the criteria to be used in the filter for querying findings.
- */
- filterCriteria: FilterCriteria;
- /**
- * The name of the filter. Minimum length of 3. Maximum length of 64. Valid characters include alphanumeric characters, dot (.), underscore (_), and dash (-). Spaces are not allowed.
- */
- name: FilterName;
- /**
- * The reason for creating the filter.
- */
- reason?: FilterReason;
- /**
- * A list of tags for the filter.
- */
- tags?: TagMap;
- }
- export interface CreateFilterResponse {
- /**
- * The Amazon Resource Number (ARN) of the successfully created filter.
- */
- arn: FilterArn;
- }
- export interface CreateFindingsReportRequest {
- /**
- * The filter criteria to apply to the results of the finding report.
- */
- filterCriteria?: FilterCriteria;
- /**
- * The format to generate the report in.
- */
- reportFormat: ReportFormat;
- /**
- * The Amazon S3 export destination for the report.
- */
- s3Destination: Destination;
- }
- export interface CreateFindingsReportResponse {
- /**
- * The ID of the report.
- */
- reportId?: ReportId;
- }
- export interface CreateSbomExportRequest {
- /**
- * The output format for the software bill of materials (SBOM) report.
- */
- reportFormat: SbomReportFormat;
- /**
- * The resource filter criteria for the software bill of materials (SBOM) report.
- */
- resourceFilterCriteria?: ResourceFilterCriteria;
- s3Destination: Destination;
- }
- export interface CreateSbomExportResponse {
- /**
- * The report ID for the software bill of materials (SBOM) report.
- */
- reportId?: ReportId;
- }
- export type Currency = "USD"|string;
- export interface Cvss2 {
- /**
- * The CVSS v2 base score for the vulnerability.
- */
- baseScore?: Cvss2BaseScore;
- /**
- * The scoring vector associated with the CVSS v2 score.
- */
- scoringVector?: Cvss2ScoringVector;
- }
- export type Cvss2BaseScore = number;
- export type Cvss2ScoringVector = string;
- export interface Cvss3 {
- /**
- * The CVSS v3 base score for the vulnerability.
- */
- baseScore?: Cvss3BaseScore;
- /**
- * The scoring vector associated with the CVSS v3 score.
- */
- scoringVector?: Cvss3ScoringVector;
- }
- export type Cvss3BaseScore = number;
- export type Cvss3ScoringVector = string;
- export interface CvssScore {
- /**
- * The base CVSS score used for the finding.
- */
- baseScore: Double;
- /**
- * The vector string of the CVSS score.
- */
- scoringVector: NonEmptyString;
- /**
- * The source of the CVSS score.
- */
- source: NonEmptyString;
- /**
- * The version of CVSS used for the score.
- */
- version: NonEmptyString;
- }
- export interface CvssScoreAdjustment {
- /**
- * The metric used to adjust the CVSS score.
- */
- metric: NonEmptyString;
- /**
- * The reason the CVSS score has been adjustment.
- */
- reason: NonEmptyString;
- }
- export type CvssScoreAdjustmentList = CvssScoreAdjustment[];
- export interface CvssScoreDetails {
- /**
- * An object that contains details about adjustment Amazon Inspector made to the CVSS score.
- */
- adjustments?: CvssScoreAdjustmentList;
- /**
- * The source of the CVSS data.
- */
- cvssSource?: NonEmptyString;
- /**
- * The CVSS score.
- */
- score: Double;
- /**
- * The source for the CVSS score.
- */
- scoreSource: NonEmptyString;
- /**
- * The vector for the CVSS score.
- */
- scoringVector: NonEmptyString;
- /**
- * The CVSS version used in scoring.
- */
- version: NonEmptyString;
- }
- export type CvssScoreList = CvssScore[];
- export type Cwe = string;
- export type CweList = NonEmptyString[];
- export type Cwes = Cwe[];
- export interface DailySchedule {
- /**
- * The schedule start time.
- */
- startTime: Time;
- }
- export interface DateFilter {
- /**
- * A timestamp representing the end of the time period filtered on.
- */
- endInclusive?: Timestamp;
- /**
- * A timestamp representing the start of the time period filtered on.
- */
- startInclusive?: Timestamp;
- }
- export type DateFilterList = DateFilter[];
- export type DateTimeTimestamp = Date;
- export type Day = "SUN"|"MON"|"TUE"|"WED"|"THU"|"FRI"|"SAT"|string;
- export type DaysList = Day[];
- export interface DelegatedAdmin {
- /**
- * The Amazon Web Services account ID of the Amazon Inspector delegated administrator for your organization.
- */
- accountId?: AccountId;
- /**
- * The status of the Amazon Inspector delegated administrator.
- */
- relationshipStatus?: RelationshipStatus;
- }
- export interface DelegatedAdminAccount {
- /**
- * The Amazon Web Services account ID of the Amazon Inspector delegated administrator for your organization.
- */
- accountId?: AccountId;
- /**
- * The status of the Amazon Inspector delegated administrator.
- */
- status?: DelegatedAdminStatus;
- }
- export type DelegatedAdminAccountList = DelegatedAdminAccount[];
- export type DelegatedAdminStatus = "ENABLED"|"DISABLE_IN_PROGRESS"|string;
- export interface DeleteCisScanConfigurationRequest {
- /**
- * The ARN of the CIS scan configuration.
- */
- scanConfigurationArn: CisScanConfigurationArn;
- }
- export interface DeleteCisScanConfigurationResponse {
- /**
- * The ARN of the CIS scan configuration.
- */
- scanConfigurationArn: CisScanConfigurationArn;
- }
- export interface DeleteFilterRequest {
- /**
- * The Amazon Resource Number (ARN) of the filter to be deleted.
- */
- arn: FilterArn;
- }
- export interface DeleteFilterResponse {
- /**
- * The Amazon Resource Number (ARN) of the filter that has been deleted.
- */
- arn: FilterArn;
- }
- export interface DescribeOrganizationConfigurationRequest {
- }
- export interface DescribeOrganizationConfigurationResponse {
- /**
- * The scan types are automatically enabled for new members of your organization.
- */
- autoEnable?: AutoEnable;
- /**
- * Represents whether your organization has reached the maximum Amazon Web Services account limit for Amazon Inspector.
- */
- maxAccountLimitReached?: Boolean;
- }
- export interface Destination {
- /**
- * The name of the Amazon S3 bucket to export findings to.
- */
- bucketName: String;
- /**
- * The prefix that the findings will be written under.
- */
- keyPrefix?: String;
- /**
- * The ARN of the KMS key used to encrypt data when exporting findings.
- */
- kmsKeyArn: String;
- }
- export type DetectionPlatforms = NonEmptyString[];
- export type DetectorTagList = NonEmptyString[];
- export interface DisableDelegatedAdminAccountRequest {
- /**
- * The Amazon Web Services account ID of the current Amazon Inspector delegated administrator.
- */
- delegatedAdminAccountId: AccountId;
- }
- export interface DisableDelegatedAdminAccountResponse {
- /**
- * The Amazon Web Services account ID of the successfully disabled delegated administrator.
- */
- delegatedAdminAccountId: AccountId;
- }
- export interface DisableRequest {
- /**
- * An array of account IDs you want to disable Amazon Inspector scans for.
- */
- accountIds?: AccountIdSet;
- /**
- * The resource scan types you want to disable.
- */
- resourceTypes?: DisableResourceTypeList;
- }
- export type DisableResourceTypeList = ResourceScanType[];
- export interface DisableResponse {
- /**
- * Information on the accounts that have had Amazon Inspector scans successfully disabled. Details are provided for each account.
- */
- accounts: AccountList;
- /**
- * Information on any accounts for which Amazon Inspector scans could not be disabled. Details are provided for each account.
- */
- failedAccounts?: FailedAccountList;
- }
- export interface DisassociateMemberRequest {
- /**
- * The Amazon Web Services account ID of the member account to disassociate.
- */
- accountId: AccountId;
- }
- export interface DisassociateMemberResponse {
- /**
- * The Amazon Web Services account ID of the successfully disassociated member.
- */
- accountId: AccountId;
- }
- export type Double = number;
- export interface Ec2Configuration {
- /**
- * The scan method that is applied to the instance.
- */
- scanMode: Ec2ScanMode;
- }
- export interface Ec2ConfigurationState {
- /**
- * An object that contains details about the state of the Amazon EC2 scan mode.
- */
- scanModeState?: Ec2ScanModeState;
- }
- export type Ec2DeepInspectionStatus = "ACTIVATED"|"DEACTIVATED"|"PENDING"|"FAILED"|string;
- export interface Ec2InstanceAggregation {
- /**
- * The AMI IDs associated with the Amazon EC2 instances to aggregate findings for.
- */
- amis?: StringFilterList;
- /**
- * The Amazon EC2 instance IDs to aggregate findings for.
- */
- instanceIds?: StringFilterList;
- /**
- * The Amazon EC2 instance tags to aggregate findings for.
- */
- instanceTags?: MapFilterList;
- /**
- * The operating system types to aggregate findings for. Valid values must be uppercase and underscore separated, examples are ORACLE_LINUX_7 and ALPINE_LINUX_3_8.
- */
- operatingSystems?: StringFilterList;
- /**
- * The value to sort results by.
- */
- sortBy?: Ec2InstanceSortBy;
- /**
- * The order to sort results by.
- */
- sortOrder?: SortOrder;
- }
- export interface Ec2InstanceAggregationResponse {
- /**
- * The Amazon Web Services account for the Amazon EC2 instance.
- */
- accountId?: String;
- /**
- * The Amazon Machine Image (AMI) of the Amazon EC2 instance.
- */
- ami?: AmiId;
- /**
- * The Amazon EC2 instance ID.
- */
- instanceId: NonEmptyString;
- /**
- * The tags attached to the instance.
- */
- instanceTags?: TagMap;
- /**
- * The number of network findings for the Amazon EC2 instance.
- */
- networkFindings?: Long;
- /**
- * The operating system of the Amazon EC2 instance.
- */
- operatingSystem?: String;
- /**
- * An object that contains the count of matched findings per severity.
- */
- severityCounts?: SeverityCounts;
- }
- export type Ec2InstanceSortBy = "NETWORK_FINDINGS"|"CRITICAL"|"HIGH"|"ALL"|string;
- export interface Ec2Metadata {
- /**
- * The ID of the Amazon Machine Image (AMI) used to launch the instance.
- */
- amiId?: AmiId;
- /**
- * The platform of the instance.
- */
- platform?: Ec2Platform;
- /**
- * The tags attached to the instance.
- */
- tags?: TagMap;
- }
- export type Ec2Platform = "WINDOWS"|"LINUX"|"UNKNOWN"|"MACOS"|string;
- export type Ec2ScanMode = "EC2_SSM_AGENT_BASED"|"EC2_HYBRID"|string;
- export interface Ec2ScanModeState {
- /**
- * The scan method that is applied to the instance.
- */
- scanMode?: Ec2ScanMode;
- /**
- * The status of the Amazon EC2 scan mode setting.
- */
- scanModeStatus?: Ec2ScanModeStatus;
- }
- export type Ec2ScanModeStatus = "SUCCESS"|"PENDING"|string;
- export interface EcrConfiguration {
- /**
- * The rescan duration configured for image pull date.
- */
- pullDateRescanDuration?: EcrPullDateRescanDuration;
- /**
- * The rescan duration configured for image push date.
- */
- rescanDuration: EcrRescanDuration;
- }
- export interface EcrConfigurationState {
- /**
- * An object that contains details about the state of the ECR re-scan settings.
- */
- rescanDurationState?: EcrRescanDurationState;
- }
- export interface EcrContainerImageMetadata {
- /**
- * The date an image was last pulled at.
- */
- imagePulledAt?: DateTimeTimestamp;
- /**
- * Tags associated with the Amazon ECR image metadata.
- */
- tags?: TagList;
- }
- export type EcrPullDateRescanDuration = "DAYS_14"|"DAYS_30"|"DAYS_60"|"DAYS_90"|"DAYS_180"|string;
- export interface EcrRepositoryMetadata {
- /**
- * The name of the Amazon ECR repository.
- */
- name?: String;
- /**
- * The frequency of scans.
- */
- scanFrequency?: EcrScanFrequency;
- }
- export type EcrRescanDuration = "LIFETIME"|"DAYS_30"|"DAYS_180"|"DAYS_14"|"DAYS_60"|"DAYS_90"|string;
- export interface EcrRescanDurationState {
- /**
- * The rescan duration configured for image pull date.
- */
- pullDateRescanDuration?: EcrPullDateRescanDuration;
- /**
- * The rescan duration configured for image push date. </p>
- */
- rescanDuration?: EcrRescanDuration;
- /**
- * The status of changes to the ECR automated re-scan duration.
- */
- status?: EcrRescanDurationStatus;
- /**
- * A timestamp representing when the last time the ECR scan duration setting was changed.
- */
- updatedAt?: DateTimeTimestamp;
- }
- export type EcrRescanDurationStatus = "SUCCESS"|"PENDING"|"FAILED"|string;
- export type EcrScanFrequency = "MANUAL"|"SCAN_ON_PUSH"|"CONTINUOUS_SCAN"|string;
- export interface EnableDelegatedAdminAccountRequest {
- /**
- * The idempotency token for the request.
- */
- clientToken?: ClientToken;
- /**
- * The Amazon Web Services account ID of the Amazon Inspector delegated administrator.
- */
- delegatedAdminAccountId: AccountId;
- }
- export interface EnableDelegatedAdminAccountResponse {
- /**
- * The Amazon Web Services account ID of the successfully Amazon Inspector delegated administrator.
- */
- delegatedAdminAccountId: AccountId;
- }
- export interface EnableRequest {
- /**
- * A list of account IDs you want to enable Amazon Inspector scans for.
- */
- accountIds?: AccountIdSet;
- /**
- * The idempotency token for the request.
- */
- clientToken?: ClientToken;
- /**
- * The resource scan types you want to enable.
- */
- resourceTypes: EnableResourceTypeList;
- }
- export type EnableResourceTypeList = ResourceScanType[];
- export interface EnableResponse {
- /**
- * Information on the accounts that have had Amazon Inspector scans successfully enabled. Details are provided for each account.
- */
- accounts: AccountList;
- /**
- * Information on any accounts for which Amazon Inspector scans could not be enabled. Details are provided for each account.
- */
- failedAccounts?: FailedAccountList;
- }
- export interface Epss {
- /**
- * The Exploit Prediction Scoring System (EPSS) score.
- */
- score?: EpssScore;
- }
- export interface EpssDetails {
- /**
- * The EPSS score.
- */
- score?: EpssScoreValue;
- }
- export type EpssScore = number;
- export type EpssScoreValue = number;
- export type ErrorCode = "ALREADY_ENABLED"|"ENABLE_IN_PROGRESS"|"DISABLE_IN_PROGRESS"|"SUSPEND_IN_PROGRESS"|"RESOURCE_NOT_FOUND"|"ACCESS_DENIED"|"INTERNAL_ERROR"|"SSM_UNAVAILABLE"|"SSM_THROTTLED"|"EVENTBRIDGE_UNAVAILABLE"|"EVENTBRIDGE_THROTTLED"|"RESOURCE_SCAN_NOT_DISABLED"|"DISASSOCIATE_ALL_MEMBERS"|"ACCOUNT_IS_ISOLATED"|string;
- export type ErrorMessage = string;
- export interface Evidence {
- /**
- * The evidence details.
- */
- evidenceDetail?: EvidenceDetail;
- /**
- * The evidence rule.
- */
- evidenceRule?: EvidenceRule;
- /**
- * The evidence severity.
- */
- severity?: EvidenceSeverity;
- }
- export type EvidenceDetail = string;
- export type EvidenceList = Evidence[];
- export type EvidenceRule = string;
- export type EvidenceSeverity = string;
- export type ExecutionRoleArn = string;
- export type ExploitAvailable = "YES"|"NO"|string;
- export interface ExploitObserved {
- /**
- * The date an time when the exploit was first seen.
- */
- firstSeen?: FirstSeen;
- /**
- * The date an time when the exploit was last seen.
- */
- lastSeen?: LastSeen;
- }
- export interface ExploitabilityDetails {
- /**
- * The date and time of the last exploit associated with a finding discovered in your environment.
- */
- lastKnownExploitAt?: DateTimeTimestamp;
- }
- export type ExternalReportStatus = "SUCCEEDED"|"IN_PROGRESS"|"CANCELLED"|"FAILED"|string;
- export interface FailedAccount {
- /**
- * The Amazon Web Services account ID.
- */
- accountId: AccountId;
- /**
- * The error code explaining why the account failed to enable Amazon Inspector.
- */
- errorCode: ErrorCode;
- /**
- * The error message received when the account failed to enable Amazon Inspector.
- */
- errorMessage: NonEmptyString;
- /**
- * An object detailing which resources Amazon Inspector is enabled to scan for the account.
- */
- resourceStatus?: ResourceStatus;
- /**
- * The status of Amazon Inspector for the account.
- */
- status?: Status;
- }
- export type FailedAccountList = FailedAccount[];
- export interface FailedMemberAccountEc2DeepInspectionStatusState {
- /**
- * The unique identifier for the Amazon Web Services account of the organization member that failed to activate Amazon Inspector deep inspection.
- */
- accountId: AccountId;
- /**
- * The status of EC2 scanning in the account that failed to activate Amazon Inspector deep inspection.
- */
- ec2ScanStatus?: Status;
- /**
- * The error message explaining why the account failed to activate Amazon Inspector deep inspection.
- */
- errorMessage?: NonEmptyString;
- }
- export type FailedMemberAccountEc2DeepInspectionStatusStateList = FailedMemberAccountEc2DeepInspectionStatusState[];
- export type FilePath = string;
- export interface Filter {
- /**
- * The action that is to be applied to the findings that match the filter.
- */
- action: FilterAction;
- /**
- * The Amazon Resource Number (ARN) associated with this filter.
- */
- arn: FilterArn;
- /**
- * The date and time this filter was created at.
- */
- createdAt: DateTimeTimestamp;
- /**
- * Details on the filter criteria associated with this filter.
- */
- criteria: FilterCriteria;
- /**
- * A description of the filter.
- */
- description?: FilterDescription;
- /**
- * The name of the filter.
- */
- name: FilterName;
- /**
- * The Amazon Web Services account ID of the account that created the filter.
- */
- ownerId: OwnerId;
- /**
- * The reason for the filter.
- */
- reason?: FilterReason;
- /**
- * The tags attached to the filter.
- */
- tags?: TagMap;
- /**
- * The date and time the filter was last updated at.
- */
- updatedAt: DateTimeTimestamp;
- }
- export type FilterAction = "NONE"|"SUPPRESS"|string;
- export type FilterArn = string;
- export type FilterArnList = FilterArn[];
- export interface FilterCriteria {
- /**
- * Details of the Amazon Web Services account IDs used to filter findings.
- */
- awsAccountId?: StringFilterList;
- /**
- * The name of the detector used to identify a code vulnerability in a Lambda function used to filter findings.
- */
- codeVulnerabilityDetectorName?: StringFilterList;
- /**
- * The detector type tag associated with the vulnerability used to filter findings. Detector tags group related vulnerabilities by common themes or tactics. For a list of available tags by programming language, see Java tags, or Python tags.
- */
- codeVulnerabilityDetectorTags?: StringFilterList;
- /**
- * The file path to the file in a Lambda function that contains a code vulnerability used to filter findings.
- */
- codeVulnerabilityFilePath?: StringFilterList;
- /**
- * Details of the component IDs used to filter findings.
- */
- componentId?: StringFilterList;
- /**
- * Details of the component types used to filter findings.
- */
- componentType?: StringFilterList;
- /**
- * Details of the Amazon EC2 instance image IDs used to filter findings.
- */
- ec2InstanceImageId?: StringFilterList;
- /**
- * Details of the Amazon EC2 instance subnet IDs used to filter findings.
- */
- ec2InstanceSubnetId?: StringFilterList;
- /**
- * Details of the Amazon EC2 instance VPC IDs used to filter findings.
- */
- ec2InstanceVpcId?: StringFilterList;
- /**
- * Details of the Amazon ECR image architecture types used to filter findings.
- */
- ecrImageArchitecture?: StringFilterList;
- /**
- * Details of the Amazon ECR image hashes used to filter findings.
- */
- ecrImageHash?: StringFilterList;
- /**
- * Details on the Amazon ECR image push date and time used to filter findings.
- */
- ecrImagePushedAt?: DateFilterList;
- /**
- * Details on the Amazon ECR registry used to filter findings.
- */
- ecrImageRegistry?: StringFilterList;
- /**
- * Details on the name of the Amazon ECR repository used to filter findings.
- */
- ecrImageRepositoryName?: StringFilterList;
- /**
- * The tags attached to the Amazon ECR container image.
- */
- ecrImageTags?: StringFilterList;
- /**
- * The EPSS score used to filter findings.
- */
- epssScore?: NumberFilterList;
- /**
- * Filters the list of Amazon Web Services Lambda findings by the availability of exploits.
- */
- exploitAvailable?: StringFilterList;
- /**
- * Details on the finding ARNs used to filter findings.
- */
- findingArn?: StringFilterList;
- /**
- * Details on the finding status types used to filter findings.
- */
- findingStatus?: StringFilterList;
- /**
- * Details on the finding types used to filter findings.
- */
- findingType?: StringFilterList;
- /**
- * Details on the date and time a finding was first seen used to filter findings.
- */
- firstObservedAt?: DateFilterList;
- /**
- * Details on whether a fix is available through a version update. This value can be YES, NO, or PARTIAL. A PARTIAL fix means that some, but not all, of the packages identified in the finding have fixes available through updated versions.
- */
- fixAvailable?: StringFilterList;
- /**
- * The Amazon Inspector score to filter on.
- */
- inspectorScore?: NumberFilterList;
- /**
- * Filters the list of Amazon Web Services Lambda functions by execution role.
- */
- lambdaFunctionExecutionRoleArn?: StringFilterList;
- /**
- * Filters the list of Amazon Web Services Lambda functions by the date and time that a user last updated the configuration, in ISO 8601 format
- */
- lambdaFunctionLastModifiedAt?: DateFilterList;
- /**
- * Filters the list of Amazon Web Services Lambda functions by the function's layers. A Lambda function can have up to five layers.
- */
- lambdaFunctionLayers?: StringFilterList;
- /**
- * Filters the list of Amazon Web Services Lambda functions by the name of the function.
- */
- lambdaFunctionName?: StringFilterList;
- /**
- * Filters the list of Amazon Web Services Lambda functions by the runtime environment for the Lambda function.
- */
- lambdaFunctionRuntime?: StringFilterList;
- /**
- * Details on the date and time a finding was last seen used to filter findings.
- */
- lastObservedAt?: DateFilterList;
- /**
- * Details on network protocol used to filter findings.
- */
- networkProtocol?: StringFilterList;
- /**
- * Details on the port ranges used to filter findings.
- */
- portRange?: PortRangeFilterList;
- /**
- * Details on the related vulnerabilities used to filter findings.
- */
- relatedVulnerabilities?: StringFilterList;
- /**
- * Details on the resource IDs used to filter findings.
- */
- resourceId?: StringFilterList;
- /**
- * Details on the resource tags used to filter findings.
- */
- resourceTags?: MapFilterList;
- /**
- * Details on the resource types used to filter findings.
- */
- resourceType?: StringFilterList;
- /**
- * Details on the severity used to filter findings.
- */
- severity?: StringFilterList;
- /**
- * Details on the finding title used to filter findings.
- */
- title?: StringFilterList;
- /**
- * Details on the date and time a finding was last updated at used to filter findings.
- */
- updatedAt?: DateFilterList;
- /**
- * Details on the vendor severity used to filter findings.
- */
- vendorSeverity?: StringFilterList;
- /**
- * Details on the vulnerability ID used to filter findings.
- */
- vulnerabilityId?: StringFilterList;
- /**
- * Details on the vulnerability type used to filter findings.
- */
- vulnerabilitySource?: StringFilterList;
- /**
- * Details on the vulnerable packages used to filter findings.
- */
- vulnerablePackages?: PackageFilterList;
- }
- export type FilterDescription = string;
- export type FilterList = Filter[];
- export type FilterName = string;
- export type FilterReason = string;
- export interface Finding {
- /**
- * The Amazon Web Services account ID associated with the finding.
- */
- awsAccountId: AccountId;
- /**
- * Details about the code vulnerability identified in a Lambda function used to filter findings.
- */
- codeVulnerabilityDetails?: CodeVulnerabilityDetails;
- /**
- * The description of the finding.
- */
- description: FindingDescription;
- /**
- * The finding's EPSS score.
- */
- epss?: EpssDetails;
- /**
- * If a finding discovered in your environment has an exploit available.
- */
- exploitAvailable?: ExploitAvailable;
- /**
- * The details of an exploit available for a finding discovered in your environment.
- */
- exploitabilityDetails?: ExploitabilityDetails;
- /**
- * The Amazon Resource Number (ARN) of the finding.
- */
- findingArn: FindingArn;
- /**
- * The date and time that the finding was first observed.
- */
- firstObservedAt: DateTimeTimestamp;
- /**
- * Details on whether a fix is available through a version update. This value can be YES, NO, or PARTIAL. A PARTIAL fix means that some, but not all, of the packages identified in the finding have fixes available through updated versions.
- */
- fixAvailable?: FixAvailable;
- /**
- * The Amazon Inspector score given to the finding.
- */
- inspectorScore?: Double;
- /**
- * An object that contains details of the Amazon Inspector score.
- */
- inspectorScoreDetails?: InspectorScoreDetails;
- /**
- * The date and time the finding was last observed. This timestamp for this field remains unchanged until a finding is updated.
- */
- lastObservedAt: DateTimeTimestamp;
- /**
- * An object that contains the details of a network reachability finding.
- */
- networkReachabilityDetails?: NetworkReachabilityDetails;
- /**
- * An object that contains the details of a package vulnerability finding.
- */
- packageVulnerabilityDetails?: PackageVulnerabilityDetails;
- /**
- * An object that contains the details about how to remediate a finding.
- */
- remediation: Remediation;
- /**
- * Contains information on the resources involved in a finding. The resource value determines the valid values for type in your request. For more information, see Finding types in the Amazon Inspector user guide.
- */
- resources: ResourceList;
- /**
- * The severity of the finding. UNTRIAGED applies to PACKAGE_VULNERABILITY type findings that the vendor has not assigned a severity yet. For more information, see Severity levels for findings in the Amazon Inspector user guide.
- */
- severity: Severity;
- /**
- * The status of the finding.
- */
- status: FindingStatus;
- /**
- * The title of the finding.
- */
- title?: FindingTitle;
- /**
- * The type of the finding. The type value determines the valid values for resource in your request. For more information, see Finding types in the Amazon Inspector user guide.
- */
- type: FindingType;
- /**
- * The date and time the finding was last updated at.
- */
- updatedAt?: DateTimeTimestamp;
- }
- export type FindingArn = string;
- export type FindingArnList = FindingArn[];
- export type FindingDescription = string;
- export interface FindingDetail {
- cisaData?: CisaData;
- /**
- * The Common Weakness Enumerations (CWEs) associated with the vulnerability.
- */
- cwes?: Cwes;
- /**
- * The Exploit Prediction Scoring System (EPSS) score of the vulnerability.
- */
- epssScore?: Double;
- /**
- * Information on the evidence of the vulnerability.
- */
- evidences?: EvidenceList;
- exploitObserved?: ExploitObserved;
- /**
- * The finding ARN that the vulnerability details are associated with.
- */
- findingArn?: FindingArn;
- /**
- * The reference URLs for the vulnerability data.
- */
- referenceUrls?: VulnerabilityReferenceUrls;
- /**
- * The risk score of the vulnerability.
- */
- riskScore?: RiskScore;
- /**
- * The known malware tools or kits that can exploit the vulnerability.
- */
- tools?: Tools;
- /**
- * The MITRE adversary tactics, techniques, or procedures (TTPs) associated with the vulnerability.
- */
- ttps?: Ttps;
- }
- export type FindingDetails = FindingDetail[];
- export interface FindingDetailsError {
- /**
- * The error code.
- */
- errorCode: FindingDetailsErrorCode;
- /**
- * The error message.
- */
- errorMessage: NonEmptyString;
- /**
- * The finding ARN that returned an error.
- */
- findingArn: FindingArn;
- }
- export type FindingDetailsErrorCode = "INTERNAL_ERROR"|"ACCESS_DENIED"|"FINDING_DETAILS_NOT_FOUND"|"INVALID_INPUT"|string;
- export type FindingDetailsErrorList = FindingDetailsError[];
- export type FindingList = Finding[];
- export type FindingStatus = "ACTIVE"|"SUPPRESSED"|"CLOSED"|string;
- export type FindingTitle = string;
- export type FindingType = "NETWORK_REACHABILITY"|"PACKAGE_VULNERABILITY"|"CODE_VULNERABILITY"|string;
- export interface FindingTypeAggregation {
- /**
- * The finding type to aggregate.
- */
- findingType?: AggregationFindingType;
- /**
- * The resource type to aggregate.
- */
- resourceType?: AggregationResourceType;
- /**
- * The value to sort results by.
- */
- sortBy?: FindingTypeSortBy;
- /**
- * The order to sort results by.
- */
- sortOrder?: SortOrder;
- }
- export interface FindingTypeAggregationResponse {
- /**
- * The ID of the Amazon Web Services account associated with the findings.
- */
- accountId?: AccountId;
- /**
- * The value to sort results by.
- */
- severityCounts?: SeverityCounts;
- }
- export type FindingTypeSortBy = "CRITICAL"|"HIGH"|"ALL"|string;
- export type FirstSeen = Date;
- export type FixAvailable = "YES"|"NO"|"PARTIAL"|string;
- export interface FreeTrialAccountInfo {
- /**
- * The account associated with the Amazon Inspector free trial information.
- */
- accountId: MeteringAccountId;
- /**
- * Contains information about the Amazon Inspector free trial for an account.
- */
- freeTrialInfo: FreeTrialInfoList;
- }
- export type FreeTrialAccountInfoList = FreeTrialAccountInfo[];
- export interface FreeTrialInfo {
- /**
- * The date and time that the Amazon Inspector free trail ends for a given account.
- */
- end: Timestamp;
- /**
- * The date and time that the Amazon Inspector free trail started for a given account.
- */
- start: Timestamp;
- /**
- * The order to sort results by.
- */
- status: FreeTrialStatus;
- /**
- * The type of scan covered by the Amazon Inspector free trail.
- */
- type: FreeTrialType;
- }
- export interface FreeTrialInfoError {
- /**
- * The account associated with the Amazon Inspector free trial information.
- */
- accountId: MeteringAccountId;
- /**
- * The error code.
- */
- code: FreeTrialInfoErrorCode;
- /**
- * The error message returned.
- */
- message: String;
- }
- export type FreeTrialInfoErrorCode = "ACCESS_DENIED"|"INTERNAL_ERROR"|string;
- export type FreeTrialInfoErrorList = FreeTrialInfoError[];
- export type FreeTrialInfoList = FreeTrialInfo[];
- export type FreeTrialStatus = "ACTIVE"|"INACTIVE"|string;
- export type FreeTrialType = "EC2"|"ECR"|"LAMBDA"|"LAMBDA_CODE"|string;
- export type FunctionName = string;
- export interface GetCisScanReportRequest {
- /**
- * The format of the report. Valid values are PDF and CSV. If no value is specified, the report format defaults to PDF.
- */
- reportFormat?: CisReportFormat;
- /**
- * The scan ARN.
- */
- scanArn: CisScanArn;
- /**
- * The target accounts.
- */
- targetAccounts?: ReportTargetAccounts;
- }
- export interface GetCisScanReportResponse {
- /**
- * The status.
- */
- status?: CisReportStatus;
- /**
- * The URL where a PDF or CSV of the CIS scan report can be downloaded.
- */
- url?: String;
- }
- export type GetCisScanResultDetailsMaxResults = number;
- export interface GetCisScanResultDetailsRequest {
- /**
- * The account ID.
- */
- accountId: AccountId;
- /**
- * The filter criteria.
- */
- filterCriteria?: CisScanResultDetailsFilterCriteria;
- /**
- * The maximum number of CIS scan result details to be returned in a single page of results.
- */
- maxResults?: GetCisScanResultDetailsMaxResults;
- /**
- * The pagination token from a previous request that's used to retrieve the next page of results.
- */
- nextToken?: NextToken;
- /**
- * The scan ARN.
- */
- scanArn: CisScanArn;
- /**
- * The sort by order.
- */
- sortBy?: CisScanResultDetailsSortBy;
- /**
- * The sort order.
- */
- sortOrder?: CisSortOrder;
- /**
- * The target resource ID.
- */
- targetResourceId: ResourceId;
- }
- export interface GetCisScanResultDetailsResponse {
- /**
- * The pagination token from a previous request that's used to retrieve the next page of results.
- */
- nextToken?: NextToken;
- /**
- * The scan result details.
- */
- scanResultDetails?: CisScanResultDetailsList;
- }
- export interface GetConfigurationRequest {
- }
- export interface GetConfigurationResponse {
- /**
- * Specifies how the Amazon EC2 automated scan mode is currently configured for your environment.
- */
- ec2Configuration?: Ec2ConfigurationState;
- /**
- * Specifies how the ECR automated re-scan duration is currently configured for your environment.
- */
- ecrConfiguration?: EcrConfigurationState;
- }
- export interface GetDelegatedAdminAccountRequest {
- }
- export interface GetDelegatedAdminAccountResponse {
- /**
- * The Amazon Web Services account ID of the Amazon Inspector delegated administrator.
- */
- delegatedAdmin?: DelegatedAdmin;
- }
- export interface GetEc2DeepInspectionConfigurationRequest {
- }
- export interface GetEc2DeepInspectionConfigurationResponse {
- /**
- * An error message explaining why Amazon Inspector deep inspection configurations could not be retrieved for your account.
- */
- errorMessage?: NonEmptyString;
- /**
- * The Amazon Inspector deep inspection custom paths for your organization.
- */
- orgPackagePaths?: PathList;
- /**
- * The Amazon Inspector deep inspection custom paths for your account.
- */
- packagePaths?: PathList;
- /**
- * The activation status of Amazon Inspector deep inspection in your account.
- */
- status?: Ec2DeepInspectionStatus;
- }
- export interface GetEncryptionKeyRequest {
- /**
- * The resource type the key encrypts.
- */
- resourceType: ResourceType;
- /**
- * The scan type the key encrypts.
- */
- scanType: ScanType;
- }
- export interface GetEncryptionKeyResponse {
- /**
- * A kms key ID.
- */
- kmsKeyId: KmsKeyArn;
- }
- export interface GetFindingsReportStatusRequest {
- /**
- * The ID of the report to retrieve the status of.
- */
- reportId?: ReportId;
- }
- export interface GetFindingsReportStatusResponse {
- /**
- * The destination of the report.
- */
- destination?: Destination;
- /**
- * The error code of the report.
- */
- errorCode?: ReportingErrorCode;
- /**
- * The error message of the report.
- */
- errorMessage?: ErrorMessage;
- /**
- * The filter criteria associated with the report.
- */
- filterCriteria?: FilterCriteria;
- /**
- * The ID of the report.
- */
- reportId?: ReportId;
- /**
- * The status of the report.
- */
- status?: ExternalReportStatus;
- }
- export interface GetMemberRequest {
- /**
- * The Amazon Web Services account ID of the member account to retrieve information on.
- */
- accountId: AccountId;
- }
- export interface GetMemberResponse {
- /**
- * Details of the retrieved member account.
- */
- member?: Member;
- }
- export interface GetSbomExportRequest {
- /**
- * The report ID of the SBOM export to get details for.
- */
- reportId: ReportId;
- }
- export interface GetSbomExportResponse {
- /**
- * An error code.
- */
- errorCode?: ReportingErrorCode;
- /**
- * An error message.
- */
- errorMessage?: NonEmptyString;
- /**
- * Contains details about the resource filter criteria used for the software bill of materials (SBOM) report.
- */
- filterCriteria?: ResourceFilterCriteria;
- /**
- * The format of the software bill of materials (SBOM) report.
- */
- format?: SbomReportFormat;
- /**
- * The report ID of the software bill of materials (SBOM) report.
- */
- reportId?: ReportId;
- s3Destination?: Destination;
- /**
- * The status of the software bill of materials (SBOM) report.
- */
- status?: ExternalReportStatus;
- }
- export type GroupKey = "SCAN_STATUS_CODE"|"SCAN_STATUS_REASON"|"ACCOUNT_ID"|"RESOURCE_TYPE"|"ECR_REPOSITORY_NAME"|string;
- export type ImageHash = string;
- export interface ImageLayerAggregation {
- /**
- * The hashes associated with the layers.
- */
- layerHashes?: StringFilterList;
- /**
- * The repository associated with the container image hosting the layers.
- */
- repositories?: StringFilterList;
- /**
- * The ID of the container image layer.
- */
- resourceIds?: StringFilterList;
- /**
- * The value to sort results by.
- */
- sortBy?: ImageLayerSortBy;
- /**
- * The order to sort results by.
- */
- sortOrder?: SortOrder;
- }
- export interface ImageLayerAggregationResponse {
- /**
- * The ID of the Amazon Web Services account that owns the container image hosting the layer image.
- */
- accountId: AccountId;
- /**
- * The layer hash.
- */
- layerHash: NonEmptyString;
- /**
- * The repository the layer resides in.
- */
- repository: NonEmptyString;
- /**
- * The resource ID of the container image layer.
- */
- resourceId: NonEmptyString;
- /**
- * An object that represents the count of matched findings per severity.
- */
- severityCounts?: SeverityCounts;
- }
- export type ImageLayerSortBy = "CRITICAL"|"HIGH"|"ALL"|string;
- export type ImageTagList = NonEmptyString[];
- export interface InspectorScoreDetails {
- /**
- * An object that contains details about the CVSS score given to a finding.
- */
- adjustedCvss?: CvssScoreDetails;
- }
- export type Integer = number;
- export type IpV4Address = string;
- export type IpV4AddressList = IpV4Address[];
- export type IpV6Address = string;
- export type IpV6AddressList = IpV6Address[];
- export type KmsKeyArn = string;
- export interface LambdaFunctionAggregation {
- /**
- * The Amazon Web Services Lambda function names to include in the aggregation results.
- */
- functionNames?: StringFilterList;
- /**
- * The tags to include in the aggregation results.
- */
- functionTags?: MapFilterList;
- /**
- * The resource IDs to include in the aggregation results.
- */
- resourceIds?: StringFilterList;
- /**
- * Returns findings aggregated by Amazon Web Services Lambda function runtime environments.
- */
- runtimes?: StringFilterList;
- /**
- * The finding severity to use for sorting the results.
- */
- sortBy?: LambdaFunctionSortBy;
- /**
- * The order to use for sorting the results.
- */
- sortOrder?: SortOrder;
- }
- export interface LambdaFunctionAggregationResponse {
- /**
- * The ID of the Amazon Web Services account that owns the Amazon Web Services Lambda function.
- */
- accountId?: AccountId;
- /**
- * The Amazon Web Services Lambda function names included in the aggregation results.
- */
- functionName?: String;
- /**
- * The tags included in the aggregation results.
- */
- lambdaTags?: TagMap;
- /**
- * The date that the Amazon Web Services Lambda function included in the aggregation results was last changed.
- */
- lastModifiedAt?: DateTimeTimestamp;
- /**
- * The resource IDs included in the aggregation results.
- */
- resourceId: NonEmptyString;
- /**
- * The runtimes included in the aggregation results.
- */
- runtime?: String;
- severityCounts?: SeverityCounts;
- }
- export interface LambdaFunctionMetadata {
- /**
- * The name of a function.
- */
- functionName?: String;
- /**
- * The resource tags on an Amazon Web Services Lambda function.
- */
- functionTags?: TagMap;
- /**
- * The layers for an Amazon Web Services Lambda function. A Lambda function can have up to five layers.
- */
- layers?: LambdaLayerList;
- /**
- * An Amazon Web Services Lambda function's runtime.
- */
- runtime?: Runtime;
- }
- export type LambdaFunctionSortBy = "CRITICAL"|"HIGH"|"ALL"|string;
- export interface LambdaLayerAggregation {
- /**
- * The names of the Amazon Web Services Lambda functions associated with the layers.
- */
- functionNames?: StringFilterList;
- /**
- * The Amazon Resource Name (ARN) of the Amazon Web Services Lambda function layer.
- */
- layerArns?: StringFilterList;
- /**
- * The resource IDs for the Amazon Web Services Lambda function layers.
- */
- resourceIds?: StringFilterList;
- /**
- * The finding severity to use for sorting the results.
- */
- sortBy?: LambdaLayerSortBy;
- /**
- * The order to use for sorting the results.
- */
- sortOrder?: SortOrder;
- }
- export interface LambdaLayerAggregationResponse {
- /**
- * The account ID of the Amazon Web Services Lambda function layer.
- */
- accountId: AccountId;
- /**
- * The names of the Amazon Web Services Lambda functions associated with the layers.
- */
- functionName: NonEmptyString;
- /**
- * The Amazon Resource Name (ARN) of the Amazon Web Services Lambda function layer.
- */
- layerArn: NonEmptyString;
- /**
- * The Resource ID of the Amazon Web Services Lambda function layer.
- */
- resourceId: NonEmptyString;
- severityCounts?: SeverityCounts;
- }
- export type LambdaLayerArn = string;
- export type LambdaLayerList = String[];
- export type LambdaLayerSortBy = "CRITICAL"|"HIGH"|"ALL"|string;
- export interface LambdaVpcConfig {
- /**
- * The VPC security groups and subnets that are attached to an Amazon Web Services Lambda function. For more information, see VPC Settings.
- */
- securityGroupIds?: SecurityGroupIdList;
- /**
- * A list of VPC subnet IDs.
- */
- subnetIds?: SubnetIdList;
- /**
- * The ID of the VPC.
- */
- vpcId?: VpcId;
- }
- export type LastSeen = Date;
- export type LayerList = LambdaLayerArn[];
- export type ListAccountPermissionsMaxResults = number;
- export interface ListAccountPermissionsRequest {
- /**
- * The maximum number of results the response can return. If your request would return more than the maximum the response will return a nextToken value, use this value when you call the action again to get the remaining results.
- */
- maxResults?: ListAccountPermissionsMaxResults;
- /**
- * A token to use for paginating results that are returned in the response. Set the value of this parameter to null for the first request to a list action. If your response returns more than the maxResults maximum value it will also return a nextToken value. For subsequent calls, use the NextToken value returned from the previous request to continue listing results after the first page.
- */
- nextToken?: NextToken;
- /**
- * The service scan type to check permissions for.
- */
- service?: Service;
- }
- export interface ListAccountPermissionsResponse {
- /**
- * A token to use for paginating results that are returned in the response. Set the value of this parameter to null for the first request to a list action. For subsequent calls, use the NextToken value returned from the previous request to continue listing results after the first page.
- */
- nextToken?: NextToken;
- /**
- * Contains details on the permissions an account has to configure Amazon Inspector.
- */
- permissions: Permissions;
- }
- export interface ListCisScanConfigurationsFilterCriteria {
- /**
- * The list of scan configuration ARN filters.
- */
- scanConfigurationArnFilters?: CisScanConfigurationArnFilterList;
- /**
- * The list of scan name filters.
- */
- scanNameFilters?: CisScanNameFilterList;
- /**
- * The list of target resource tag filters.
- */
- targetResourceTagFilters?: ResourceTagFilterList;
- }
- export type ListCisScanConfigurationsMaxResults = number;
- export interface ListCisScanConfigurationsRequest {
- /**
- * The CIS scan configuration filter criteria.
- */
- filterCriteria?: ListCisScanConfigurationsFilterCriteria;
- /**
- * The maximum number of CIS scan configurations to be returned in a single page of results.
- */
- maxResults?: ListCisScanConfigurationsMaxResults;
- /**
- * The pagination token from a previous request that's used to retrieve the next page of results.
- */
- nextToken?: NextToken;
- /**
- * The CIS scan configuration sort by order.
- */
- sortBy?: CisScanConfigurationsSortBy;
- /**
- * The CIS scan configuration sort order order.
- */
- sortOrder?: CisSortOrder;
- }
- export interface ListCisScanConfigurationsResponse {
- /**
- * The pagination token from a previous request that's used to retrieve the next page of results.
- */
- nextToken?: NextToken;
- /**
- * The CIS scan configuration scan configurations.
- */
- scanConfigurations?: CisScanConfigurationList;
- }
- export interface ListCisScanResultsAggregatedByChecksRequest {
- /**
- * The filter criteria.
- */
- filterCriteria?: CisScanResultsAggregatedByChecksFilterCriteria;
- /**
- * The maximum number of scan results aggregated by checks to be returned in a single page of results.
- */
- maxResults?: CisScanResultsMaxResults;
- /**
- * The pagination token from a previous request that's used to retrieve the next page of results.
- */
- nextToken?: NextToken;
- /**
- * The scan ARN.
- */
- scanArn: CisScanArn;
- /**
- * The sort by order.
- */
- sortBy?: CisScanResultsAggregatedByChecksSortBy;
- /**
- * The sort order.
- */
- sortOrder?: CisSortOrder;
- }
- export interface ListCisScanResultsAggregatedByChecksResponse {
- /**
- * The check aggregations.
- */
- checkAggregations?: CisCheckAggregationList;
- /**
- * The pagination token from a previous request that's used to retrieve the next page of results.
- */
- nextToken?: NextToken;
- }
- export interface ListCisScanResultsAggregatedByTargetResourceRequest {
- /**
- * The filter criteria.
- */
- filterCriteria?: CisScanResultsAggregatedByTargetResourceFilterCriteria;
- /**
- * The maximum number of scan results aggregated by a target resource to be returned in a single page of results.
- */
- maxResults?: CisScanResultsMaxResults;
- /**
- * The pagination token from a previous request that's used to retrieve the next page of results.
- */
- nextToken?: NextToken;
- /**
- * The scan ARN.
- */
- scanArn: CisScanArn;
- /**
- * The sort by order.
- */
- sortBy?: CisScanResultsAggregatedByTargetResourceSortBy;
- /**
- * The sort order.
- */
- sortOrder?: CisSortOrder;
- }
- export interface ListCisScanResultsAggregatedByTargetResourceResponse {
- /**
- * The pagination token from a previous request that's used to retrieve the next page of results.
- */
- nextToken?: NextToken;
- /**
- * The resource aggregations.
- */
- targetResourceAggregations?: CisTargetResourceAggregationList;
- }
- export type ListCisScansDetailLevel = "ORGANIZATION"|"MEMBER"|string;
- export interface ListCisScansFilterCriteria {
- /**
- * The list of failed checks filters.
- */
- failedChecksFilters?: CisNumberFilterList;
- /**
- * The list of scan ARN filters.
- */
- scanArnFilters?: CisScanArnFilterList;
- /**
- * The list of scan at filters.
- */
- scanAtFilters?: CisScanDateFilterList;
- /**
- * The list of scan configuration ARN filters.
- */
- scanConfigurationArnFilters?: CisScanConfigurationArnFilterList;
- /**
- * The list of scan name filters.
- */
- scanNameFilters?: CisScanNameFilterList;
- /**
- * The list of scan status filters.
- */
- scanStatusFilters?: CisScanStatusFilterList;
- /**
- * The list of scheduled by filters.
- */
- scheduledByFilters?: CisScheduledByFilterList;
- /**
- * The list of target account ID filters.
- */
- targetAccountIdFilters?: AccountIdFilterList;
- /**
- * The list of target resource ID filters.
- */
- targetResourceIdFilters?: ResourceIdFilterList;
- /**
- * The list of target resource tag filters.
- */
- targetResourceTagFilters?: ResourceTagFilterList;
- }
- export type ListCisScansMaxResults = number;
- export interface ListCisScansRequest {
- /**
- * The detail applied to the CIS scan.
- */
- detailLevel?: ListCisScansDetailLevel;
- /**
- * The CIS scan filter criteria.
- */
- filterCriteria?: ListCisScansFilterCriteria;
- /**
- * The maximum number of results to be returned.
- */
- maxResults?: ListCisScansMaxResults;
- /**
- * The pagination token from a previous request that's used to retrieve the next page of results.
- */
- nextToken?: NextToken;
- /**
- * The CIS scans sort by order.
- */
- sortBy?: ListCisScansSortBy;
- /**
- * The CIS scans sort order.
- */
- sortOrder?: CisSortOrder;
- }
- export interface ListCisScansResponse {
- /**
- * The pagination token from a previous request that's used to retrieve the next page of results.
- */
- nextToken?: NextToken;
- /**
- * The CIS scans.
- */
- scans?: CisScanList;
- }
- export type ListCisScansSortBy = "STATUS"|"SCHEDULED_BY"|"SCAN_START_DATE"|"FAILED_CHECKS"|string;
- export type ListCoverageMaxResults = number;
- export interface ListCoverageRequest {
- /**
- * An object that contains details on the filters to apply to the coverage data for your environment.
- */
- filterCriteria?: CoverageFilterCriteria;
- /**
- * The maximum number of results the response can return. If your request would return more than the maximum the response will return a nextToken value, use this value when you call the action again to get the remaining results.
- */
- maxResults?: ListCoverageMaxResults;
- /**
- * A token to use for paginating results that are returned in the response. Set the value of this parameter to null for the first request to a list action. If your response returns more than the maxResults maximum value it will also return a nextToken value. For subsequent calls, use the nextToken value returned from the previous request to continue listing results after the first page.
- */
- nextToken?: NextToken;
- }
- export interface ListCoverageResponse {
- /**
- * An object that contains details on the covered resources in your environment.
- */
- coveredResources?: CoveredResources;
- /**
- * A token to use for paginating results that are returned in the response. Set the value of this parameter to null for the first request to a list action. For subsequent calls, use the NextToken value returned from the previous request to continue listing results after the first page.
- */
- nextToken?: NextToken;
- }
- export interface ListCoverageStatisticsRequest {
- /**
- * An object that contains details on the filters to apply to the coverage data for your environment.
- */
- filterCriteria?: CoverageFilterCriteria;
- /**
- * The value to group the results by.
- */
- groupBy?: GroupKey;
- /**
- * A token to use for paginating results that are returned in the response. Set the value of this parameter to null for the first request to a list action. For subsequent calls, use the NextToken value returned from the previous request to continue listing results after the first page.
- */
- nextToken?: NextToken;
- }
- export interface ListCoverageStatisticsResponse {
- /**
- * An array with the number for each group.
- */
- countsByGroup?: CountsList;
- /**
- * A token to use for paginating results that are returned in the response. Set the value of this parameter to null for the first request to a list action. For subsequent calls, use the NextToken value returned from the previous request to continue listing results after the first page.
- */
- nextToken?: NextToken;
- /**
- * The total number for all groups.
- */
- totalCounts: Long;
- }
- export interface ListDelegatedAdminAccountsRequest {
- /**
- * The maximum number of results the response can return. If your request would return more than the maximum the response will return a nextToken value, use this value when you call the action again to get the remaining results.
- */
- maxResults?: ListDelegatedAdminMaxResults;
- /**
- * A token to use for paginating results that are returned in the response. Set the value of this parameter to null for the first request to a list action. If your response returns more than the maxResults maximum value it will also return a nextToken value. For subsequent calls, use the nextToken value returned from the previous request to continue listing results after the first page.
- */
- nextToken?: NextToken;
- }
- export interface ListDelegatedAdminAccountsResponse {
- /**
- * Details of the Amazon Inspector delegated administrator of your organization.
- */
- delegatedAdminAccounts?: DelegatedAdminAccountList;
- /**
- * A token to use for paginating results that are returned in the response. Set the value of this parameter to null for the first request to a list action. For subsequent calls, use the NextToken value returned from the previous request to continue listing results after the first page.
- */
- nextToken?: NextToken;
- }
- export type ListDelegatedAdminMaxResults = number;
- export type ListFilterMaxResults = number;
- export interface ListFiltersRequest {
- /**
- * The action the filter applies to matched findings.
- */
- action?: FilterAction;
- /**
- * The Amazon resource number (ARN) of the filter.
- */
- arns?: FilterArnList;
- /**
- * The maximum number of results the response can return. If your request would return more than the maximum the response will return a nextToken value, use this value when you call the action again to get the remaining results.
- */
- maxResults?: ListFilterMaxResults;
- /**
- * A token to use for paginating results that are returned in the response. Set the value of this parameter to null for the first request to a list action. If your response returns more than the maxResults maximum value it will also return a nextToken value. For subsequent calls, use the nextToken value returned from the previous request to continue listing results after the first page.
- */
- nextToken?: NextToken;
- }
- export interface ListFiltersResponse {
- /**
- * Contains details on the filters associated with your account.
- */
- filters: FilterList;
- /**
- * A token to use for paginating results that are returned in the response. Set the value of this parameter to null for the first request to a list action. For subsequent calls, use the NextToken value returned from the previous request to continue listing results after the first page.
- */
- nextToken?: NextToken;
- }
- export type ListFindingAggregationsMaxResults = number;
- export interface ListFindingAggregationsRequest {
- /**
- * The Amazon Web Services account IDs to retrieve finding aggregation data for.
- */
- accountIds?: StringFilterList;
- /**
- * Details of the aggregation request that is used to filter your aggregation results.
- */
- aggregationRequest?: AggregationRequest;
- /**
- * The type of the aggregation request.
- */
- aggregationType: AggregationType;
- /**
- * The maximum number of results the response can return. If your request would return more than the maximum the response will return a nextToken value, use this value when you call the action again to get the remaining results.
- */
- maxResults?: ListFindingAggregationsMaxResults;
- /**
- * A token to use for paginating results that are returned in the response. Set the value of this parameter to null for the first request to a list action. If your response returns more than the maxResults maximum value it will also return a nextToken value. For subsequent calls, use the nextToken value returned from the previous request to continue listing results after the first page.
- */
- nextToken?: NextToken;
- }
- export interface ListFindingAggregationsResponse {
- /**
- * The type of aggregation to perform.
- */
- aggregationType: AggregationType;
- /**
- * A token to use for paginating results that are returned in the response. Set the value of this parameter to null for the first request to a list action. For subsequent calls, use the NextToken value returned from the previous request to continue listing results after the first page.
- */
- nextToken?: NextToken;
- /**
- * Objects that contain the results of an aggregation operation.
- */
- responses?: AggregationResponseList;
- }
- export type ListFindingsMaxResults = number;
- export interface ListFindingsRequest {
- /**
- * Details on the filters to apply to your finding results.
- */
- filterCriteria?: FilterCriteria;
- /**
- * The maximum number of results the response can return. If your request would return more than the maximum the response will return a nextToken value, use this value when you call the action again to get the remaining results.
- */
- maxResults?: ListFindingsMaxResults;
- /**
- * A token to use for paginating results that are returned in the response. Set the value of this parameter to null for the first request to a list action. If your response returns more than the maxResults maximum value it will also return a nextToken value. For subsequent calls, use the nextToken value returned from the previous request to continue listing results after the first page.
- */
- nextToken?: NextToken;
- /**
- * Details on the sort criteria to apply to your finding results.
- */
- sortCriteria?: SortCriteria;
- }
- export interface ListFindingsResponse {
- /**
- * Contains details on the findings in your environment.
- */
- findings?: FindingList;
- /**
- * A token to use for paginating results that are returned in the response. Set the value of this parameter to null for the first request to a list action. For subsequent calls, use the NextToken value returned from the previous request to continue listing results after the first page.
- */
- nextToken?: NextToken;
- }
- export type ListMembersMaxResults = number;
- export interface ListMembersRequest {
- /**
- * The maximum number of results the response can return. If your request would return more than the maximum the response will return a nextToken value, use this value when you call the action again to get the remaining results.
- */
- maxResults?: ListMembersMaxResults;
- /**
- * A token to use for paginating results that are returned in the response. Set the value of this parameter to null for the first request to a list action. If your response returns more than the maxResults maximum value it will also return a nextToken value. For subsequent calls, use the nextToken value returned from the previous request to continue listing results after the first page.
- */
- nextToken?: NextToken;
- /**
- * Specifies whether to list only currently associated members if True or to list all members within the organization if False.
- */
- onlyAssociated?: Boolean;
- }
- export interface ListMembersResponse {
- /**
- * An object that contains details for each member account.
- */
- members?: MemberList;
- /**
- * The pagination parameter to be used on the next list operation to retrieve more items.
- */
- nextToken?: NextToken;
- }
- export interface ListTagsForResourceRequest {
- /**
- * The Amazon resource number (ARN) of the resource to list tags of.
- */
- resourceArn: Arn;
- }
- export interface ListTagsForResourceResponse {
- /**
- * The tags associated with the resource.
- */
- tags?: TagMap;
- }
- export type ListUsageTotalsMaxResults = number;
- export type ListUsageTotalsNextToken = string;
- export interface ListUsageTotalsRequest {
- /**
- * The Amazon Web Services account IDs to retrieve usage totals for.
- */
- accountIds?: UsageAccountIdList;
- /**
- * The maximum number of results the response can return. If your request would return more than the maximum the response will return a nextToken value, use this value when you call the action again to get the remaining results.
- */
- maxResults?: ListUsageTotalsMaxResults;
- /**
- * A token to use for paginating results that are returned in the response. Set the value of this parameter to null for the first request to a list action. If your response returns more than the maxResults maximum value it will also return a nextToken value. For subsequent calls, use the nextToken value returned from the previous request to continue listing results after the first page.
- */
- nextToken?: ListUsageTotalsNextToken;
- }
- export interface ListUsageTotalsResponse {
- /**
- * The pagination parameter to be used on the next list operation to retrieve more items.
- */
- nextToken?: ListUsageTotalsNextToken;
- /**
- * An object with details on the total usage for the requested account.
- */
- totals?: UsageTotalList;
- }
- export type Long = number;
- export type MapComparison = "EQUALS"|string;
- export interface MapFilter {
- /**
- * The operator to use when comparing values in the filter.
- */
- comparison: MapComparison;
- /**
- * The tag key used in the filter.
- */
- key: MapKey;
- /**
- * The tag value used in the filter.
- */
- value?: MapValue;
- }
- export type MapFilterList = MapFilter[];
- export type MapKey = string;
- export type MapValue = string;
- export interface Member {
- /**
- * The Amazon Web Services account ID of the member account.
- */
- accountId?: AccountId;
- /**
- * The Amazon Web Services account ID of the Amazon Inspector delegated administrator for this member account.
- */
- delegatedAdminAccountId?: AccountId;
- /**
- * The status of the member account.
- */
- relationshipStatus?: RelationshipStatus;
- /**
- * A timestamp showing when the status of this member was last updated.
- */
- updatedAt?: DateTimeTimestamp;
- }
- export interface MemberAccountEc2DeepInspectionStatus {
- /**
- * The unique identifier for the Amazon Web Services account of the organization member.
- */
- accountId: AccountId;
- /**
- * Whether Amazon Inspector deep inspection is active in the account. If TRUE Amazon Inspector deep inspection is active, if FALSE it is not active.
- */
- activateDeepInspection: Boolean;
- }
- export type MemberAccountEc2DeepInspectionStatusList = MemberAccountEc2DeepInspectionStatus[];
- export interface MemberAccountEc2DeepInspectionStatusState {
- /**
- * The unique identifier for the Amazon Web Services account of the organization member
- */
- accountId: AccountId;
- /**
- * The error message explaining why the account failed to activate Amazon Inspector deep inspection.
- */
- errorMessage?: NonEmptyString;
- /**
- * The state of Amazon Inspector deep inspection in the member account.
- */
- status?: Ec2DeepInspectionStatus;
- }
- export type MemberAccountEc2DeepInspectionStatusStateList = MemberAccountEc2DeepInspectionStatusState[];
- export type MemberList = Member[];
- export type MeteringAccountId = string;
- export type MonthlyCostEstimate = number;
- export interface MonthlySchedule {
- /**
- * The monthly schedule's day.
- */
- day: Day;
- /**
- * The monthly schedule's start time.
- */
- startTime: Time;
- }
- export interface NetworkPath {
- /**
- * The details on the steps in the network path.
- */
- steps?: StepList;
- }
- export type NetworkProtocol = "TCP"|"UDP"|string;
- export interface NetworkReachabilityDetails {
- /**
- * An object that contains details about a network path associated with a finding.
- */
- networkPath: NetworkPath;
- /**
- * An object that contains details about the open port range associated with a finding.
- */
- openPortRange: PortRange;
- /**
- * The protocol associated with a finding.
- */
- protocol: NetworkProtocol;
- }
- export type NextToken = string;
- export type NonEmptyString = string;
- export type NonEmptyStringList = NonEmptyString[];
- export interface NumberFilter {
- /**
- * The lowest number to be included in the filter.
- */
- lowerInclusive?: Double;
- /**
- * The highest number to be included in the filter.
- */
- upperInclusive?: Double;
- }
- export type NumberFilterList = NumberFilter[];
- export type OneAccountIdFilterList = CisStringFilter[];
- export interface OneTimeSchedule {
- }
- export type Operation = "ENABLE_SCANNING"|"DISABLE_SCANNING"|"ENABLE_REPOSITORY"|"DISABLE_REPOSITORY"|string;
- export type OwnerId = string;
- export interface PackageAggregation {
- /**
- * The names of packages to aggregate findings on.
- */
- packageNames?: StringFilterList;
- /**
- * The value to sort results by.
- */
- sortBy?: PackageSortBy;
- /**
- * The order to sort results by.
- */
- sortOrder?: SortOrder;
- }
- export interface PackageAggregationResponse {
- /**
- * The ID of the Amazon Web Services account associated with the findings.
- */
- accountId?: AccountId;
- /**
- * The name of the operating system package.
- */
- packageName: NonEmptyString;
- /**
- * An object that contains the count of matched findings per severity.
- */
- severityCounts?: SeverityCounts;
- }
- export type PackageArchitecture = string;
- export type PackageEpoch = number;
- export interface PackageFilter {
- /**
- * An object that contains details on the package architecture type to filter on.
- */
- architecture?: StringFilter;
- /**
- * An object that contains details on the package epoch to filter on.
- */
- epoch?: NumberFilter;
- /**
- * An object that contains details on the name of the package to filter on.
- */
- name?: StringFilter;
- /**
- * An object that contains details on the package release to filter on.
- */
- release?: StringFilter;
- sourceLambdaLayerArn?: StringFilter;
- /**
- * An object that contains details on the source layer hash to filter on.
- */
- sourceLayerHash?: StringFilter;
- /**
- * The package version to filter on.
- */
- version?: StringFilter;
- }
- export type PackageFilterList = PackageFilter[];
- export type PackageManager = "BUNDLER"|"CARGO"|"COMPOSER"|"NPM"|"NUGET"|"PIPENV"|"POETRY"|"YARN"|"GOBINARY"|"GOMOD"|"JAR"|"OS"|"PIP"|"PYTHONPKG"|"NODEPKG"|"POM"|"GEMSPEC"|string;
- export type PackageName = string;
- export type PackageRelease = string;
- export type PackageSortBy = "CRITICAL"|"HIGH"|"ALL"|string;
- export type PackageType = "IMAGE"|"ZIP"|string;
- export type PackageVersion = string;
- export interface PackageVulnerabilityDetails {
- /**
- * An object that contains details about the CVSS score of a finding.
- */
- cvss?: CvssScoreList;
- /**
- * One or more URLs that contain details about this vulnerability type.
- */
- referenceUrls?: NonEmptyStringList;
- /**
- * One or more vulnerabilities related to the one identified in this finding.
- */
- relatedVulnerabilities?: VulnerabilityIdList;
- /**
- * The source of the vulnerability information.
- */
- source: NonEmptyString;
- /**
- * A URL to the source of the vulnerability information.
- */
- sourceUrl?: NonEmptyString;
- /**
- * The date and time that this vulnerability was first added to the vendor's database.
- */
- vendorCreatedAt?: DateTimeTimestamp;
- /**
- * The severity the vendor has given to this vulnerability type.
- */
- vendorSeverity?: NonEmptyString;
- /**
- * The date and time the vendor last updated this vulnerability in their database.
- */
- vendorUpdatedAt?: DateTimeTimestamp;
- /**
- * The ID given to this vulnerability.
- */
- vulnerabilityId: VulnerabilityId;
- /**
- * The packages impacted by this vulnerability.
- */
- vulnerablePackages?: VulnerablePackageList;
- }
- export type Path = string;
- export type PathList = Path[];
- export interface Permission {
- /**
- * The operations that can be performed with the given permissions.
- */
- operation: Operation;
- /**
- * The services that the permissions allow an account to perform the given operations for.
- */
- service: Service;
- }
- export type Permissions = Permission[];
- export type Platform = string;
- export type PlatformFilterList = CisStringFilter[];
- export type PlatformVersion = string;
- export type Port = number;
- export interface PortRange {
- /**
- * The beginning port in a port range.
- */
- begin: Port;
- /**
- * The ending port in a port range.
- */
- end: Port;
- }
- export interface PortRangeFilter {
- /**
- * The port number the port range begins at.
- */
- beginInclusive?: Port;
- /**
- * The port number the port range ends at.
- */
- endInclusive?: Port;
- }
- export type PortRangeFilterList = PortRangeFilter[];
- export type Product = string;
- export type Reason = string;
- export interface Recommendation {
- /**
- * The URL address to the CVE remediation recommendations.
- */
- Url?: NonEmptyString;
- /**
- * The recommended course of action to remediate the finding.
- */
- text?: NonEmptyString;
- }
- export type ReferenceUrls = NonEmptyString[];
- export type RelatedVulnerabilities = RelatedVulnerability[];
- export type RelatedVulnerability = string;
- export type RelationshipStatus = "CREATED"|"INVITED"|"DISABLED"|"ENABLED"|"REMOVED"|"RESIGNED"|"DELETED"|"EMAIL_VERIFICATION_IN_PROGRESS"|"EMAIL_VERIFICATION_FAILED"|"REGION_DISABLED"|"ACCOUNT_SUSPENDED"|"CANNOT_CREATE_DETECTOR_IN_ORG_MASTER"|string;
- export interface Remediation {
- /**
- * An object that contains information about the recommended course of action to remediate the finding.
- */
- recommendation?: Recommendation;
- }
- export type ReportFormat = "CSV"|"JSON"|string;
- export type ReportId = string;
- export type ReportTargetAccounts = AccountId[];
- export type ReportingErrorCode = "INTERNAL_ERROR"|"INVALID_PERMISSIONS"|"NO_FINDINGS_FOUND"|"BUCKET_NOT_FOUND"|"INCOMPATIBLE_BUCKET_REGION"|"MALFORMED_KMS_KEY"|string;
- export interface RepositoryAggregation {
- /**
- * The names of repositories to aggregate findings on.
- */
- repositories?: StringFilterList;
- /**
- * The value to sort results by.
- */
- sortBy?: RepositorySortBy;
- /**
- * The order to sort results by.
- */
- sortOrder?: SortOrder;
- }
- export interface RepositoryAggregationResponse {
- /**
- * The ID of the Amazon Web Services account associated with the findings.
- */
- accountId?: AccountId;
- /**
- * The number of container images impacted by the findings.
- */
- affectedImages?: Long;
- /**
- * The name of the repository associated with the findings.
- */
- repository: NonEmptyString;
- /**
- * An object that represent the count of matched findings per severity.
- */
- severityCounts?: SeverityCounts;
- }
- export type RepositorySortBy = "CRITICAL"|"HIGH"|"ALL"|"AFFECTED_IMAGES"|string;
- export interface ResetEncryptionKeyRequest {
- /**
- * The resource type the key encrypts.
- */
- resourceType: ResourceType;
- /**
- * The scan type the key encrypts.
- */
- scanType: ScanType;
- }
- export interface ResetEncryptionKeyResponse {
- }
- export interface Resource {
- /**
- * An object that contains details about the resource involved in a finding.
- */
- details?: ResourceDetails;
- /**
- * The ID of the resource.
- */
- id: NonEmptyString;
- /**
- * The partition of the resource.
- */
- partition?: NonEmptyString;
- /**
- * The Amazon Web Services Region the impacted resource is located in.
- */
- region?: NonEmptyString;
- /**
- * The tags attached to the resource.
- */
- tags?: TagMap;
- /**
- * The type of resource.
- */
- type: ResourceType;
- }
- export interface ResourceDetails {
- /**
- * An object that contains details about the Amazon EC2 instance involved in the finding.
- */
- awsEc2Instance?: AwsEc2InstanceDetails;
- /**
- * An object that contains details about the Amazon ECR container image involved in the finding.
- */
- awsEcrContainerImage?: AwsEcrContainerImageDetails;
- /**
- * A summary of the information about an Amazon Web Services Lambda function affected by a finding.
- */
- awsLambdaFunction?: AwsLambdaFunctionDetails;
- }
- export interface ResourceFilterCriteria {
- /**
- * The account IDs used as resource filter criteria.
- */
- accountId?: ResourceStringFilterList;
- /**
- * The EC2 instance tags used as resource filter criteria.
- */
- ec2InstanceTags?: ResourceMapFilterList;
- /**
- * The ECR image tags used as resource filter criteria.
- */
- ecrImageTags?: ResourceStringFilterList;
- /**
- * The ECR repository names used as resource filter criteria.
- */
- ecrRepositoryName?: ResourceStringFilterList;
- /**
- * The Amazon Web Services Lambda function name used as resource filter criteria.
- */
- lambdaFunctionName?: ResourceStringFilterList;
- /**
- * The Amazon Web Services Lambda function tags used as resource filter criteria.
- */
- lambdaFunctionTags?: ResourceMapFilterList;
- /**
- * The resource IDs used as resource filter criteria.
- */
- resourceId?: ResourceStringFilterList;
- /**
- * The resource types used as resource filter criteria.
- */
- resourceType?: ResourceStringFilterList;
- }
- export type ResourceId = string;
- export type ResourceIdFilterList = CisStringFilter[];
- export type ResourceList = Resource[];
- export type ResourceMapComparison = "EQUALS"|string;
- export interface ResourceMapFilter {
- /**
- * The filter's comparison.
- */
- comparison: ResourceMapComparison;
- /**
- * The filter's key.
- */
- key: NonEmptyString;
- /**
- * The filter's value.
- */
- value?: NonEmptyString;
- }
- export type ResourceMapFilterList = ResourceMapFilter[];
- export interface ResourceScanMetadata {
- /**
- * An object that contains metadata details for an Amazon EC2 instance.
- */
- ec2?: Ec2Metadata;
- /**
- * An object that contains details about the container metadata for an Amazon ECR image.
- */
- ecrImage?: EcrContainerImageMetadata;
- /**
- * An object that contains details about the repository an Amazon ECR image resides in.
- */
- ecrRepository?: EcrRepositoryMetadata;
- /**
- * An object that contains metadata details for an Amazon Web Services Lambda function.
- */
- lambdaFunction?: LambdaFunctionMetadata;
- }
- export type ResourceScanType = "EC2"|"ECR"|"LAMBDA"|"LAMBDA_CODE"|string;
- export interface ResourceState {
- /**
- * An object detailing the state of Amazon Inspector scanning for Amazon EC2 resources.
- */
- ec2: State;
- /**
- * An object detailing the state of Amazon Inspector scanning for Amazon ECR resources.
- */
- ecr: State;
- lambda?: State;
- lambdaCode?: State;
- }
- export interface ResourceStatus {
- /**
- * The status of Amazon Inspector scanning for Amazon EC2 resources.
- */
- ec2: Status;
- /**
- * The status of Amazon Inspector scanning for Amazon ECR resources.
- */
- ecr: Status;
- /**
- * The status of Amazon Inspector scanning for Amazon Web Services Lambda function.
- */
- lambda?: Status;
- /**
- * The status of Amazon Inspector scanning for custom application code for Amazon Web Services Lambda functions.
- */
- lambdaCode?: Status;
- }
- export type ResourceStringComparison = "EQUALS"|"NOT_EQUALS"|string;
- export interface ResourceStringFilter {
- /**
- * The filter's comparison.
- */
- comparison: ResourceStringComparison;
- /**
- * The filter's value.
- */
- value: ResourceStringInput;
- }
- export type ResourceStringFilterList = ResourceStringFilter[];
- export type ResourceStringInput = string;
- export type ResourceTagFilterList = TagFilter[];
- export type ResourceType = "AWS_EC2_INSTANCE"|"AWS_ECR_CONTAINER_IMAGE"|"AWS_ECR_REPOSITORY"|"AWS_LAMBDA_FUNCTION"|string;
- export type RiskScore = number;
- export type RuleId = string;
- export type Runtime = "NODEJS"|"NODEJS_12_X"|"NODEJS_14_X"|"NODEJS_16_X"|"JAVA_8"|"JAVA_8_AL2"|"JAVA_11"|"PYTHON_3_7"|"PYTHON_3_8"|"PYTHON_3_9"|"UNSUPPORTED"|"NODEJS_18_X"|"GO_1_X"|"JAVA_17"|"PYTHON_3_10"|string;
- export type SbomReportFormat = "CYCLONEDX_1_4"|"SPDX_2_3"|string;
- export type ScanMode = "EC2_SSM_AGENT_BASED"|"EC2_AGENTLESS"|string;
- export interface ScanStatus {
- /**
- * The scan status. Possible return values and descriptions are: PENDING_INITIAL_SCAN - This resource has been identified for scanning, results will be available soon. ACCESS_DENIED - Resource access policy restricting Amazon Inspector access. Please update the IAM policy. INTERNAL_ERROR - Amazon Inspector has encountered an internal error for this resource. Amazon Inspector service will automatically resolve the issue and resume the scanning. No action required from the user. UNMANAGED_EC2_INSTANCE - The EC2 instance is not managed by SSM, please use the following SSM automation to remediate the issue: https://docs.aws.amazon.com/systems-manager-automation-runbooks/latest/userguide/automation-awssupport-troubleshoot-managed-instance.html. Once the instance becomes managed by SSM, Inspector will automatically begin scanning this instance. UNSUPPORTED_OS - Amazon Inspector does not support this OS, architecture, or image manifest type at this time. To see a complete list of supported operating systems see: https://docs.aws.amazon.com/inspector/latest/user/supported.html. SCAN_ELIGIBILITY_EXPIRED - The configured scan duration has lapsed for this image. RESOURCE_TERMINATED - This resource has been terminated. The findings and coverage associated with this resource are in the process of being cleaned up. SUCCESSFUL - The scan was successful. NO_RESOURCES_FOUND - Reserved for future use. IMAGE_SIZE_EXCEEDED - Reserved for future use. SCAN_FREQUENCY_MANUAL - This image will not be covered by Amazon Inspector due to the repository scan frequency configuration. SCAN_FREQUENCY_SCAN_ON_PUSH - This image will be scanned one time and will not new findings because of the scan frequency configuration. EC2_INSTANCE_STOPPED - This EC2 instance is in a stopped state, therefore, Amazon Inspector will pause scanning. The existing findings will continue to exist until the instance is terminated. Once the instance is re-started, Inspector will automatically start scanning the instance again. Please note that you will not be charged for this instance while it’s in a stopped state. PENDING_DISABLE - This resource is pending cleanup during disablement. The customer will not be billed while a resource is in the pending disable status. NO INVENTORY - Amazon Inspector couldn’t find software application inventory to scan for vulnerabilities. This might be caused due to required Amazon Inspector associations being deleted or failing to run on your resource. Please verify the status of InspectorInventoryCollection-do-not-delete association in the SSM console for the resource. Additionally, you can verify the instance’s inventory in the SSM Fleet Manager console. STALE_INVENTORY - Amazon Inspector wasn’t able to collect an updated software application inventory in the last 7 days. Please confirm the required Amazon Inspector associations still exist and you can still see an updated inventory in the SSM console. EXCLUDED_BY_TAG - This resource was not scanned because it has been excluded by a tag. UNSUPPORTED_RUNTIME - The function was not scanned because it has an unsupported runtime. To see a complete list of supported runtimes see: https://docs.aws.amazon.com/inspector/latest/user/supported.html. UNSUPPORTED_MEDIA_TYPE - The ECR image has an unsupported media type. UNSUPPORTED_CONFIG_FILE - Reserved for future use. DEEP_INSPECTION_PACKAGE_COLLECTION_LIMIT_EXCEEDED - The instance has exceeded the 5000 package limit for Amazon Inspector Deep inspection. To resume Deep inspection for this instance you can try to adjust the custom paths associated with the account. DEEP_INSPECTION_DAILY_SSM_INVENTORY_LIMIT_EXCEEDED - The SSM agent couldn't send inventory to Amazon Inspector because the SSM quota for Inventory data collected per instance per day has already been reached for this instance. DEEP_INSPECTION_COLLECTION_TIME_LIMIT_EXCEEDED - Amazon Inspector failed to extract the package inventory because the package collection time exceeding the maximum threshold of 15 minutes. DEEP_INSPECTION_NO_INVENTORY The Amazon Inspector plugin hasn't yet been able to collect an inventory of packages for this instance. This is usually the result of a pending scan, however, if this status persists after 6 hours, use SSM to ensure that the required Amazon Inspector associations exist and are running for the instance.
- */
- reason: ScanStatusReason;
- /**
- * The status code of the scan.
- */
- statusCode: ScanStatusCode;
- }
- export type ScanStatusCode = "ACTIVE"|"INACTIVE"|string;
- export type ScanStatusReason = "PENDING_INITIAL_SCAN"|"ACCESS_DENIED"|"INTERNAL_ERROR"|"UNMANAGED_EC2_INSTANCE"|"UNSUPPORTED_OS"|"SCAN_ELIGIBILITY_EXPIRED"|"RESOURCE_TERMINATED"|"SUCCESSFUL"|"NO_RESOURCES_FOUND"|"IMAGE_SIZE_EXCEEDED"|"SCAN_FREQUENCY_MANUAL"|"SCAN_FREQUENCY_SCAN_ON_PUSH"|"EC2_INSTANCE_STOPPED"|"PENDING_DISABLE"|"NO_INVENTORY"|"STALE_INVENTORY"|"EXCLUDED_BY_TAG"|"UNSUPPORTED_RUNTIME"|"UNSUPPORTED_MEDIA_TYPE"|"UNSUPPORTED_CONFIG_FILE"|"DEEP_INSPECTION_PACKAGE_COLLECTION_LIMIT_EXCEEDED"|"DEEP_INSPECTION_DAILY_SSM_INVENTORY_LIMIT_EXCEEDED"|"DEEP_INSPECTION_COLLECTION_TIME_LIMIT_EXCEEDED"|"DEEP_INSPECTION_NO_INVENTORY"|string;
- export type ScanType = "NETWORK"|"PACKAGE"|"CODE"|string;
- export interface Schedule {
- /**
- * The schedule's daily.
- */
- daily?: DailySchedule;
- /**
- * The schedule's monthly.
- */
- monthly?: MonthlySchedule;
- /**
- * The schedule's one time.
- */
- oneTime?: OneTimeSchedule;
- /**
- * The schedule's weekly.
- */
- weekly?: WeeklySchedule;
- }
- export interface SearchVulnerabilitiesFilterCriteria {
- /**
- * The IDs for specific vulnerabilities.
- */
- vulnerabilityIds: VulnIdList;
- }
- export interface SearchVulnerabilitiesRequest {
- /**
- * The criteria used to filter the results of a vulnerability search.
- */
- filterCriteria: SearchVulnerabilitiesFilterCriteria;
- /**
- * A token to use for paginating results that are returned in the response. Set the value of this parameter to null for the first request to a list action. For subsequent calls, use the NextToken value returned from the previous request to continue listing results after the first page.
- */
- nextToken?: NextToken;
- }
- export interface SearchVulnerabilitiesResponse {
- /**
- * The pagination parameter to be used on the next list operation to retrieve more items.
- */
- nextToken?: NextToken;
- /**
- * Details about the listed vulnerability.
- */
- vulnerabilities: Vulnerabilities;
- }
- export type SecurityGroupId = string;
- export type SecurityGroupIdList = SecurityGroupId[];
- export interface SendCisSessionHealthRequest {
- /**
- * A unique identifier for the scan job.
- */
- scanJobId: UUID;
- /**
- * The unique token that identifies the CIS session.
- */
- sessionToken: UUID;
- }
- export interface SendCisSessionHealthResponse {
- }
- export interface SendCisSessionTelemetryRequest {
- /**
- * The CIS session telemetry messages.
- */
- messages: CisSessionMessages;
- /**
- * A unique identifier for the scan job.
- */
- scanJobId: UUID;
- /**
- * The unique token that identifies the CIS session.
- */
- sessionToken: UUID;
- }
- export interface SendCisSessionTelemetryResponse {
- }
- export type Service = "EC2"|"ECR"|"LAMBDA"|string;
- export type Severity = "INFORMATIONAL"|"LOW"|"MEDIUM"|"HIGH"|"CRITICAL"|"UNTRIAGED"|string;
- export interface SeverityCounts {
- /**
- * The total count of findings from all severities.
- */
- all?: Long;
- /**
- * The total count of critical severity findings.
- */
- critical?: Long;
- /**
- * The total count of high severity findings.
- */
- high?: Long;
- /**
- * The total count of medium severity findings.
- */
- medium?: Long;
- }
- export interface SortCriteria {
- /**
- * The finding detail field by which results are sorted.
- */
- field: SortField;
- /**
- * The order by which findings are sorted.
- */
- sortOrder: SortOrder;
- }
- export type SortField = "AWS_ACCOUNT_ID"|"FINDING_TYPE"|"SEVERITY"|"FIRST_OBSERVED_AT"|"LAST_OBSERVED_AT"|"FINDING_STATUS"|"RESOURCE_TYPE"|"ECR_IMAGE_PUSHED_AT"|"ECR_IMAGE_REPOSITORY_NAME"|"ECR_IMAGE_REGISTRY"|"NETWORK_PROTOCOL"|"COMPONENT_TYPE"|"VULNERABILITY_ID"|"VULNERABILITY_SOURCE"|"INSPECTOR_SCORE"|"VENDOR_SEVERITY"|"EPSS_SCORE"|string;
- export type SortOrder = "ASC"|"DESC"|string;
- export type SourceLayerHash = string;
- export interface StartCisSessionMessage {
- /**
- * The unique token that identifies the CIS session.
- */
- sessionToken: UUID;
- }
- export interface StartCisSessionRequest {
- /**
- * The start CIS session message.
- */
- message: StartCisSessionMessage;
- /**
- * A unique identifier for the scan job.
- */
- scanJobId: UUID;
- }
- export interface StartCisSessionResponse {
- }
- export interface State {
- /**
- * The error code explaining why the account failed to enable Amazon Inspector.
- */
- errorCode: ErrorCode;
- /**
- * The error message received when the account failed to enable Amazon Inspector.
- */
- errorMessage: NonEmptyString;
- /**
- * The status of Amazon Inspector for the account.
- */
- status: Status;
- }
- export type Status = "ENABLING"|"ENABLED"|"DISABLING"|"DISABLED"|"SUSPENDING"|"SUSPENDED"|string;
- export interface StatusCounts {
- /**
- * The number of checks that failed.
- */
- failed?: Integer;
- /**
- * The number of checks that passed.
- */
- passed?: Integer;
- /**
- * The number of checks that were skipped.
- */
- skipped?: Integer;
- }
- export interface Step {
- /**
- * The component ID.
- */
- componentId: Component;
- /**
- * The component type.
- */
- componentType: ComponentType;
- }
- export type StepList = Step[];
- export interface StopCisMessageProgress {
- /**
- * The progress' error checks.
- */
- errorChecks?: CheckCount;
- /**
- * The progress' failed checks.
- */
- failedChecks?: CheckCount;
- /**
- * The progress' informational checks.
- */
- informationalChecks?: CheckCount;
- /**
- * The progress' not applicable checks.
- */
- notApplicableChecks?: CheckCount;
- /**
- * The progress' not evaluated checks.
- */
- notEvaluatedChecks?: CheckCount;
- /**
- * The progress' successful checks.
- */
- successfulChecks?: CheckCount;
- /**
- * The progress' total checks.
- */
- totalChecks?: CheckCount;
- /**
- * The progress' unknown checks.
- */
- unknownChecks?: CheckCount;
- }
- export interface StopCisSessionMessage {
- /**
- * The message benchmark profile.
- */
- benchmarkProfile?: BenchmarkProfile;
- /**
- * The message benchmark version.
- */
- benchmarkVersion?: BenchmarkVersion;
- /**
- * The message compute platform.
- */
- computePlatform?: ComputePlatform;
- /**
- * The progress of the message.
- */
- progress: StopCisMessageProgress;
- /**
- * The reason for the message.
- */
- reason?: Reason;
- /**
- * The status of the message.
- */
- status: StopCisSessionStatus;
- }
- export interface StopCisSessionRequest {
- /**
- * The stop CIS session message.
- */
- message: StopCisSessionMessage;
- /**
- * A unique identifier for the scan job.
- */
- scanJobId: UUID;
- /**
- * The unique token that identifies the CIS session.
- */
- sessionToken: UUID;
- }
- export interface StopCisSessionResponse {
- }
- export type StopCisSessionStatus = "SUCCESS"|"FAILED"|"INTERRUPTED"|"UNSUPPORTED_OS"|string;
- export type String = string;
- export type StringComparison = "EQUALS"|"PREFIX"|"NOT_EQUALS"|string;
- export interface StringFilter {
- /**
- * The operator to use when comparing values in the filter.
- */
- comparison: StringComparison;
- /**
- * The value to filter on.
- */
- value: StringInput;
- }
- export type StringFilterList = StringFilter[];
- export type StringInput = string;
- export type StringList = NonEmptyString[];
- export type SubnetId = string;
- export type SubnetIdList = SubnetId[];
- export interface SuggestedFix {
- /**
- * The fix's code.
- */
- code?: SuggestedFixCodeString;
- /**
- * The fix's description.
- */
- description?: SuggestedFixDescriptionString;
- }
- export type SuggestedFixCodeString = string;
- export type SuggestedFixDescriptionString = string;
- export type SuggestedFixes = SuggestedFix[];
- export type TagComparison = "EQUALS"|string;
- export interface TagFilter {
- /**
- * The tag filter comparison value.
- */
- comparison: TagComparison;
- /**
- * The tag filter key.
- */
- key: NonEmptyString;
- /**
- * The tag filter value.
- */
- value: NonEmptyString;
- }
- export type TagKey = string;
- export type TagKeyList = TagKey[];
- export type TagList = String[];
- export type TagMap = {[key: string]: MapValue};
- export interface TagResourceRequest {
- /**
- * The Amazon Resource Name (ARN) of the resource to apply a tag to.
- */
- resourceArn: Arn;
- /**
- * The tags to be added to a resource.
- */
- tags: TagMap;
- }
- export interface TagResourceResponse {
- }
- export type TagValueList = String[];
- export type Target = string;
- export type TargetAccount = string;
- export type TargetAccountList = TargetAccount[];
- export type TargetResourceTags = {[key: string]: TagValueList};
- export type TargetStatusFilterList = CisTargetStatusFilter[];
- export type TargetStatusReasonFilterList = CisTargetStatusReasonFilter[];
- export type Targets = Target[];
- export interface Time {
- /**
- * The time of day in 24-hour format (00:00).
- */
- timeOfDay: TimeOfDay;
- /**
- * The timezone.
- */
- timezone: Timezone;
- }
- export type TimeOfDay = string;
- export type Timestamp = Date;
- export type Timezone = string;
- export interface TitleAggregation {
- /**
- * The type of finding to aggregate on.
- */
- findingType?: AggregationFindingType;
- /**
- * The resource type to aggregate on.
- */
- resourceType?: AggregationResourceType;
- /**
- * The value to sort results by.
- */
- sortBy?: TitleSortBy;
- /**
- * The order to sort results by.
- */
- sortOrder?: SortOrder;
- /**
- * The finding titles to aggregate on.
- */
- titles?: StringFilterList;
- /**
- * The vulnerability IDs of the findings.
- */
- vulnerabilityIds?: StringFilterList;
- }
- export interface TitleAggregationResponse {
- /**
- * The ID of the Amazon Web Services account associated with the findings.
- */
- accountId?: AccountId;
- /**
- * An object that represent the count of matched findings per severity.
- */
- severityCounts?: SeverityCounts;
- /**
- * The title that the findings were aggregated on.
- */
- title: NonEmptyString;
- /**
- * The vulnerability ID of the finding.
- */
- vulnerabilityId?: String;
- }
- export type TitleFilterList = CisStringFilter[];
- export type TitleSortBy = "CRITICAL"|"HIGH"|"ALL"|string;
- export type Tool = string;
- export type Tools = Tool[];
- export type Ttp = string;
- export type Ttps = Ttp[];
- export type UUID = string;
- export interface UntagResourceRequest {
- /**
- * The Amazon Resource Name (ARN) for the resource to remove tags from.
- */
- resourceArn: Arn;
- /**
- * The tag keys to remove from the resource.
- */
- tagKeys: TagKeyList;
- }
- export interface UntagResourceResponse {
- }
- export interface UpdateCisScanConfigurationRequest {
- /**
- * The CIS scan configuration ARN.
- */
- scanConfigurationArn: CisScanConfigurationArn;
- /**
- * The scan name for the CIS scan configuration.
- */
- scanName?: CisScanName;
- /**
- * The schedule for the CIS scan configuration.
- */
- schedule?: Schedule;
- /**
- * The security level for the CIS scan configuration. Security level refers to the Benchmark levels that CIS assigns to a profile.
- */
- securityLevel?: CisSecurityLevel;
- /**
- * The targets for the CIS scan configuration.
- */
- targets?: UpdateCisTargets;
- }
- export interface UpdateCisScanConfigurationResponse {
- /**
- * The CIS scan configuration ARN.
- */
- scanConfigurationArn: CisScanConfigurationArn;
- }
- export interface UpdateCisTargets {
- /**
- * The target account ids.
- */
- accountIds?: TargetAccountList;
- /**
- * The target resource tags.
- */
- targetResourceTags?: TargetResourceTags;
- }
- export interface UpdateConfigurationRequest {
- /**
- * Specifies how the Amazon EC2 automated scan will be updated for your environment.
- */
- ec2Configuration?: Ec2Configuration;
- /**
- * Specifies how the ECR automated re-scan will be updated for your environment.
- */
- ecrConfiguration?: EcrConfiguration;
- }
- export interface UpdateConfigurationResponse {
- }
- export interface UpdateEc2DeepInspectionConfigurationRequest {
- /**
- * Specify TRUE to activate Amazon Inspector deep inspection in your account, or FALSE to deactivate. Member accounts in an organization cannot deactivate deep inspection, instead the delegated administrator for the organization can deactivate a member account using BatchUpdateMemberEc2DeepInspectionStatus.
- */
- activateDeepInspection?: Boolean;
- /**
- * The Amazon Inspector deep inspection custom paths you are adding for your account.
- */
- packagePaths?: PathList;
- }
- export interface UpdateEc2DeepInspectionConfigurationResponse {
- /**
- * An error message explaining why new Amazon Inspector deep inspection custom paths could not be added.
- */
- errorMessage?: NonEmptyString;
- /**
- * The current Amazon Inspector deep inspection custom paths for the organization.
- */
- orgPackagePaths?: PathList;
- /**
- * The current Amazon Inspector deep inspection custom paths for your account.
- */
- packagePaths?: PathList;
- /**
- * The status of Amazon Inspector deep inspection in your account.
- */
- status?: Ec2DeepInspectionStatus;
- }
- export interface UpdateEncryptionKeyRequest {
- /**
- * A KMS key ID for the encryption key.
- */
- kmsKeyId: KmsKeyArn;
- /**
- * The resource type for the encryption key.
- */
- resourceType: ResourceType;
- /**
- * The scan type for the encryption key.
- */
- scanType: ScanType;
- }
- export interface UpdateEncryptionKeyResponse {
- }
- export interface UpdateFilterRequest {
- /**
- * Specifies the action that is to be applied to the findings that match the filter.
- */
- action?: FilterAction;
- /**
- * A description of the filter.
- */
- description?: FilterDescription;
- /**
- * The Amazon Resource Number (ARN) of the filter to update.
- */
- filterArn: FilterArn;
- /**
- * Defines the criteria to be update in the filter.
- */
- filterCriteria?: FilterCriteria;
- /**
- * The name of the filter.
- */
- name?: FilterName;
- /**
- * The reason the filter was updated.
- */
- reason?: FilterReason;
- }
- export interface UpdateFilterResponse {
- /**
- * The Amazon Resource Number (ARN) of the successfully updated filter.
- */
- arn: FilterArn;
- }
- export interface UpdateOrgEc2DeepInspectionConfigurationRequest {
- /**
- * The Amazon Inspector deep inspection custom paths you are adding for your organization.
- */
- orgPackagePaths: PathList;
- }
- export interface UpdateOrgEc2DeepInspectionConfigurationResponse {
- }
- export interface UpdateOrganizationConfigurationRequest {
- /**
- * Defines which scan types are enabled automatically for new members of your Amazon Inspector organization.
- */
- autoEnable: AutoEnable;
- }
- export interface UpdateOrganizationConfigurationResponse {
- /**
- * The updated status of scan types automatically enabled for new members of your Amazon Inspector organization.
- */
- autoEnable: AutoEnable;
- }
- export interface Usage {
- /**
- * The currency type used when calculating usage data.
- */
- currency?: Currency;
- /**
- * The estimated monthly cost of Amazon Inspector.
- */
- estimatedMonthlyCost?: MonthlyCostEstimate;
- /**
- * The total of usage.
- */
- total?: UsageValue;
- /**
- * The type scan.
- */
- type?: UsageType;
- }
- export type UsageAccountId = string;
- export type UsageAccountIdList = UsageAccountId[];
- export type UsageList = Usage[];
- export interface UsageTotal {
- /**
- * The account ID of the account that usage data was retrieved for.
- */
- accountId?: MeteringAccountId;
- /**
- * An object representing the total usage for an account.
- */
- usage?: UsageList;
- }
- export type UsageTotalList = UsageTotal[];
- export type UsageType = "EC2_INSTANCE_HOURS"|"ECR_INITIAL_SCAN"|"ECR_RESCAN"|"LAMBDA_FUNCTION_HOURS"|"LAMBDA_FUNCTION_CODE_HOURS"|string;
- export type UsageValue = number;
- export type Vendor = string;
- export type VendorCreatedAt = Date;
- export type VendorSeverity = string;
- export type VendorUpdatedAt = Date;
- export type Version = string;
- export type VpcId = string;
- export type VulnId = string;
- export type VulnIdList = VulnId[];
- export type Vulnerabilities = Vulnerability[];
- export interface Vulnerability {
- /**
- * An object that contains information about the Amazon Web Services Threat Intel Group (ATIG) details for the vulnerability.
- */
- atigData?: AtigData;
- /**
- * An object that contains the Cybersecurity and Infrastructure Security Agency (CISA) details for the vulnerability.
- */
- cisaData?: CisaData;
- /**
- * An object that contains the Common Vulnerability Scoring System (CVSS) Version 2 details for the vulnerability.
- */
- cvss2?: Cvss2;
- /**
- * An object that contains the Common Vulnerability Scoring System (CVSS) Version 3 details for the vulnerability.
- */
- cvss3?: Cvss3;
- /**
- * The Common Weakness Enumeration (CWE) associated with the vulnerability.
- */
- cwes?: Cwes;
- /**
- * A description of the vulnerability.
- */
- description?: VulnerabilityDescription;
- /**
- * Platforms that the vulnerability can be detected on.
- */
- detectionPlatforms?: DetectionPlatforms;
- /**
- * An object that contains the Exploit Prediction Scoring System (EPSS) score for a vulnerability.
- */
- epss?: Epss;
- /**
- * An object that contains details on when the exploit was observed.
- */
- exploitObserved?: ExploitObserved;
- /**
- * The ID for the specific vulnerability.
- */
- id: NonEmptyString;
- /**
- * Links to various resources with more information on this vulnerability.
- */
- referenceUrls?: VulnerabilityReferenceUrls;
- /**
- * A list of related vulnerabilities.
- */
- relatedVulnerabilities?: RelatedVulnerabilities;
- /**
- * The source of the vulnerability information. Possible results are RHEL, AMAZON_CVE, DEBIAN or NVD.
- */
- source?: VulnerabilitySource;
- /**
- * A link to the official source material for this vulnerability.
- */
- sourceUrl?: VulnerabilitySourceUrl;
- /**
- * The date and time when the vendor created this vulnerability.
- */
- vendorCreatedAt?: VendorCreatedAt;
- /**
- * The severity assigned by the vendor.
- */
- vendorSeverity?: VendorSeverity;
- /**
- * The date and time when the vendor last updated this vulnerability.
- */
- vendorUpdatedAt?: VendorUpdatedAt;
- }
- export type VulnerabilityDescription = string;
- export type VulnerabilityId = string;
- export type VulnerabilityIdList = VulnerabilityId[];
- export type VulnerabilityReferenceUrl = string;
- export type VulnerabilityReferenceUrls = VulnerabilityReferenceUrl[];
- export type VulnerabilitySource = "NVD"|string;
- export type VulnerabilitySourceUrl = string;
- export interface VulnerablePackage {
- /**
- * The architecture of the vulnerable package.
- */
- arch?: PackageArchitecture;
- /**
- * The epoch of the vulnerable package.
- */
- epoch?: PackageEpoch;
- /**
- * The file path of the vulnerable package.
- */
- filePath?: FilePath;
- /**
- * The version of the package that contains the vulnerability fix.
- */
- fixedInVersion?: PackageVersion;
- /**
- * The name of the vulnerable package.
- */
- name: PackageName;
- /**
- * The package manager of the vulnerable package.
- */
- packageManager?: PackageManager;
- /**
- * The release of the vulnerable package.
- */
- release?: PackageRelease;
- /**
- * The code to run in your environment to update packages with a fix available.
- */
- remediation?: VulnerablePackageRemediation;
- /**
- * The Amazon Resource Number (ARN) of the Amazon Web Services Lambda function affected by a finding.
- */
- sourceLambdaLayerArn?: LambdaLayerArn;
- /**
- * The source layer hash of the vulnerable package.
- */
- sourceLayerHash?: SourceLayerHash;
- /**
- * The version of the vulnerable package.
- */
- version: PackageVersion;
- }
- export type VulnerablePackageList = VulnerablePackage[];
- export type VulnerablePackageRemediation = string;
- export interface WeeklySchedule {
- /**
- * The weekly schedule's days.
- */
- days: DaysList;
- /**
- * The weekly schedule's start time.
- */
- startTime: Time;
- }
- /**
- * 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 = "2020-06-08"|"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 Inspector2 client.
- */
- export import Types = Inspector2;
- }
- export = Inspector2;
|