Skip to content

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

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

tirthrajchaudhari-crest
Copy link
Contributor

@tirthrajchaudhari-crest tirthrajchaudhari-crest commented May 21, 2025

What does this PR do?

  • Added support for SYSCALL logs
  • Updated the pipeline
  • Added system calls dashboard
  • Update README to include setup steps for audit rules

Review checklist (to be filled by reviewers)

  • Feature or bugfix MUST have appropriate tests (unit, integration, e2e)
  • Add the qa/skip-qa label if the PR doesn't need to be tested during QA.
  • If you need to backport this PR to another branch, you can add the backport/<branch-name> label to the PR and it will automatically open a backport PR once this one is merged

Copy link
Contributor

@rtrieu rtrieu left a 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.

@@ -79,6 +80,25 @@ For Linux, run:
sudo systemctl restart auditd
```

### Setup Audit Rules (Optional)

1. Create/Edit the Audit Rules File
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
1. Create/Edit the Audit Rules File
1. Create or edit the Audit Rules file:

@@ -79,6 +80,25 @@ For Linux, run:
sudo systemctl restart auditd
```

### Setup Audit Rules (Optional)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
### Setup Audit Rules (Optional)
### Set up Audit Rules (optional)

sudo nano /etc/audit/rules.d/audit.rules
```

2. Configure the audit rules based on your requirements. For reference, check out [audit rulesets][9].
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
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].


2. Configure the audit rules based on your requirements. For reference, check out [audit rulesets][9].

3. Reload Audit Rules
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
3. Reload Audit Rules
3. Reload Audit Rules:

sudo augenrules --load
```

4. Verify Loaded Rules
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
4. Verify Loaded Rules
4. Verify loaded rules:

buraizu
buraizu previously approved these changes May 21, 2025
Copy link
Contributor

@buraizu buraizu left a 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.

@@ -79,6 +80,25 @@ For Linux, run:
sudo systemctl restart auditd
```

### Setup Audit Rules (Optional)

1. Create/Edit the Audit Rules File
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
1. Create/Edit the Audit Rules File
1. Create or Edit the audit rules file.


2. Configure the audit rules based on your requirements. For reference, check out [audit rulesets][9].

3. Reload Audit Rules
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
3. Reload Audit Rules
3. Reload audit rules.

sudo augenrules --load
```

4. Verify Loaded Rules
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
4. Verify Loaded Rules
4. Verify loaded rules.


3. Reload Audit Rules
```shell
sudo augenrules --load
Copy link
Contributor

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.

Copy link
Contributor Author

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.

@temporal-github-worker-1 temporal-github-worker-1 bot dismissed buraizu’s stale review May 22, 2025 05:32

Review from buraizu is dismissed. Related teams and files:

  • documentation
    • linux_audit_logs/README.md
@tirthrajchaudhari-crest
Copy link
Contributor Author

Hey @rtrieu @buraizu, Both changes look good, but for now, we are proceeding with using a colon after the setup step statements.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants