Research
Security News
Malicious PyPI Package ‘pycord-self’ Targets Discord Developers with Token Theft and Backdoor Exploit
Socket researchers uncover the risks of a malicious Python package targeting Discord developers.
@teamfabric/create-fabric-connector
Advanced tools
A CLI to bootstrap new connectors
npx create-fabric-connector
You can also use arguments to skip the cli as:
--name || -n
--domain || -d
--spec || -s
npx @teamfabric/create-fabric-connector -n fabric-integration-authorizenet-v2 -d b2c_payment -s /path/to/file/spec_files/b2c-payments_v1.yaml
the folder for the new connector will be ./[connector-name]
#Required files changes to individual connector.
In .gitlab-ci.yml file:
variables:
DOMAIN: "domain_name"
CONNECTOR_NAME: "connector_name"
In serverless.yml file:
service:
name: connector name
environment:
CONNECTOR_NAME: ${env:CONNECTOR_NAME,'connector_name'}
DOMAIN_NAME: ${env:DOMAIN_NAME,'domain_name'}
Add SonarCloud Properties to sonar cloud.
In connector_config.json file:
"name": "connector_name",
"domainName": "domain_name",
Also set the supportedActions entry according with was set in the Connector Configurator
In webpack.config.js the line 19 with the filename entry , should have :
filename: "[name].js",
like in
output: {
libraryTarget: "commonjs",
path: path.join(__dirname, ".webpack"),
filename: "[name].js",
},
The connector_name and domain_name should be the exact same way they are in the Connector Configurator. Ideally they should be lowercase with no space
The scaffolding code, runs with the node 14 version, using most recent version there is an issue with Endpoint that are not usingthe GET verb.
To deploy this code to uat and prod environments, it is necessary create a MR to the main branch, After this is merged, a pipeline will be created, And the buttonms to maually deploy to uat(sandbox) and prod will be available
For each environment deployed, it is necessary to do some points: ** Create the secrets with the Connector Configurator url and api-key ** Create the domain (if is not created yet) and the connector entries in the connector configurator of the environment
FAQs
A CLI to bootstrap new connectors
The npm package @teamfabric/create-fabric-connector receives a total of 0 weekly downloads. As such, @teamfabric/create-fabric-connector popularity was classified as not popular.
We found that @teamfabric/create-fabric-connector 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
Socket researchers uncover the risks of a malicious Python package targeting Discord developers.
Security News
The UK is proposing a bold ban on ransomware payments by public entities to disrupt cybercrime, protect critical services, and lead global cybersecurity efforts.
Security News
Snyk's use of malicious npm packages for research raises ethical concerns, highlighting risks in public deployment, data exfiltration, and unauthorized testing.