Security News
38% of CISOs Fear Theyβre Not Moving Fast Enough on AI
CISOs are racing to adopt AI for cybersecurity, but hurdles in budgets and governance may leave some falling behind in the fight against cyber threats.
stentor-logger
Advanced tools
Simple logging library built on top of Winston for π£ stentor.
import { log } from "stentor-logger"
log().debug("Hello");
log().debug({foo:true});
log().info("Payload %o", request);
log().warn("uh oh");
log.error(new Error("bar"));
You can configure the loggers behavior with the following environment variables:
STENTOR_LOG_LEVEL="debug"
Or "info", "warn", or "error".
STENTOR_LOG_PII="true"
To log PII, by default all detected PII is redacted.
STENTOR_LOG_PII_MASK_PARTIAL="true"
When set to true, it will mask a majority of the PII but leave some characters unmasked. For example: (123) 456 7890 goes to (###) ### 7890. By default, all characters are masked.
STENTOR_LOG_PII_ERRORS="true"
Only used by π£ stentor developers to help debug errors while attempting to redact PII.
FAQs
Simple logging library built on top of Winston for π£ stentor
The npm package stentor-logger receives a total of 2,370 weekly downloads. As such, stentor-logger popularity was classified as popular.
We found that stentor-logger demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago.Β It has 1 open source maintainer 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.
Security News
CISOs are racing to adopt AI for cybersecurity, but hurdles in budgets and governance may leave some falling behind in the fight against cyber threats.
Research
Security News
Socket researchers uncovered a backdoored typosquat of BoltDB in the Go ecosystem, exploiting Go Module Proxy caching to persist undetected for years.
Security News
Company News
Socket is joining TC54 to help develop standards for software supply chain security, contributing to the evolution of SBOMs, CycloneDX, and Package URL specifications.