Skip to content

Commit 390e539

Browse files
authored
Merge pull request #64 from cloudgraphdev/beta
RELEASE: 0.81.0
2 parents 13d0560 + 82a295a commit 390e539

File tree

65 files changed

+1519
-375
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

65 files changed

+1519
-375
lines changed

CHANGELOG.md

Lines changed: 64 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,67 @@
1+
# [0.81.0-beta.1](https://github.com/cloudgraphdev/cloudgraph-provider-aws/compare/0.80.0...0.81.0-beta.1) (2022-05-17)
2+
3+
4+
### Bug Fixes
5+
6+
* Added ACL Grants needed for aws cis 1.3.0-3.3 rule ([88dd8ce](https://github.com/cloudgraphdev/cloudgraph-provider-aws/commit/88dd8ce8c43a17e11051d0919730acc6f3025cd0))
7+
* Added missing return to resolve promise ([904b25d](https://github.com/cloudgraphdev/cloudgraph-provider-aws/commit/904b25dc52e019b0bcf7da6f8051a63f3a7e8a56))
8+
* Added SSLCertificateId needed for the NIST 16.5 rule ([def7137](https://github.com/cloudgraphdev/cloudgraph-provider-aws/commit/def7137e0d0e4e1c4afdc6345fc0b4a3640fc22d))
9+
* Added validations and retry settings ([200c7f2](https://github.com/cloudgraphdev/cloudgraph-provider-aws/commit/200c7f238c1b4f5142770e357ea4fc4a1e16d155))
10+
* Added validations and retry settings ([fec06cb](https://github.com/cloudgraphdev/cloudgraph-provider-aws/commit/fec06cb6d869099797a017b582dcbbfbac17c60d))
11+
* fixed services that returned only the first page of paged results ([fcbd78b](https://github.com/cloudgraphdev/cloudgraph-provider-aws/commit/fcbd78bbbabefca9e7e4c37ec9b28618601a2e3d))
12+
13+
14+
### Features
15+
16+
* Add apiGatewayHttpApi (apiGatewayV2) service ([e02c6cb](https://github.com/cloudgraphdev/cloudgraph-provider-aws/commit/e02c6cb1a35d231190021e18481d144229a9f8a7))
17+
* Add AWS IAM Access analyzer service ([cc3ae64](https://github.com/cloudgraphdev/cloudgraph-provider-aws/commit/cc3ae64366e60f915ec1f4194ebc7cccf9969576))
18+
* Added missing return to resolve promise ([179132a](https://github.com/cloudgraphdev/cloudgraph-provider-aws/commit/179132ae000acc32e0e11d647611d8c1bb26ee04))
19+
20+
# [0.81.0-alpha.6](https://github.com/cloudgraphdev/cloudgraph-provider-aws/compare/0.81.0-alpha.5...0.81.0-alpha.6) (2022-05-16)
21+
22+
23+
### Features
24+
25+
* Add apiGatewayHttpApi (apiGatewayV2) service ([e02c6cb](https://github.com/cloudgraphdev/cloudgraph-provider-aws/commit/e02c6cb1a35d231190021e18481d144229a9f8a7))
26+
* Added missing return to resolve promise ([179132a](https://github.com/cloudgraphdev/cloudgraph-provider-aws/commit/179132ae000acc32e0e11d647611d8c1bb26ee04))
27+
28+
# [0.81.0-alpha.5](https://github.com/cloudgraphdev/cloudgraph-provider-aws/compare/0.81.0-alpha.4...0.81.0-alpha.5) (2022-05-12)
29+
30+
31+
### Bug Fixes
32+
33+
* Added ACL Grants needed for aws cis 1.3.0-3.3 rule ([88dd8ce](https://github.com/cloudgraphdev/cloudgraph-provider-aws/commit/88dd8ce8c43a17e11051d0919730acc6f3025cd0))
34+
35+
# [0.81.0-alpha.4](https://github.com/cloudgraphdev/cloudgraph-provider-aws/compare/0.81.0-alpha.3...0.81.0-alpha.4) (2022-05-12)
36+
37+
38+
### Bug Fixes
39+
40+
* Added missing return to resolve promise ([904b25d](https://github.com/cloudgraphdev/cloudgraph-provider-aws/commit/904b25dc52e019b0bcf7da6f8051a63f3a7e8a56))
41+
* Added SSLCertificateId needed for the NIST 16.5 rule ([def7137](https://github.com/cloudgraphdev/cloudgraph-provider-aws/commit/def7137e0d0e4e1c4afdc6345fc0b4a3640fc22d))
42+
43+
# [0.81.0-alpha.3](https://github.com/cloudgraphdev/cloudgraph-provider-aws/compare/0.81.0-alpha.2...0.81.0-alpha.3) (2022-05-11)
44+
45+
46+
### Bug Fixes
47+
48+
* Added validations and retry settings ([200c7f2](https://github.com/cloudgraphdev/cloudgraph-provider-aws/commit/200c7f238c1b4f5142770e357ea4fc4a1e16d155))
49+
* Added validations and retry settings ([fec06cb](https://github.com/cloudgraphdev/cloudgraph-provider-aws/commit/fec06cb6d869099797a017b582dcbbfbac17c60d))
50+
51+
# [0.81.0-alpha.2](https://github.com/cloudgraphdev/cloudgraph-provider-aws/compare/0.81.0-alpha.1...0.81.0-alpha.2) (2022-05-10)
52+
53+
54+
### Bug Fixes
55+
56+
* fixed services that returned only the first page of paged results ([fcbd78b](https://github.com/cloudgraphdev/cloudgraph-provider-aws/commit/fcbd78bbbabefca9e7e4c37ec9b28618601a2e3d))
57+
58+
# [0.81.0-alpha.1](https://github.com/cloudgraphdev/cloudgraph-provider-aws/compare/0.80.0...0.81.0-alpha.1) (2022-05-04)
59+
60+
61+
### Features
62+
63+
* Add AWS IAM Access analyzer service ([cc3ae64](https://github.com/cloudgraphdev/cloudgraph-provider-aws/commit/cc3ae64366e60f915ec1f4194ebc7cccf9969576))
64+
165
# [0.80.0](https://github.com/cloudgraphdev/cloudgraph-provider-aws/compare/0.79.0...0.80.0) (2022-05-02)
266

367

README.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,9 @@ CloudGraph AWS Provider will ask you what regions you would like to crawl and wi
7070
| Service | Relations |
7171
| --------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
7272
| alb | ec2, elasticBeanstalkEnv, route53Record, securityGroup, subnet, vpc, wafV2WebAcl |
73-
| apiGatewayRestApi | apiGatewayResource, apiGatewayStage, route53Record |
73+
| apiGatewayDomainName | apiGatewayHttpApi, apiGatewayRestApi |
74+
| apiGatewayHttpApi | apiGatewayDomainName |
75+
| apiGatewayRestApi | apiGatewayDomainName, apiGatewayResource, apiGatewayStage, route53Record |
7476
| apiGatewayStage | apiGatewayRestApi, wafV2WebAcl |
7577
| apiGatewayResource | apiGatewayRestApi |
7678
| appSync | cognitoUserPool, dynamodb, iamRole, lambda, rdsCluster, wafV2WebAcl |
@@ -117,6 +119,7 @@ CloudGraph AWS Provider will ask you what regions you would like to crawl and wi
117119
| glueJob | iamRole |
118120
| glueRegistry | |
119121
| guardDutyDetector | iamRole |
122+
| iamAccessAnalyzer | |
120123
| iamInstanceProfile | ec2, iamRole |
121124
| iamPasswordPolicy | |
122125
| iamSamlProvider | cognitoIdentityPool |

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@cloudgraph/cg-provider-aws",
3-
"version": "0.80.0",
3+
"version": "0.81.0-beta.1",
44
"description": "cloud-graph provider plugin for AWS used to fetch AWS cloud data.",
55
"publishConfig": {
66
"registry": "https://registry.npmjs.org/",

src/config/constants.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,3 +8,4 @@ export const ROUTE_53_CUSTOM_DELAY = 200
88
export const IAM_CUSTOM_DELAY = 1000
99
export const CLOUDFORMATION_STACK_CUSTOM_DELAY = 1000
1010
export const MESSAGE_INTERVAL = 45000
11+
export const SNS_CUSTOM_DELAY = 1000

src/enums/relations.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,5 @@ export default {
99
emrCluster: ['emrInstance', 'emrStep'],
1010
ecsService: ['ecsTaskSet', 'ecsTaskDefinition'],
1111
iamInstanceProfile: ['ec2Instance'],
12+
apiGatewayDomainName: ['apiGatewayRestApi'],
1213
}

src/enums/schemasMap.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@ import services from './services'
66
export default {
77
account: 'awsAccount',
88
[services.alb]: 'awsAlb',
9+
[services.apiGatewayDomainName]: 'awsApiGatewayDomainName',
10+
[services.apiGatewayHttpApi]: 'awsApiGatewayHttpApi',
911
[services.apiGatewayResource]: 'awsApiGatewayResource',
1012
[services.apiGatewayRestApi]: 'awsApiGatewayRestApi',
1113
[services.apiGatewayStage]: 'awsApiGatewayStage',
@@ -54,6 +56,7 @@ export default {
5456
[services.emrCluster]: 'awsEmrCluster',
5557
[services.emrInstance]: 'awsEmrInstance',
5658
[services.emrStep]: 'awsEmrStep',
59+
[services.iamAccessAnalyzer]: 'awsIamAccessAnalyzer',
5760
[services.iamGroup]: 'awsIamGroup',
5861
[services.iamOpenIdConnectProvider]: 'awsIamOpenIdConnectProvider',
5962
[services.iamPasswordPolicy]: 'awsIamPasswordPolicy',

src/enums/serviceAliases.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@ import services from './services'
22

33
export default {
44
[services.alb]: 'albs',
5+
[services.apiGatewayDomainName]: 'apiGatewayDomainNames',
6+
[services.apiGatewayHttpApi]: 'apiGatewayHttpApis',
57
[services.apiGatewayResource]: 'apiGatewayResources',
68
[services.apiGatewayRestApi]: 'apiGatewayRestApis',
79
[services.apiGatewayStage]: 'apiGatewayStages',
@@ -36,6 +38,7 @@ export default {
3638
[services.glueJob]: 'glueJobs',
3739
[services.glueRegistry]: 'glueRegistries',
3840
[services.guardDutyDetector]: 'guardDutyDetectors',
41+
[services.iamAccessAnalyzer]: 'iamAccessAnalyzers',
3942
[services.iamGroup]: 'iamGroups',
4043
[services.iamOpenIdConnectProvider]: 'iamOpenIdConnectProviders',
4144
[services.iamPasswordPolicy]: 'iamPasswordPolicies',

src/enums/serviceMap.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,7 @@ import SES from '../services/ses'
5858
import SQS from '../services/sqs'
5959
import VPC from '../services/vpc'
6060
import ECR from '../services/ecr'
61+
import IamAccessAnalyzer from '../services/iamAccessAnalyzer'
6162
import IamGroup from '../services/iamGroup'
6263
import IamUser from '../services/iamUser'
6364
import IamRole from '../services/iamRole'
@@ -95,6 +96,8 @@ import SageMakerNotebookInstance from '../services/sageMakerNotebookInstance'
9596
import SystemsManagerInstance from '../services/systemsManagerInstance'
9697
import SystemsManagerDocument from '../services/systemsManagerDocument'
9798
import RdsClusterSnapshot from '../services/rdsClusterSnapshot'
99+
import APIGatewayDomainName from '../services/apiGatewayDomainName'
100+
import APIGatewayHttpApi from '../services/apiGatewayHttpApi'
98101

99102
/**
100103
* serviceMap is an object that contains all currently supported services for AWS
@@ -104,6 +107,8 @@ export default {
104107
account: Account,
105108
[services.appSync]: AppSync,
106109
[services.alb]: ALB,
110+
[services.apiGatewayDomainName]: APIGatewayDomainName,
111+
[services.apiGatewayHttpApi]: APIGatewayHttpApi,
107112
[services.apiGatewayResource]: APIGatewayResource,
108113
[services.apiGatewayRestApi]: APIGatewayRestApi,
109114
[services.apiGatewayStage]: APIGatewayStage,
@@ -171,6 +176,7 @@ export default {
171176
[services.s3]: S3,
172177
[services.secretsManager]: SecretsManager,
173178
[services.ses]: SES,
179+
[services.iamAccessAnalyzer]: IamAccessAnalyzer,
174180
[services.iamUser]: IamUser,
175181
[services.iamGroup]: IamGroup,
176182
[services.iamRole]: IamRole,

src/enums/services.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
export default {
22
alb: 'alb',
3+
apiGatewayDomainName: 'apiGatewayDomainName',
4+
apiGatewayHttpApi: 'apiGatewayHttpApi',
35
apiGatewayResource: 'apiGatewayResource',
46
apiGatewayRestApi: 'apiGatewayRestApi',
57
apiGatewayStage: 'apiGatewayStage',
@@ -48,6 +50,7 @@ export default {
4850
emrCluster: 'emrCluster',
4951
emrInstance: 'emrInstance',
5052
emrStep: 'emrStep',
53+
iamAccessAnalyzer: 'iamAccessAnalyzer',
5154
iamUser: 'iamUser',
5255
iamGroup: 'iamGroup',
5356
iamRole: 'iamRole',

src/properties/logger.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -668,4 +668,8 @@ export default {
668668
* Configuration Recorder Status
669669
*/
670670
fetchedConfigurationRecorderStatus: (num: number): string => `Fetched ${num} Configuration Recorder Status`,
671+
/**
672+
* Access Analyzers
673+
*/
674+
fetchedaccessAnalyzers: (num: number): string => `Found ${num} Access Analyzers`,
671675
}

0 commit comments

Comments
 (0)