mitre / oracle-database-12c-stig-baseline Goto Github PK
View Code? Open in Web Editor NEWInSpec profile for the Oracle Database 12c DISA STIG
License: Other
InSpec profile for the Oracle Database 12c DISA STIG
License: Other
https://github.com/mitre/oracle-database-12c-stig-baseline/blob/master/controls/V-61419.rb#L34
This means there needs to be another describe block and that there should be an attribute for the something_raid_not_used
. If a raid is not used, then the value should_not be < 2
if a raid storage device is being used than it seems the value should be >= 1
.
V-61561 needs to allow the user to define their set of defined emergency and temporary account profiles to let the logic focus on only.
When the attribute is assigned outside of the code block and you run the profile as a whole you get a bit of slowdown and congestion since it tries to assign the attribute but finds that it's already been initialized. We came across this issue a lot in the old style of creating attributes in InSpec.
If the attributes are moved within the control block you will get a bit faster run time and remove the warning messages that pop up when running commands on the profile.
Example of what the issue looks like:
List of controls with attributes outside of control block:
"is not a finding" STIG-speak = Pass, not N/A
For overlays, need inputs to be able to adjust the:
For controls:
61603
61605
61607
There are no NA cases in this control, just pass or fail and a skip.
Not a finding - means pass the test no NA
Unhardened data already exists, would also need hardened results in the profile.
The logic seems like it should be:
the describe blocks for both should always ensure that the result should_not be 0
- if the count is zero then this is a finding.
on the first query - if you have any results - the results should be saved and displayed and the second describe block should skip if > 0 and display the ask the DBA / ISSO if #{results} are acceptable.
When/if we encounter this situation, is this the correct logic to implement?
if user_profiles.empty?
describe 'There are no oracle user profiles, therefore this control is N/A' do
skip 'There are no oracle user profiles, therefore this control is N/A'
end
end
The following rubocop issues were found:
rubocop.txt
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.