Installations
npm install filebeat-logger
Developer Guide
Typescript
Yes
Module System
CommonJS
Min. Node Version
>=16.0.0
Node Version
20.15.0
NPM Version
10.7.0
Score
67.7
Supply Chain
75.1
Quality
76.1
Maintenance
100
Vulnerability
100
License
Releases
Unable to fetch releases
Contributors
Unable to fetch Contributors
Languages
TypeScript (100%)
Developer
firecow
Download Statistics
Total Downloads
23,834
Last Day
34
Last Week
117
Last Month
559
Last Year
7,100
GitHub Statistics
5 Stars
259 Commits
2 Watching
3 Branches
5 Contributors
Bundle Size
151.17 kB
Minified
38.74 kB
Minified + Gzipped
Package Meta Information
Latest Version
1.3.3
Package Id
filebeat-logger@1.3.3
Unpacked Size
29.13 kB
Size
9.73 kB
File Count
13
NPM Version
10.7.0
Node Version
20.15.0
Publised On
05 Jul 2024
Total Downloads
Cumulative downloads
Total Downloads
23,834
Last day
70%
34
Compared to previous day
Last week
-15.8%
117
Compared to previous week
Last month
-7%
559
Compared to previous month
Last year
-25.2%
7,100
Compared to previous year
Daily Downloads
Weekly Downloads
Monthly Downloads
Yearly Downloads
A winston logger that prints json lines in elastic common schema format
Install
1npm install --save filebeat-logger
Usage
1const filebeatLogger = require('filebeat-logger') 2const logger = filebeatLogger.create({ 3 logLevel: 'debug', // 'info' by default 4 printTimestamp: false, // true by default 5 keysOrder: ['@timestamp', 'message'], // ["@timestamp", "log.level", "message"] by default 6 stderrLevels: ['warn', 'error'], // ["error", "warn", "warning"] by default 7}); 8 9logger.info('I am an info message') 10// {"@timestamp":"2022-01-30T14:49:00.323Z","message": "I am an info message","log.level":"info"}
No vulnerabilities found.
Reason
no binaries found in the repo
Reason
13 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 10
Reason
no dangerous workflow patterns detected
Reason
license file detected
Details
- Info: project has a license file: LICENSE:0
- Info: FSF or OSI recognized license: MIT License: LICENSE:0
Reason
0 existing vulnerabilities detected
Reason
SAST tool is not run on all commits -- score normalized to 3
Details
- Warn: 9 commits out of 30 are checked with a SAST tool
Reason
Found 0/30 approved changesets -- score normalized to 0
Reason
detected GitHub workflow tokens with excessive permissions
Details
- Warn: no topLevel permission defined: .github/workflows/build.yml:1
- Info: no jobLevel write permissions found
Reason
dependency not pinned by hash detected -- score normalized to 0
Details
- Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/build.yml:17: update your workflow using https://app.stepsecurity.io/secureworkflow/firecow/node-filebeat-logger/build.yml/main?enable=pin
- Warn: third-party GitHubAction not pinned by hash: .github/workflows/build.yml:18: update your workflow using https://app.stepsecurity.io/secureworkflow/firecow/node-filebeat-logger/build.yml/main?enable=pin
- Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/build.yml:23: update your workflow using https://app.stepsecurity.io/secureworkflow/firecow/node-filebeat-logger/build.yml/main?enable=pin
- Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/build.yml:24: update your workflow using https://app.stepsecurity.io/secureworkflow/firecow/node-filebeat-logger/build.yml/main?enable=pin
- Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/build.yml:27: update your workflow using https://app.stepsecurity.io/secureworkflow/firecow/node-filebeat-logger/build.yml/main?enable=pin
- Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/build.yml:38: update your workflow using https://app.stepsecurity.io/secureworkflow/firecow/node-filebeat-logger/build.yml/main?enable=pin
- Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/build.yml:39: update your workflow using https://app.stepsecurity.io/secureworkflow/firecow/node-filebeat-logger/build.yml/main?enable=pin
- Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/build.yml:42: update your workflow using https://app.stepsecurity.io/secureworkflow/firecow/node-filebeat-logger/build.yml/main?enable=pin
- Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/build.yml:53: update your workflow using https://app.stepsecurity.io/secureworkflow/firecow/node-filebeat-logger/build.yml/main?enable=pin
- Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/build.yml:54: update your workflow using https://app.stepsecurity.io/secureworkflow/firecow/node-filebeat-logger/build.yml/main?enable=pin
- Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/build.yml:57: update your workflow using https://app.stepsecurity.io/secureworkflow/firecow/node-filebeat-logger/build.yml/main?enable=pin
- Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/build.yml:68: update your workflow using https://app.stepsecurity.io/secureworkflow/firecow/node-filebeat-logger/build.yml/main?enable=pin
- Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/build.yml:69: update your workflow using https://app.stepsecurity.io/secureworkflow/firecow/node-filebeat-logger/build.yml/main?enable=pin
- Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/build.yml:72: update your workflow using https://app.stepsecurity.io/secureworkflow/firecow/node-filebeat-logger/build.yml/main?enable=pin
- Warn: third-party GitHubAction not pinned by hash: .github/workflows/build.yml:80: update your workflow using https://app.stepsecurity.io/secureworkflow/firecow/node-filebeat-logger/build.yml/main?enable=pin
- Warn: npmCommand not pinned by hash: .github/workflows/build.yml:32
- Warn: npmCommand not pinned by hash: .github/workflows/build.yml:47
- Warn: npmCommand not pinned by hash: .github/workflows/build.yml:62
- Warn: npmCommand not pinned by hash: .github/workflows/build.yml:77
- Info: 0 out of 13 GitHub-owned GitHubAction dependencies pinned
- Info: 0 out of 2 third-party GitHubAction dependencies pinned
- Info: 0 out of 4 npmCommand dependencies pinned
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
security policy file not detected
Details
- Warn: no security policy file detected
- Warn: no security file to analyze
- Warn: no security file to analyze
- Warn: no security file to analyze
Reason
project is not fuzzed
Details
- Warn: no fuzzer integrations found
Reason
branch protection not enabled on development/release branches
Details
- Warn: branch protection not enabled for branch 'main'
Score
4.6
/10
Last Scanned on 2025-01-27
The Open Source Security Foundation is a cross-industry collaboration to improve the security of open source software (OSS). The Scorecard provides security health metrics for open source projects.
Learn More