File tree Expand file tree Collapse file tree 3 files changed +29
-2
lines changed
Expand file tree Collapse file tree 3 files changed +29
-2
lines changed Original file line number Diff line number Diff line change 1+ # [ 0.85.0-alpha.1] ( https://github.com/cloudgraphdev/cloudgraph-provider-aws/compare/0.84.0...0.85.0-alpha.1 ) (2023-02-11)
2+
3+
4+ ### Features
5+
6+ * ** auth:** support mfa based auth ([ 6c81f60] ( https://github.com/cloudgraphdev/cloudgraph-provider-aws/commit/6c81f6097a1c2eef7f0f48e7c25bcade173010e6 ) )
7+
8+ # [ 0.84.0] ( https://github.com/cloudgraphdev/cloudgraph-provider-aws/compare/0.83.1...0.84.0 ) (2023-01-24)
9+
10+
11+ ### Features
12+
13+ * ** CG-1311:** add AWS security hub ([ 067bf70] ( https://github.com/cloudgraphdev/cloudgraph-provider-aws/commit/067bf70678fd48b60f97feb6c2390e6ae31ea358 ) )
14+ * ** CG-1311:** update README ([ b36b426] ( https://github.com/cloudgraphdev/cloudgraph-provider-aws/commit/b36b426f8c25a2ebc96934fd7236aec669080083 ) )
15+ * ** creds:** update credentials flow to support sso ([ db29e83] ( https://github.com/cloudgraphdev/cloudgraph-provider-aws/commit/db29e8339cd8e6f481333cdeccf83ca4568439b1 ) )
16+
117# [ 0.84.0-beta.1] ( https://github.com/cloudgraphdev/cloudgraph-provider-aws/compare/0.83.1...0.84.0-beta.1 ) (2023-01-24)
218
319
Original file line number Diff line number Diff line change 11{
22 "name" : " @cloudgraph/cg-provider-aws" ,
3- "version" : " 0.84 .0-beta .1" ,
3+ "version" : " 0.85 .0-alpha .1" ,
44 "description" : " cloud-graph provider plugin for AWS used to fetch AWS cloud data." ,
55 "publishConfig" : {
66 "registry" : " https://registry.npmjs.org/" ,
Original file line number Diff line number Diff line change @@ -310,7 +310,18 @@ export default class Provider extends CloudGraph.Client {
310310 if ( profile && profile !== 'default' ) {
311311 let creds : AWS . Credentials
312312 const credsFunction = fromIni ( {
313- profile
313+ profile,
314+ // MFA token support
315+ mfaCodeProvider : async ( ) => {
316+ const { mfaToken = '' } : { mfaToken : string } = await this . interface . prompt ( [
317+ {
318+ type : 'input' ,
319+ message : `Please enter the MFA token for ${ profile } ` ,
320+ name : 'mfaToken'
321+ } ,
322+ ] )
323+ return mfaToken
324+ }
314325 } )
315326 if ( creds ) {
316327 sts = new AWS . STS ( { credentials : await credsFunction ( ) } )
You can’t perform that action at this time.
0 commit comments