@ampsec/platform-client 51.1.0 → 52.0.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.
Files changed (28) hide show
  1. package/build/src/dto/enums/callToAction.enum.d.ts +5 -0
  2. package/build/src/dto/enums/callToAction.enum.js +11 -0
  3. package/build/src/dto/enums/callToAction.enum.js.map +1 -0
  4. package/build/src/dto/enums/contact.type.d.ts +3 -0
  5. package/build/src/dto/{messagingChannels/slackMessage.dto.js → enums/contact.type.js} +1 -1
  6. package/build/src/dto/enums/contact.type.js.map +1 -0
  7. package/build/src/dto/enums/index.d.ts +2 -0
  8. package/build/src/dto/enums/index.js +2 -0
  9. package/build/src/dto/enums/index.js.map +1 -1
  10. package/build/src/dto/messagingChannels/channelMessage.dto.d.ts +24 -0
  11. package/build/src/dto/messagingChannels/channelMessage.dto.js +3 -0
  12. package/build/src/dto/messagingChannels/channelMessage.dto.js.map +1 -0
  13. package/build/src/dto/messagingChannels/index.d.ts +1 -1
  14. package/build/src/dto/messagingChannels/index.js +1 -1
  15. package/build/src/dto/messagingChannels/index.js.map +1 -1
  16. package/build/src/settings.d.ts +3 -0
  17. package/build/src/settings.js +3 -1
  18. package/build/src/settings.js.map +1 -1
  19. package/package.json +1 -1
  20. package/src/dto/enums/callToAction.enum.ts +6 -0
  21. package/src/dto/enums/contact.type.ts +4 -0
  22. package/src/dto/enums/index.ts +2 -0
  23. package/src/dto/messagingChannels/channelMessage.dto.ts +26 -0
  24. package/src/dto/messagingChannels/index.ts +1 -1
  25. package/src/settings.ts +4 -1
  26. package/build/src/dto/messagingChannels/slackMessage.dto.d.ts +0 -9
  27. package/build/src/dto/messagingChannels/slackMessage.dto.js.map +0 -1
  28. package/src/dto/messagingChannels/slackMessage.dto.ts +0 -10
@@ -0,0 +1,5 @@
1
+ export declare enum CallToAction {
2
+ CONTACT_SECURITY = "CONTACT_SECURITY",
3
+ HELP = "HELP",
4
+ MARK_COMPLETE = "MARK_COMPLETE"
5
+ }
@@ -0,0 +1,11 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.CallToAction = void 0;
4
+ /* eslint-disable no-unused-vars */
5
+ var CallToAction;
6
+ (function (CallToAction) {
7
+ CallToAction["CONTACT_SECURITY"] = "CONTACT_SECURITY";
8
+ CallToAction["HELP"] = "HELP";
9
+ CallToAction["MARK_COMPLETE"] = "MARK_COMPLETE";
10
+ })(CallToAction || (exports.CallToAction = CallToAction = {}));
11
+ //# sourceMappingURL=callToAction.enum.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"callToAction.enum.js","sourceRoot":"","sources":["../../../../src/dto/enums/callToAction.enum.ts"],"names":[],"mappings":";;;AAAA,mCAAmC;AACnC,IAAY,YAIX;AAJD,WAAY,YAAY;IACtB,qDAAqC,CAAA;IACrC,6BAAa,CAAA;IACb,+CAA+B,CAAA;AACjC,CAAC,EAJW,YAAY,4BAAZ,YAAY,QAIvB"}
@@ -0,0 +1,3 @@
1
+ export type Contact = {
2
+ email: string;
3
+ };
@@ -1,3 +1,3 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=slackMessage.dto.js.map
3
+ //# sourceMappingURL=contact.type.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"contact.type.js","sourceRoot":"","sources":["../../../../src/dto/enums/contact.type.ts"],"names":[],"mappings":""}
@@ -1,8 +1,10 @@
1
1
  export * from './auth.role';
2
2
  export * from './agent.status';
3
3
  export * from './ampSettingKeys.enum';
4
+ export * from './callToAction.enum';
4
5
  export * from './category';
5
6
  export * from './connector.status';
7
+ export * from './contact.type';
6
8
  export * from './contentStrategy.kind';
7
9
  export * from './deliveryStrategy.kind';
8
10
  export * from './findingKind';
@@ -17,8 +17,10 @@ Object.defineProperty(exports, "__esModule", { value: true });
17
17
  __exportStar(require("./auth.role"), exports);
18
18
  __exportStar(require("./agent.status"), exports);
19
19
  __exportStar(require("./ampSettingKeys.enum"), exports);
20
+ __exportStar(require("./callToAction.enum"), exports);
20
21
  __exportStar(require("./category"), exports);
21
22
  __exportStar(require("./connector.status"), exports);
23
+ __exportStar(require("./contact.type"), exports);
22
24
  __exportStar(require("./contentStrategy.kind"), exports);
23
25
  __exportStar(require("./deliveryStrategy.kind"), exports);
24
26
  __exportStar(require("./findingKind"), exports);
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/dto/enums/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,8CAA4B;AAC5B,iDAA+B;AAC/B,wDAAsC;AACtC,6CAA2B;AAC3B,qDAAmC;AACnC,yDAAuC;AACvC,0DAAwC;AACxC,gDAA8B;AAC9B,qDAAmC;AACnC,mDAAiC;AACjC,oDAAkC;AAClC,oDAAkC;AAClC,wDAAsC;AACtC,wDAAsC;AACtC,8DAA4C;AAC5C,yDAAuC;AACvC,sDAAoC;AACpC,qEAAmD;AACnD,sDAAoC;AACpC,yDAAuC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/dto/enums/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,8CAA4B;AAC5B,iDAA+B;AAC/B,wDAAsC;AACtC,sDAAoC;AACpC,6CAA2B;AAC3B,qDAAmC;AACnC,iDAA+B;AAC/B,yDAAuC;AACvC,0DAAwC;AACxC,gDAA8B;AAC9B,qDAAmC;AACnC,mDAAiC;AACjC,oDAAkC;AAClC,oDAAkC;AAClC,wDAAsC;AACtC,wDAAsC;AACtC,8DAA4C;AAC5C,yDAAuC;AACvC,sDAAoC;AACpC,qEAAmD;AACnD,sDAAoC;AACpC,yDAAuC"}
@@ -0,0 +1,24 @@
1
+ import { CallToAction } from '../enums';
2
+ import { Notifiable } from './notifiable.dto';
3
+ export type MessageContent = {
4
+ /** Header of the message */
5
+ header?: string;
6
+ /** Body of the message */
7
+ body: string;
8
+ /** Additional information to be included in the message */
9
+ additionalInfo?: string[];
10
+ };
11
+ export type ChannelMessageDto = Notifiable & {
12
+ /** Slack user IDs to which the notification is being sent */
13
+ users: string[] | number[];
14
+ /** Message content to be sent in the Slack message */
15
+ content: MessageContent;
16
+ /** ID of the tenant to which the notification belongs: required if the notificaiton should allow for the user to contact the security or IT team */
17
+ tid: string;
18
+ /** ID of the finding to which the notification is in regards to: required if the notification should allow for the user marking a finding as complete */
19
+ fid?: string;
20
+ /** Metadata for the message */
21
+ meta?: unknown;
22
+ /** Calls to action to be included in the message */
23
+ actions: CallToAction[];
24
+ };
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=channelMessage.dto.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"channelMessage.dto.js","sourceRoot":"","sources":["../../../../src/dto/messagingChannels/channelMessage.dto.ts"],"names":[],"mappings":""}
@@ -1,3 +1,3 @@
1
- export * from './slackMessage.dto';
1
+ export * from './channelMessage.dto';
2
2
  export * from './email.dto';
3
3
  export * from './notifiable.dto';
@@ -14,7 +14,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
14
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
- __exportStar(require("./slackMessage.dto"), exports);
17
+ __exportStar(require("./channelMessage.dto"), exports);
18
18
  __exportStar(require("./email.dto"), exports);
19
19
  __exportStar(require("./notifiable.dto"), exports);
20
20
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/dto/messagingChannels/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,qDAAmC;AACnC,8CAA4B;AAC5B,mDAAiC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/dto/messagingChannels/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,uDAAqC;AACrC,8CAA4B;AAC5B,mDAAiC"}
@@ -1,3 +1,4 @@
1
+ import { Contact } from './dto';
1
2
  /**
2
3
  * Collection of hard coded settings to be use centrally across services and user interfaces.
3
4
  *
@@ -27,6 +28,8 @@ export declare const AMP_SETTINGS: {
27
28
  GHOST_MODE: import("./services").TypedAmpSettingsKey<boolean>;
28
29
  /** Enables mock providers on the tenant. */
29
30
  ENABLE_MOCKS: import("./services").TypedAmpSettingsKey<boolean>;
31
+ /** Email address for the tenant's IT/Security team */
32
+ IT_SECURITY_CONTACT: import("./services").TypedAmpSettingsKey<Contact | undefined>;
30
33
  /**
31
34
  * Specifies which mock tenant to use.
32
35
  * - `david`: single insecure user
@@ -12,9 +12,11 @@ const services_1 = require("./services");
12
12
  */
13
13
  const TENANT_SETTINGS = {
14
14
  /** Disables all automated messages from being sent to end users. */
15
- GHOST_MODE: services_1.AmpSettingsMap.asKey('notifications.ghostMode.enabled', false),
15
+ GHOST_MODE: services_1.AmpSettingsMap.asKey('notifications.ghostMode.enabled', true),
16
16
  /** Enables mock providers on the tenant. */
17
17
  ENABLE_MOCKS: services_1.AmpSettingsMap.asKey('mocks.enabled', false),
18
+ /** Email address for the tenant's IT/Security team */
19
+ IT_SECURITY_CONTACT: services_1.AmpSettingsMap.asKey('tenant.itSecurityContact'),
18
20
  /**
19
21
  * Specifies which mock tenant to use.
20
22
  * - `david`: single insecure user
@@ -1 +1 @@
1
- {"version":3,"file":"settings.js","sourceRoot":"","sources":["../../src/settings.ts"],"names":[],"mappings":";;;AAAA,yCAA0C;AAE1C;;2BAE2B;AAC3B;;;;GAIG;AACH,MAAM,eAAe,GAAG;IACtB,oEAAoE;IACpE,UAAU,EAAE,yBAAc,CAAC,KAAK,CAAU,iCAAiC,EAAE,KAAK,CAAC;IACnF,4CAA4C;IAC5C,YAAY,EAAE,yBAAc,CAAC,KAAK,CAAU,eAAe,EAAE,KAAK,CAAC;IACnE;;;;;;;OAOG;IACH,cAAc,EAAE,yBAAc,CAA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D;;;OAGG;IACH,iBAAiB,EAAE;QACjB,GAAG,iCAAiC;KACrC;IACD;;0BAEsB;IACtB,MAAM,EAAE,EAAC,GAAG,eAAe,EAAC;IAC5B,IAAI,EAAE,EAAC,GAAG,aAAa,EAAC;IACxB,KAAK,EAAE,EAAC,GAAG,cAAc,EAAC;CAC3B,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ampsec/platform-client",
3
- "version": "51.1.0",
3
+ "version": "52.0.0",
4
4
  "description": "",
5
5
  "main": "build/src/index.js",
6
6
  "runkitExampleFilename": "example/main.js",
@@ -0,0 +1,6 @@
1
+ /* eslint-disable no-unused-vars */
2
+ export enum CallToAction {
3
+ CONTACT_SECURITY = 'CONTACT_SECURITY',
4
+ HELP = 'HELP',
5
+ MARK_COMPLETE = 'MARK_COMPLETE',
6
+ }
@@ -0,0 +1,4 @@
1
+ /* eslint-disable no-unused-vars */
2
+ export type Contact = {
3
+ email: string;
4
+ };
@@ -1,8 +1,10 @@
1
1
  export * from './auth.role';
2
2
  export * from './agent.status';
3
3
  export * from './ampSettingKeys.enum';
4
+ export * from './callToAction.enum';
4
5
  export * from './category';
5
6
  export * from './connector.status';
7
+ export * from './contact.type';
6
8
  export * from './contentStrategy.kind';
7
9
  export * from './deliveryStrategy.kind';
8
10
  export * from './findingKind';
@@ -0,0 +1,26 @@
1
+ import {CallToAction} from '../enums';
2
+ import {Notifiable} from './notifiable.dto';
3
+
4
+ export type MessageContent = {
5
+ /** Header of the message */
6
+ header?: string;
7
+ /** Body of the message */
8
+ body: string;
9
+ /** Additional information to be included in the message */
10
+ additionalInfo?: string[];
11
+ };
12
+
13
+ export type ChannelMessageDto = Notifiable & {
14
+ /** Slack user IDs to which the notification is being sent */
15
+ users: string[] | number[];
16
+ /** Message content to be sent in the Slack message */
17
+ content: MessageContent;
18
+ /** ID of the tenant to which the notification belongs: required if the notificaiton should allow for the user to contact the security or IT team */
19
+ tid: string;
20
+ /** ID of the finding to which the notification is in regards to: required if the notification should allow for the user marking a finding as complete */
21
+ fid?: string;
22
+ /** Metadata for the message */
23
+ meta?: unknown;
24
+ /** Calls to action to be included in the message */
25
+ actions: CallToAction[];
26
+ };
@@ -1,3 +1,3 @@
1
- export * from './slackMessage.dto';
1
+ export * from './channelMessage.dto';
2
2
  export * from './email.dto';
3
3
  export * from './notifiable.dto';
package/src/settings.ts CHANGED
@@ -1,3 +1,4 @@
1
+ import {Contact} from './dto';
1
2
  import {AmpSettingsMap} from './services';
2
3
 
3
4
  /**************************
@@ -10,9 +11,11 @@ import {AmpSettingsMap} from './services';
10
11
  */
11
12
  const TENANT_SETTINGS = {
12
13
  /** Disables all automated messages from being sent to end users. */
13
- GHOST_MODE: AmpSettingsMap.asKey<boolean>('notifications.ghostMode.enabled', false), // TODO enble by default
14
+ GHOST_MODE: AmpSettingsMap.asKey<boolean>('notifications.ghostMode.enabled', true),
14
15
  /** Enables mock providers on the tenant. */
15
16
  ENABLE_MOCKS: AmpSettingsMap.asKey<boolean>('mocks.enabled', false),
17
+ /** Email address for the tenant's IT/Security team */
18
+ IT_SECURITY_CONTACT: AmpSettingsMap.asKey<Contact | undefined>('tenant.itSecurityContact'),
16
19
  /**
17
20
  * Specifies which mock tenant to use.
18
21
  * - `david`: single insecure user
@@ -1,9 +0,0 @@
1
- import { Notifiable } from './notifiable.dto';
2
- export type SlackMessageDto = Notifiable & {
3
- /** ID of the Slack team to which the user(s) belong */
4
- teamId: string;
5
- /** Slack user IDs to which the notification is being sent */
6
- users: string[];
7
- /** Message to be sent to the users */
8
- message: string;
9
- };
@@ -1 +0,0 @@
1
- {"version":3,"file":"slackMessage.dto.js","sourceRoot":"","sources":["../../../../src/dto/messagingChannels/slackMessage.dto.ts"],"names":[],"mappings":""}
@@ -1,10 +0,0 @@
1
- import {Notifiable} from './notifiable.dto';
2
-
3
- export type SlackMessageDto = Notifiable & {
4
- /** ID of the Slack team to which the user(s) belong */
5
- teamId: string;
6
- /** Slack user IDs to which the notification is being sent */
7
- users: string[];
8
- /** Message to be sent to the users */
9
- message: string;
10
- };