Skip to content

Commit c8d56a8

Browse files
authored
Merge pull request #101 from cloudgraphdev/alpha
Beta release
2 parents 947ce4a + 9bcd574 commit c8d56a8

File tree

5 files changed

+2881
-3752
lines changed

5 files changed

+2881
-3752
lines changed

CHANGELOG.md

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,37 @@
1+
## [0.83.1-alpha.1](https://github.com/cloudgraphdev/cloudgraph-provider-aws/compare/0.83.0...0.83.1-alpha.1) (2022-11-28)
2+
3+
4+
### Bug Fixes
5+
6+
* cve vulnerabilities remediations ([5cbef35](https://github.com/cloudgraphdev/cloudgraph-provider-aws/commit/5cbef351ca63d318e9c834028c97b02ec17a269d))
7+
8+
# [0.83.0](https://github.com/cloudgraphdev/cloudgraph-provider-aws/compare/0.82.0...0.83.0) (2022-08-26)
9+
10+
11+
### Bug Fixes
12+
13+
* add missing statement elements needed for the policy definitions ([f09656b](https://github.com/cloudgraphdev/cloudgraph-provider-aws/commit/f09656bac77b65e76a5896f024be88e5d3105fbf))
14+
* **apiGatewayDomainName:** use ISO string in conversion ([04866de](https://github.com/cloudgraphdev/cloudgraph-provider-aws/commit/04866deb8a74827b1f855cea0dab71c7e30ef5bc))
15+
* **deps:** update sdk dep ([bc8f98a](https://github.com/cloudgraphdev/cloudgraph-provider-aws/commit/bc8f98a17f32103ed88ecf1e4e0505f30caff87e))
16+
* **iamRole:** added iamBoundaryPermissionPolicy relation and inline policies json documents ([3a713f6](https://github.com/cloudgraphdev/cloudgraph-provider-aws/commit/3a713f66327610f0ae2f3b2200b82f62a6754a08))
17+
* **iamRole:** iamPermissionsBoundary and inlinePolicies bug fixes ([9923ba3](https://github.com/cloudgraphdev/cloudgraph-provider-aws/commit/9923ba3ab2da93477a05a689b7db34fdb08b71f5))
18+
* **iamRole:** replace inlinePolicies id gen method from cuid to generateUniqueId ([15de961](https://github.com/cloudgraphdev/cloudgraph-provider-aws/commit/15de96133012fc9a8a037f46c1b4cda2627195dc))
19+
* Optional chaining for last used details ([751a86b](https://github.com/cloudgraphdev/cloudgraph-provider-aws/commit/751a86b9911a67d916aee7b7e36ab6eb4101f5ba))
20+
* **performance:** improve tags processing time ([def9b1f](https://github.com/cloudgraphdev/cloudgraph-provider-aws/commit/def9b1ff63257508d644f562ba1f9cb24f009d66))
21+
* Released memory usage fix ([1674215](https://github.com/cloudgraphdev/cloudgraph-provider-aws/commit/16742153c68f37c8ea47548ead3e20fec8586ca6))
22+
* Released memory usage fix ([b6d242b](https://github.com/cloudgraphdev/cloudgraph-provider-aws/commit/b6d242b20e2ece71e07874466c21277d47ca18fa))
23+
* **services:** Added encryption rules data to s3 service ([dde6694](https://github.com/cloudgraphdev/cloudgraph-provider-aws/commit/dde6694fcb5af38f8919c291454e736620d4fe89))
24+
* **services:** fix for rds db instance ([5052362](https://github.com/cloudgraphdev/cloudgraph-provider-aws/commit/5052362387b0ea11a6c6eb842c4b02d904b6b2d9))
25+
26+
27+
### Features
28+
29+
* **iamRole:** Add lastUsedDate ([9c7bd36](https://github.com/cloudgraphdev/cloudgraph-provider-aws/commit/9c7bd36bac04f83482f967e4ac7e990ccdd49f40))
30+
* Replaced cuid library for generateUniqueId util ([aca3e8f](https://github.com/cloudgraphdev/cloudgraph-provider-aws/commit/aca3e8f33faf445d71c951a6c327ed9095a76255))
31+
* Replaced cuid with unique ids for policies ([30ad96c](https://github.com/cloudgraphdev/cloudgraph-provider-aws/commit/30ad96c771b18adf3084a39b0f5eb5ab8954d923))
32+
* **service:** Added default encryption kms connection ([a999cf7](https://github.com/cloudgraphdev/cloudgraph-provider-aws/commit/a999cf71b6db5ae579ef72051d58ac8e2c85d7b8))
33+
* Solved duplication issues ([896e813](https://github.com/cloudgraphdev/cloudgraph-provider-aws/commit/896e81371780b2b57b630b112dcd2848735fb423))
34+
135
# [0.83.0-beta.1](https://github.com/cloudgraphdev/cloudgraph-provider-aws/compare/0.82.0...0.83.0-beta.1) (2022-08-26)
236

337

package.json

Lines changed: 16 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@cloudgraph/cg-provider-aws",
3-
"version": "0.83.0-beta.1",
3+
"version": "0.83.1-alpha.1",
44
"description": "cloud-graph provider plugin for AWS used to fetch AWS cloud data.",
55
"publishConfig": {
66
"registry": "https://registry.npmjs.org/",
@@ -31,27 +31,27 @@
3131
"terraform:cleanup": "rimraf ./tests/terraform/{.terraform,.terraform.lock.hcl,tfplan} ./tests/terraform/*.{tfstate,tfplan,backup}"
3232
},
3333
"dependencies": {
34-
"@cloudgraph/sdk": "0.20.0",
34+
"@cloudgraph/sdk": "^0.22.1",
3535
"@fast-csv/parse": "^4.3.6",
36-
"@graphql-tools/load-files": "6.3.2",
37-
"@graphql-tools/merge": "8.0.1",
36+
"@graphql-tools/load-files": "^6.5.3",
37+
"@graphql-tools/merge": "^8.2.1",
3838
"aws-sdk": "^2.1084.0",
3939
"chalk": "4.1.2",
4040
"cuid": "2.1.8",
4141
"dotenv": "10.0.0",
42-
"graphql": "^15.7.2",
42+
"graphql": "^16.2.0",
4343
"lodash": "4.17.21",
4444
"typescript": "4.3.5"
4545
},
4646
"devDependencies": {
4747
"@autocloud/eslint-config": "^0.1.0",
48-
"@graphql-codegen/cli": "^2.4.0",
49-
"@graphql-codegen/typescript": "1.23.0",
48+
"@graphql-codegen/cli": "^2.5.0",
49+
"@graphql-codegen/typescript": "^2.4.3",
5050
"@semantic-release/changelog": "^6.0.1",
5151
"@semantic-release/git": "^10.0.1",
5252
"@semantic-release/github": "^8.0.1",
5353
"@semantic-release/npm": "^9.0.1",
54-
"@types/jest": "^26.0.24",
54+
"@types/jest": "^27.0.0",
5555
"@types/lodash": "^4.14.170",
5656
"@types/node": "^15.12.4",
5757
"@types/pino": "^6.3.8",
@@ -62,18 +62,23 @@
6262
"eslint-config-prettier": "^6.11.0",
6363
"eslint-plugin-import": "^2.22.1",
6464
"eslint-plugin-prettier": "^3.4.0",
65-
"husky": "^7.0.0",
65+
"husky": "^8.0.2",
6666
"jest": "^27.0.6",
6767
"lint-staged": "^11.1.1",
6868
"prettier": "^2.3.2",
6969
"semantic-release": "^19.0.2",
70-
"shx": "^0.3.3",
71-
"ts-jest": "^27.0.4"
70+
"shx": "^0.3.4",
71+
"ts-jest": "^27.1.5"
7272
},
7373
"lint-staged": {
7474
"*.{ts,graphql,json}": [
7575
"yarn lint:fix",
7676
"git add --force"
7777
]
78+
},
79+
"resolutions": {
80+
"**/braces": "^2.3.1",
81+
"**/glob-parent": "^5.1.2",
82+
"**/uri-js": "^3.0.1"
7883
}
7984
}

src/services/index.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ import { loadFilesSync } from '@graphql-tools/load-files'
88
import { mergeTypeDefs } from '@graphql-tools/merge'
99
import AWS, { Config } from 'aws-sdk'
1010
import chalk from 'chalk'
11-
import { print } from 'graphql'
11+
import { DocumentNode } from 'graphql'
1212
import STS from 'aws-sdk/clients/sts'
1313
import { isEmpty, merge } from 'lodash'
1414
import path from 'path'
@@ -438,12 +438,12 @@ export default class Provider extends CloudGraph.Client {
438438
* getSchema is used to get the schema for provider
439439
* @returns A string of graphql sub schemas
440440
*/
441-
getSchema(): string {
441+
getSchema(): DocumentNode {
442442
const typesArray = loadFilesSync(path.join(__dirname), {
443443
recursive: true,
444444
extensions: ['graphql'],
445445
})
446-
return print(mergeTypeDefs(typesArray))
446+
return mergeTypeDefs(typesArray)
447447
}
448448

449449
/**

src/types/generated.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
export type Maybe<T> = T | null;
2+
export type InputMaybe<T> = Maybe<T>;
23
export type Exact<T extends { [key: string]: unknown }> = { [K in keyof T]: T[K] };
34
export type MakeOptional<T, K extends keyof T> = Omit<T, K> & { [SubKey in K]?: Maybe<T[SubKey]> };
45
export type MakeMaybe<T, K extends keyof T> = Omit<T, K> & { [SubKey in K]: Maybe<T[SubKey]> };
@@ -125,8 +126,6 @@ export type AwsStringMap = {
125126
value?: Maybe<Scalars['String']>;
126127
};
127128

128-
129-
130129
export type AwsAccessLogSettings = {
131130
destinationArn?: Maybe<Scalars['String']>;
132131
format?: Maybe<Scalars['String']>;

0 commit comments

Comments
 (0)