@infrascan/aws-cloudwatch-logs-scanner 0.4.2 → 0.5.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/graph.js +2 -1
- package/dist/graph.mjs +2 -1
- package/dist/index.js +2 -1
- package/dist/index.mjs +2 -1
- package/package.json +6 -5
package/dist/graph.js
CHANGED
|
@@ -25,7 +25,7 @@ __export(graph_exports, {
|
|
|
25
25
|
module.exports = __toCommonJS(graph_exports);
|
|
26
26
|
var import_core = require("@infrascan/core");
|
|
27
27
|
var CloudwatchLogGroupEntity = {
|
|
28
|
-
version: "0.1.
|
|
28
|
+
version: "0.1.1",
|
|
29
29
|
debugLabel: "cloudwatch-logs",
|
|
30
30
|
provider: "aws",
|
|
31
31
|
command: "DescribeLogGroups",
|
|
@@ -60,6 +60,7 @@ var CloudwatchLogGroupEntity = {
|
|
|
60
60
|
return {
|
|
61
61
|
id: val.logGroupArn ?? val.arn,
|
|
62
62
|
label: val.logGroupName,
|
|
63
|
+
nodeClass: "visual",
|
|
63
64
|
nodeType: CloudwatchLogGroupEntity.nodeType,
|
|
64
65
|
parent: `${val.$metadata.account}-${val.$metadata.region}`
|
|
65
66
|
};
|
package/dist/graph.mjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// src/graph.ts
|
|
2
2
|
import { evaluateSelector, toLowerCase, Time, Size } from "@infrascan/core";
|
|
3
3
|
var CloudwatchLogGroupEntity = {
|
|
4
|
-
version: "0.1.
|
|
4
|
+
version: "0.1.1",
|
|
5
5
|
debugLabel: "cloudwatch-logs",
|
|
6
6
|
provider: "aws",
|
|
7
7
|
command: "DescribeLogGroups",
|
|
@@ -36,6 +36,7 @@ var CloudwatchLogGroupEntity = {
|
|
|
36
36
|
return {
|
|
37
37
|
id: val.logGroupArn ?? val.arn,
|
|
38
38
|
label: val.logGroupName,
|
|
39
|
+
nodeClass: "visual",
|
|
39
40
|
nodeType: CloudwatchLogGroupEntity.nodeType,
|
|
40
41
|
parent: `${val.$metadata.account}-${val.$metadata.region}`
|
|
41
42
|
};
|
package/dist/index.js
CHANGED
|
@@ -197,7 +197,7 @@ async function getEdges(stateConnector) {
|
|
|
197
197
|
// src/graph.ts
|
|
198
198
|
var import_core3 = require("@infrascan/core");
|
|
199
199
|
var CloudwatchLogGroupEntity = {
|
|
200
|
-
version: "0.1.
|
|
200
|
+
version: "0.1.1",
|
|
201
201
|
debugLabel: "cloudwatch-logs",
|
|
202
202
|
provider: "aws",
|
|
203
203
|
command: "DescribeLogGroups",
|
|
@@ -232,6 +232,7 @@ var CloudwatchLogGroupEntity = {
|
|
|
232
232
|
return {
|
|
233
233
|
id: val.logGroupArn ?? val.arn,
|
|
234
234
|
label: val.logGroupName,
|
|
235
|
+
nodeClass: "visual",
|
|
235
236
|
nodeType: CloudwatchLogGroupEntity.nodeType,
|
|
236
237
|
parent: `${val.$metadata.account}-${val.$metadata.region}`
|
|
237
238
|
};
|
package/dist/index.mjs
CHANGED
|
@@ -169,7 +169,7 @@ async function getEdges(stateConnector) {
|
|
|
169
169
|
// src/graph.ts
|
|
170
170
|
import { evaluateSelector, toLowerCase, Time, Size } from "@infrascan/core";
|
|
171
171
|
var CloudwatchLogGroupEntity = {
|
|
172
|
-
version: "0.1.
|
|
172
|
+
version: "0.1.1",
|
|
173
173
|
debugLabel: "cloudwatch-logs",
|
|
174
174
|
provider: "aws",
|
|
175
175
|
command: "DescribeLogGroups",
|
|
@@ -204,6 +204,7 @@ var CloudwatchLogGroupEntity = {
|
|
|
204
204
|
return {
|
|
205
205
|
id: val.logGroupArn ?? val.arn,
|
|
206
206
|
label: val.logGroupName,
|
|
207
|
+
nodeClass: "visual",
|
|
207
208
|
nodeType: CloudwatchLogGroupEntity.nodeType,
|
|
208
209
|
parent: `${val.$metadata.account}-${val.$metadata.region}`
|
|
209
210
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@infrascan/aws-cloudwatch-logs-scanner",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.5.1",
|
|
4
4
|
"description": "Infrascan scanner definition for AWS Cloudwatch Logs",
|
|
5
5
|
"main": "./dist/index.js",
|
|
6
6
|
"module": "./dist/index.mjs",
|
|
@@ -44,16 +44,17 @@
|
|
|
44
44
|
"@aws-sdk/credential-providers": "3.624.0",
|
|
45
45
|
"@infrascan/aws-codegen": "^0.1.0",
|
|
46
46
|
"@infrascan/fs-connector": "^0.3.0",
|
|
47
|
-
"@infrascan/shared-types": "^0.
|
|
47
|
+
"@infrascan/shared-types": "^0.8.0",
|
|
48
48
|
"@infrascan/tsconfig": "*",
|
|
49
49
|
"aws-sdk-client-mock": "^3.0.0",
|
|
50
50
|
"eslint-config-codegen": "^1.0.0",
|
|
51
|
-
"tap": "^
|
|
52
|
-
"@types/debug": "^4"
|
|
51
|
+
"tap": "^21",
|
|
52
|
+
"@types/debug": "^4",
|
|
53
|
+
"typescript": "^5.4.5"
|
|
53
54
|
},
|
|
54
55
|
"dependencies": {
|
|
55
56
|
"@aws-sdk/client-cloudwatch-logs": "3.624.0",
|
|
56
|
-
"@infrascan/core": "0.
|
|
57
|
+
"@infrascan/core": "0.6.0",
|
|
57
58
|
"debug": "^4"
|
|
58
59
|
}
|
|
59
60
|
}
|