Skip to content

Commit 0e9036d

Browse files
authored
Merge pull request #46 from cloudgraphdev/beta
RELEASE: 0.79.0
2 parents d79a230 + ca13d40 commit 0e9036d

182 files changed

Lines changed: 4750 additions & 2166 deletions

File tree

Some content is hidden

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

CHANGELOG.md

Lines changed: 278 additions & 0 deletions
Large diffs are not rendered by default.

README.md

Lines changed: 98 additions & 97 deletions
Large diffs are not rendered by default.

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@cloudgraph/cg-provider-aws",
3-
"version": "0.78.1",
3+
"version": "0.79.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/",
@@ -76,4 +76,4 @@
7676
"git add --force"
7777
]
7878
}
79-
}
79+
}

src/enums/relations.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,5 @@ export default {
88
route53HostedZone: ['route53Record'],
99
emrCluster: ['emrInstance', 'emrStep'],
1010
ecsService: ['ecsTaskSet', 'ecsTaskDefinition'],
11+
iamInstanceProfile: ['ec2Instance'],
1112
}

src/enums/serviceAliases.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,7 @@ export default {
4747
[services.iamUser]: 'iamUsers',
4848
[services.kinesisStream]: 'kinesisStreams',
4949
[services.lambda]: 'lambdaFunctions',
50+
[services.managedAirflow]: 'managedAirflows',
5051
[services.nat]: 'natGateway',
5152
[services.networkInterface]: 'networkInterfaces',
5253
[services.organization]: 'organizations',

src/properties/logger.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -427,6 +427,7 @@ export default {
427427
gettingRotationStatus: 'Checking rotation status for each key...',
428428
gettingPolicies: 'Fetching default Policy for each key...',
429429
gettingTags: 'Fetching Tags for each key...',
430+
gettingAliases: 'Fetching Aliases for each key...',
430431

431432
/**
432433
* EKS

src/services/account/schema.graphql

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-
type awsAccount @key(fields: "id") {
2-
id: String! @id @search(by: [hash])
1+
type awsAccount implements awsOptionalService @key(fields: "id") {
32
regions: [String] @search(by: [hash])
43
albs: [awsAlb]
54
apiGatewayResources: [awsApiGatewayResource]

src/services/alb/schema.graphql

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,5 @@
1-
type awsAlb @key(fields: "arn") {
2-
id: String! @id @search(by: [hash, regexp])
1+
type awsAlb implements awsBaseService @key(fields: "arn") {
32
name: String @search(by: [hash, regexp])
4-
accountId: String! @search(by: [hash, regexp])
5-
arn: String! @id @search(by: [hash, regexp])
6-
region: String @search(by: [hash, regexp])
73
dnsName: String @search(by: [hash, regexp])
84
scheme: String @search(by: [hash, regexp])
95
type: String @search(by: [hash, regexp])
@@ -21,10 +17,12 @@ type awsAlb @key(fields: "arn") {
2117
tags: [awsRawTag]
2218
securityGroups: [awsSecurityGroup] @hasInverse(field: alb)
2319
ec2Instance: [awsEc2] @hasInverse(field: alb) #change to plural
24-
vpc: [awsVpc] @hasInverse(field: alb)
20+
vpc: [awsVpc] @hasInverse(field: albs)
2521
route53Record: [awsRoute53Record] @hasInverse(field: alb) #change to plural
2622
listeners: [awsAlbListener]
2723
subnet: [awsSubnet] @hasInverse(field: alb) #change to plural
24+
elasticBeanstalkEnvs: [awsElasticBeanstalkEnv] @hasInverse(field: albs)
25+
webAcl: [awsWafV2WebAcl] @hasInverse(field: albs)
2826
}
2927

3028
type awsAlbListener

src/services/apiGatewayResource/schema.graphql

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,8 @@ type awsApiGatewayMethod @key(fields: "arn") {
66
apiKeyRequired: Boolean @search
77
}
88

9-
type awsApiGatewayResource @key(fields: "arn") {
10-
id: String! @search(by: [hash])
11-
accountId: String! @search(by: [hash])
12-
arn: String! @id @search(by: [hash, regexp])
13-
region: String @search(by: [hash, regexp])
9+
type awsApiGatewayResource implements awsBaseService @key(fields: "arn") {
1410
restApi: [awsApiGatewayRestApi] @hasInverse(field: resources) #change to plural
1511
path: String @search(by: [hash, regexp])
1612
methods: [awsApiGatewayMethod]
17-
}
13+
}

src/services/apiGatewayRestApi/schema.graphql

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,7 @@ type awsApiGatewayEndpointConfiguration {
44
vpcEndpointIds: [String] @search(by: [hash])
55
}
66

7-
type awsApiGatewayRestApi @key(fields: "arn") {
8-
id: String! @id @search(by: [hash])
9-
accountId: String! @search(by: [hash])
10-
arn: String! @id @search(by: [hash, regexp])
11-
region: String @search(by: [hash, regexp])
7+
type awsApiGatewayRestApi implements awsBaseService @key(fields: "arn") {
128
description: String @search(by: [hash, regexp, fulltext])
139
policy: awsIamJSONPolicy
1410
endpointConfiguration: awsApiGatewayEndpointConfiguration
@@ -21,5 +17,3 @@ type awsApiGatewayRestApi @key(fields: "arn") {
2117
resources: [awsApiGatewayResource] @hasInverse(field: restApi)
2218
route53Record: [awsRoute53Record] @hasInverse(field: restApi) #change to plural
2319
}
24-
25-

0 commit comments

Comments
 (0)