Skip to content

arlimus/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

About

InSpec profile viewer

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •