ansible-lockdown / rhel8-stig-audit Goto Github PK
View Code? Open in Web Editor NEWAudit control files for rhel8 stig - utilising goss
Home Page: https://ansible-lockdown.readthedocs.io/en/latest/
License: MIT License
Audit control files for rhel8 stig - utilising goss
Home Page: https://ansible-lockdown.readthedocs.io/en/latest/
License: MIT License
Describe the Issue
I am getting "object: *bytes.Reader" on several of the items. I found this github thread:
goss-org/goss#845
and it seems to be linked to version of Goss. I did try to run the version listed in the thread but it still had the same result. I have run the command in the goss yaml and it works fine.
Expected Behavior
The actual result would show correctly and have the correct result shown.
Actual Behavior
This is happening in several stig items where the actual is showing "object: *bytes.Reader"
{
"duration": 112002,
"end-time": "2024-04-09T00:16:48.792848267Z",
"err": null,
"matcher-result": {
"actual": "object: *bytes.Reader",
"expected": [
"/.*:PermitUserEnvironment [Nn][Oo]/",
"!/.*:PermitUserEnvironment\\s+[Yy][Ee][Ss]/"
],
"extra-elements": null,
"found-elements": [
"!/.*:PermitUserEnvironment\\s+[Yy][Ee][Ss]/"
],
"message": "to have patterns",
"missing-elements": [
"/.*:PermitUserEnvironment [Nn][Oo]/"
],
"transform-chain": null,
"untransformed-value": null
},
"meta": {
"CCI": "CCI-000366",
"Cat": 2,
"Group_Title": "SRG-OS-000480-GPOS-00229",
"Rule_ID": "SV-230330r646870_rule",
"STIG_ID": "RHEL-08-010830",
"Vul_ID": "V-230330"
}
Control(s) Affected
Here are a couple of them I am having issues with:
RHEL-08-010830
RHEL-08-030000
RHEL-08-030360
RHEL-08-030740
RHEL-08-030560
many more...
Environment (please complete the following information):
Additional Notes
Anything additional goes here
Possible Solution
goss-org/goss#845
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.