@jfvilas/kwirth-common 0.4.7 → 0.4.8

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.
@@ -4,7 +4,8 @@ export declare enum InstanceMessageChannelEnum {
4
4
  METRICS = "metrics",
5
5
  AUDIT = "audit",
6
6
  OPS = "ops",
7
- ALERT = "alert"
7
+ ALERT = "alert",
8
+ TRIVY = "trivy"
8
9
  }
9
10
  export declare enum InstanceMessageTypeEnum {
10
11
  DATA = "data",
@@ -9,6 +9,7 @@ var InstanceMessageChannelEnum;
9
9
  InstanceMessageChannelEnum["AUDIT"] = "audit";
10
10
  InstanceMessageChannelEnum["OPS"] = "ops";
11
11
  InstanceMessageChannelEnum["ALERT"] = "alert";
12
+ InstanceMessageChannelEnum["TRIVY"] = "trivy";
12
13
  })(InstanceMessageChannelEnum || (exports.InstanceMessageChannelEnum = InstanceMessageChannelEnum = {}));
13
14
  var InstanceMessageTypeEnum;
14
15
  (function (InstanceMessageTypeEnum) {
@@ -0,0 +1,2 @@
1
+ export interface TrivyConfig {
2
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,20 @@
1
+ import { InstanceMessage } from "./InstanceMessage";
2
+ export interface TrivyMessage extends InstanceMessage {
3
+ msgtype: 'trivymessage';
4
+ id: string;
5
+ accessKey: string;
6
+ instance: string;
7
+ namespace: string;
8
+ kind: string;
9
+ pod: string;
10
+ container: string;
11
+ }
12
+ export interface TrivyMessageResponse extends InstanceMessage {
13
+ msgtype: 'trivymessageresponse';
14
+ id: string;
15
+ namespace: string;
16
+ kind: string;
17
+ pod: string;
18
+ container: string;
19
+ data?: any;
20
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jfvilas/kwirth-common",
3
- "version": "0.4.7",
3
+ "version": "0.4.8",
4
4
  "description": "Common interfaces for integrating applications with Kwirth",
5
5
  "scripts": {
6
6
  "build": "del .\\dist\\* /s /q && tsc"