Skip to content

Commit 9ee06e7

Browse files
authored
Merge pull request #58 from cloudgraphdev/alpha
Beta Release
2 parents 7de405e + 8bd112a commit 9ee06e7

File tree

65 files changed

+1521
-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

+1521
-375
lines changed

CHANGELOG.md

Lines changed: 66 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,69 @@
1+
# [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)
2+
3+
4+
### Features
5+
6+
* Add apiGatewayHttpApi (apiGatewayV2) service ([e02c6cb](https://github.com/cloudgraphdev/cloudgraph-provider-aws/commit/e02c6cb1a35d231190021e18481d144229a9f8a7))
7+
* Added missing return to resolve promise ([179132a](https://github.com/cloudgraphdev/cloudgraph-provider-aws/commit/179132ae000acc32e0e11d647611d8c1bb26ee04))
8+
9+
# [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)
10+
11+
12+
### Bug Fixes
13+
14+
* Added ACL Grants needed for aws cis 1.3.0-3.3 rule ([88dd8ce](https://github.com/cloudgraphdev/cloudgraph-provider-aws/commit/88dd8ce8c43a17e11051d0919730acc6f3025cd0))
15+
16+
# [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)
17+
18+
19+
### Bug Fixes
20+
21+
* Added missing return to resolve promise ([904b25d](https://github.com/cloudgraphdev/cloudgraph-provider-aws/commit/904b25dc52e019b0bcf7da6f8051a63f3a7e8a56))
22+
* Added SSLCertificateId needed for the NIST 16.5 rule ([def7137](https://github.com/cloudgraphdev/cloudgraph-provider-aws/commit/def7137e0d0e4e1c4afdc6345fc0b4a3640fc22d))
23+
24+
# [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)
25+
26+
27+
### Bug Fixes
28+
29+
* Added validations and retry settings ([200c7f2](https://github.com/cloudgraphdev/cloudgraph-provider-aws/commit/200c7f238c1b4f5142770e357ea4fc4a1e16d155))
30+
* Added validations and retry settings ([fec06cb](https://github.com/cloudgraphdev/cloudgraph-provider-aws/commit/fec06cb6d869099797a017b582dcbbfbac17c60d))
31+
32+
# [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)
33+
34+
35+
### Bug Fixes
36+
37+
* fixed services that returned only the first page of paged results ([fcbd78b](https://github.com/cloudgraphdev/cloudgraph-provider-aws/commit/fcbd78bbbabefca9e7e4c37ec9b28618601a2e3d))
38+
39+
# [0.81.0-alpha.1](https://github.com/cloudgraphdev/cloudgraph-provider-aws/compare/0.80.0...0.81.0-alpha.1) (2022-05-04)
40+
41+
42+
### Features
43+
44+
* Add AWS IAM Access analyzer service ([cc3ae64](https://github.com/cloudgraphdev/cloudgraph-provider-aws/commit/cc3ae64366e60f915ec1f4194ebc7cccf9969576))
45+
46+
# [0.80.0](https://github.com/cloudgraphdev/cloudgraph-provider-aws/compare/0.79.0...0.80.0) (2022-05-02)
47+
48+
49+
### Bug Fixes
50+
51+
* Fixed some duplication issues without destroying data first ([7d798b4](https://github.com/cloudgraphdev/cloudgraph-provider-aws/commit/7d798b48fede8baa1b5cfb2c6f30a9096a6937a3))
52+
* Included rawPolicy for aws services ([6ee5cef](https://github.com/cloudgraphdev/cloudgraph-provider-aws/commit/6ee5cef489b35613c4bf47f0c3b5d9d4a06fcbfa))
53+
54+
55+
### Features
56+
57+
* Add Additional data to transit gateway attachment ([35a560c](https://github.com/cloudgraphdev/cloudgraph-provider-aws/commit/35a560cdd4eb408767275adee309d95a6badae73))
58+
* Add cloudfront connection to cloudwatch service ([d2936d6](https://github.com/cloudgraphdev/cloudgraph-provider-aws/commit/d2936d654189e56a021da946c76ab51b82b76276))
59+
* Add restrictionType to Cloudfront, geoRestriction ([a51e670](https://github.com/cloudgraphdev/cloudgraph-provider-aws/commit/a51e67087ab2721026cbcc32e96ecb089852468c))
60+
61+
62+
### Reverts
63+
64+
* Revert "feat: Add cloudfront connection to cloudwatch service" ([7ae11b8](https://github.com/cloudgraphdev/cloudgraph-provider-aws/commit/7ae11b853f7c62f07aa12471cd1f6f00326942e6))
65+
* Revert "Update README file conenctions" ([b27810f](https://github.com/cloudgraphdev/cloudgraph-provider-aws/commit/b27810fb62fee7926ffd9fb1e6e74f2f53479649))
66+
167
# [0.80.0-beta.1](https://github.com/cloudgraphdev/cloudgraph-provider-aws/compare/0.79.0...0.80.0-beta.1) (2022-05-02)
268

369

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-beta.1",
3+
"version": "0.81.0-alpha.6",
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)