Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@al/aecoral

Package Overview
Dependencies
Maintainers
2
Versions
32
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@al/aecoral - npm Package Compare versions

Comparing version 1.0.14 to 1.0.15

2

dist/commonjs/al-coral-client.v2.js

@@ -196,3 +196,3 @@ "use strict";

version: 2,
path: '/incident_spec',
path: '/specifications/incident',
})];

@@ -199,0 +199,0 @@ case 1:

@@ -1,1 +0,1 @@

!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.coralClient=t():e.coralClient=t()}(this,(function(){return function(e){var t={};function n(r){if(t[r])return t[r].exports;var i=t[r]={i:r,l:!1,exports:{}};return e[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var i in e)n.d(r,i,function(t){return e[t]}.bind(null,i));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=4)}([function(e,t){e.exports=require("@al/common")},function(e,t,n){"use strict";var r=this&&this.__awaiter||function(e,t,n,r){return new(n||(n=Promise))((function(i,o){function a(e){try{u(r.next(e))}catch(e){o(e)}}function c(e){try{u(r.throw(e))}catch(e){o(e)}}function u(e){var t;e.done?i(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,c)}u((r=r.apply(e,t||[])).next())}))},i=this&&this.__generator||function(e,t){var n,r,i,o,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:c(0),throw:c(1),return:c(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function c(o){return function(c){return function(o){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,r&&(i=2&o[0]?r.return:o[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,o[1])).done)return i;switch(r=0,i&&(o=[2&o[0],i.value]),o[0]){case 0:case 1:i=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,r=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!(i=(i=a.trys).length>0&&i[i.length-1])&&(6===o[0]||2===o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]<i[3])){a.label=o[1];break}if(6===o[0]&&a.label<i[1]){a.label=i[1],i=o;break}if(i&&a.label<i[2]){a.label=i[2],a.ops.push(o);break}i[2]&&a.ops.pop(),a.trys.pop();continue}o=t.call(e,a)}catch(e){o=[6,e],r=0}finally{n=i=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,c])}}};Object.defineProperty(t,"__esModule",{value:!0});var o=n(0),a=n(2),c=function(){function e(){this.serviceName="aecoral"}return e.prototype.createCorrelationRule=function(e,t){return r(this,void 0,void 0,(function(){var n;return i(this,(function(r){switch(r.label){case 0:return[4,a.ALClient.post({service_name:this.serviceName,account_id:e,path:"/correlations",data:t})];case 1:if(!(n=r.sent()).hasOwnProperty("correlation_rule_id"))throw new o.AlResponseValidationError("Service returned unexpected result; missing 'correlation_rule_id' property.");return[2,n.correlation_rule_id]}}))}))},e.prototype.removeCorrelationRule=function(e,t){return r(this,void 0,void 0,(function(){return i(this,(function(n){switch(n.label){case 0:return[4,a.ALClient.delete({service_name:this.serviceName,account_id:e,path:"/correlations/"+t})];case 1:return[2,n.sent()]}}))}))},e.prototype.getCorrelationRule=function(e,t){return r(this,void 0,void 0,(function(){return i(this,(function(n){switch(n.label){case 0:return[4,a.ALClient.get({service_name:this.serviceName,account_id:e,path:"/correlations/"+t})];case 1:return[2,n.sent()]}}))}))},e.prototype.getAllCorrelations=function(e,t){return void 0===t&&(t={}),r(this,void 0,void 0,(function(){return i(this,(function(n){switch(n.label){case 0:return[4,a.ALClient.get({service_name:this.serviceName,account_id:e,path:"/correlations",params:t})];case 1:return[2,n.sent()]}}))}))},e.prototype.updateCorrelationRule=function(e,t,n){return r(this,void 0,void 0,(function(){var r;return i(this,(function(i){switch(i.label){case 0:return[4,a.ALClient.put({service_name:this.serviceName,account_id:e,path:"/correlations/"+t,data:n})];case 1:if(!(r=i.sent()).hasOwnProperty("correlation_rule_id"))throw new o.AlResponseValidationError("Service returned unexpected result; missing 'correlation_rule_id' property.");return[2,r.correlation_rule_id]}}))}))},e.prototype.validateCorrelationPolicy=function(e,t){return r(this,void 0,void 0,(function(){return i(this,(function(n){switch(n.label){case 0:return[4,a.ALClient.post({service_name:this.serviceName,account_id:e,path:"/validations/correlations",data:t})];case 1:return[2,n.sent()]}}))}))},e.prototype.getIncidentSpecifications=function(){return r(this,void 0,void 0,(function(){return i(this,(function(e){switch(e.label){case 0:return[4,a.ALClient.get({service_name:this.serviceName,path:"/incident_spec"})];case 1:return[2,e.sent()]}}))}))},e}();t.AlCoralClientInstance=c},function(e,t){e.exports=require("@al/client")},function(e,t,n){"use strict";var r=this&&this.__awaiter||function(e,t,n,r){return new(n||(n=Promise))((function(i,o){function a(e){try{u(r.next(e))}catch(e){o(e)}}function c(e){try{u(r.throw(e))}catch(e){o(e)}}function u(e){var t;e.done?i(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,c)}u((r=r.apply(e,t||[])).next())}))},i=this&&this.__generator||function(e,t){var n,r,i,o,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:c(0),throw:c(1),return:c(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function c(o){return function(c){return function(o){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,r&&(i=2&o[0]?r.return:o[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,o[1])).done)return i;switch(r=0,i&&(o=[2&o[0],i.value]),o[0]){case 0:case 1:i=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,r=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!(i=(i=a.trys).length>0&&i[i.length-1])&&(6===o[0]||2===o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]<i[3])){a.label=o[1];break}if(6===o[0]&&a.label<i[1]){a.label=i[1],i=o;break}if(i&&a.label<i[2]){a.label=i[2],a.ops.push(o);break}i[2]&&a.ops.pop(),a.trys.pop();continue}o=t.call(e,a)}catch(e){o=[6,e],r=0}finally{n=i=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,c])}}};Object.defineProperty(t,"__esModule",{value:!0});var o=n(0),a=n(2),c=function(){function e(){this.serviceName="aecoral"}return e.prototype.createCorrelationRule=function(e,t){return r(this,void 0,void 0,(function(){var n;return i(this,(function(r){switch(r.label){case 0:return[4,a.ALClient.post({service_name:this.serviceName,version:2,account_id:e,path:"/correlations",data:t})];case 1:if(!(n=r.sent()).hasOwnProperty("id"))throw new o.AlResponseValidationError("Service returned unexpected result; missing 'id' property.");return[2,n]}}))}))},e.prototype.removeCorrelationRule=function(e,t){return r(this,void 0,void 0,(function(){return i(this,(function(n){switch(n.label){case 0:return[4,a.ALClient.delete({service_name:this.serviceName,version:2,account_id:e,path:"/correlations/"+t})];case 1:return[2,n.sent()]}}))}))},e.prototype.getCorrelationRule=function(e,t){return r(this,void 0,void 0,(function(){return i(this,(function(n){switch(n.label){case 0:return[4,a.ALClient.get({service_name:this.serviceName,version:2,account_id:e,path:"/correlations/"+t})];case 1:return[2,n.sent()]}}))}))},e.prototype.getAllCorrelations=function(e,t){return void 0===t&&(t={}),r(this,void 0,void 0,(function(){return i(this,(function(n){switch(n.label){case 0:return[4,a.ALClient.get({service_name:this.serviceName,version:2,account_id:e,path:"/correlations",params:t})];case 1:return[2,n.sent()]}}))}))},e.prototype.updateCorrelationRule=function(e,t,n){return r(this,void 0,void 0,(function(){var r;return i(this,(function(i){switch(i.label){case 0:return[4,a.ALClient.put({service_name:this.serviceName,version:2,account_id:e,path:"/correlations/"+t,data:n})];case 1:if(!(r=i.sent()).hasOwnProperty("id"))throw new o.AlResponseValidationError("Service returned unexpected result; missing 'id' property.");return[2,r]}}))}))},e.prototype.validateCorrelationPolicy=function(e,t){return r(this,void 0,void 0,(function(){return i(this,(function(n){switch(n.label){case 0:return[4,a.ALClient.post({service_name:this.serviceName,version:2,account_id:e,path:"/validations/correlations",data:t})];case 1:return[2,n.sent()]}}))}))},e.prototype.getIncidentSpecifications=function(){return r(this,void 0,void 0,(function(){return i(this,(function(e){switch(e.label){case 0:return[4,a.ALClient.get({service_name:this.serviceName,version:2,path:"/incident_spec"})];case 1:return[2,e.sent()]}}))}))},e}();t.AlCoralClientInstanceV2=c},function(e,t,n){"use strict";function r(e){for(var n in e)t.hasOwnProperty(n)||(t[n]=e[n])}Object.defineProperty(t,"__esModule",{value:!0});var i=n(0),o=n(1),a=n(3);r(n(1)),r(n(3)),t.AlCoralClient=i.AlGlobalizer.instantiate("AlCoralClient",(function(){return new o.AlCoralClientInstance})),t.AlCoralClientV2=i.AlGlobalizer.instantiate("AlCoralClientV2",(function(){return new a.AlCoralClientInstanceV2}))}])}));
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.coralClient=t():e.coralClient=t()}(this,(function(){return function(e){var t={};function n(r){if(t[r])return t[r].exports;var i=t[r]={i:r,l:!1,exports:{}};return e[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var i in e)n.d(r,i,function(t){return e[t]}.bind(null,i));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=4)}([function(e,t){e.exports=require("@al/common")},function(e,t,n){"use strict";var r=this&&this.__awaiter||function(e,t,n,r){return new(n||(n=Promise))((function(i,o){function a(e){try{u(r.next(e))}catch(e){o(e)}}function c(e){try{u(r.throw(e))}catch(e){o(e)}}function u(e){var t;e.done?i(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,c)}u((r=r.apply(e,t||[])).next())}))},i=this&&this.__generator||function(e,t){var n,r,i,o,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:c(0),throw:c(1),return:c(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function c(o){return function(c){return function(o){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,r&&(i=2&o[0]?r.return:o[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,o[1])).done)return i;switch(r=0,i&&(o=[2&o[0],i.value]),o[0]){case 0:case 1:i=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,r=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!(i=(i=a.trys).length>0&&i[i.length-1])&&(6===o[0]||2===o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]<i[3])){a.label=o[1];break}if(6===o[0]&&a.label<i[1]){a.label=i[1],i=o;break}if(i&&a.label<i[2]){a.label=i[2],a.ops.push(o);break}i[2]&&a.ops.pop(),a.trys.pop();continue}o=t.call(e,a)}catch(e){o=[6,e],r=0}finally{n=i=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,c])}}};Object.defineProperty(t,"__esModule",{value:!0});var o=n(0),a=n(2),c=function(){function e(){this.serviceName="aecoral"}return e.prototype.createCorrelationRule=function(e,t){return r(this,void 0,void 0,(function(){var n;return i(this,(function(r){switch(r.label){case 0:return[4,a.ALClient.post({service_name:this.serviceName,account_id:e,path:"/correlations",data:t})];case 1:if(!(n=r.sent()).hasOwnProperty("correlation_rule_id"))throw new o.AlResponseValidationError("Service returned unexpected result; missing 'correlation_rule_id' property.");return[2,n.correlation_rule_id]}}))}))},e.prototype.removeCorrelationRule=function(e,t){return r(this,void 0,void 0,(function(){return i(this,(function(n){switch(n.label){case 0:return[4,a.ALClient.delete({service_name:this.serviceName,account_id:e,path:"/correlations/"+t})];case 1:return[2,n.sent()]}}))}))},e.prototype.getCorrelationRule=function(e,t){return r(this,void 0,void 0,(function(){return i(this,(function(n){switch(n.label){case 0:return[4,a.ALClient.get({service_name:this.serviceName,account_id:e,path:"/correlations/"+t})];case 1:return[2,n.sent()]}}))}))},e.prototype.getAllCorrelations=function(e,t){return void 0===t&&(t={}),r(this,void 0,void 0,(function(){return i(this,(function(n){switch(n.label){case 0:return[4,a.ALClient.get({service_name:this.serviceName,account_id:e,path:"/correlations",params:t})];case 1:return[2,n.sent()]}}))}))},e.prototype.updateCorrelationRule=function(e,t,n){return r(this,void 0,void 0,(function(){var r;return i(this,(function(i){switch(i.label){case 0:return[4,a.ALClient.put({service_name:this.serviceName,account_id:e,path:"/correlations/"+t,data:n})];case 1:if(!(r=i.sent()).hasOwnProperty("correlation_rule_id"))throw new o.AlResponseValidationError("Service returned unexpected result; missing 'correlation_rule_id' property.");return[2,r.correlation_rule_id]}}))}))},e.prototype.validateCorrelationPolicy=function(e,t){return r(this,void 0,void 0,(function(){return i(this,(function(n){switch(n.label){case 0:return[4,a.ALClient.post({service_name:this.serviceName,account_id:e,path:"/validations/correlations",data:t})];case 1:return[2,n.sent()]}}))}))},e.prototype.getIncidentSpecifications=function(){return r(this,void 0,void 0,(function(){return i(this,(function(e){switch(e.label){case 0:return[4,a.ALClient.get({service_name:this.serviceName,path:"/incident_spec"})];case 1:return[2,e.sent()]}}))}))},e}();t.AlCoralClientInstance=c},function(e,t){e.exports=require("@al/client")},function(e,t,n){"use strict";var r=this&&this.__awaiter||function(e,t,n,r){return new(n||(n=Promise))((function(i,o){function a(e){try{u(r.next(e))}catch(e){o(e)}}function c(e){try{u(r.throw(e))}catch(e){o(e)}}function u(e){var t;e.done?i(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,c)}u((r=r.apply(e,t||[])).next())}))},i=this&&this.__generator||function(e,t){var n,r,i,o,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:c(0),throw:c(1),return:c(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function c(o){return function(c){return function(o){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,r&&(i=2&o[0]?r.return:o[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,o[1])).done)return i;switch(r=0,i&&(o=[2&o[0],i.value]),o[0]){case 0:case 1:i=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,r=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!(i=(i=a.trys).length>0&&i[i.length-1])&&(6===o[0]||2===o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]<i[3])){a.label=o[1];break}if(6===o[0]&&a.label<i[1]){a.label=i[1],i=o;break}if(i&&a.label<i[2]){a.label=i[2],a.ops.push(o);break}i[2]&&a.ops.pop(),a.trys.pop();continue}o=t.call(e,a)}catch(e){o=[6,e],r=0}finally{n=i=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,c])}}};Object.defineProperty(t,"__esModule",{value:!0});var o=n(0),a=n(2),c=function(){function e(){this.serviceName="aecoral"}return e.prototype.createCorrelationRule=function(e,t){return r(this,void 0,void 0,(function(){var n;return i(this,(function(r){switch(r.label){case 0:return[4,a.ALClient.post({service_name:this.serviceName,version:2,account_id:e,path:"/correlations",data:t})];case 1:if(!(n=r.sent()).hasOwnProperty("id"))throw new o.AlResponseValidationError("Service returned unexpected result; missing 'id' property.");return[2,n]}}))}))},e.prototype.removeCorrelationRule=function(e,t){return r(this,void 0,void 0,(function(){return i(this,(function(n){switch(n.label){case 0:return[4,a.ALClient.delete({service_name:this.serviceName,version:2,account_id:e,path:"/correlations/"+t})];case 1:return[2,n.sent()]}}))}))},e.prototype.getCorrelationRule=function(e,t){return r(this,void 0,void 0,(function(){return i(this,(function(n){switch(n.label){case 0:return[4,a.ALClient.get({service_name:this.serviceName,version:2,account_id:e,path:"/correlations/"+t})];case 1:return[2,n.sent()]}}))}))},e.prototype.getAllCorrelations=function(e,t){return void 0===t&&(t={}),r(this,void 0,void 0,(function(){return i(this,(function(n){switch(n.label){case 0:return[4,a.ALClient.get({service_name:this.serviceName,version:2,account_id:e,path:"/correlations",params:t})];case 1:return[2,n.sent()]}}))}))},e.prototype.updateCorrelationRule=function(e,t,n){return r(this,void 0,void 0,(function(){var r;return i(this,(function(i){switch(i.label){case 0:return[4,a.ALClient.put({service_name:this.serviceName,version:2,account_id:e,path:"/correlations/"+t,data:n})];case 1:if(!(r=i.sent()).hasOwnProperty("id"))throw new o.AlResponseValidationError("Service returned unexpected result; missing 'id' property.");return[2,r]}}))}))},e.prototype.validateCorrelationPolicy=function(e,t){return r(this,void 0,void 0,(function(){return i(this,(function(n){switch(n.label){case 0:return[4,a.ALClient.post({service_name:this.serviceName,version:2,account_id:e,path:"/validations/correlations",data:t})];case 1:return[2,n.sent()]}}))}))},e.prototype.getIncidentSpecifications=function(){return r(this,void 0,void 0,(function(){return i(this,(function(e){switch(e.label){case 0:return[4,a.ALClient.get({service_name:this.serviceName,version:2,path:"/specifications/incident"})];case 1:return[2,e.sent()]}}))}))},e}();t.AlCoralClientInstanceV2=c},function(e,t,n){"use strict";function r(e){for(var n in e)t.hasOwnProperty(n)||(t[n]=e[n])}Object.defineProperty(t,"__esModule",{value:!0});var i=n(0),o=n(1),a=n(3);r(n(1)),r(n(3)),t.AlCoralClient=i.AlGlobalizer.instantiate("AlCoralClient",(function(){return new o.AlCoralClientInstance})),t.AlCoralClientV2=i.AlGlobalizer.instantiate("AlCoralClientV2",(function(){return new a.AlCoralClientInstanceV2}))}])}));
{
"name": "@al/aecoral",
"version": "1.0.14",
"version": "1.0.15",
"license": "MIT",

@@ -5,0 +5,0 @@ "description": "A client for interacting with the Alert Logic Analytics Engine Correlations Public API",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc