Socket
Book a DemoInstallSign in
Socket

@softrams/inspec-results-parser

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@softrams/inspec-results-parser

Simple parser to parse inspec results in JSON format and produce a summary at control/test level

0.0.2
latest
Source
npmnpm
Version published
Maintainers
1
Created
Source

Simple inspec results parser

Simple inspec results parser to produce a summary at control level tests summary.

Requirements

  • NodeJS 10.x or greater

Usage

npx @softrams/inspec-results-parser <inspecresults.json> [--verbose]

Sample Results

$ npx @softrams/inspec-results-parser ./mitre__baseline_profile_results.json

File: ./mitre__baseline_profile_results.json

Profile:  nginx-baseline
Controls:  42

All Tests:
 { passed: 2592, failed: 148, skipped: 7 }

Test Summary by Passed/Failed/Skipped Controls:
 {
  passed: { cnt: 13, passed: 381, failed: 0, skipped: 0 },
  failed: { cnt: 24, passed: 2211, failed: 148, skipped: 2 },
  skipped: { cnt: 5, passed: 0, failed: 0, skipped: 5 }
}

Keywords

Nodejs

FAQs

Package last updated on 31 May 2020

Did you know?

Socket

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.

Install

Related posts

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.