@ampsec/platform-client 54.0.0 → 54.2.0

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.
@@ -1,5 +1,6 @@
1
1
  export declare enum Category {
2
2
  EDR = "EDR",
3
+ VULNERABILITY = "VULNERABILITY",
3
4
  /**
4
5
  * @deprecated Use IDENTITY instead
5
6
  */
@@ -5,6 +5,7 @@ exports.Category = void 0;
5
5
  var Category;
6
6
  (function (Category) {
7
7
  Category["EDR"] = "EDR";
8
+ Category["VULNERABILITY"] = "VULNERABILITY";
8
9
  /**
9
10
  * @deprecated Use IDENTITY instead
10
11
  */
@@ -1 +1 @@
1
- {"version":3,"file":"category.js","sourceRoot":"","sources":["../../../../src/dto/enums/category.ts"],"names":[],"mappings":";;;AAAA,mCAAmC;AACnC,IAAY,QAUX;AAVD,WAAY,QAAQ;IAClB,uBAAW,CAAA;IACX;;OAEG;IACH,uBAAW,CAAA;IACX,iCAAqB,CAAA;IACrB,yCAA6B,CAAA;IAC7B,iCAAqB,CAAA;IACrB,uCAA2B,CAAA;AAC7B,CAAC,EAVW,QAAQ,wBAAR,QAAQ,QAUnB"}
1
+ {"version":3,"file":"category.js","sourceRoot":"","sources":["../../../../src/dto/enums/category.ts"],"names":[],"mappings":";;;AAAA,mCAAmC;AACnC,IAAY,QAWX;AAXD,WAAY,QAAQ;IAClB,uBAAW,CAAA;IACX,2CAA+B,CAAA;IAC/B;;OAEG;IACH,uBAAW,CAAA;IACX,iCAAqB,CAAA;IACrB,yCAA6B,CAAA;IAC7B,iCAAqB,CAAA;IACrB,uCAA2B,CAAA;AAC7B,CAAC,EAXW,QAAQ,wBAAR,QAAQ,QAWnB"}
@@ -50,6 +50,8 @@ export type WorkflowTrigger = {
50
50
  kind: WorkflowTriggerKind;
51
51
  /** Rule to which the applicable entity type must conform to trigger the workflow */
52
52
  rule: unknown;
53
+ /** Number of days a finding has to exist in addition to matching the above rule */
54
+ sla?: number;
53
55
  };
54
56
  export type WorkflowUpsertDto = {
55
57
  /** Name of the workflow */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ampsec/platform-client",
3
- "version": "54.0.0",
3
+ "version": "54.2.0",
4
4
  "description": "",
5
5
  "main": "build/src/index.js",
6
6
  "runkitExampleFilename": "example/main.js",
@@ -1,6 +1,7 @@
1
1
  /* eslint-disable no-unused-vars */
2
2
  export enum Category {
3
3
  EDR = 'EDR',
4
+ VULNERABILITY = 'VULNERABILITY',
4
5
  /**
5
6
  * @deprecated Use IDENTITY instead
6
7
  */
@@ -65,6 +65,8 @@ export type WorkflowTrigger = {
65
65
  kind: WorkflowTriggerKind;
66
66
  /** Rule to which the applicable entity type must conform to trigger the workflow */
67
67
  rule: unknown;
68
+ /** Number of days a finding has to exist in addition to matching the above rule */
69
+ sla?: number;
68
70
  };
69
71
 
70
72
  export type WorkflowUpsertDto = {