Giter Club home page Giter Club logo

stigman-watcher's Introduction

STIG Manager Watcher

A STIG Manager CLI client that watches a path for test result files formatted as CKL or XCCDF and posts the results to a Collection.

The client is suitable for use as a service or daemon, as a scheduled task, in automated testing pipelines, or from the command line. Test result files discovered on the path and sub-paths are parsed and the parsed content is pushed to a timed cargo queue. If configured to do so, the queue worker creates new Assets as needed and updates STIG assignments. Reviews from the result files are then posted to the corresponding Asset.

Requirements

  • Node.js 14+ and npm, if Watcher is run from source or as a global npm module
  • An OIDC Provider supporting the Client Credentials Flow which issues tokens scoped for the STIG Manager API.
  • STIG Manager API with a Collection grant of "Manage" for the client

Installation and Usage

You can install Watcher using one of these methods:

Copy a Release binary to a destination of your choice and execute

$ ./stigman-watcher-linuxstatic [options]

or

C:/> stigman-watcher-win.exe [options]

Install globally via NPM and run the module

$ npm install --global @nuwcdivnpt/stigman-watcher
$ stigman-watcher [options]

Clone this repo and run the source code

$ git clone https://github.com/NUWCDIVNPT/stigman-watcher.git
$ node index.js [options]

Wiki

Please see the Wiki for documentation.

stigman-watcher's People

Contributors

csmig avatar cd-rite avatar matte22 avatar dependabot[bot] avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.