
Research
Security News
Malicious PyPI Package Exploits Deezer API for Coordinated Music Piracy
Socket researchers uncovered a malicious PyPI package exploiting Deezer’s API to enable coordinated music piracy through API abuse and C2 server control.
cinovo-logger-aws
Advanced tools
___
__ /\_ \
___ /\_\ ___ ___ __ __ ___ \//\ \ ___ __ __ __ _ __
/'___\/\ \ /' _ `\ / __`\/\ \/\ \ / __`\ _______\ \ \ / __`\ /'_ `\ /'_ `\ /'__`\/\`'__\
/\ \__/\ \ \/\ \/\ \/\ \L\ \ \ \_/ |/\ \L\ \/\______\\_\ \_/\ \L\ \/\ \L\ \/\ \L\ \/\ __/\ \ \/
\ \____\\ \_\ \_\ \_\ \____/\ \___/ \ \____/\/______//\____\ \____/\ \____ \ \____ \ \____\\ \_\
\/____/ \/_/\/_/\/_/\/___/ \/__/ \/___/ \/____/\/___/ \/___L\ \/___L\ \/____/ \/_/
/\____/ /\____/
\_/__/ \_/__/
AWS S3, SNS or SQS endpoint for cinovo-logger.
npm install cinovo-logger
var logger = require("cinovo-logger");
npm install cinovo-logger-aws
In your JavaScript code append the S3 endpoint.
require("cinovo-logger-aws").s3(true, true, true, true, "./log", "s3_", ".log", 1024 * 1024, 60 * 60, 5, "eu-west-1", "my-bucket-name", "my/folder", undefined, undefined, function(err, endpoint) {
if (err) {
throw err;
} else {
logger.append(endpoint);
}
}
and / or append the SNS endpoint.
logger.append(require("cinovo-logger-aws").sns(true, true, true, true, "eu-west-1", "topicArn"));
and / or append the SQS endpoint.
logger.append(require("cinovo-logger-aws").sqs(true, true, true, true, "eu-west-1", "queueUrl"));
logger.debug("all values are ok");
logger.info("myscript", "all values are ok");
logger.error("myscript", "some values are not ok", {a: 10, b: 20});
logger.exception("myscript", "some values are not ok", new Error("error"));
logger.critical("myscript", "all values are not ok", {a: 10, b: 20}, function(err) { ... });
Now you can log to AWS S3, SNS or SQS endpoints.
Sync creates an SNS endpoint.
debug
: Boolean - true if the endpoint should log debug levelinfo
: Boolean - true if the endpoint should log info levelerror
: Boolean - true if the endpoint should log error levelcritical
: Boolean - true if the endpoint should log critical levelregion
: String - your AWS regiontopicArn
: String - the topic you want to publish toaccessKeyId
: String - your AWS access key ID (optional)secretAccessKey
: String - your AWS secret access key (optional)return
: Endpoint - use the endpoint like this logger.append(endpoint)
Sync creates an SQS endpoint.
debug
: Boolean - true if the endpoint should log debug levelinfo
: Boolean - true if the endpoint should log info levelerror
: Boolean - true if the endpoint should log error levelcritical
: Boolean - true if the endpoint should log critical levelregion
: String - your AWS regionqueueUrl
: String - the URL of the SQS queue to take action onaccessKeyId
: String - your AWS access key ID (optional)secretAccessKey
: String - your AWS secret access key (optional)return
: Endpoint - use the endpoint like this logger.append(endpoint)
Async creates an cinovo-logger-file endpoint to copy log files into S3 on roll or stop.
debug
: Boolean - true if the endpoint should log debug levelinfo
: Boolean - true if the endpoint should log info levelerror
: Boolean - true if the endpoint should log error levelcritical
: Boolean - true if the endpoint should log critical leveldir
: String - directory in which log files are saved.filePrefix
: String -fileSuffix
: String -maxFileSize
: Number - bytesmaxFileAge
: Number - secondsmaxFiles
: Number - Maximum Number of files in dir (oldest are removed first)region
: String - your AWS regionbucket
: String - your AWS bucke namebucketDir
: String or Function - your AWS bucket "directory" (e. g. logs/ or logs/a/b/)accessKeyId
: String - your AWS access key ID (optional)secretAccessKey
: String - your AWS secret access key (optional)callback
: Function(err, endpoint) - fired if the endpoint is ready to use
err
: Error (optional)endpoint
: Endpoint - use the endpoint like this logger.append(endpoint)Sync takes an cinovo-logger-file endpoint to copy log files into S3 on roll or stop.
endpoint
: FileEndpointregion
: String - your AWS regionbucket
: String - your AWS bucke namebucketDir
: String or Function - your AWS bucket "directory" (e. g. logs/ or logs/a/b/)accessKeyId
: String - your AWS access key ID (optional)secretAccessKey
: String - your AWS secret access key (optional)If the file can not be copied to S3 during roll.
err
: Errorfile
: String - name of file that was copied (without path)etag
: String - AWS entity tag for the uploaded objectFAQs
AWS SQS or SNS endpoint for cinovo-logger.
The npm package cinovo-logger-aws receives a total of 1 weekly downloads. As such, cinovo-logger-aws popularity was classified as not popular.
We found that cinovo-logger-aws 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.
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 uncovered a malicious PyPI package exploiting Deezer’s API to enable coordinated music piracy through API abuse and C2 server control.
Research
The Socket Research Team discovered a malicious npm package, '@ton-wallet/create', stealing cryptocurrency wallet keys from developers and users in the TON ecosystem.
Security News
Newly introduced telemetry in devenv 1.4 sparked a backlash over privacy concerns, leading to the removal of its AI-powered feature after strong community pushback.