Skip to content

mitre/inspeculus

 
 

Repository files navigation

InSpeculus

Web components to view InSpec profiles.

See the live demo ... 🚧 🚧 🚧

Screenshot

Usage

To use it in your own project:

Step 1: Load the webcomponents polyfill

<script src="node_modules/@webcomponents/webcomponentsjs/webcomponents-loader.js"></script>

Step 2: Add this module

yarn add https://github.com/arlimus/inspeculus

Step 3: Use it

<script type="module" src="node_modules/inspeculus/src/inspec-profile.js"></script>
<inspec-profile enableInput></inspec-profile>

For static HTML see STATIC.md

Configuration

  • enableInput to activate the input button and allow users to paste their InSpec JSON into the module

Development

Requirements:

  • NodeJS v10+
  • NPM or YARN

Installation:

yarn
yarn start

Build:

yarn build

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 86.9%
  • HTML 13.1%