Skip to content

Commit

Permalink
mask audit-rules.service (#833)
Browse files Browse the repository at this point in the history
* to avoid unnecessary auditctl execution
* rule loading is managed by auditbeat anyway
  • Loading branch information
defo89 authored Sep 27, 2023
1 parent e2f025f commit 0ced4f6
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions pkg/templates/node_1.26.go
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,9 @@ systemd:
Type=oneshot
[Install]
WantedBy=multi-user.target
- name: audit-rules.service
mask: true
enable: false
storage:
files:
- path: /etc/crictl.yaml
Expand Down
3 changes: 3 additions & 0 deletions pkg/templates/node_1.27.go
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,9 @@ systemd:
Type=oneshot
[Install]
WantedBy=multi-user.target
- name: audit-rules.service
mask: true
enable: false
storage:
files:
- path: /etc/crictl.yaml
Expand Down

0 comments on commit 0ced4f6

Please sign in to comment.