Skip to content

Commit eb8f1c9

Browse files
committed
Merge branch 'alpha' into feature/CG-1062
2 parents 554dff7 + 3f8f163 commit eb8f1c9

112 files changed

Lines changed: 1319 additions & 1580 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: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,27 @@
1+
# [0.79.0-alpha.2](https://github.com/cloudgraphdev/cloudgraph-provider-aws/compare/0.79.0-alpha.1...0.79.0-alpha.2) (2022-04-08)
2+
3+
4+
### Features
5+
6+
* Added iamInstanceProfile connection ([652f2f7](https://github.com/cloudgraphdev/cloudgraph-provider-aws/commit/652f2f7b9bf551cab37afa2893bea5bb504699c9))
7+
* Added IamRole connection to ec2 ([4ff22ec](https://github.com/cloudgraphdev/cloudgraph-provider-aws/commit/4ff22ecb130345de06cd6afd06c15f2978c8a4c7))
8+
* Handle TODOs for EC2 ([832fc7b](https://github.com/cloudgraphdev/cloudgraph-provider-aws/commit/832fc7bdff1a02d89fbdbf50d1d030669d7568b9))
9+
10+
# [0.79.0-alpha.1](https://github.com/cloudgraphdev/cloudgraph-provider-aws/compare/0.78.2-alpha.1...0.79.0-alpha.1) (2022-04-07)
11+
12+
13+
### Features
14+
15+
* Handle TODOs for dynamoDB ([625701e](https://github.com/cloudgraphdev/cloudgraph-provider-aws/commit/625701ea2a47b6be8bdf1fe910a541fd6f1ed132))
16+
* Handle TODOs for dynamoDB ([2911751](https://github.com/cloudgraphdev/cloudgraph-provider-aws/commit/2911751e96908793dc1b042b07c28bba340f1134))
17+
18+
## [0.78.2-alpha.1](https://github.com/cloudgraphdev/cloudgraph-provider-aws/compare/0.78.1...0.78.2-alpha.1) (2022-04-06)
19+
20+
21+
### Bug Fixes
22+
23+
* Standardized aws service schemas using base schema ([f0f7cfd](https://github.com/cloudgraphdev/cloudgraph-provider-aws/commit/f0f7cfdc3b71a202f211ed7255ea6b0aa1e4988d))
24+
125
## [0.78.1](https://gitlab.com/auto-cloud/cloudgraph/provider/cloudgraph-provider-aws/compare/0.78.0...0.78.1) (2022-03-29)
226

327

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ CloudGraph AWS Provider will ask you what regions you would like to crawl and wi
9090
| dynamodb | appSync |
9191
| dmsReplicationInstance | securityGroup, subnet, vpc, kms |
9292
| ebs | asg, ec2, emrInstance |
93-
| ec2 | alb, asg, ebs, eip, emrInstance, networkInterface, securityGroup, subnet, systemsManagerInstance, vpc, ecsContainer |
93+
| ec2 | alb, asg, ebs, eip, emrInstance, eksCluster, elasticBeanstalkEnv, iamInstanceProfile, iamRole, networkInterface, securityGroup, subnet, systemsManagerInstance, vpc, ecsContainer |
9494
| ecr | |
9595
| ecsCluster | cloudwatchLog, ecsService, ecsTask, ecsTaskSet, kms, s3 |
9696
| ecsContainer | ecsTask, ec2 |
@@ -101,11 +101,11 @@ CloudGraph AWS Provider will ask you what regions you would like to crawl and wi
101101
| efs | kms |
102102
| efsMountTarget | networkInterface, subnet, vpc |
103103
| eip | ec2, networkInterface, vpc |
104-
| eksCluster | iamRole, kms, securityGroup, subnet, vpc |
104+
| eksCluster | ec2, iamRole, kms, securityGroup, subnet, vpc |
105105
| elastiCacheCluster | securityGroup, subnet, vpc |
106106
| elastiCacheReplicationGroup | kms |
107107
| elasticBeanstalkApp | elasticBeanstalkEnv |
108-
| elasticBeanstalkEnv | elasticBeanstalkApp |
108+
| elasticBeanstalkEnv | ec2, elasticBeanstalkApp |
109109
| elasticSearchDomain | kms, securityGroup, subnet, vpc |
110110
| elb | cloudfront, ecsService, securityGroup, subnet, vpc |
111111
| emrCluster | kms, subnet |
@@ -115,14 +115,14 @@ CloudGraph AWS Provider will ask you what regions you would like to crawl and wi
115115
| glueJob | iamRole |
116116
| glueRegistry | |
117117
| guardDutyDetector | iamRole |
118-
| iamInstanceProfile | iamRole |
118+
| iamInstanceProfile | ec2, iamRole |
119119
| iamPasswordPolicy | |
120120
| iamSamlProvider | |
121121
| iamOpenIdConnectProvider | |
122122
| iamServerCertificate | |
123123
| iamUser | iamGroup |
124124
| iamPolicy | iamRole, iamGroup |
125-
| iamRole | codebuild, configurationRecorder, iamInstanceProfile, iamPolicy, eksCluster, ecsService, flowLog, glueJob, managedAirflow, sageMakerNotebookInstance, systemsManagerInstance guardDutyDetector |
125+
| iamRole | codebuild, configurationRecorder, ec2, iamInstanceProfile, iamPolicy, eksCluster, ecsService, flowLog, glueJob, managedAirflow, sageMakerNotebookInstance, systemsManagerInstance guardDutyDetector |
126126
| iamGroup | iamUser, iamPolicy |
127127
| igw | vpc |
128128
| iot | |

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-alpha.2",
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/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: 1 addition & 5 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])

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-

src/services/apiGatewayStage/schema.graphql

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -20,11 +20,7 @@ type awsApiGatewayStageVariable
2020
value: String @search(by: [hash])
2121
}
2222

23-
type awsApiGatewayStage @key(fields: "arn") {
24-
id: String! @search(by: [hash])
25-
accountId: String! @search(by: [hash])
26-
arn: String! @id @search(by: [hash, regexp])
27-
region: String @search(by: [hash, regexp])
23+
type awsApiGatewayStage implements awsBaseService @key(fields: "arn") {
2824
name: String @search(by: [hash, regexp])
2925
description: String @search(by: [hash, regexp, fulltext])
3026
cacheCluster: Boolean @search

0 commit comments

Comments
 (0)