Giter VIP home page Giter VIP logo

website's Introduction

OpenSCAP

Gating Join the chat at https://gitter.im/OpenSCAP/openscap

Open Source Security Compliance Solution

About

The oscap program is a command line tool that allows users to load, scan, validate, edit, and export SCAP documents.

Contributing

We welcome all contributions to the OpenSCAP project. If you would like to contribute, either by fixing existing issues or adding new features, please check out our contribution guide to get started. If you would like to discuss anything, ask questions, or if you need additional help getting started, you can either send a message to our libera.chat IRC channel, #openscap, or to our mailing list.

Microsoft Windows Support

The Microsoft Windows support is officially void as of Febuary 1, 2022.

Use cases

SCAP Content Validation

  • The following example shows how to validate a given source data stream; all components within the data stream are validated (XCCDF, OVAL, OCIL, CPE, and possibly other components):
oscap ds sds-validate scap-ds.xml

Scanning

  • To evaluate all definitions within the given OVAL Definition file, run the following command:
oscap oval eval --results oval-results.xml scap-oval.xml

where scap-oval.xml is the OVAL Definition file and oval-results.xml is the OVAL Result file.

  • To evaluate all definitions from the OVAL component that are part of a particular data stream within a SCAP data stream collection, run the following command:
oscap oval eval --datastream-id ds.xml --oval-id xccdf.xml --results oval-results.xml scap-ds.xml

where ds.xml is the given data stream, xccdf.xml is an XCCDF file specifying the OVAL component, oval-results.xml is the OVAL Result file, and scap-ds.xml is a file representing the SCAP data stream collection.

  • To evaluate a specific profile in an XCCDF file run this command:
oscap xccdf eval --profile Desktop --results xccdf-results.xml --cpe cpe-dictionary.xml scap-xccdf.xml

where scap-xccdf.xml is the XCCDF document, Desktop is the selected profile from the XCCDF document, xccdf-results.xml is a file storing the scan results, and cpe-dictionary.xml is the CPE dictionary.

  • To evaluate a specific XCCDF benchmark that is part of a data stream within a SCAP data stream collection run the following command:
oscap xccdf eval --datastream-id ds.xml --xccdf-id xccdf.xml --results xccdf-results.xml scap-ds.xml

where scap-ds.xml is a file representing the SCAP data stream collection, ds.xml is the particular data stream, xccdf.xml is ID of the component-ref pointing to the desired XCCDF document, and xccdf-results.xml is a file containing the scan results.

Document generation

  • without XCCDF rules
oscap xccdf generate guide XCCDF-FILE > XCCDF-GUIDE-FILE
  • with XCCDF rules
oscap xccdf generate guide --profile PROFILE XCCDF-FILE > XCCDF-GUIDE-FILE
  • generate report from scanning
oscap xccdf generate report XCCDF-RESULT-FILE > XCCDF-REPORT-FILE

website's People

Contributors

isimluk avatar jan-cerny avatar matejak avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Forkers

jan-cerny

website's Issues

Tutorial: scan a docker container for vulnerabilities or compliance

http://openscap-lhorakov.rhcloud.com/resources/documentation/scan-a-docker-container-for-vulnerabilities-or-compliance/

Explain oscap-docker, practical example with USGCB and vuln scan. Link to vuln scan of RHEL6 for more info about vulnerability assessment.

Sources:
https://github.com/OpenSCAP/openscap/blob/maint-1.2/utils/oscap-docker.8
https://github.com/OpenSCAP/container-compliance
(but keep in mind that oscap-docker is now part of OpenSCAP, this repo will likely be decommissioned at some point!)

Save nature (and bandwidth) with SVG

http://openscap-lhorakov.rhcloud.com/wp-content/uploads/2015/07/banner2.png
http://openscap-lhorakov.rhcloud.com/wp-content/uploads/2015/07/banner3.png

Lets battle the trend of web pages getting insanely huge. These two images take roughly 1.7 MB. That's dangerously close to the size of the entire Doom1 PC game - see https://pbs.twimg.com/media/CLLGenwWgAAZAVv.png. Both images are full of hard-to-compress gradients that would take a tiny fraction of the size in SVG format.

AFAIK the only problem is IE8 and lower, see http://caniuse.com/#feat=svg The probability that somebody would have a 4k monitor and IE8 is very close to 0.

It's not just bandwidth, the sizes make the page very RAM hungry and sluggish on slower devices. The devices have to decompress this huge PNG and store each pixel's color. Then the images have to be scaled using bilinear filtering.

Migrate Ideas page somewhere to git

We should create/improve developer documentation for OpenSCAP project.

We should take pages

    http://www.open-scap.org/page/Contribute/Ideas
    http://www.open-scap.org/page/Contribute

And perhaps merge them into CONTRIBUTE.md in OpenSCAP/openscap repo.

Tailoring vs. Customization

In previous discussions around SCAP Workbench we decided to use the term customization instead of tailoring. It is more commonly understood, especially for non-native speakers.

In the portal however, the page is called Tailoring and we primarily use the term tailoring in there.

IMO either we decide that the decision in the past is wrong and workbench changes or the portal should change.

Migrate the app to rhopenscap domain

Currently we host using the Free plan on @lhorakov 's account. I have applied for employee subscription and was granted Silver plan for OpenSCAP. I have created the rhopenscap domain on OpenShift with this plan and have given @lhorakov rights to administer it.

Advantages of rhopenscap:

  • the app will never idle
  • it is a paid plan so the support is better
  • more storage, faster website - load balancer and all those other fancy things
  • OpenSCAP team has access to it
  • sits right next to the static app that serves static.open-scap.org

How to do this:

  • Create snapshot of the app on @lhorakov 's account
  • Create a Wordpress app on rhopenscap
  • Restore snapshot on the new app

It will kill all the openscap-lhorakov.rhcloud.com links so I suggest doing this right before GA.

"Other standards" page heading and first paragraph does not make me sense

Heading of the page says:

We know you care about other standards too

It is nice that we know that, but we do not give you any solution :-)

And also:

For security compliance, there are also other standards different from SCAP. We make sure, our solution is well interoperable with them.

I do not understand how is OpenSCAP interoperable with SACM or SWID if OpenSCAP do not implement these.

Ensure all portal pages will work properly for both: 1) JavaScript enabled 2) JavaScript disabled cases

The use of JavaScript language in pages brings a lot of capabilities when compared to completely static HTML pages.

On the other hand, many government agencies / corporate policies might require JavaScript support to be disabled in web browsers the system to be compliant.

Therefore we should ensure all portal pages work correctly (provide equivalent user experience) in both cases:

  • JS is enabled,
  • JS is disabled.

Tutorial: Perform vuln scan of RHEL6 machine

Icons into About Team

It will be implemented in phase 2. Github personal icon or Blog icon and so, into personal descriptions of each person in about team.

/features/scap-components/#xccdf-11-tailoring is missing

At the components page, there is XCCDF 1.1 tailoring example. The example however, seems to relate to SCE and that is confusing.

Short introduction to XCCDF 1.1 Tailoring is however missing. Also, we need this anchor /features/scap-components/#xccdf-11-tailoring for redirects (see #12).

The old portal at http://www.open-scap.org/page/Xccdf-1.1-tailoring reads:

XCCDF 1.1 Tailoring extension

NOTE: Text on this page will apply when openscap 0.9.12 is released.

openscap 0.9.12 introduces an extension to XCCDF 1.1 specification that allows tools and users to create tailoring files even for XCCDF 1.1 content. 

Link the oscap user manual to static.open-scap.org

For now the links for user manual at OpenSCAP Base points to github. After make install will build the manual I'll edit the job on the Jenkins and correct the links so they point to the static.open-scap.org.

Perex for documentation

It would be awesome if we had with each title of tutorial documentation also showed the first paragraph of article...

scap-security-guide page on fedora hosted can be decommisioned

Parts of the documentation from fedorahosted page has been already migrated to the scap-security-guide wiki. Parts have been moved to the new portal.

We need to search for remaining references in man page, git, and documentation (upstream & downstream). Then we can take down scap-security-guide page.

Add that we want users feedback at the end of tutorials

I think it would be a good idea to put something like:

Some piece of information is missing? Sth is not clear? ... Please let us know at irc, mailing list

at the end of each tutorial. It could help us to continuously improve our tutorials.

Provide .htaccess redirects for SCE and SCE result file

The old URLs need to stay alive forever if possible. Putting it here so that we don't forget before GA.

/page/SCE -> /features/other-standards/sce/
/page/SCE_result_file -> /features/other-standards/sce/#sce-result-file

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.