Skip to content

Commit 14d4b1a

Browse files
authored
Merge pull request #167 from cloudgraphdev/alpha
beta release
2 parents 0a2ee22 + 89aabf3 commit 14d4b1a

File tree

33 files changed

+1582
-278
lines changed

33 files changed

+1582
-278
lines changed

CHANGELOG.md

Lines changed: 76 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,79 @@
1+
# [0.90.0-alpha.2](https://github.com/cloudgraphdev/cloudgraph-provider-aws/compare/0.90.0-alpha.1...0.90.0-alpha.2) (2023-11-03)
2+
3+
4+
### Bug Fixes
5+
6+
* **secretsManager:** get all data pages ([0f2cff4](https://github.com/cloudgraphdev/cloudgraph-provider-aws/commit/0f2cff400c44d183e613aa72df362be826a19aa5))
7+
8+
# [0.90.0-alpha.1](https://github.com/cloudgraphdev/cloudgraph-provider-aws/compare/0.89.1-alpha.2...0.90.0-alpha.1) (2023-10-18)
9+
10+
11+
### Features
12+
13+
* adding api gateway v2 services ([62eb02f](https://github.com/cloudgraphdev/cloudgraph-provider-aws/commit/62eb02f7d06f978f60fa631930038057a3e87d42))
14+
15+
## [0.89.1-alpha.2](https://github.com/cloudgraphdev/cloudgraph-provider-aws/compare/0.89.1-alpha.1...0.89.1-alpha.2) (2023-08-10)
16+
17+
18+
### Bug Fixes
19+
20+
* **cloud9:** filter out invalid elements ([2004c17](https://github.com/cloudgraphdev/cloudgraph-provider-aws/commit/2004c178b9b4181b82c45dc485c7a1cc2a8226f2))
21+
* **dynamoDB:** PointInTimeRecovery is optional ([6b9395c](https://github.com/cloudgraphdev/cloudgraph-provider-aws/commit/6b9395c549a69eebab9be54f04fdb7d0bc88418d))
22+
23+
## [0.89.1-alpha.1](https://github.com/cloudgraphdev/cloudgraph-provider-aws/compare/0.89.0...0.89.1-alpha.1) (2023-08-07)
24+
25+
26+
### Bug Fixes
27+
28+
* **ecsTaskDefinition:** fix keys of null error ([c9195bd](https://github.com/cloudgraphdev/cloudgraph-provider-aws/commit/c9195bdadbdf1e5a25bd796a97fa7be0f009b91f))
29+
30+
# [0.89.0](https://github.com/cloudgraphdev/cloudgraph-provider-aws/compare/0.88.0...0.89.0) (2023-07-19)
31+
32+
33+
### Bug Fixes
34+
35+
* **aws:** fixes for beta release review ([d6dc132](https://github.com/cloudgraphdev/cloudgraph-provider-aws/commit/d6dc132b1945f9532151f79b0c05efe7bc10b636))
36+
* Fixed error with VPC connections and elasticSearchDomain ([80af943](https://github.com/cloudgraphdev/cloudgraph-provider-aws/commit/80af94379b3d1b6e46ccd15d4c887d5cfc53ed55))
37+
* refactor listenerCertificates method ([aab3b84](https://github.com/cloudgraphdev/cloudgraph-provider-aws/commit/aab3b8474ba23ef6b7b16e55d0569432ed903ff1))
38+
39+
40+
### Features
41+
42+
* add apigateway missing services ([afd255f](https://github.com/cloudgraphdev/cloudgraph-provider-aws/commit/afd255ff59f3ea7238bfdbcba992dc3154b31236))
43+
* add config missing services ([ad4f1a1](https://github.com/cloudgraphdev/cloudgraph-provider-aws/commit/ad4f1a1e2f58caa21838cc1966621e863bc648e8))
44+
* add ecr missing services ([9b41282](https://github.com/cloudgraphdev/cloudgraph-provider-aws/commit/9b4128203fd397aba9a8435482c3fe797c34ddcd))
45+
* add efs missing services ([ef37753](https://github.com/cloudgraphdev/cloudgraph-provider-aws/commit/ef37753c09f67f6f40ae745fb3ecfa9101144793))
46+
* add missing cloudwatch services ([c835307](https://github.com/cloudgraphdev/cloudgraph-provider-aws/commit/c835307f304c1b76802c61f12ea545e0914b1bcc))
47+
* add securityHub missing services ([734d0c1](https://github.com/cloudgraphdev/cloudgraph-provider-aws/commit/734d0c138eec88d27d37aee2f8c1cc70f50516c4))
48+
* Added aws_lambda_event_invoke_config for RT ([48ee1f0](https://github.com/cloudgraphdev/cloudgraph-provider-aws/commit/48ee1f03a04287aa28fa901c895c01071e3319bc))
49+
* Added new DocumentDBCluster service ([5ea6932](https://github.com/cloudgraphdev/cloudgraph-provider-aws/commit/5ea6932f029a428790ef6a702d2a57573dbe9cba))
50+
* Added rdsDBProxies ([7c3e5c0](https://github.com/cloudgraphdev/cloudgraph-provider-aws/commit/7c3e5c05c176149ec12c802bbd929834cd02e433))
51+
* Added rdsEventSubscription ([76c4438](https://github.com/cloudgraphdev/cloudgraph-provider-aws/commit/76c44380596efa087e1c5c0d57d4c047a85a993b))
52+
* Added rdsGlobalClusters ([fdc1342](https://github.com/cloudgraphdev/cloudgraph-provider-aws/commit/fdc1342e455a50b2ea7357f5a67ce9c4ee5aae69))
53+
* Added ses service configurations ([a1d550b](https://github.com/cloudgraphdev/cloudgraph-provider-aws/commit/a1d550b19e93e15a33b328856f73f27843edd4a3))
54+
* Added sesReceiptRuleSet service configurations ([7e3ca02](https://github.com/cloudgraphdev/cloudgraph-provider-aws/commit/7e3ca0222bdfee63e419930460770f477b7f2237))
55+
* Added snapshots for dbinstances ([1377e9a](https://github.com/cloudgraphdev/cloudgraph-provider-aws/commit/1377e9aa4526ff35fb5f08cc281f7e5b01edd220))
56+
* **aws:** Add codeCommitRepository service ([10f8d86](https://github.com/cloudgraphdev/cloudgraph-provider-aws/commit/10f8d86ec298e8031c421998e2bdb01b3967b349))
57+
* **aws:** Add codepipeline services ([8043378](https://github.com/cloudgraphdev/cloudgraph-provider-aws/commit/80433780dac8bc0e257c043726bbced4158811a4))
58+
* **aws:** Add ssm parameter service and update redshift ([0d808e6](https://github.com/cloudgraphdev/cloudgraph-provider-aws/commit/0d808e68aceafb1f75c4a3cbf4fb22478ba1dfb6))
59+
* **aws:** support missing ecs services ([87865d2](https://github.com/cloudgraphdev/cloudgraph-provider-aws/commit/87865d2d9bf2c77466059594d98e9fdc88333b3e))
60+
* **aws:** support missing glue services ([be11f33](https://github.com/cloudgraphdev/cloudgraph-provider-aws/commit/be11f33b3611b123f0167560adf894671248cb30))
61+
* **aws:** support missing iam services ([d576b40](https://github.com/cloudgraphdev/cloudgraph-provider-aws/commit/d576b40d8368a10c92119a95aeabf5c8bc0cafdc))
62+
* **aws:** Update cloudfront and eksCluster ([d7377ba](https://github.com/cloudgraphdev/cloudgraph-provider-aws/commit/d7377bac18e9757cf416918e6c6a9e0015078790))
63+
* **aws:** update readme file ([6c39235](https://github.com/cloudgraphdev/cloudgraph-provider-aws/commit/6c392359828a2ac5445936ba6376e79a615f9f91))
64+
* **aws:** updated elastic beanstalk client to aws-sdk-v3 to fix empty crawl data issue ([3f3e6b0](https://github.com/cloudgraphdev/cloudgraph-provider-aws/commit/3f3e6b0c23a522dd9e43b4f3a774e735e11a8029))
65+
* collect provider errors ([cccc04d](https://github.com/cloudgraphdev/cloudgraph-provider-aws/commit/cccc04d1749271f705c272c6923fe875ddb20f07))
66+
* Fetched extra grant information for kms service ([c99417b](https://github.com/cloudgraphdev/cloudgraph-provider-aws/commit/c99417baf1c52b521695e8f460c835cb35635c28))
67+
* Included event source mappings for lambda service ([9afbfb0](https://github.com/cloudgraphdev/cloudgraph-provider-aws/commit/9afbfb09c52dbeb1cb88b6ce1b2058b334c5c22e))
68+
* Included groupOption and parameterGroup for dbInstance ([88d5c14](https://github.com/cloudgraphdev/cloudgraph-provider-aws/commit/88d5c1413011d86aa547f5321da33eebecf17619))
69+
* Included layers for aws_lambda_layers ([624f9c2](https://github.com/cloudgraphdev/cloudgraph-provider-aws/commit/624f9c2523aec53deed8b40a716fbd1dbc488503))
70+
* Included name and statements id for aws_lambda_permissions ([8496b43](https://github.com/cloudgraphdev/cloudgraph-provider-aws/commit/8496b432014bf11617b2074aff4cb3019a73e3de))
71+
* Linked new rds services to awsAccount schema ([d18a849](https://github.com/cloudgraphdev/cloudgraph-provider-aws/commit/d18a8497d07d9598c761d205f1a1ada828d4260e))
72+
* linked new service ([44e7659](https://github.com/cloudgraphdev/cloudgraph-provider-aws/commit/44e765965e3ebddc3be2f5529f6327ce4c394118))
73+
* Linked new services ([9eee1b3](https://github.com/cloudgraphdev/cloudgraph-provider-aws/commit/9eee1b32ce18807dde113ff39d4f8f7ff35f358e))
74+
* Split up ses service depending on identity type ([214287f](https://github.com/cloudgraphdev/cloudgraph-provider-aws/commit/214287fd993cf3424d61de42ae613cc98c7d2d94))
75+
* support some alb services ([5f36758](https://github.com/cloudgraphdev/cloudgraph-provider-aws/commit/5f36758ee234fa1846384ed52b075d501899e1a5))
76+
177
# [0.89.0-beta.1](https://github.com/cloudgraphdev/cloudgraph-provider-aws/compare/0.88.0...0.89.0-beta.1) (2023-07-19)
278

379

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.89.0-beta.1",
3+
"version": "0.90.0-alpha.2",
44
"description": "cloud-graph provider plugin for AWS used to fetch AWS cloud data.",
55
"publishConfig": {
66
"registry": "https://registry.npmjs.org/",

src/enums/serviceMap.ts

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,14 @@ import Account from '../services/account'
22
import ACM from '../services/acm'
33
import ALB from '../services/alb'
44
import APIGatewayApiKey from '../services/apiGatewayApiKey'
5-
import APIGatewayDomainName from '../services/apiGatewayDomainName'
6-
import APIGatewayHttpApi from '../services/apiGatewayHttpApi'
5+
import APIGatewayDomainName from '../services/apiGateway2DomainName'
6+
import APIGatewayV2HttpApi from '../services/apiGateway2HttpApi'
77
import APIGatewayResource from '../services/apiGatewayResource'
88
import APIGatewayRestApi from '../services/apiGatewayRestApi'
99
import APIGatewayStage from '../services/apiGatewayStage'
1010
import APIGatewayUsagePlan from '../services/apiGatewayUsagePlan'
1111
import APIGatewayVpcLink from '../services/apiGatewayVpcLink'
12+
import APIGatewayV2VpcLink from '../services/apiGateway2VpcLink'
1213
import AppSync from '../services/appSync'
1314
import ASG from '../services/asg'
1415
import AthenaDataCatalog from '../services/athenaDataCatalog'
@@ -141,13 +142,14 @@ export default {
141142
[services.acm]: ACM,
142143
[services.alb]: ALB,
143144
[services.apiGatewayDomainName]: APIGatewayDomainName,
144-
[services.apiGatewayHttpApi]: APIGatewayHttpApi,
145+
[services.apiGatewayHttpApi]: APIGatewayV2HttpApi,
145146
[services.apiGatewayResource]: APIGatewayResource,
146147
[services.apiGatewayRestApi]: APIGatewayRestApi,
147148
[services.apiGatewayApiKey]: APIGatewayApiKey,
148149
[services.apiGatewayVpcLink]: APIGatewayVpcLink,
149150
[services.apiGatewayUsagePlan]: APIGatewayUsagePlan,
150151
[services.apiGatewayStage]: APIGatewayStage,
152+
[services.apiGatewayV2VpcLink]: APIGatewayV2VpcLink,
151153
[services.athenaDataCatalog]: AthenaDataCatalog,
152154
[services.asg]: ASG,
153155
[services.billing]: Billing,

src/enums/services.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ export default {
99
apiGatewayVpcLink: 'apiGatewayVpcLink',
1010
apiGatewayUsagePlan: 'apiGatewayUsagePlan',
1111
apiGatewayStage: 'apiGatewayStage',
12+
apiGatewayV2VpcLink: 'apiGatewayV2VpcLink',
1213
appSync: 'appSync',
1314
asg: 'asg',
1415
athenaDataCatalog: 'athenaDataCatalog',

src/properties/logger.ts

Lines changed: 21 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,6 +128,8 @@ export default {
128128
`Created and added ${num} Api Gateways to this region`,
129129
fetchedApiGatewayRestApis: (num: number): string =>
130130
`Fetched ${num} Api Gateway Rest Apis`,
131+
fetchedApiGatewayV2HttpApis: (num: number): string =>
132+
`Fetched ${num} Api Gateway V2 HTTP Apis`,
131133
fetchedApiGatewayResources: (num: number): string =>
132134
`Fetched ${num} Api Gateway Resources`,
133135
fetchedApiGatewayStages: (num: number): string =>
@@ -140,6 +142,7 @@ export default {
140142
`Fetched ${num} Api Gateway Vpc Links`,
141143
fetchedApiGatewayUsagePlans: (num: number): string =>
142144
`Fetched ${num} Api Gateway Usage Plans`,
145+
fetchedVpcLinks: (num: number): string => `Fetched ${num} VPC links`,
143146
fetchingApiGatewayData:
144147
'Fetching API Gateway data for this AWS account via the AWS SDK...',
145148
doneFetchingApiGatewayData: '✅ Done fetching API Gateway Data ✅',
@@ -153,6 +156,22 @@ export default {
153156
gettingApiGatewayModels:
154157
'Fetching authorizers for each Api Gateway Models...',
155158
gettingApiGatewayStageTags: 'Fetching tags for each Api Gateway Stage...',
159+
gettingApiGatewayV2Models:
160+
'Fetching models for each Api Gateway V2 Http Api...',
161+
gettingApiGatewayV2Authorizers:
162+
'Fetching authorizers for each Api Gateway V2 Http Api...',
163+
gettingApiGatewayV2Deployments:
164+
'Fetching deployments for each Api Gateway V2 Http Api...',
165+
gettingApiGatewayV2Stages:
166+
'Fetching stages for each Api Gateway V2 Http Api...',
167+
gettingApiGatewayV2Integrations:
168+
'Fetching integrations for each Api Gateway V2 Http Api...',
169+
gettingApiGatewayV2IntegrationsResponses:
170+
'Fetching integrations responses for each Api Gateway V2 Http Api...',
171+
gettingApiGatewayV2Routes:
172+
'Fetching routes for each Api Gateway V2 Http Api...',
173+
gettingApiGatewayV2RoutesResponses:
174+
'Fetching routes responses for each Api Gateway V2 Http Api...',
156175
/**
157176
* Vpc
158177
*/
@@ -305,7 +324,8 @@ export default {
305324
lookingforRdsClusters: 'Looking for RDS Clusters...',
306325
creatingRdsInstance: (num: number): string => `Creating RDS Instance #${num}`,
307326
fetchedRdsClusters: (num: number): string => `Fetched ${num} RDS Clusters`,
308-
fetchedDocdbClusters: (num: number): string => `Fetched ${num} DocDB Clusters`,
327+
fetchedDocdbClusters: (num: number): string =>
328+
`Fetched ${num} DocDB Clusters`,
309329
fetchedRdsGlobalClusters: (num: number): string =>
310330
`Fetched ${num} RDS Global Clusters`,
311331
fetchedRdsInstances: (num: number): string =>

src/services/apiGatewayDomainName/format.ts renamed to src/services/apiGateway2DomainName/format.ts

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ export default ({
1717
const {
1818
DomainName: domainName,
1919
ApiMappingSelectionExpression: apiMappingSelectionExpression,
20+
ApiMappings: apiMappings,
2021
DomainNameConfigurations: domainNameConfigurations = [],
2122
Tags: tags = {},
2223
} = service
@@ -30,6 +31,12 @@ export default ({
3031
region,
3132
domainName,
3233
apiMappingSelectionExpression,
34+
apiMappings: apiMappings?.map(am => ({
35+
apiId: am.ApiId,
36+
apiMappingId: am.ApiMappingId,
37+
apiMappingKey: am.ApiMappingKey,
38+
stage: am.Stage,
39+
})),
3340
configurations:
3441
domainNameConfigurations?.map(dn => ({
3542
id: generateUniqueId({

src/services/apiGatewayDomainName/schema.graphql renamed to src/services/apiGateway2DomainName/schema.graphql

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,21 @@ type awsApiGatewayDomainNameConfiguration
1616
ownershipVerificationCertificateArn: String @search(by: [hash, regexp])
1717
}
1818

19+
type awsApiGatewayMapping
20+
@generate(
21+
query: { get: false, query: false, aggregate: false }
22+
mutation: { add: false, delete: false }
23+
subscription: false
24+
) {
25+
apiId: String! @id @search(by: [hash])
26+
apiMappingId: String @search(by: [hash, regexp])
27+
apiMappingKey: String @search(by: [hash, regexp])
28+
stage: String @search(by: [hash, regexp])
29+
}
30+
1931
type awsApiGatewayDomainName implements awsBaseService @key(fields: "arn") {
2032
domainName: String @search(by: [hash, regexp])
33+
apiMappings: [awsApiGatewayMapping]
2134
apiMappingSelectionExpression: String @search(by: [hash, regexp])
2235
configurations: [awsApiGatewayDomainNameConfiguration]
2336
tags: [awsRawTag]

0 commit comments

Comments
 (0)