
Research
Security News
Lazarus Strikes npm Again with New Wave of Malicious Packages
The Socket Research Team has discovered six new malicious npm packages linked to North Korea’s Lazarus Group, designed to steal credentials and deploy backdoors.
@solace-community/eventportal
Advanced tools
This module wraps the Solace PubSub+ EP REST API. This can be used to enable the creation of integrations, plugins, and component on top of the Solace PubSub+ Event API.
Dont forget to give this repo a star! ✨
npm install @solace-community/eventportal
const EventPortal = require('@solace-community/eventportal')
const ep = new EventPortal()
// Optional: You can pass Solace Cloud Token as parameter if not defined as environment variable
const ep = new EventPortal(SOLACE_CLOUD_TOKEN)
Check out the create.js
script in the example directory for API usage.
Here is a video as well
Env Variable | Description |
---|---|
SOLACE_CLOUD_TOKEN | Solace Cloud Token with the right EP access |
domain = {
name: "Application Domain name",
description: "Application Domain description",
uniqueTopicAddressEnforcementEnabled: true,
topicDomainEnforcementEnabled: false,
type: "ApplicationDomain"
}
schema = {
applicationDomainId: domainID,
name: "Schema1",
shared: false,
contentType: "json",
schemaType: "jsonSchema"
}
schemaVersion = {
schemaID: schemaID,
description: "This is the schema version description",
version: "0.0.1",
displayName: "This is the Display name of the schema",
content: JSON.stringify(schemaContent),
stateID: "1"
}
DRAFT
otherwise throws an errorevent = {
applicationDomainId: domainID,
name: "Event Name",
shared: false
}
eventVersion = {
eventID: eventID,
displayName: "Scripted Version",
version: "0.0.1",
schemaVersionId: schemaVersionID,
deliveryDescriptor:{
brokerType: "solace",
address:{
addressLevels
},
stateID:"1"
}
}
DRAFT
otherwise throws an erroraddressLevels
parameter is an array with the following formatlet addressLevels = [
{name: "level1", addressLevelType: "literal"},
{name: "level2", addressLevelType: "variable"},
{name: "level3", addressLevelType: "literal"},
{name: "level4", addressLevelType: "variable"},
]
application = {
applicationDomainId: domainID,
name: "My Scripted Application",
applicationType: "standard",
}
applicationVersion = {
applicationID: applicationID,
displayName: "Display Name",
description: "This is the scripted description",
version: "0.0.1",
declaredProducedEventVersionIds:[eventVersionID],
type: "application"
}
declaredProducedEventVersionIds
is an array of produced eventsdeclaredConsumedEventVersionIds
is an array of consumed eventsDRAFT
otherwise throws an errorFAQs
This is a wrapper to Solace PubSub+ Event Portal REST API
The npm package @solace-community/eventportal receives a total of 0 weekly downloads. As such, @solace-community/eventportal popularity was classified as not popular.
We found that @solace-community/eventportal demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 3 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
The Socket Research Team has discovered six new malicious npm packages linked to North Korea’s Lazarus Group, designed to steal credentials and deploy backdoors.
Security News
Socket CEO Feross Aboukhadijeh discusses the open web, open source security, and how Socket tackles software supply chain attacks on The Pair Program podcast.
Security News
Opengrep continues building momentum with the alpha release of its Playground tool, demonstrating the project's rapid evolution just two months after its initial launch.