Installations
npm install @elastic/ecs-pino-format
Score
99.5
Supply Chain
83.4
Quality
83.3
Maintenance
100
Vulnerability
100
License
Releases
Unable to fetch releases
Developer
Developer Guide
Module System
CommonJS
Min. Node Version
>=10
Typescript Support
Yes
Node Version
20.6.0
NPM Version
9.8.1
Statistics
68 Stars
239 Commits
39 Forks
12 Watching
5 Branches
240 Contributors
Updated on 11 Oct 2024
Bundle Size
4.29 kB
Minified
1.75 kB
Minified + Gzipped
Languages
JavaScript (96.99%)
Shell (2.09%)
Makefile (0.92%)
Total Downloads
Cumulative downloads
Total Downloads
41,872,655
Last day
0.5%
65,572
Compared to previous day
Last week
4.3%
354,324
Compared to previous week
Last month
4.5%
1,503,658
Compared to previous month
Last year
34.3%
16,889,475
Compared to previous year
Daily Downloads
Weekly Downloads
Monthly Downloads
Yearly Downloads
ecs-logging-nodejs
This set of libraries allows you to transform your application logs to structured logs that comply with the Elastic Common Schema (ECS). In combination with filebeat you can send your logs directly to Elasticsearch and leverage Kibana's Logs app to inspect all logs in one single place.
Please see the Node.js ECS logging documentation.
Supported logging frameworks
- Pino via @elastic/ecs-pino-format (docs, changelog)
- Winston via @elastic/ecs-winston-format (docs, changelog)
- Morgan via @elastic/ecs-morgan-format (docs, changelog)
Links
License
This software is licensed under the Apache 2 license.
No vulnerabilities found.
Reason
no dangerous workflow patterns detected
Reason
all changesets reviewed
Reason
no binaries found in the repo
Reason
GitHub workflow tokens follow principle of least privilege
Details
- Info: jobLevel 'contents' permission set to 'read': .github/workflows/update-specs.yml:17
- Info: jobLevel 'packages' permission set to 'read': .github/workflows/update-specs.yml:18
- Info: topLevel 'contents' permission set to 'read': .github/workflows/addToProject.yml:7
- Info: topLevel 'contents' permission set to 'read': .github/workflows/labeler.yml:10
- Info: topLevel 'contents' permission set to 'read': .github/workflows/tav.yml:11
- Info: topLevel 'contents' permission set to 'read': .github/workflows/test.yml:13
- Info: topLevel 'contents' permission set to 'read': .github/workflows/update-specs.yml:11
- Info: no jobLevel write permissions found
Reason
0 existing vulnerabilities detected
Reason
license file detected
Details
- Info: project has a license file: LICENSE:0
- Info: FSF or OSI recognized license: Apache License 2.0: LICENSE:0
Reason
security policy file detected
Details
- Info: security policy file detected: github.com/elastic/.github/SECURITY.md:1
- Info: Found linked content: github.com/elastic/.github/SECURITY.md:1
- Info: Found disclosure, vulnerability, and/or timelines in security policy: github.com/elastic/.github/SECURITY.md:1
- Info: Found text in security policy: github.com/elastic/.github/SECURITY.md:1
Reason
branch protection is not maximal on development and all release branches
Details
- Info: 'allow deletion' disabled on branch 'main'
- Info: 'force pushes' disabled on branch 'main'
- Warn: 'branch protection settings apply to administrators' is disabled on branch 'main'
- Warn: 'stale review dismissal' is disabled on branch 'main'
- Warn: required approving review count is 1 on branch 'main'
- Warn: codeowners review is required - but no codeowners file found in repo
- Warn: 'last push approval' is disabled on branch 'main'
- Info: status check found to merge onto on branch 'main'
- Info: PRs are required in order to make changes on branch 'main'
Reason
5 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 4
Reason
dependency not pinned by hash detected -- score normalized to 2
Details
- Warn: third-party GitHubAction not pinned by hash: .github/workflows/labeler.yml:30: update your workflow using https://app.stepsecurity.io/secureworkflow/elastic/ecs-logging-nodejs/labeler.yml/main?enable=pin
- Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/labeler.yml:38: update your workflow using https://app.stepsecurity.io/secureworkflow/elastic/ecs-logging-nodejs/labeler.yml/main?enable=pin
- Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/tav.yml:21: update your workflow using https://app.stepsecurity.io/secureworkflow/elastic/ecs-logging-nodejs/tav.yml/main?enable=pin
- Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/tav.yml:22: update your workflow using https://app.stepsecurity.io/secureworkflow/elastic/ecs-logging-nodejs/tav.yml/main?enable=pin
- Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/test.yml:19: update your workflow using https://app.stepsecurity.io/secureworkflow/elastic/ecs-logging-nodejs/test.yml/main?enable=pin
- Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/test.yml:20: update your workflow using https://app.stepsecurity.io/secureworkflow/elastic/ecs-logging-nodejs/test.yml/main?enable=pin
- Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/test.yml:33: update your workflow using https://app.stepsecurity.io/secureworkflow/elastic/ecs-logging-nodejs/test.yml/main?enable=pin
- Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/test.yml:34: update your workflow using https://app.stepsecurity.io/secureworkflow/elastic/ecs-logging-nodejs/test.yml/main?enable=pin
- Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/update-specs.yml:20: update your workflow using https://app.stepsecurity.io/secureworkflow/elastic/ecs-logging-nodejs/update-specs.yml/main?enable=pin
- Warn: third-party GitHubAction not pinned by hash: .github/workflows/update-specs.yml:40: update your workflow using https://app.stepsecurity.io/secureworkflow/elastic/ecs-logging-nodejs/update-specs.yml/main?enable=pin
- Warn: third-party GitHubAction not pinned by hash: .github/workflows/update-specs.yml:46: update your workflow using https://app.stepsecurity.io/secureworkflow/elastic/ecs-logging-nodejs/update-specs.yml/main?enable=pin
- Warn: third-party GitHubAction not pinned by hash: .github/workflows/update-specs.yml:53: update your workflow using https://app.stepsecurity.io/secureworkflow/elastic/ecs-logging-nodejs/update-specs.yml/main?enable=pin
- Warn: npmCommand not pinned by hash: utils/run-install.sh:7
- Warn: npmCommand not pinned by hash: utils/run-install.sh:12
- Warn: npmCommand not pinned by hash: .github/workflows/tav.yml:28
- Warn: npmCommand not pinned by hash: .github/workflows/test.yml:40
- Info: 0 out of 8 GitHub-owned GitHubAction dependencies pinned
- Info: 4 out of 8 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
project is not fuzzed
Details
- Warn: no fuzzer integrations found
Reason
SAST tool is not run on all commits -- score normalized to 0
Details
- Warn: 0 commits out of 30 are checked with a SAST tool
Score
6.9
/10
Last Scanned on 2024-11-25
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