Giter VIP home page Giter VIP logo

ascdso-scap-workbench's Introduction

SCAP Workbench

A GUI tool that provides scanning, tailoring and validation functionality for SCAP content

About

SCAP Workbench is a GUI tool that provides scanning, tailoring and validation functionality for SCAP content. It uses openscap library to access SCAP functionalities.

Homepage of the project is https://www.open-scap.org/tools/scap-workbench/

How to run it out of the box

  1. Make sure you have installed all prerequisites

required dependencies:

# yum install cmake gcc-c++ openssh-clients util-linux openscap-devel qt5-qtbase-devel qt5-qtxmlpatterns-devel openssh-askpass

required dependencies (only for the git repo, not required for released tarballs):

# yum install asciidoc

optional dependencies:

# yum install polkit

On Ubuntu this is roughly equivalent to:

# apt install build-essential openssh-client libopenscap-dev libqt5xmlpatterns5-dev ssh-askpass
# apt install asciidoc
# apt install libpolkit-agent-1-0
  1. Build SCAP Workbench:
$ mkdir build; cd build
$ cmake ../
$ make

To build against locally built OpenSCAP library export following variables:

$ export PKG_CONFIG_PATH="$PKG_CONFIG_PATH:/PATH/TO/DIR/WITH/.pcFILE/"
$ export LIBRARY_PATH=/PATH/TO/DIR/WITH/openscap.soFILE/

Additionally it is possible to use custom CMake definitions instead of exporting environment variables:

$ cmake -DOPENSCAP_LIBRARIES:PATH=/local/openscap.so/filepath/ \
    -DOPENSCAP_INCLUDE_DIRS:PATH=/local/openscap/include/path \
    -DOPENSCAP_VERSION:STRING="X.Y.Z" \
    ../
$ make
  1. Install SCAP Workbench: (optional)

(inside the build folder):

$ # may require superuser privileges if you didn't set different installation
$ # prefix (CMAKE_INSTALL_PREFIX)
$ make install

4a) Run SCAP Workbench: (if it was installed)

spawning open file dialog:

$ scap-workbench

with an XCCDF file to load:

$ scap-workbench /path/to/xccdf-file.xml

with a source datastream (SDS) to load:

$ scap-workbench /path/to/sds-file

4b) Run SCAP Workbench: (straight from build dir, without installation)

Note: If you have built SCAP-Workbench against locally built OpenSCAP library, then run one of the following commands:

$ ldconfig /PATH/TO/DIR/WITH/openscap.soFILE/

or

$ export LD_LIBRARY_PATH=/PATH/TO/DIR/WITH/openscap.soFILE/

and then:

$ cd build/
$ bash runwrapper.sh ./scap-workbench

What now?

You should have a built SCAP Workbench executable by now. Please refer to the user manual for documentation on how to use it.

There are 3 ways to get the user manual:

  • Click Help -> User Manual in the application
  • Open /usr/share/doc/scap-workbench/user_manual.html (installed system-wide) or doc/user_manual.html (from the tarball) in your browser
  • Open or download user manual from the website

How to make a tarball

$ mkdir build; cd build
$ cmake ../
$ make package_source

ascdso-scap-workbench's People

Contributors

mpreisler avatar yuumasato avatar matejak avatar cipherboy avatar redhatrises avatar jan-cerny avatar pvrabec avatar evgenyz avatar ggbecker avatar isimluk avatar ybznek avatar henrich avatar openprivacy avatar crrodriguez avatar matusmarhefka avatar rsprudencio avatar shawndwells avatar finkr avatar iokomin avatar atheartengineer avatar

Watchers

 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.