-
Notifications
You must be signed in to change notification settings - Fork 696
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix rules from the net-snmp component #12391
Fix rules from the net-snmp component #12391
Conversation
This datastream diff is auto generated by the check Click here to see the full diffNew content has different text for rule 'xccdf_org.ssgproject.content_rule_snmpd_no_rwusers'.
--- xccdf_org.ssgproject.content_rule_snmpd_no_rwusers
+++ xccdf_org.ssgproject.content_rule_snmpd_no_rwusers
@@ -5,7 +5,7 @@
[description]:
Edit /etc/snmp/snmpd.conf, remove any rwuser entries.
Once the read write users have been removed, restart the SNMP service:
-$ sudo service snmpd restart
+$ sudo systemctl restart snmpd
[rationale]:
Certain SNMP settings can permit users to execute system behaviors from user
New content has different text for rule 'xccdf_org.ssgproject.content_rule_snmpd_not_default_password'.
--- xccdf_org.ssgproject.content_rule_snmpd_not_default_password
+++ xccdf_org.ssgproject.content_rule_snmpd_not_default_password
@@ -7,7 +7,7 @@
public and private.
This profile configures new read-only community string to 'xccdf_org.ssgproject.content_value_var_snmpd_ro_string' and read-write community string to 'xccdf_org.ssgproject.content_value_var_snmpd_rw_string'.
Once the default community strings have been changed, restart the SNMP service:
-$ sudo service snmpd restart
+$ sudo systemctl restart snmpd
[reference]:
1
New content has different text for rule 'xccdf_org.ssgproject.content_rule_snmpd_use_newer_protocol'.
--- xccdf_org.ssgproject.content_rule_snmpd_use_newer_protocol
+++ xccdf_org.ssgproject.content_rule_snmpd_use_newer_protocol
@@ -5,7 +5,7 @@
[description]:
Edit /etc/snmp/snmpd.conf, removing any references to rocommunity, rwcommunity, or com2sec.
Upon doing that, restart the SNMP service:
-$ sudo service snmpd restart
+$ sudo systemctl restart snmpd
[reference]:
1311 |
🤖 A k8s content image for this PR is available at: Click here to see how to deploy itIf you alread have Compliance Operator deployed: Otherwise deploy the content and operator together by checking out ComplianceAsCode/compliance-operator and: |
Code Climate has analyzed commit cbfde5b and detected 0 issues on this pull request. The test coverage on the diff in this pull request is 100.0% (50% is the threshold). This pull request will bring the total coverage in the repository to 59.5% (0.0% change). View more on Code Climate. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. Thanks
Failure with |
a15b5b0
into
ComplianceAsCode:master
Description:
Various improvements for rules in the net-snmp component.
Relational:
Update based on maintainer feedback.