jamf / cis-for-macos-high-sierra Goto Github PK
View Code? Open in Web Editor NEWLicense: MIT License
License: MIT License
The way the expire-after is being set is causing audit_control to ignore the line and not clear the log files. The issue is that the flags are case sensitive. Currently line 445 in the Security_Remediation.sh script reads
sed "s/${oldExpireAfter}/expire-after:60D OR 1G" /etc/security/audit_control_old > /etc/security/audit_control
but the time flag needs to be lowercase.
sed "s/${oldExpireAfter}/expire-after:60d OR 1G" /etc/security/audit_control_old > /etc/security/audit_control
would be the correct syntax according to the man page for audit_control
I have several Mac build techs who would love to participate in getting this up to date for the newer OSes but we would rather participate in an overall community effort than just keep it all in house.
The matching check to Issue #3 in 2_Security_Audit_Compliance.sh has not been changed to match so Macs will always fail the 3.3 check. Line 767 needs to be changed.
if [ "$auditRetention" = "expire-after:60D OR 1G" ]; then
should be
if [ "$auditRetention" = "expire-after:60d OR 1G" ]; then
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.