Research
Security News
Malicious npm Packages Inject SSH Backdoors via Typosquatted Libraries
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
@ibm-cloud/event-notifications-node-admin-sdk
Advanced tools
IBM Cloud Event Notifications Admin Node.js SDK
Node.js client library to interact with various Event Notifications APIs.
The IBM Cloud Event Notifications Node.js SDK allows developers to programmatically interact with the Event Notifications service in IBM cloud.
Service Name | Import Path |
---|---|
Event-Notifications | @ibm-cloud/event-notifications-node-admin-sdk/event-notifications/v1 |
npm install @ibm-cloud/event-notifications-node-admin-sdk
For general SDK usage information, please see this link
Initialize the sdk to connect with your Event Notifications service instance.
import { EventNotificationsV1 } from '@ibm-cloud/event-notifications-node-admin-sdk/event-notifications/v1';
import { IamAuthenticator } from '@ibm-cloud/event-notifications-node-admin-sdk/auth';
const authenticator = new IamAuthenticator({
apikey: <apikey>, // Event notifications service instance APIKey
});
const initParameters = {
authenticator,
serviceUrl: "https://" + region + ".event-notifications.cloud.ibm.com/event-notifications"
}
const eventNotificationsService = EventNotificationsV1.newInstance(initParameters);
To configure service URL for Private Endpoint
If you enabled service endpoints in your account, you can send API requests over the IBM Cloud private network. In the initialisation, the base endpoint URLs of the IAM(authenticator) & Event Notification(service) should be modified to point to private endpoints.
const authenticator = new IamAuthenticator({
apikey: <apikey>, // Event notifications service instance APIKey
url: "https://private.iam.cloud.ibm.com",
})
const initParameters = {
authenticator,
serviceUrl: "https://private." + region + ".event-notifications.cloud.ibm.com/event-notifications"
}
EVENT_NOTIFICATIONS_AUTH_URL = https://private.iam.cloud.ibm.com/identity/token
SDK Methods to consume
const params = {
instanceId: <instance-id>, // Event notifications service instance GUID
name: '<source-name>',
description: '<source-description>',
enabled: false,
};
let res;
try {
res = await eventNotificationsService.createSources(params);
console.log(JSON.stringify(res.result, null, 2));
sourceId = res.result.id;
} catch (err) {
console.warn(err);
}
const params = {
instanceId: <instance-id>, // Event notifications service instance GUID
};
eventNotificationsService
.listSources(params)
.then((res) => {
console.log(JSON.stringify(res.result, null, 2));
})
.catch((err) => {
console.warn(err);
});
const params = {
instanceId: <instance-id>, // Event notifications service instance GUID
id: <source-id>, // Event notifications service instance Source ID
};
eventNotificationsService
.getSource(params)
.then((res) => {
console.log(JSON.stringify(res.result, null, 2));
})
.catch((err) => {
console.warn(err);
});
const params = {
instanceId: <instance-id>, // Event notifications service instance GUID
id: <sourceId>,
name: '<source-updated-name>',
description: '<source-updated-description>',
enabled: true,
};
let res;
try {
res = await eventNotificationsService.updateSource(params);
console.log(JSON.stringify(res.result, null, 2));
} catch (err) {
console.warn(err);
}
const params = {
instanceId: <instance-id>, // Event notifications service instance GUID
id: <sourceId>,
};
try {
await eventNotificationsService.deleteSource(params);
} catch (err) {
console.warn(err);
}
// Rules
const rulesModel = {
enabled: false,
event_type_filter: "$.notification_event_info.event_type == 'cert_manager'", // Add your event type filter here.
notification_filter: "$.notification.findings[0].severity == 'MODERATE'", // Add your notification filter here.
};
// TopicUpdateSourcesItem
const topicUpdateSourcesItemModel = {
id: <source-id>, // Event notifications service instance Source ID
rules: [rulesModel],
};
const params = {
instanceId: <instance-id>, // Event notifications service instance GUID
name: <topic-name>,
description: <topic-description>,
sources: [topicUpdateSourcesItemModel],
};
eventNotificationsService
.createTopic(params)
.then((res) => {
console.log(JSON.stringify(res.result, null, 2));
})
.catch((err) => {
console.warn(err);
});
const params = {
instanceId: <instance-id>,
};
eventNotificationsService
.listTopics(params)
.then((res) => {
console.log(JSON.stringify(res.result, null, 2));
})
.catch((err) => {
console.warn(err);
});
const params = {
instanceId: <instance-id>,
id: <topic-id>,
};
eventNotificationsService
.getTopic(params)
.then((res) => {
console.log(JSON.stringify(res.result, null, 2));
})
.catch((err) => {
console.warn(err);
});
// Rules
const rulesModel = {
enabled: true,
event_type_filter: "$.notification_event_info.event_type == 'cert_manager'", // Add your event type filter here.
notification_filter: "$.notification.findings[0].severity == 'MODERATE'", // Add your notification filter here.
};
// TopicUpdateSourcesItem
const topicUpdateSourcesItemModel = {
id: <source-id>,
rules: [rulesModel],
};
const params = {
instanceId: <instance-id>,
id: <topic-id>,
name: <topic-update-name>,
sources: [topicUpdateSourcesItemModel],
};
eventNotificationsService
.replaceTopic(params)
.then((res) => {
console.log(JSON.stringify(res.result, null, 2));
})
.catch((err) => {
console.warn(err);
});
const params = {
instanceId : <instance-id>,
id : <topic-id>,
}
eventNotificationsService
.deleteTopic(params)
.then(res => {
console.log(JSON.stringify(res.result, null, 2));
})
.catch(err => {
console.warn(err);
});
// DestinationConfigParamsWebhookDestinationConfig
const destinationConfigParamsModel = {
url: <destination-config-url>,
verb: <destination-config-verb>,
custom_headers: { <header-key>: <header-value> },
sensitive_headers: [<header-key>],
};
// DestinationConfig
const destinationConfigModel = {
params: destinationConfigParamsModel,
};
const params = {
instanceId: <instance-id>,
name: <destination-name>,
type: <destination-type>,
description: <destination-description>,
config: destinationConfigModel,
};
eventNotificationsService.createDestination(params)
.then(res => {
console.log(JSON.stringify(res.result, null, 2));
})
.catch(err => {
console.warn(err);
});
Among the supported destinations, if you need to create Push Notification destinations, you have the additional option of choosing a destination of production type or pre-production type.
Set pre_prod
boolean parameter to true to configure destination as pre-production destination else set the value as false.
Supported destinations are Android, iOS, Chrome, Firefox and Safari.
const params = {
instanceId : <instance-id>,
}
eventNotificationsService.listDestinations(params)
.then(res => {
console.log(JSON.stringify(res.result, null, 2));
})
.catch(err => {
console.warn(err);
});
const params = {
instanceId : <instance-id>,
id : <destination-id>,
}
eventNotificationsService
.getDestination(params)
.then(res => {
console.log(JSON.stringify(res.result, null, 2));
})
.catch(err => {
console.warn(err);
});
// DestinationConfigParamsWebhookDestinationConfig
const destinationConfigParamsModel = {
url: <destination-config-update-url>,
verb: <destination-config-update-verb>,
custom_headers: { <header-key>: <header-value> },
sensitive_headers: [<header-key>],
};
// DestinationConfig
const destinationConfigModel = {
params: destinationConfigParamsModel,
};
const params = {
instanceId: <instance-id>,
id: <destination-id>,
name: <destination-update-name>,
description: <destination-update-description>,
config: destinationConfigModel,
};
eventNotificationsService.updateDestination(params)
.then(res => {
console.log(JSON.stringify(res.result, null, 2));
})
.catch(err => {
console.warn(err);
});
const params = {
instanceId : <instance-id>,
id : <destination-id>,
}
eventNotificationsService
.deleteDestination(params)
.then(res => {
console.log(JSON.stringify(res.result, null, 2));
})
.catch(err => {
console.warn(err);
});
This functionality allows you to test a destination. The feature simplifies the process of verifying whether a destination is functioning correctly. Currently, this functionality supports following destinations:
const testDestinationParams = {
instanceId : <instance-id>, // Event notifications service instance GUID
id : <destination-id>, // Event notifications service instance Destination ID
};
try {
const testDestinationResult = await eventNotificationsService.testDestination(testDestinationParams);
console.log(JSON.stringify(testDestinationResult.result, null, 2));
} catch (err) {
console.warn(err);
}
Once the test is completed, you will be presented with the results. These results will typically include:
After creation of the custom email destination with your domain name, make sure its validated for the right ownership. This can be done with SPF and DKIM verification.
const updateSpfVerifyDestinationParams = {
instanceId : <instance-id>,
id : <destination-id>,
type: <verification-type>,
};
let res;
try {
res = await eventNotificationsService.updateVerifyDestination(
updateSpfVerifyDestinationParams
);
console.log(JSON.stringify(res.result, null, 2));
} catch (err) {
console.warn(err);
}
Template is a pre-defined layout, that may include content like images, text and dynamic content based on event. Rather than creating a new content from scratch each time, you can use a template as a base and configure them in subscription. supports the following templates:
const templateConfigModel = {
params: {
body: 'base 64 encoded html contents',
subject: 'Hi this is invitation for invitation message',
},
};
let createTemplateParams = {
instanceId: <instance-id>,
name: <template-name>,
type: <template-type>,
templateConfigModel,
description: <template-description>,
};
let createTemplateResult;
try {
createTemplateResult = await eventNotificationsService.createTemplate(createTemplateParams);
console.log(JSON.stringify(createTemplateResult.result, null, 2));
} catch (err) {
console.warn(err);
}
For custom email supported template type values: smtp_custom.invitation, smtp_custom.notification
const templateConfigModel = {
params: {
body: 'base 64 encoded json body',
},
};
let createTemplateParams = {
instanceId: <instance-id>,
name: <template-name>,
type: <template-type>,
templateConfigModel,
description: <template-description>,
};
let createTemplateResult;
try {
createTemplateResult = await eventNotificationsService.createTemplate(createTemplateParams);
console.log(JSON.stringify(createTemplateResult.result, null, 2));
} catch (err) {
console.warn(err);
}
For slack template supported template type value: slack.notification
const templateConfigModel = {
params: {
body: 'base 64 encoded json body',
},
};
let createTemplateParams = {
instanceId: <instance-id>,
name: <template-name>,
type: <template-type>,
templateConfigModel,
description: <template-description>,
};
let createTemplateResult;
try {
createTemplateResult = await eventNotificationsService.createTemplate(createTemplateParams);
console.log(JSON.stringify(createTemplateResult.result, null, 2));
} catch (err) {
console.warn(err);
}
For webhook template supported template type value: webhook.notification
const params = {
instanceId: <instance-id>,
};
let res;
try {
res = await eventNotificationsService.listTemplates(params);
console.log(JSON.stringify(res.result, null, 2));
} catch (err) {
console.warn(err);
}
const params = {
instanceId: <instance-id>,
id: <template-id>,
};
let res;
try {
res = await eventNotificationsService.getTemplate(params);
console.log(JSON.stringify(res.result, null, 2));
} catch (err) {
console.warn(err);
}
const templateConfigModel = {
params: {
body: 'base 64 encoded html content',
subject: 'Hi this is invitation for invitation message',
},
};
let replaceTemplateParams = {
instanceId: <instance-id>,
name: <template-name>,
type: <template-type>,
templateConfigModel,
description: <template-description>,s
};
let replaceTemplateResult;
try {
replaceTemplateResult = await eventNotificationsService.replaceTemplate(replaceTemplateParams);
} catch (err) {
console.warn(err);
}
For custom email supported template type values: smtp_custom.invitation, smtp_custom.notification
const templateConfigModel = {
params: {
body: 'base 64 encoded json body',
},
};
let replaceTemplateParams = {
instanceId: <instance-id>,
name: <template-name>,
type: <template-type>,
templateConfigModel,
description: <template-description>,s
};
let replaceTemplateResult;
try {
replaceTemplateResult = await eventNotificationsService.replaceTemplate(replaceTemplateParams);
} catch (err) {
console.warn(err);
}
For slack template supported template type value: slack.notification
const templateConfigModel = {
params: {
body: 'base 64 encoded json body',
},
};
let replaceTemplateParams = {
instanceId: <instance-id>,
name: <template-name>,
type: <template-type>,
templateConfigModel,
description: <template-description>,s
};
let replaceTemplateResult;
try {
replaceTemplateResult = await eventNotificationsService.replaceTemplate(replaceTemplateParams);
} catch (err) {
console.warn(err);
}
For webhook template supported template type value: webhook.notification
const params = {
instanceId: <instance-id>,
id: <template-id>,
};
try {
await eventNotificationsService.deleteTemplate(params);
} catch (err) {
console.warn(err);
}
const params = {
instanceId: <instance-id>,
id: <destination-id>,
deviceId: <device-id>,
tagName: <tag-name>,
};
let res;
try {
res = await eventNotificationsService.createTagsSubscription(params);
console.log(JSON.stringify(res.result, null, 2));
} catch (err) {
console.warn(err);
}
const params = {
instanceId: <instance-id>,
id: <destination-id>,
};
let res;
try {
res = await eventNotificationsService.listTagsSubscription(params);
console.log(JSON.stringify(res.result, null, 2));
} catch (err) {
console.warn(err);
}
const params = {
instanceId: <instance-id>,
id: <destination-id>,
deviceId: <device-id>,
tagName: <tag-name>
};
try {
await eventNotificationsService.deleteTagsSubscription(params);
} catch (err) {
console.warn(err);
}
While Creating Subscription use any of one option from webhook or email
// SubscriptionCreateAttributesWebhookAttributes
const subscriptionCreateAttributesModel = {
signing_enabled: false,
template_id_notification: <webhook-template-id>,
};
const params = {
instanceId: <instance-id>,
name: <subscription-name>,
destinationId: <destination-id>,
topicId: <topic-id>,
attributes: subscriptionCreateAttributesModel,
description: <subscription-description>,
};
eventNotificationsService
.createSubscription(params)
.then(res => {
console.log(JSON.stringify(res.result, null, 2));
})
.catch(err => {
console.warn(err);
});
const params = {
instanceId : <instance-id>,
}
eventNotificationsService
.listSubscriptions(params)
.then(res => {
console.log(JSON.stringify(res.result, null, 2));
})
.catch(err => {
console.warn(err);
});
const params = {
instanceId : <instance-id>,
id : <subscription-id>,
}
eventNotificationsService.
getSubscription(params)
.then(res => {
console.log(JSON.stringify(res.result, null, 2));
})
.catch(err => {
console.warn(err);
});
const subscriptionUpdateAttributesModel = {
signing_enabled: true,
template_id_notification: <webhook-template-id>,
};
const params = {
instanceId: <instance-id>,
id: <subscription-id>,
name: <subscription-update-name>,
description: <subscription-update-description>,
attributes: subscriptionUpdateAttributesModel,
};
eventNotificationsService
.updateSubscription(params)
.then(res => {
console.log(JSON.stringify(res.result, null, 2));
})
.catch(err => {
console.warn(err);
});
const params = {
instanceId : <instance-id>,
id : <subscription-id>,
}
eventNotificationsService
.deleteSubscription(params)
.then(res => {
console.log(JSON.stringify(res.result, null, 2));
})
.catch(err => {
console.warn(err);
});
const metadata = {
endpoint: <end-point>,
crn: <crn>,
bucket_name: <cos-bucket-name>,
};
const params = {
instanceId : <instance-id>,
id: <integration-id>,
type: 'collect_failed_events',
metadata,
};
const res = await eventNotificationsService.createIntegration(params);
const params = {
instanceId : <instance-id>,
offset : <offset>,
limit : <limit>,
search : <search>,
};
const res = await eventNotificationsService.listIntegrations(params);
const params = {
instanceId : <instance-id>,
id: <integration-id>,
};
const res = await eventNotificationsService.getIntegration(params);
For kms/hs-crypto-
const metadata = {
endpoint: <end-point>,
crn: <crn>,
root_key_id: <root-key-id>,
};
const params = {
instanceId : <instance-id>,
id: <integration-id>,
type: <integration-type>,
metadata,
};
const res = await eventNotificationsService.replaceIntegration(params);
For Cloud Object Storage-
const metadata = {
endpoint: <end-point>,
crn: <crn>,
bucket_name: <cos_bucket_name>,
};
const params = {
instanceId : <instance-id>,
id: <integration-id>,
type: 'collect_failed_events',
metadata,
};
const res = await eventNotificationsService.replaceIntegration(params);
const createSmtpConfigurationParams = {
instanceId : <instance-id>,
name : <smtp-name>,
domain : <smtp-domain>,
description : <smtp-description>,
};
const res = await eventNotificationsService.createSmtpConfiguration(
createSmtpConfigurationParams
const createSmtpUserParams = {
instanceId : <instance-id>,
id: <smtp-Config-id>,
description: <user-description>,
};
const res = await eventNotificationsService.createSmtpUser(createSmtpUserParams);
const getSmtpConfigurationParams = {
instanceId : <instance-id>,
id: <smtp-Config-id>,
};
const res = await eventNotificationsService.getSmtpConfiguration(getSmtpConfigurationParams);
const getSmtpUserParams = {
instanceId : <instance-id>,
id: <smtp-Config-id>,
userId: <smtp-user-id>,
};
const res = await eventNotificationsService.getSmtpUser(getSmtpUserParams);
const getSmtpAllowedIpsParams = {
instanceId : <instance-id>,
id: <smtp-Config-id>,
};
const res = await eventNotificationsService.getSmtpAllowedIps(getSmtpAllowedIpsParams);
const listSmtpConfigurationsParams = {
instanceId : <instance-id>,
offset : <offset>,
limit : <limit>,
search : <search>,
};
const res = await eventNotificationsService.listSmtpConfigurations(
listSmtpConfigurationsParams
);
const listSmtpUsersParams = {
instanceId : <instance-id>,
id: <smtp-Config-id>,
offset : <offset>,
limit : <limit>,
search : <search>,
};
const res = await eventNotificationsService.listSmtpUsers(listSmtpUsersParams);
const updateSmtpConfigurationParams = {
instanceId : <instance-id>,
id: <smtp-Config-id>,
name: <smtp-name>,
description: <smtp-description>,
};
const res = await eventNotificationsService.updateSmtpConfiguration(
updateSmtpConfigurationParams
);
const updateSmtpUserParams = {
instanceId : <instance-id>,
id: <smtp-Config-id>,
userId: <smtp-user-id>,
description <smtp-user-description>,
};
const res = await eventNotificationsService.updateSmtpUser(updateSmtpUserParams);
const deleteSmtpUserParams = {
instanceId : <instance-id>,
id: <smtp-Config-id>,
userId: <smtp-user-id>,
};
const res = await eventNotificationsService.deleteSmtpUser(deleteSmtpUserParams);
const deleteSmtpConfigurationParams = {
instanceId : <instance-id>,
id: <smtp-Config-id>,
};
const res = await eventNotificationsService.deleteSmtpConfiguration(
deleteSmtpConfigurationParams
);
const type = 'dkim,spf,en_authorization';
const updateVerifySmtpParams = {
instanceId : <instance-id>,
id: <smtp-Config-id>,
type,
};
const res = await eventNotificationsService.updateVerifySmtp(updateVerifySmtpParams);
supported verification types are dkim,spf and en_authorization.
const getMetricsParams = {
instanceId: <instance-id>,
destinationType: 'smtp_custom',
gte: <gte-timestamp>,
lte: <lte-timestamp>,
destinationId: <destination-id>,
emailTo: <email-to>,
notificationId: <notification-id>,
subject: <subject>,
};
try {
const res = await eventNotificationsService.getMetrics(getMetricsParams);
console.log(JSON.stringify(res.result, null, 2));
} catch (err) {
console.warn(err);
}
// NotificationFCMDevices
const notificationDevicesModel = {
user_ids: ['<user-ids>'],
fcm_devices: ['<fcm-device-ids>'],
apns_devices: ['<apns-device-ids>'],
huawei_devices: ['<huawei-device-ids>']
tags: ['<tag-names>'],
platforms: ['<device-platforms>'],
};
const notificationApnsBodyModel = {
aps: {
alert: '<notification-message>',
badge: 5,
},
};
const notificationFcmBodyModel = {
message: {
'android': {
'notification': {
'title': '<notification-title>',
'body': '<notification-message>'
},
'data': {
'name': 'Robert',
'description': 'notification for the Poker'
},
},
}
};
const notificationApnsHeaders = {
"apns-collapse-id": "<apns-apns-collapse-id-value>"
}
const notificationSafariBodymodel = {
saf: {
alert: 'Game Request',
badge: 5,
},
}
const notificationHuaweiBodymodel = {
'android': {
'notification': {
'title': '<notification-title>',
'body': '<notification-message>'
},
'data': {
'name': 'Robert',
'description': 'notification for the Poker'
},
},
}
const htmlBody =
'"Hi ,<br/>Certificate expiring in 90 days.<br/><br/>Please login to <a href="https: //cloud.ibm.com/security-compliance/dashboard">Security and Complaince dashboard</a> to find more information<br/>"';
let notificationID = "<notification-id>"
let notificationSubject = "<notification-subject>"
let notificationSeverity = "<notification-severity>"
let typeValue = "<notification-type>"
let notificationsSouce = "<notification-source>"
let mms = '{"content": "akajdklahl", "content_type": "image/png"}'
const notificationCreateModel = {
instanceId,
ibmenseverity: notificationSeverity,
id: notificationID,
source: notificationsSouce,
ibmensourceid: sourceId,
type: typeValue,
time: '<notification-time>',
ibmenpushto: JSON.stringify(notificationFcmDevicesModel),
ibmenfcmbody: JSON.stringify(notificationFcmBodyModel),
ibmenapnsbody: JSON.stringify(notificationApnsBodyModel),
ibmensafaribody: JSON.stringify(notificationSafariBodymodel),
ibmenhuaweibody: JSON.stringify(notificationHuaweiBodymodel),
ibmenmailto: JSON.stringify(['abc@ibm.com', 'def@us.ibm.com']),
ibmensmsto: JSON.stringify(['+911234567890', '+911224567890']),
ibmenslackto: JSON.stringify(['C07FALXBH4G','C07FALXBU4G']),
ibmentemplates: JSON.stringify(['149b0e11-8a7c-4fda-a847-5d79e01b71dc']),
ibmensubject: 'certificate expire',
ibmenmms: JSON.stringify(mms),
ibmenhtmlbody: htmlBody,
ibmendefaultshort: 'short info',
ibmendefaultlong: 'long info',
specversion: '1.0',
};
let body = notificationCreateModel;
const sendNotificationsParams = {
instanceId,
body,
};
let res;
try {
res = await eventNotificationsService.sendNotifications(sendNotificationsParams);
console.log(JSON.stringify(res.result, null, 2));
} catch (err) {
console.warn(err);
}
1.0
.Note: variable with * represents the mandatory attribute.
Find event_notifications_v1.env.hide in the repo and rename it to event_notifications_v1.env
. After that add the values for,
EVENT_NOTIFICATIONS_URL
- Add the Event Notifications service instance Url.EVENT_NOTIFICATIONS_APIKEY
- Add the Event Notifications service instance apikey.EVENT_NOTIFICATIONS_GUID
- Add the Event Notifications service instance GUID.Optional
EVENT_NOTIFICATIONS_AUTH_URL
- Add the IAM url if you are using IBM test cloud.
EVENT_NOTIFICATIONS_FCM_KEY
- Add firebase server key for Android FCM destination.
EVENT_NOTIFICATIONS_FCM_ID
- Add firebase sender Id for Android FCM destination.
EVENT_NOTIFICATIONS_FCM_PROJECT_ID
- fcm project id
EVENT_NOTIFICATIONS_FCM_CLIENT_EMAIL
- fcm client email
EVENT_NOTIFICATIONS_FCM_PRIVATE_KEY
- fcm private key
EVENT_NOTIFICATIONS_SAFARI_CERTIFICATE
- safari certificate path
EVENT_NOTIFICATIONS_SNOW_CLIENT_ID
- service now client id
EVENT_NOTIFICATIONS_SNOW_CLIENT_SECRET
- service now client secret
EVENT_NOTIFICATIONS_SNOW_USER_NAME
- service now user name
EVENT_NOTIFICATIONS_SNOW_PASSWORD
- service now password
EVENT_NOTIFICATIONS_SNOW_INSTANCE_NAME
- service now instance name
EVENT_NOTIFICATIONS_COS_BUCKET_NAME
- cloud object storage bucket name
EVENT_NOTIFICATIONS_COS_INSTANCE
- cloud object storage instance id
EVENT_NOTIFICATIONS_COS_INSTANCE_CRN
- cloud object storage instance crn
EVENT_NOTIFICATIONS_COS_ENDPOINT
- cloud object storage end point
EVENT_NOTIFICATIONS_CODE_ENGINE_URL
- code engine app url
EVENT_NOTIFICATIONS_CODE_ENGINE_PROJECT_CRN
- code engine project crn
EVENT_NOTIFICATIONS_HUAWEI_CLIENT_SECRET
- huawei client secret
EVENT_NOTIFICATIONS_HUAWEI_CLIENT_ID
- huawei client id
EVENT_NOTIFICATIONS_SLACK_URL
- slack webhook url
EVENT_NOTIFICATIONS_MS_TEAMS_URL
- msteams webhook url
EVENT_NOTIFICATIONS_PD_ROUTING_KEY
- pagerduty routing key
EVENT_NOTIFICATIONS_PD_API_KEY
- pagerduty api key
EVENT_NOTIFICATIONS_TEMPLATE_BODY
- base 64 encoded html content
EVENT_NOTIFICATIONS_SLACK_TEMPLATE_BODY
- base 64 encoded json body
EVENT_NOTIFICATIONS_WEBHOOK_TEMPLATE_BODY
- base 64 encoded json body
If you are having difficulties using this SDK or have a question about the IBM Cloud services, please ask a question at Stack Overflow.
If you encounter an issue with the SDK, you are welcome to submit a bug report. Before that, please search for similar issues. It's possible someone has already encountered this issue.
Find more open source projects on the IBM Github Page
See CONTRIBUTING.
This project is released under the Apache 2.0 license. The license's full text can be found in LICENSE.
FAQs
IBM Cloud Event Notifications Admin Node.js SDK
The npm package @ibm-cloud/event-notifications-node-admin-sdk receives a total of 2 weekly downloads. As such, @ibm-cloud/event-notifications-node-admin-sdk popularity was classified as not popular.
We found that @ibm-cloud/event-notifications-node-admin-sdk demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Research
Security News
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
Security News
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.