-
Notifications
You must be signed in to change notification settings - Fork 16
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
[New Rules] etcd rules 2.x #18
Conversation
|
||
test_pass { | ||
test.assert_pass(finding) with input as rule_input("etcd", "") | ||
test.assert_pass(finding) with input as rule_input("etcd", "-peer-auto-tls=false") |
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.
missing dash -peer-auto-tls=false
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.
and i think that would fail here, right?
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.
Verify that if the --peer-auto-tls argument exists, it is not set to true.
# Conflicts: # compliance/cis_k8s/test_data.rego # compliance/lib/common.rego # compliance/lib/data_adapter.rego
# Conflicts: # compliance/lib/common.rego # compliance/lib/data_adapter.rego
elastic#18 ---NOTE--- This is an imported commit, it was initially committed to the csp-security-policies repo which was then merged into cloudbeat. See: elastic/cloudbeat#1405
new rules: