-
Notifications
You must be signed in to change notification settings - Fork 698
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
Add rules to support remote offload of journal logs #12479
Add rules to support remote offload of journal logs #12479
Conversation
Skipping CI for Draft Pull Request. |
This datastream diff is auto generated by the check Click here to see the full diffNew data stream adds bash remediation for rule 'xccdf_org.ssgproject.content_rule_service_firewalld_enabled'.
New data stream adds bash remediation for rule 'xccdf_org.ssgproject.content_rule_service_sshd_enabled'.
New data stream adds bash remediation for rule 'xccdf_org.ssgproject.content_rule_service_auditd_enabled'. |
🤖 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: |
257858f
to
187c15f
Compare
I'm waving the automatus failures as they are due to rule not being the data streams. |
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.
Thanks for the PR, just a few small changes.
linux_os/guide/system/logging/journald/service_systemd-journal-upload_enabled/rule.yml
Outdated
Show resolved
Hide resolved
linux_os/guide/system/logging/journald/service_systemd-journal-upload_enabled/rule.yml
Outdated
Show resolved
Hide resolved
linux_os/guide/system/logging/journald/systemd_journal_upload_server_tls/rule.yml
Outdated
Show resolved
Hide resolved
linux_os/guide/system/logging/journald/systemd_journal_upload_url/rule.yml
Outdated
Show resolved
Hide resolved
/packit build |
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.
Just one minor thing I missed in my first review, sorry about that.
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.
Thanks!
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.
Please rebase, looks like something is conflicting.
7277de8
to
2bb738a
Compare
Done thanks 🙇 |
- Add rules and remediations to configure remote url, tls certificate and key for connecting to remote journal - Add external variables: var_journal_upload_url, var_journal_upload_server_certificate_file,var_journal_upload_server_trusted_certificate_file, var_journal_upload_server_key_file, that user can configure relevant settings
…-upload_enabled/rule.yml Co-authored-by: Matthew Burket <[email protected]>
…-upload_enabled/rule.yml Co-authored-by: Matthew Burket <[email protected]>
…url/rule.yml Co-authored-by: Matthew Burket <[email protected]>
…server_tls/rule.yml Co-authored-by: Matthew Burket <[email protected]>
Co-authored-by: Matthew Burket <[email protected]>
2bb738a
to
7ee3f44
Compare
… as it depends on specific external variables
Code Climate has analyzed commit 1d40a70 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 61.0% (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.
Thanks!
Description:
Rationale: