crunchydata / pgstigcheck-inspec Goto Github PK
View Code? Open in Web Editor NEWPostgreSQL STIG Compliance Testing Solution using InSpec
License: Apache License 2.0
PostgreSQL STIG Compliance Testing Solution using InSpec
License: Apache License 2.0
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
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.
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:
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
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.
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?
In order to keep things clean, I suggest we move the hugo site to its own branch, such as 'web-src' or something along those lines. Then updates to the site, directions or whatnot can be pushed independent of the profile itself.
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.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.