Git Product home page Git Product logo

cis-for-macos-high-sierra-cp's People

Contributors

erinmc avatar homebysix avatar krypted avatar usfbullsfan avatar

Stargazers

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

Watchers

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

cis-for-macos-high-sierra-cp's Issues

Minor bug when running on 10.14

In both 2_Security_Audit_Compliance scripts when checking "5.14 Ensure system is set to hibernate" the line that sets hibernateValue causes an error on Mojave 10.14.

hibernateValue=$(pmset -g | egrep standbydelay | awk '{print $2}')

This is because pmset -g now returns standbydelaylow and standbydelayhigh

It can be fixed by changing the line to

hibernateValue=$(pmset -g | egrep -e "standbydelay " -e standbydelaylow | awk '{print $2}')

The line above works on 10.13 and 10.14

Catalina

Did This CIS Script is compatible with Catalina

Incorrect directory permissions after executing the CIS security remediation script under Catalina

After Audit 5.1.3 from the Security Remediation script was executed, chmod o-w gets now applied to /private/tmp/

This is wrong and applications can then no longer write to the directory and therefore no longer run as intended.

This seems to happen because /private/tmp/ is a symbolic link to /System/Volumes/Data/private/tmp/. And this is on the read-only system partition under Catalina.

Please adjust the script so that this no longer happens. Thanks!

Why have duplicate code

Hello,

I have been trying to understand why there is two file:
2_Security_Audit_Compliance_API.sh
2_Security_Audit_Compliance_ORG.sh

The only real difference is the API one sends the info back to the Jamf Server.
At the moment, all the code is duplicated and there is bugs that have been fixed in the API script that still exit in the ORG script.
ie: c64f11b

This could be combined into one script and a simple if loop that looks for a populated value for JamfProURL which can then be used around the last two curl commands that sends the data to Jamf.

Thanks
Joshua

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.