Skip to content

Commit

Permalink
fixup! Fix: Rebooting GitLab may trigger ClamAV alarm (#6114)
Browse files Browse the repository at this point in the history
  • Loading branch information
achave11-ucsc committed Jul 11, 2024
1 parent cad9d56 commit 7da4abf
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions terraform/shared/shared.tf.json.template.py
Original file line number Diff line number Diff line change
Expand Up @@ -509,13 +509,13 @@ def conformance_pack(name: str) -> str:
}
for name, pattern in [
# Using '?' to create an "a OR b" filter pattern.
# If the GitLab instance is rebooted when a long-running
# If the GitLab instance is powered off when a long-running
# (14h+) scan is nearing completion, we may go more than 24
# hours without matching a successful scan. To prevent this
# from triggering false positive alarms, we include a
# sub-pattern to also match successful reboots.
('clamscan', '?"clamscan succeeded" ?"systemd: Starting Reboot"'),
('freshclam', '?"freshclam succeeded" ?"systemd: Starting Reboot"'),
# sub-pattern to also match successful power-offs.
('clamscan', '?"clamscan succeeded" ?"systemd: Starting Power-Off"'),
('freshclam', '?"freshclam succeeded" ?"systemd: Starting Power-Off"'),
('clam_fail', '?"clamscan failed" ?"freshclam failed"'),
]
}
Expand Down

0 comments on commit 7da4abf

Please sign in to comment.