Comments (3)
hi @CFoltin
Thank you for raising this issue. Feedback like this helps us to improve the content we supply.
I have been working through the possibilities in this request.
I believe if you have set IPT_SYSCTL= /etc/sysctl.conf
This request would not be valid and not be required
If you are using UFW and not changed the sysctl import file, still want it logged you need to add that line to the /etc/ufw/sysctl.conf as you have mentioned.
Reading into this it could be quite a bespoke setting and not actually directly listed as part of a requirement for CIS unless the options above and ufw import file not changed and the settings in the ufw file override and turn it off.
I believe what would be required is.
either
If the file /etc/ufw/sysctl.conf exists and contains *log_martians=0 then change that as well even if not using ufw?
This would also count for any other controls not just 3.3.4.
or
Do we then change the /etc/default/ufw to be IPT_SYSCTL=/etc/sysctl.conf and add a comment?
This means settings that are added into that file then are not used we not addressed in CIS?
Any thoughts?
thanks
uk-bolly
from ubuntu20-cis.
hi @CFoltin
Thank you again for raising this issue. This has now been merged into the devel branch. Aiming to put this into main if all is well in the next couple of weeks.
many thanks again
uk-bolly
from ubuntu20-cis.
This was added to PR #74 that addressed a lot of fixes. This has been merged to main. Thanks @CFoltin for the find.
from ubuntu20-cis.
Related Issues (20)
- 1.5.4 "Ensure core dumps are restricted": partially implemented HOT 1
- 1.1.6-1.1.9 /dev/shm sets non-CIS option "size=2G" by default HOT 1
- Task 5.5.4 created duplicates for pam_umask rule
- Rule 1.3.1 Remediation doesn't contain aideinit command and mv HOT 1
- Rule 1.3.2 remediation doesn't allow you to edit /etc/crontab file HOT 1
- Misspelling
- Typo in template for 4.1.15
- CIS 5.5.4 uses replace instead of lineinfile for some tasks and misses applying umask in some files
- Ubuntu 22.04 HOT 3
- The functionality of tasks/parse_etc_password.yml is redundant. HOT 2
- Open Firewall Ports (incoming) HOT 3
- Rule 4.4: create line is a wrong place if there is none already HOT 2
- TMOUT set twice, giving readonly warning HOT 2
- Network devices prelim task failure (devel branch) HOT 6
- Rule 2.1.1.3 chrony fails HOT 4
- Rule 5.4.2 makes changes that cannot pass the test for the rule itself HOT 1
- vartmp pointing src to /tmp which is wrong HOT 1
- Rule 1.4.1 typo and doesn't work unless lines already exist (cis_2.0.1 branch) HOT 3
- Errors [UBUNTU20-CIS : 4.2.1.3 | PATCH | Ensure logging is configured | Automated rsyslog configuration] HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ubuntu20-cis.