@ampsec/platform-client 45.4.0 → 45.5.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.
@@ -26,6 +26,15 @@ export type RawVulnerabilityContext = {
26
26
  description?: string;
27
27
  solution?: string;
28
28
  };
29
+ export type RawGroupSummary = {
30
+ id: string;
31
+ name: string;
32
+ };
33
+ export type RawGroupsContext = {
34
+ exec: RawGroupSummary[];
35
+ priv: RawGroupSummary[];
36
+ prod: RawGroupSummary[];
37
+ };
29
38
  export type RawFindingsContext = {
30
39
  /**
31
40
  * Uses styling to display the finding in the UI
@@ -50,6 +59,7 @@ export type SaasComponentMeta = {
50
59
  _user?: RawUserIds;
51
60
  _training?: RawTrainingContext;
52
61
  _vulnerability?: RawVulnerabilityContext;
62
+ _groups?: RawGroupsContext;
53
63
  [propName: string]: unknown;
54
64
  };
55
65
  export type SaasComponentUpsertDto = ChangeAwareUpsertDto & {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ampsec/platform-client",
3
- "version": "45.4.0",
3
+ "version": "45.5.0",
4
4
  "description": "",
5
5
  "main": "build/src/index.js",
6
6
  "runkitExampleFilename": "example/main.js",
@@ -31,6 +31,17 @@ export type RawVulnerabilityContext = {
31
31
  solution?: string;
32
32
  };
33
33
 
34
+ export type RawGroupSummary = {
35
+ id: string;
36
+ name: string;
37
+ };
38
+
39
+ export type RawGroupsContext = {
40
+ exec: RawGroupSummary[];
41
+ priv: RawGroupSummary[];
42
+ prod: RawGroupSummary[];
43
+ };
44
+
34
45
  export type RawFindingsContext = {
35
46
  /**
36
47
  * Uses styling to display the finding in the UI
@@ -56,6 +67,7 @@ export type SaasComponentMeta = {
56
67
  _user?: RawUserIds;
57
68
  _training?: RawTrainingContext;
58
69
  _vulnerability?: RawVulnerabilityContext;
70
+ _groups?: RawGroupsContext;
59
71
  [propName: string]: unknown;
60
72
  };
61
73