mitre / redhat-jboss-enterprise-application-platform-6.3-stig-baseline Goto Github PK
View Code? Open in Web Editor NEWInspec Profile for the Wildfly (JBOSS) stig
License: Other
Inspec Profile for the Wildfly (JBOSS) stig
License: Other
The logic in this control does not actually check based on the check text. Change to a manual review instead.
skip statement should read as such:
describe "Perform manual review to determine if auditing is configured properly." do
skip "Perform manual review to determine if auditing is configured properly."
end
service.properties
does not exist in normal installations of jboss. Need to query the correct standalone.xml
file instead
For the following controls, when determining that the test is not applicable, do not change the desc field. only set the skip message:
V-62325
V-62229
V-62219
V-62279
V-62233
V-62285
V-62277
The test seems to be a manual review, changing logic to that of a manual review.
Research the InSpec code to ensure it accurately measures the setting, and fix.
for V-62273, V-62303, V-62321, V-62323
See @ejaronne for sample output
Two Enhancement Proposed:
Add a new attribute for Jboss process name.(Ex: jboss_process_name)
Enhance the ps command like so
ps -ef|grep -w #{ attribute('jboss_process_name')| grep -v inspec | grep -v grep | awk '{print $1}'|uniq
Attributes are being handled the old way that inspec used to handle attributes. They should be moved to the inspec.yml and initialized again within the control. This will improve the runtime when executing the profile.
Some controls need better reporting using expect
and its
. At it's current state some controls spit out too much information and it's hard to read what's going on.
Java version/installation can be different from each installation so rather than a hard coded path, moving the path to an input
the following issues were found with the inspec check:
inspecCheck.txt
Add hardened output data to the repo
rubocop found the following issues:
rubocop.txt
This control does 3 different tests. According to the check text only the first 2 tests are required for the control, not sure what the third test is doing
The following controls have comments still in them:
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.