-
Notifications
You must be signed in to change notification settings - Fork 1.5k
DDS: Linux Audit Logs Updates #20345
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
base: master
Are you sure you want to change the base?
DDS: Linux Audit Logs Updates #20345
Conversation
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.
thank you for contributing to our docs! i've left some feedback mainly to comply with our style guide.
linux_audit_logs/README.md
Outdated
@@ -79,6 +80,25 @@ For Linux, run: | |||
sudo systemctl restart auditd | |||
``` | |||
|
|||
### Setup Audit Rules (Optional) | |||
|
|||
1. Create/Edit the Audit Rules File |
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.
1. Create/Edit the Audit Rules File | |
1. Create or edit the Audit Rules file: |
linux_audit_logs/README.md
Outdated
@@ -79,6 +80,25 @@ For Linux, run: | |||
sudo systemctl restart auditd | |||
``` | |||
|
|||
### Setup Audit Rules (Optional) |
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.
### Setup Audit Rules (Optional) | |
### Set up Audit Rules (optional) |
linux_audit_logs/README.md
Outdated
sudo nano /etc/audit/rules.d/audit.rules | ||
``` | ||
|
||
2. Configure the audit rules based on your requirements. For reference, check out [audit rulesets][9]. |
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.
2. Configure the audit rules based on your requirements. For reference, check out [audit rulesets][9]. | |
2. Configure the audit rules based on your requirements. For reference, see [audit rulesets][9]. |
linux_audit_logs/README.md
Outdated
|
||
2. Configure the audit rules based on your requirements. For reference, check out [audit rulesets][9]. | ||
|
||
3. Reload Audit Rules |
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.
3. Reload Audit Rules | |
3. Reload Audit Rules: |
linux_audit_logs/README.md
Outdated
sudo augenrules --load | ||
``` | ||
|
||
4. Verify Loaded Rules |
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.
4. Verify Loaded Rules | |
4. Verify loaded rules: |
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.
Approving with one minor update requested for screen-reader accessibility, as well as some additional suggestions for consistency with casing and punctuation.
linux_audit_logs/README.md
Outdated
@@ -79,6 +80,25 @@ For Linux, run: | |||
sudo systemctl restart auditd | |||
``` | |||
|
|||
### Setup Audit Rules (Optional) | |||
|
|||
1. Create/Edit the Audit Rules File |
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.
1. Create/Edit the Audit Rules File | |
1. Create or Edit the audit rules file. |
linux_audit_logs/README.md
Outdated
|
||
2. Configure the audit rules based on your requirements. For reference, check out [audit rulesets][9]. | ||
|
||
3. Reload Audit Rules |
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.
3. Reload Audit Rules | |
3. Reload audit rules. |
linux_audit_logs/README.md
Outdated
sudo augenrules --load | ||
``` | ||
|
||
4. Verify Loaded Rules |
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.
4. Verify Loaded Rules | |
4. Verify loaded rules. |
|
||
3. Reload Audit Rules | ||
```shell | ||
sudo augenrules --load |
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 want to confirm that augenrules
is the correct spelling.
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.
Yes, it's the correct spelling.
Review from buraizu is dismissed. Related teams and files:
- documentation
- linux_audit_logs/README.md
What does this PR do?
Review checklist (to be filled by reviewers)
qa/skip-qa
label if the PR doesn't need to be tested during QA.backport/<branch-name>
label to the PR and it will automatically open a backport PR once this one is merged