
Research
/Security News
Weaponizing Discord for Command and Control Across npm, PyPI, and RubyGems.org
Socket researchers uncover how threat actors weaponize Discord across the npm, PyPI, and RubyGems ecosystems to exfiltrate sensitive data.
cluedinprovidergenerator
Advanced tools
This module is used to configure how the process of adding an Integration should behave.
#Provider Generator
This module is used to configure how the process of adding an Integration should behave.
##Config File
The config file has the information on how the integration should behave when you add/edit one.
You can find it under ./src/config
It has several parameters:
###name
The name of the integration.
###displayName
The name that will be displayed in the main app.
###description
The description that will be displayed by the app when adding an integration.
###icon
The icon you want to show when the user will update the app.
###oauth (true or false, false by default)
If the integration is using oauth to connect the integration.
###url
####initial
The first call that should be done when adding an integraiton.
####callback
The call that should be called when the APP is getting back from the integration website.
###initialProperties
The initialProperties parameter is an array of the fields you want to collect before adding the integration. Generally, it is username and password.
Each property can have different type. A simple input (the default), a password (password), a tree (flattree).
Ex:
initialProperties: [{
displayName: 'User Name',
name: 'username'
}, {
displayName: 'Password',
name: 'password',
type: 'password'
} ],
###properties
Properties is used to define what property the user needs to configure before adding the Integration (list of folders, list of projects,....)
Ex:
properties: [ { displayName: 'Folders to include', name: 'folders', type: 'flattree' } ],
###published (true or false, false by default)
Is telling the webapp if he needs to create the pages for that Integration or not.
###customEdit
Property used to tell if the configuration for the modifying an integration should be ignore and use the one from the app. (the pages won't be automatically populated, you need to manually add the routes, the controller, the templates,...)
##How to deliver a new version?
Once your changes are done, you need to execute the script which generates the templates.
node index.js
Once that is done, you need to update the package.json (in the root folder) by incrementing the version number.
When the version number has been incremented, you can now publish the package on NPM.
npm publish ./
3.a Delete the folder providerGenerator located in the /node_modules/ folder of the CluedIn.WebApp project. 3.b Update the package.json file updating the version number of providerGenerator located in the dependencies object. 3.c install the new package
npm install cluedinprovidergenerator
3.d You now need to call the main 'gulp' of the CluedIn.WebApp to package everything.
3.e depending on your environment, you need to publish the changes.
In dev:
gulp publishdev
In test:
gulp publish
In prod:
gulp publishprod
FAQs
This module is used to configure how the process of adding an Integration should behave.
The npm package cluedinprovidergenerator receives a total of 0 weekly downloads. As such, cluedinprovidergenerator popularity was classified as not popular.
We found that cluedinprovidergenerator demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 2 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 researchers uncover how threat actors weaponize Discord across the npm, PyPI, and RubyGems ecosystems to exfiltrate sensitive data.
Security News
Socket now integrates with Bun 1.3’s Security Scanner API to block risky packages at install time and enforce your organization’s policies in local dev and CI.
Research
The Socket Threat Research Team is tracking weekly intrusions into the npm registry that follow a repeatable adversarial playbook used by North Korean state-sponsored actors.