Git Product home page Git Product logo

pgstigcheck-inspec's People

Contributors

aaronlippold avatar jasonodonnell avatar jconway avatar jkatz avatar ntruong18 avatar sharmay avatar steve-hetzel avatar xenophenes avatar

Stargazers

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

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

pgstigcheck-inspec's Issues

The hugo build is broken and not building in `hugo serve`

Web Server is available at //localhost:1313/ (bind address 127.0.0.1)
Press Ctrl+C to stop
WARN 2019/04/03 00:07:55 Found no layout for "home", language "current", output format "HTML": create a template below /layouts with one of these filenames: index.current.html.html, home.current.html.html, list.current.html.html, index.html.html, home.html.html, list.html.html, index.current.html, home.current.html, list.current.html, index.html, home.html, list.html, _default/index.current.html.html, _default/home.current.html.html, _default/list.current.html.html, _default/index.html.html, _default/home.html.html, _default/list.html.html, _default/index.current.html, _default/home.current.html, _default/list.current.html, _default/index.html, _default/home.html, _default/list.html
WARN 2019/04/03 00:07:55 Found no layout for "home", language "current", output format "JSON": create a template below /layouts with one of these filenames: index.current.json.json, home.current.json.json, list.current.json.json, index.json.json, home.json.json, list.json.json, index.current.json, home.current.json, list.current.json, index.json, home.json, list.json, _default/index.current.json.json, _default/home.current.json.json, _default/list.current.json.json, _default/index.json.json, _default/home.json.json, _default/list.json.json, _default/index.current.json, _default/home.current.json, _default/list.current.json, _default/index.json, _default/home.json, _default/list.json

CCI Data type inconsistency

One of the controls has multiple CCIs (string array), however every other control is just a single string. This causes the output json to not be consistent and breaks JSON unmarshallers.

It needs to be an array with a single value on all others or just one CCI as a string in the control that's different.

This profile is written for the PostgreSQL 9.x STIGv1, the current version 4 has many new controls

This profile is written for the PostgreSQL 9.x STIGv1, the current version 4 has many new controls.

Could this profile be updated to reflect the new changes in the PostgreSQL 9.x STIGv4.

The following new controls would need to be added:

  • V-72843
  • V-72847
  • V-72853
  • V-72855
  • V-72885
  • V-72889
  • V-72907
  • V-72913
  • V-72915
  • V-72921
  • V-72923
  • V-72925
  • V-72927
  • V-72929
  • V-72933
  • V-72939
  • V-72941
  • V-72945
  • V-72951
  • V-72969
  • V-72975
  • V-72977
  • V-72985
  • V-72997
  • V-73007
  • V-73009
  • V-73039
  • V-73043
  • V-73053
  • V-73059

Review where the `:sensitive` flag may be useful for the tests

Sensitive resources
In some scenarios, you may be writing checks involving resources with sensitive content (e.g. a file resource). In the case of failures, it may be desired to suppress output. This can be done by adding the :sensitive flag to the resource definition

describe file('/tmp/mysecretfile'), :sensitive do
its('content') { should contain 'secret_info' }
end

Issue with use of tags - tags overwrite key value pairs

In the controls, when we tag the controls with multiple cci's or nist 800-53 tags you must tag them in an array rather than individual controls.

The key/value pair will take the last value set.

  tag "cci": ["CCI-000382","CCI-001762"]
  tag "nist": ["CM-7 b", "CM-7 (1) (b)", "Rev_4"]

To ensure you are getting the right data.

Testing on environments with no postgres root password set is currently not possible

I have a configuration that I am wondering if it is possible/wise to support for with profile. I am currently setting up postgres with no postgres password, and I have noticed that this makes it impossible to run this STIG check. Is this on purpose, since it is considered insecure to run in this configuration, or for a different reason?

no 'defaults' on attributes

The defaults seem to have been dropped from the inspec controls. This is bad form. :) given that you will get 'nil' values if the user does not pass the 'attributes.yml' file and the run will fail. We should have default values if possible - skipping of course, users, pass, etc.

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.