
Product
Socket Threat Intel Now Shows Which Malware Campaigns Were Blocked or Detected
Socket Threat Intel now shows which malware campaigns were blocked or detected in your organization, with links to scans and Firewall events.
pg-storage
Advanced tools
This is a simple storage adapter for PostgreSQL.
npm install pg-storage --save
import { PostgreSQLStorage } from 'pg-storage';
const storage = new PostgreSQLStorage({
host: <DATABASE_HOST>,
user: <DATABASE_USERNAME>,
password: <DATABASE_PASSWORD>,
server: <DATABASE_SERVER>,
database: <DATABASE_NAME>,
table: <DATABASE_TABLE>,
port: <DATABASE_PORT>
});
const conversationState = new ConversationState(storage);
const userState = new UserState(storage);
If you intend to use a PostgreSQL database other than localhost, ensure that the ssl key is set to true.
import { PostgreSQLStorage } from 'pg-storage';
import { PostgreSQLOptions } from "pg-storage/lib/schema";
const options: PostgreSQLOptions = {
host: <DATABASE_HOST>,
user: <DATABASE_USERNAME>,
password: <DATABASE_PASSWORD>,
server: <DATABASE_SERVER>,
database: <DATABASE_NAME>,
table: <DATABASE_TABLE>,
port: <DATABASE_PORT>,
ssl: true
};
const storage = new PostgreSQLStorage(options);
This module uses the node-pg package for SQL connectivity. The
PostgreSQLOptionsthat is passed to thePostgreSQLStorageobject extends theconfigobject of that package. All options from thatconfigoption can be passed in.
This module assumes two columns in your database table:
idwith datatypeVARCHAR(255)anddatawithJSONBrespectively.
FAQs
PostgreSQL storage option for the Microsoft Bot Framework
The npm package pg-storage receives a total of 0 weekly downloads. As such, pg-storage popularity was classified as not popular.
We found that pg-storage demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.

Product
Socket Threat Intel now shows which malware campaigns were blocked or detected in your organization, with links to scans and Firewall events.

Security News
Fixes for eMudhra and Brotli are out. Getting them everywhere they’re needed means tracking down bundled libraries, runtimes, and certificate stores.

Threat Research
/Security News
Socket uncovered secret-stealing workflows that ran in LiteLLM’s GitHub repository 11 days before the supply chain attack on PyPI and Docker.