Giter VIP home page Giter VIP logo

rhel8-stig-audit's People

Contributors

georgenalen avatar uk-bolly avatar

Stargazers

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

Watchers

 avatar  avatar  avatar  avatar

rhel8-stig-audit's Issues

object: *bytes.Reader in Actual Result

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):

  • branch being used: 3.1.0
  • Ansible Version: 2.14.5
  • Host Python Version: Python 3.6.8
  • Ansible Server Python Version: Python 3.9.16
  • Additional Details:
  • Goss version 0.3.23 and v0.4.4

Additional Notes
Anything additional goes here

Possible Solution
goss-org/goss#845

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.